/* Readable typography for long-form page content (route pages, hubs, new service
   pages, homepage intro). The theme styles every h1-h3 with its display face
   (Abril Fatface) at 40px+, which suits short section titles but not article text. */

.route-content,
.home-intro {
  padding: 56px 0 64px;
  color: #3d4549;
}
.route-content > .container,
.home-intro > .container {
  max-width: 880px;
}

.route-content h1,
.route-content h2,
.route-content h3,
.home-intro h1,
.home-intro h2,
.home-intro h3 {
  font-family: var(--bricolage-font);
  color: var(--second-theme-color);
  letter-spacing: -0.01em;
}
.route-content h1,
.home-intro h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 18px;
}
.route-content h2,
.home-intro h2 {
  position: relative;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.3;
  font-weight: 700;
  margin: 44px 0 14px;
  padding-left: 16px;
}
.route-content h2::before,
.home-intro h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  border-radius: 2px;
  background: var(--theme-color);
}
.route-content h3,
.home-intro h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  margin: 26px 0 8px;
}

.route-content p,
.route-content li,
.home-intro p,
.home-intro li {
  font-family: var(--body-font);
  font-size: 16.5px;
  line-height: 1.75;
  color: #3d4549;
}
.route-content p,
.home-intro p {
  margin: 0 0 16px;
  text-align: left;
}
/* Opening paragraph reads as a lead */
.route-content > .container > p:first-child {
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--second-theme-color);
}

/* The theme resets list styles globally; bring bullets back inside content */
.route-content ul,
.route-content ol,
.home-intro ul,
.home-intro ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.route-content ul,
.home-intro ul {
  list-style: none;
}
.route-content ul > li,
.home-intro ul > li {
  position: relative;
  padding-left: 6px;
  margin-bottom: 8px;
}
.route-content ul > li::before,
.home-intro ul > li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-color);
}
.route-content ol,
.home-intro ol {
  list-style: decimal;
}
.route-content ol > li,
.home-intro ol > li {
  padding-left: 6px;
  margin-bottom: 8px;
}
.route-content ol > li::marker {
  color: var(--theme-color);
  font-weight: 700;
}
.route-content li strong,
.home-intro li strong {
  color: var(--second-theme-color);
}

/* Text links only (never buttons or cards) */
.route-content p a,
.route-content li a,
.route-content td a,
.home-intro p a,
.home-intro li a {
  color: #c46a06;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.route-content p a:hover,
.route-content li a:hover,
.route-content td a:hover,
.home-intro p a:hover,
.home-intro li a:hover {
  color: var(--second-theme-color);
}

/* Tables: full width on desktop; on phones they scroll sideways instead of squashing */
.route-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 15.5px;
}
.route-content th,
.route-content td {
  padding: 11px 14px;
  border: 1px solid var(--vs-border-color);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.route-content thead th,
.route-content tr:first-child th {
  background: var(--second-theme-color);
  color: #fff;
  font-weight: 600;
}
.route-content tbody tr:nth-child(even) td {
  background: #fafaf8;
}
.route-content .table-responsive {
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .route-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14.5px;
  }
  .route-content th,
  .route-content td {
    min-width: 120px;
    padding: 9px 11px;
  }
  .route-content th:first-child,
  .route-content td:first-child {
    min-width: 100px;
  }
}

/* FAQ accordion (native <details>: works without JS, answers stay indexable) */
.route-faq {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.route-faq .faq-item {
  background: #fff;
  border: 1px solid #ebe4d9;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.route-faq .faq-item:hover {
  border-color: #f3c58e;
}
.route-faq .faq-item[open] {
  border-color: var(--theme-color);
  box-shadow: 0 6px 18px rgba(247, 146, 31, 0.10);
}
.route-faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 17px 60px 17px 20px;
  user-select: none;
}
.route-faq summary::-webkit-details-marker {
  display: none;
}
.route-faq summary:focus-visible {
  outline: 2px solid var(--theme-color);
  outline-offset: -2px;
  border-radius: 12px;
}
.route-content .route-faq summary h3 {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--second-theme-color);
  background: none;
  border: 0;
}
/* +/- icon */
.route-faq summary::before,
.route-faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--theme-color);
  border-radius: 2px;
  transition: transform .25s ease;
}
.route-faq summary::after {
  transform: rotate(90deg);
}
.route-faq .faq-item[open] summary::after {
  transform: rotate(0deg);
}
.route-faq .faq-item[open] summary {
  background: #fff8ef;
}
.route-content .route-faq .faq-answer {
  padding: 4px 20px 18px;
  background: #fff8ef;
}
.route-content .route-faq .faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: left !important;
  background: none;
  border: 0;
}
.route-faq .faq-item[open] .faq-answer {
  animation: faqOpen .25s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Breadcrumb title on inner pages: keep it legible on long route names */
.vs-breadcrumb .breadcrumb-title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  text-transform: none;
}

