/* =========================================================
   COVAI GLIDE BLOGS — IMAGE-FREE EDITORIAL UI
   Loads after ../style.css. Clean, sharp and professional.
   ========================================================= */

.blog-page {
  --blog-ink: #101114;
  --blog-muted: #62666d;
  --blog-line: #dedfe3;
  --blog-paper: #ffffff;
  --blog-soft: #f5f5f7;
  --blog-yellow: var(--primary-yellow, #e6ac00);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--blog-soft);
  color: var(--blog-ink);
  letter-spacing: -0.01em;
}

.blog-page .hero h1,
.blog-page .hero p,
.blog-page .hero .hero-kicker { animation: none !important; }
.blog-page .navbar-brand img { object-fit: contain; }
.blog-page .navbar-nav .nav-link.active { color: var(--blog-yellow) !important; }

.blog-hero {
  margin-top: calc(-1 * var(--cg-header-height, 100px));
  padding: calc(var(--cg-header-height, 100px) + 5.5rem) 0 5.5rem !important;
  background:
    linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)),
    url("../images/vehicles/vehiclebg.webp") center / cover no-repeat !important;
}
.blog-hero .hero-content { max-width: 1000px; margin: 0 auto; }
.blog-hero h1 { font-size: clamp(2.55rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; margin: 1rem auto 1.2rem; }
.blog-hero p { max-width: 780px; margin: 0 auto; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.55; }
.hero-kicker, .eyebrow, .story-kicker { display: inline-block; font-size: .74rem; line-height: 1.2; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker { color: var(--blog-yellow); }
.eyebrow, .story-kicker { color: #8a6500; }

.blog-breadcrumb { max-width: 1180px; margin: 0 auto; padding: 1.25rem 0; border-bottom: 1px solid var(--blog-line); }
.blog-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; color: var(--blog-muted); font-size: .9rem; }
.blog-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: #a3a5aa; }
.blog-breadcrumb a { color: var(--blog-ink); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }

.container-narrow, .article-shell, .duration-directory { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.newspaper-wrap, .guide-directory, .related-section { width: min(1440px, calc(100% - 40px)); margin-inline: auto; }
.hub-intro { padding: 6.5rem 0 3.5rem; text-align: center; }
.hub-intro h2, .content-section h2, .related-section > h2, .directory-head h2, .quote-panel h2 { font-size: clamp(2rem, 4vw, 4.1rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; margin: .7rem 0 1.25rem; }
.hub-intro p { max-width: 820px; margin: 0 auto; color: var(--blog-muted); font-size: 1.12rem; }

.newspaper-wrap { padding: 1rem 0 6rem; }
.newspaper-grid, .story-grid, .related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--blog-line);
  border: 1px solid var(--blog-line);
}
.newspaper-side { display: contents; }
.story-card { min-width: 0; background: var(--blog-paper); position: relative; overflow: hidden; }
.story-card > a { display: flex; flex-direction: column; height: 100%; min-height: 274px; color: var(--blog-ink); text-decoration: none; }
.story-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: transparent; z-index: 2; transition: background-color .2s ease; }
.story-card:hover::before { background: var(--blog-yellow); }
.story-card:hover { box-shadow: inset 0 0 0 1px #bbbcc1; }

.story-visual {
  height: 88px;
  padding: .9rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: start;
  background: linear-gradient(135deg, #101114 0 72%, #1d1f23 72% 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.story-visual::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 6px; background: var(--blog-yellow); }
.story-number { font-size: 2.1rem; line-height: 1; font-weight: 760; letter-spacing: -.06em; color: rgba(255,255,255,.28); }
.story-icon { grid-column: 2; grid-row: 1; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); color: var(--blog-yellow); }
.story-visual-meta { grid-column: 1 / -1; grid-row: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .62rem; line-height: 1; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.76); }
.story-copy { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.story-copy h2, .story-featured .story-copy h2 { font-size: 1.03rem; line-height: 1.18; letter-spacing: -.025em; margin: .4rem 0 .55rem; font-weight: 750; }
.story-copy p { color: var(--blog-muted); font-size: .78rem; line-height: 1.4; margin-bottom: .8rem; }
.story-kicker { font-size: .64rem; letter-spacing: .11em; }
.story-link { margin-top: auto; font-weight: 750; font-size: .76rem; }
.story-card a:hover .story-link { text-decoration: underline; }

.directory-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; border-bottom: 1px solid var(--blog-line); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.directory-head p { color: var(--blog-muted); margin: 0; }
.search-box { min-width: min(360px, 100%); display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid #bfc1c6; background: #fff; }
.search-box input { border: 0; outline: 0; width: 100%; background: transparent; }
.guide-directory, .duration-directory { padding: 1rem 0 6.5rem; }
.empty-state { padding: 2rem; background: #fff; border: 1px solid var(--blog-line); }

.duration-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--blog-line); border-left: 1px solid var(--blog-line); }
.duration-card { background: #fff; color: var(--blog-ink); display: grid; grid-template-columns: 64px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.6rem; text-decoration: none; border-right: 1px solid var(--blog-line); border-bottom: 1px solid var(--blog-line); }
.duration-card > span { font-size: 1.8rem; font-weight: 750; color: #a2a3a7; }
.duration-card h2 { margin: 0 0 .2rem; font-size: 1.45rem; letter-spacing: -.025em; }
.duration-card p { margin: 0; color: var(--blog-muted); }
.duration-card:hover { background: #101114; color: #fff; }
.duration-card:hover p { color: rgba(255,255,255,.68); }
.duration-card:hover > span, .duration-card:hover > i { color: var(--blog-yellow); }

.content-section { padding: 5.5rem 0; border-top: 1px solid var(--blog-line); }
.content-section > p { color: var(--blog-muted); font-size: 1.05rem; max-width: 860px; }
.article-shell { background: var(--blog-paper); padding: 0 clamp(1rem, 4vw, 4.5rem) 5rem; margin-top: 1.5rem; border: 1px solid var(--blog-line); }
.article-lead { display: grid; grid-template-columns: 1fr .78fr; gap: 4rem; align-items: stretch; padding: 5.5rem 0; }
.article-lead h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); letter-spacing: -.05em; line-height: 1; margin: .75rem 0 1.5rem; }
.article-lead p { color: var(--blog-muted); font-size: 1.05rem; }
.article-route-card { min-height: 330px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; background: #101114; color: #fff; position: relative; overflow: hidden; }
.article-route-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.12); transform: rotate(45deg); }
.article-route-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42%; height: 7px; background: var(--blog-yellow); }
.article-route-label { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--blog-yellow); }
.article-route-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); color: var(--blog-yellow); font-size: 1.2rem; }
.article-route-card strong { max-width: 90%; font-size: clamp(2rem, 4vw, 4.3rem); line-height: .95; letter-spacing: -.055em; }
.article-route-duration { color: rgba(255,255,255,.82); font-weight: 700; }
.article-route-card small { color: rgba(255,255,255,.56); }