@media (max-width: 767px) {
  .route-content,
  .home-intro {
    padding: 36px 0 44px;
  }
  .route-content h2,
  .home-intro h2 {
    margin-top: 34px;
  }
  .route-content p,
  .route-content li,
  .home-intro p,
  .home-intro li {
    font-size: 16px;
  }
  .route-content > .container > p:first-child {
    font-size: 17px;
  }
  .route-faq summary {
    padding: 15px 52px 15px 16px;
  }
  .route-content .route-faq summary h3 {
    font-size: 16px;
  }
  .route-content .route-faq .faq-answer {
    padding: 2px 16px 16px;
  }
  .route-content .route-faq .faq-answer p {
    font-size: 15.5px;
  }
}

/* ---- Theme sections: sentence text should read as sentences ----
   The theme forces Title Case on paragraphs ("Booking Cab Online Is Easy With Our Site")
   and justifies some blocks, which leaves rivers of white space on phones. */
.tab-content .tab-pane p,
.about-info,
.about-info p,
p.about-info,
.about-info .services-lists,
.testimonial-content p.revew,
.tour-package-footer .pricing-info,
.tour-package-footer .new-price {
  text-transform: none !important;
}
.about-info,
.about-info p,
p.about-info,
.vs-tour-routes .custom-ul {
  text-align: left !important;
}
.tour-package-footer .new-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--second-theme-color);
}

/* ---- Call / WhatsApp buttons ----
   Desktop keeps the round floating buttons. On phones they become a slim bar fixed
   to the bottom of the screen: always in reach, and no longer sitting on top of text. */
.floating-buttons .float-label {
  display: none;
}
@media (max-width: 767px) {
  html body .floating-buttons {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
  }
  html body .floating-buttons .float-btn {
    flex: 1 1 50%;
    width: auto !important;
    height: 54px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: none !important;
    text-decoration: none;
  }
  html body .floating-buttons .call-btn { background: var(--second-theme-color) !important; }
  html body .floating-buttons .whatsapp-btn { background: #1faa53 !important; }
  html body .floating-buttons .float-icon-wrap {
    width: auto !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    font-size: 20px !important;
    color: #fff !important;
    animation: none !important;
  }
  html body .floating-buttons .float-icon-wrap i { color: #fff !important; animation: none !important; }
  html body .floating-buttons .float-label {
    display: inline;
    color: #fff;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 16px;
  }
  html body .floating-buttons .float-ring,
  html body .floating-buttons .float-badge,
  html body .floating-buttons .float-shine,
  html body .floating-buttons .float-btn::before,
  html body .floating-buttons .float-btn::after {
    display: none !important;
  }
  body.vs-body { padding-bottom: 54px; }
  .scrollToTop { bottom: 70px !important; }
}

/* Top Destinations: 2 compact cards per row on phones instead of 8 full-screen photos */
@media (max-width: 767px) {
  .vs-destination-style1 .row.g-4 { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
  .vs-destination-style1 .row.g-4 > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .vs-destination-style1 .destination-box img { height: 190px; width: 100%; object-fit: cover; }
  .vs-destination-style1 .destination-content { padding: 10px !important; }
  .vs-destination-style1 .destination-content h4 { font-size: 14px !important; line-height: 1.3; }
  .vs-destination-style1 .destination-content h4 + *,
  .vs-destination-style1 .destination-content span { font-size: 12.5px !important; }
}

/* Tour packages: 2 per row on phones too */
@media (max-width: 767px) {
  .vs-tour-package .row.g-4 { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
  .vs-tour-package .row.g-4 > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .vs-tour-package .tour-package-box { padding: 8px !important; }
  .vs-tour-package .tour-package-thumb img { height: 130px; object-fit: cover; }
  .vs-tour-package .tour-package-content { padding: 10px 4px 4px !important; }
  .vs-tour-package .tour-package-content .title { font-size: 14px !important; line-height: 1.3; }
  .vs-tour-package .tour-package-content,
  .vs-tour-package .tour-package-footer { font-size: 12.5px; }
  .vs-tour-package .tour-package-footer { flex-wrap: wrap; gap: 4px; }
}
.testimonial-content p.revew { text-align: left !important; }

@media (max-width: 767px) {
  .vs-destination-style1 .destination-box { height: 230px !important; min-height: 0 !important; overflow: hidden; }
  .vs-destination-style1 .destination-box img,
  .vs-destination-style1 .destination-box .destination-thumb,
  .vs-destination-style1 .destination-box figure { height: 100% !important; }
  .vs-destination-style1 .destination-box img { object-fit: cover; }
}
/* Footer copy and address: no justified gaps */
.vs-footer-style1 p,
.vs-footer-style1 .info p { text-align: left !important; word-spacing: normal; }

/* Hero row (map / intro + booking form): on phones keep visual order = HTML order.
   Bootstrap's order-* swap made slow connections paint one column, then insert the
   other above it, shifting the page (CLS ~0.4). The HTML now puts the form first. */
@media (max-width: 767px) {
  .row:has(.hwa-card) > .order-0,
  .row:has(.hwa-card) > .order-1 {
    order: 0 !important;
  }
}

/* Legal links in the footer bar */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  padding: 14px 0;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.footer-legal a:hover { color: var(--theme-color); }
@media (max-width: 767px) {
  .footer-legal { justify-content: center; padding-bottom: 0; }
}


/* ---- Route directory (Locations page) and related-route cards ---- */
.route-directory { margin-top: 8px; }
.route-jump {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 36px;
}
.route-jump a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid #e6dfd4;
  color: var(--second-theme-color); font-weight: 500; font-size: 14.5px;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.route-jump a i { color: var(--theme-color); }
.route-jump a:hover { border-color: var(--theme-color); background: #fff8ef; }
.route-group { margin: 0 0 44px; scroll-margin-top: 110px; }
.route-group-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.route-group-icon {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--second-theme-color); color: #fff; font-size: 19px;
}
.route-content .route-group-head h2 { margin: 2px 0 4px; padding-left: 0; }
.route-content .route-group-head h2::before { display: none; }
.route-group-head p { margin: 0 !important; font-size: 15.5px !important; color: #5b6468 !important; }
.route-count {
  display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px;
  background: #fff1df; color: #b4600a; font-size: 13px; font-weight: 600; vertical-align: middle;
}
.route-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
a.route-card {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 14px;
  background: #fff; border: 1px solid #e6dfd4; border-radius: 12px;
  color: var(--second-theme-color); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.route-card:hover {
  border-color: var(--theme-color);
  box-shadow: 0 6px 16px rgba(247, 146, 31, .14);
  transform: translateY(-1px);
}
.route-card-icon {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff1df; color: var(--theme-color); font-size: 14px;
}
.route-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.route-card-text strong { font-family: var(--bricolage-font); font-weight: 600; font-size: 16px; color: var(--second-theme-color); }
.route-card-text small { font-size: 13px; color: #6b7478; margin-top: 2px; }
.route-card-arrow { color: #c9c1b5; font-size: 13px; transition: color .2s, transform .2s; }
a.route-card:hover .route-card-arrow { color: var(--theme-color); transform: translateX(3px); }
a.route-hub-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 600; font-size: 15px; color: #c46a06; text-decoration: none;
}
a.route-hub-link:hover { color: var(--second-theme-color); }
a.route-hub-link i { font-size: 12px; }
.route-directory-foot { margin-top: 10px !important; padding: 16px 18px; border-radius: 12px; background: #f6f3ee; }

.related-routes { padding: 8px 0 56px; }
.related-routes > .container { max-width: 880px; }
.related-routes h2 {
  font-family: var(--bricolage-font); font-size: clamp(20px, 2.1vw, 24px); font-weight: 700;
  color: var(--second-theme-color); margin: 30px 0 14px;
}
.related-routes .route-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.related-routes-links { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 8px; }
@media (max-width: 767px) {
  .route-grid, .related-routes .route-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  a.route-card { padding: 10px; gap: 8px; min-height: 58px; }
  .route-card-icon { display: none; }
  .route-card-text strong { font-size: 14.5px; }
  .route-card-text small { font-size: 12px; }
  .route-jump { gap: 8px; margin-bottom: 28px; }
  .route-jump a { padding: 7px 12px; font-size: 13.5px; }
}

/* =================== Blog =================== */
.blog-crumbs { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 10px; }
.blog-crumbs a { color: #fff; text-decoration: none; }
.blog-crumbs a:hover { color: var(--theme-color); }
.blog-crumbs span { margin: 0 8px; opacity: .6; }
.blog-hero .blog-crumbs { margin: 0 0 12px; }
.blog-hero .breadcrumb-title { font-size: clamp(26px, 3.6vw, 46px); max-width: 960px; margin: 0 auto; }
.blog-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 16px 0 0; color: rgba(255,255,255,.9); font-size: 15px; }
.blog-hero-meta i { color: var(--theme-color); margin-right: 6px; }

.blog-index { padding: 56px 0 72px; }
.blog-index-lead { max-width: 760px; margin: 0 auto 36px; text-align: center; font-size: 18px; line-height: 1.7; color: #4b5458; }
.blog-meta { font-size: 13.5px; color: #6b7478; margin: 0 0 8px; }
.blog-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff1df; color: #b4600a; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
a.blog-read { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #c46a06; text-decoration: none; font-size: 15px; }
a.blog-read:hover { color: var(--second-theme-color); }
a.blog-read i { font-size: 12px; transition: transform .2s; }
a.blog-read:hover i { transform: translateX(3px); }

.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border: 1px solid #ebe4d9; border-radius: 18px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 10px 30px rgba(34,55,64,.06); }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1200 / 630; }
.blog-featured-body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-family: var(--bricolage-font); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 700; margin: 0 0 10px; }
.blog-featured-body h2 a, .blog-card-body h3 a { color: var(--second-theme-color); text-decoration: none; }
.blog-featured-body h2 a:hover, .blog-card-body h3 a:hover { color: #c46a06; }
.blog-featured-body > p:not(.blog-meta) { font-size: 16px; line-height: 1.7; color: #4b5458; }

.blog-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ebe4d9; border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.blog-card:hover { box-shadow: 0 12px 28px rgba(34,55,64,.09); transform: translateY(-2px); border-color: #f3c58e; }
.blog-card-img img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.blog-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-family: var(--bricolage-font); font-size: 19px; line-height: 1.35; font-weight: 700; margin: 0 0 8px; }
.blog-card-body > p:not(.blog-meta) { font-size: 15px; line-height: 1.65; color: #4b5458; margin: 0 0 14px; flex: 1; }

.blog-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 48px; padding: 28px 32px; border-radius: 18px; background: var(--second-theme-color); color: #fff; }
.blog-cta h2 { font-family: var(--bricolage-font); color: #fff; font-size: 24px; margin: 0 0 6px; }
.blog-cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 560px; }
.blog-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
a.blog-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; color: #fff; transition: filter .2s; }
a.blog-btn:hover { filter: brightness(1.08); color: #fff; }
.blog-btn-call { background: var(--theme-color); }
.blog-btn-wa { background: #1faa53; }

.blog-single { padding: 48px 0 72px; }
.route-content.blog-article { padding: 0; }
.blog-cover { margin: 0 0 26px; }
.blog-cover img { width: 100%; border-radius: 16px; display: block; aspect-ratio: 1200 / 630; object-fit: cover; }
.route-content .blog-lead { font-size: 19px; line-height: 1.7; color: var(--second-theme-color); font-weight: 500; margin-bottom: 22px; }
.blog-toc { background: #f8f6f2; border: 1px solid #ebe4d9; border-radius: 14px; padding: 18px 22px; margin: 0 0 30px; }
.route-content .blog-toc-title { font-family: var(--bricolage-font); font-weight: 700; color: var(--second-theme-color); margin: 0 0 8px; font-size: 16px; }
.route-content .blog-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.route-content .blog-toc li { font-size: 15px; margin-bottom: 6px; break-inside: avoid; }
.route-content .blog-toc li a { color: var(--second-theme-color); text-decoration: none; }
.route-content .blog-toc li a:hover { color: #c46a06; text-decoration: underline; }
.blog-body h2 { scroll-margin-top: 110px; }
.route-content .blog-updated { font-size: 14px; color: #6b7478; margin-top: 26px; }
.blog-share { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #ebe4d9; font-weight: 600; color: var(--second-theme-color); }
.blog-share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f1ede6; color: var(--second-theme-color); text-decoration: none; }
.blog-share a:hover { background: var(--theme-color); color: #fff; }

.blog-sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.blog-side-card { background: #fff; border: 1px solid #ebe4d9; border-radius: 16px; padding: 22px; }
.blog-side-card h2 { font-family: var(--bricolage-font); font-size: 19px; font-weight: 700; color: var(--second-theme-color); margin: 0 0 12px; }
.blog-side-book { background: #fff8ef; border-color: #f6dcb9; }
.blog-side-book p { font-size: 14.5px; line-height: 1.6; color: #4b5458; }
.blog-side-book a.blog-btn { width: 100%; margin-top: 8px; }
.blog-side-links { list-style: none; margin: 0; padding: 0; }
.blog-side-links li { border-top: 1px solid #f0ebe3; }
.blog-side-links li:first-child { border-top: 0; }
.blog-side-links a { display: block; padding: 9px 0; color: var(--second-theme-color); text-decoration: none; font-size: 15px; line-height: 1.4; }
.blog-side-links a:hover { color: #c46a06; }
.blog-related { margin-top: 56px; }
.blog-related > h2 { font-family: var(--bricolage-font); font-size: 26px; font-weight: 700; color: var(--second-theme-color); margin-bottom: 20px; }

@media (max-width: 991px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 24px; }
  .blog-sidebar { position: static; }
}
@media (max-width: 767px) {
  .blog-index { padding: 36px 0 52px; }
  .blog-index-lead { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .route-content .blog-toc ol { columns: 1; }
  .route-content .blog-lead { font-size: 17px; }
  .blog-cta { padding: 22px; }
  .blog-hero-meta { font-size: 13.5px; gap: 4px 14px; }
}

/* Blog polish: show the whole featured cover, left-aligned summaries, compact badge */
.blog-featured-img { display: flex; align-items: center; background: var(--second-theme-color); }
.blog-featured-img img { height: auto; object-fit: contain; }
.blog-featured-body .blog-badge { align-self: flex-start; }
.blog-featured-body p, .blog-card-body p, .blog-index-lead, .blog-side-book p, .blog-cta p { text-align: left !important; }
.blog-index-lead { text-align: center !important; }

/* ---- Blog carousel (homepage, [blog_carousel]) ---- */
.blog-carousel { padding: 80px 0 90px; background: #f8f6f2; }
.blog-carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.blog-carousel-kicker { color: var(--theme-color); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.blog-carousel-head h2 { font-family: var(--bricolage-font); font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); color: var(--second-theme-color); margin: 6px 0 8px; }
.blog-carousel-head p { margin: 0; color: #5b6468; font-size: 16px; max-width: 600px; text-align: left; }
.blog-carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.blog-carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #e0d6c8; background: #fff; color: var(--second-theme-color); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.blog-carousel-btn:hover:not(:disabled) { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }
.blog-carousel-btn:disabled { opacity: .35; cursor: default; }
.blog-carousel-btn:focus-visible { outline: 2px solid var(--theme-color); outline-offset: 2px; }
.blog-carousel.is-static .blog-carousel-nav { display: none; }
.blog-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #d9cfc0 transparent; -webkit-overflow-scrolling: touch; }
.blog-carousel-track::-webkit-scrollbar { height: 6px; }
.blog-carousel-track::-webkit-scrollbar-thumb { background: #d9cfc0; border-radius: 3px; }
.blog-carousel-track:focus-visible { outline: 2px solid var(--theme-color); outline-offset: 4px; border-radius: 8px; }
.blog-carousel-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid #ebe4d9; border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.blog-carousel-card:hover { box-shadow: 0 12px 28px rgba(34,55,64,.09); transform: translateY(-2px); border-color: #f3c58e; }
.blog-carousel-img img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.blog-carousel-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-carousel-body h3 { font-family: var(--bricolage-font); font-size: 19px; line-height: 1.35; font-weight: 700; margin: 0 0 8px; }
.blog-carousel-body h3 a { color: var(--second-theme-color); text-decoration: none; }
.blog-carousel-body h3 a:hover { color: #c46a06; }
.blog-carousel-excerpt { font-size: 15px; line-height: 1.65; color: #4b5458; margin: 0 0 14px; flex: 1; text-align: left !important; }
.blog-carousel-foot { text-align: center; margin-top: 18px; }
@media (max-width: 991px) {
  .blog-carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
  .blog-carousel { padding: 56px 0 64px; }
  .blog-carousel-head { align-items: flex-start; }
  .blog-carousel-nav { display: none; }
  .blog-carousel-track { grid-auto-columns: 84%; gap: 14px; }
}