.route-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--blog-line); border-left: 1px solid var(--blog-line); margin-bottom: 1rem; }
.route-facts > div { padding: 1.35rem; border-right: 1px solid var(--blog-line); border-bottom: 1px solid var(--blog-line); }
.route-facts span { display: block; color: var(--blog-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 750; margin-bottom: .4rem; }
.route-facts strong { display: block; font-size: 1rem; line-height: 1.35; }
.status { border-left: 3px solid #111; padding-left: .7rem; }
.route-good { border-color: #2f7d44; }.route-balanced { border-color: #b88300; }.route-tight { border-color: #a33d2f; }.route-conditional { border-color: #6d5b97; }

.route-line { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 2rem 0; }
.route-line span { background: var(--blog-ink); color: #fff; padding: .7rem .85rem; font-weight: 700; font-size: .86rem; }
.route-line span:not(:last-child)::after { content: "→"; color: var(--blog-yellow); margin-left: .8rem; }

.day-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--blog-line); border-left: 1px solid var(--blog-line); }
.day-card { padding: 1.65rem; border-right: 1px solid var(--blog-line); border-bottom: 1px solid var(--blog-line); position: relative; }
.day-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 42px; background: var(--blog-yellow); }
.day-card > span { color: #8a6500; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.day-card h3 { font-size: 1.3rem; margin: .65rem 0 .8rem; }
.day-card p, .day-card li { color: var(--blog-muted); }
.day-card ul, .clean-list { padding-left: 1.1rem; }

.destination-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--blog-line); border: 1px solid var(--blog-line); margin-top: 2rem; }
.destination-block { display: grid; grid-template-columns: 70px 1fr; gap: 1.35rem; padding: 1.65rem; background: #fff; align-items: start; min-width: 0; }
.destination-block:only-child { grid-column: 1 / -1; }
.destination-index { width: 60px; height: 70px; padding: .55rem; display: flex; flex-direction: column; justify-content: space-between; background: #101114; color: #fff; position: relative; }
.destination-index::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 5px; background: var(--blog-yellow); }
.destination-index span { color: rgba(255,255,255,.38); font-size: 1.2rem; font-weight: 800; }
.destination-index i { color: var(--blog-yellow); }
.destination-block h3 { font-size: 1.55rem; letter-spacing: -.03em; margin: .45rem 0 .75rem; }
.destination-block p, .destination-block li { color: var(--blog-muted); }
.text-link, .primary-link { display: inline-block; color: var(--blog-ink); font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--blog-line); }
.compact-section { border-top: 0; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--blog-line); border-left: 1px solid var(--blog-line); }
.score-grid > div { padding: 1.15rem; border-right: 1px solid var(--blog-line); border-bottom: 1px solid var(--blog-line); }
.score-grid strong { display: block; font-size: 1.35rem; }
.score-grid span { color: var(--blog-muted); font-size: .86rem; }

.decision-grid, .benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--blog-line); border-left: 1px solid var(--blog-line); margin-top: 2rem; }
.decision-grid > div, .benefit-grid > div { padding: 1.5rem; border-right: 1px solid var(--blog-line); border-bottom: 1px solid var(--blog-line); background: #fff; }
.decision-grid h3, .benefit-grid h3 { font-size: 1.15rem; }
.decision-grid p, .benefit-grid p { color: var(--blog-muted); margin-bottom: 0; }
.benefit-grid { grid-template-columns: repeat(4, 1fr); }
.benefit-grid i { font-size: 1.35rem; color: #8a6500; margin-bottom: 1rem; }
.traveller-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.traveller-points p { border-top: 2px solid var(--blog-ink); padding-top: 1rem; color: var(--blog-muted); }
.small-note { font-size: .86rem !important; color: #777b82 !important; margin-top: 1.5rem; }

.faq-list { border-top: 1px solid var(--blog-line); }
.faq-item { border-bottom: 1px solid var(--blog-line); background: #fff; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.25rem 3rem 1.25rem 0; font-weight: 750; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: .9rem; font-size: 1.7rem; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item div { padding: 0 3rem 1.25rem 0; }
.faq-item p { color: var(--blog-muted); margin: 0; max-width: 900px; }

.quote-panel { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; padding: 3rem; margin-top: 4rem; margin-bottom: 5rem; background: var(--blog-ink); color: #fff; }
.quote-panel h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 3.6rem); margin-bottom: .8rem; }
.quote-panel p { color: rgba(255,255,255,.75); max-width: 720px; margin: 0; }
.quote-panel .eyebrow { color: var(--blog-yellow); }
.quote-button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: 1rem 1.3rem; background: var(--blog-yellow); color: #111; text-decoration: none; font-weight: 800; }
.quote-button:hover { background: #fff; color: #111; }

.related-section { padding: 2rem 0 6rem; }
.related-grid .story-copy h2 { font-size: 1rem; }
.related-grid .story-copy p { font-size: .8rem; }

.blog-footer { background: #101114; color: #fff; padding-top: 4rem; }
.blog-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.blog-footer h2 { color: #fff; font-size: 1.5rem; }.blog-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.blog-footer p { color: rgba(255,255,255,.7); }
.blog-footer a { display: block; color: rgba(255,255,255,.78); text-decoration: none; margin-bottom: .5rem; }
.blog-footer a:hover { color: var(--blog-yellow); }
.blog-copyright { border-top: 1px solid rgba(255,255,255,.15); padding: 1.25rem; text-align: center; color: rgba(255,255,255,.58); font-size: .86rem; }

.blog-page .card, .blog-page [class*="card"], .blog-page .btn, .blog-page button, .blog-page input, .blog-page .quote-panel, .blog-page .story-card, .blog-page .duration-card { border-radius: 0 !important; }

@media (max-width: 1199.98px) {
  .newspaper-grid, .story-grid, .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .blog-hero { margin-top: calc(-1 * var(--cg-header-height, 84px)); padding: calc(var(--cg-header-height, 84px) + 4rem) 0 4rem !important; }
  .newspaper-grid, .story-grid, .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-lead, .split-section { grid-template-columns: 1fr; }
  .route-facts { grid-template-columns: repeat(2, 1fr); }
  .destination-stack { grid-template-columns: 1fr; }
  .destination-block:only-child { grid-column: auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767.98px) {
  .blog-hero { padding: calc(var(--cg-header-height, 84px) + 3rem) 0 3rem !important; }
  .blog-hero h1 { line-height: 1.04; }
  .container-narrow, .article-shell, .newspaper-wrap, .guide-directory, .duration-directory, .related-section { width: min(100% - 20px, 1440px); }
  .article-shell { padding-inline: 1rem; }
  .hub-intro, .content-section { padding: 4rem 0; }
  .newspaper-grid, .story-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duration-grid, .day-grid, .decision-grid, .benefit-grid, .traveller-points { grid-template-columns: 1fr; }
  .directory-head { align-items: stretch; flex-direction: column; }
  .search-box { min-width: 0; }
  .route-facts { grid-template-columns: 1fr; }
  .article-route-card { min-height: 280px; }
  .destination-block { grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.25rem; }
  .destination-index { width: 52px; height: 64px; }
  .quote-panel { padding: 2rem 1.25rem; }
  .blog-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .route-line span { width: 100%; }
  .route-line span:not(:last-child)::after { float: right; }
}
@media (max-width: 479.98px) {
  .newspaper-grid, .story-grid, .related-grid { grid-template-columns: 1fr; }
  .story-card > a { min-height: 242px; }
  .story-visual { height: 80px; }
}
