/* ═══════════════════════════════════════════════════════
   LATEST VERSION PAGE  |  palette: #2b4f82 / #b8d6ed
   Relies on global.css for: hero, pbtn, cwl-section,
   lv-content-section, scroll-reveal, link-grid
   ═══════════════════════════════════════════════════════ */

[data-page="latest-version"] {
  --page-primary:   #2b4f82;
  --page-secondary: #b8d6ed;
  --accent-rgb:     184, 214, 237;
}

/* ── Navbar ────────────────────────────────────────────── */
[data-page="latest-version"] .navbar,
[data-page="latest-version"] .navbar.scrolled { background: #2b4f82; }
[data-page="latest-version"] .mob-nav          { background: #2b4f82; }

/* ── Hero eyebrow ──────────────────────────────────────── */
.lv-eyebrow {
  font-size: 0.9375rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px; opacity: .85;
}

/* ── Checklist in lv-text ──────────────────────────────── */
.lv-checklist {
  list-style: none; padding: 0; margin: 20px 0 0;
}
.lv-checklist li {
  font-size: 15px; color: #444; line-height: 1.5;
  padding: 6px 0 6px 24px; position: relative;
  border-bottom: 1px solid rgba(43,79,130,.1);
}
.lv-checklist li:last-child { border-bottom: none; }
.lv-checklist li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--navy); font-weight: 700;
}
.lv-checklist a {
  color: var(--navy); text-decoration: underline;
  text-underline-offset: 2px; font-weight: 500;
}

/* ── Nature grid ───────────────────────────────────────── */
.lv-nature-wrap {
  max-width: 1300px; margin: 0 auto; padding: 0 40px;
}
.lv-nature-intro {
  margin-bottom: 50px; max-width: 900px;
}
.lv-nature-grid { display: flex; flex-direction: column; gap: 24px; }
.lv-nature-row  {
  display: flex; gap: 24px; align-items: stretch;
}
.lv-nature-row--reverse { flex-direction: row-reverse; }

.lv-nature-small {
  flex: 1; min-width: 0;
  border-radius: 10px; overflow: hidden;
}
.lv-nature-large {
  flex: 2; min-width: 0;
  border-radius: 10px; overflow: hidden;
}
.lv-nature-small img,
.lv-nature-large video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 10px;
}
.lv-nature-small img  { aspect-ratio: 4/5; }
.lv-nature-large video { aspect-ratio: 16/9; }

/* ── Light CWL variant ─────────────────────────────────── */
.lv-cwl-light {
  background: #f8fafc !important;
}
.lv-cwl-light .cwl-title  { color: var(--navy) !important; }
.lv-cwl-light .cwl-desc p { color: #555 !important; }
.lv-cwl-light .cwl-item   { border-bottom-color: rgba(43,79,130,.15) !important; }
.lv-cwl-light .cwl-item-title { color: rgba(43,79,130,.6) !important; }
.lv-cwl-light .cwl-header:hover .cwl-item-title,
.lv-cwl-light .cwl-item--open  .cwl-item-title { color: var(--navy) !important; }
.lv-cwl-light .cwl-body p { color: #444 !important; }
.lv-cwl-light .cwl-body b { color: var(--navy) !important; }
.lv-cwl-light .cwl-right  { background: #e8eef6 !important; }

/* ── Accordion height-driven (overrides global 0-height) ── */
/* global uses height:0, we drive it via JS inline style —
   just ensure transition is set */
.custom-accordion-section .cwl-body {
  transition: height .38s cubic-bezier(.4,0,.2,1),
              opacity .3s ease !important;
}

/* ── Footer overrides ──────────────────────────────────── */
[data-page="latest-version"] .footer,
[data-page="latest-version"] .footer-cta,
[data-page="latest-version"] .footer-nav { background: #1e3a63; }
[data-page="latest-version"] .footer-bottom { background: #162e52; }
[data-page="latest-version"] .footer-link { color: rgba(255,255,255,.6); }
[data-page="latest-version"] .footer-link:hover { color: #fff; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .lv-nature-row,
  .lv-nature-row--reverse { flex-direction: column; }
  .lv-nature-small img  { aspect-ratio: 4/3; }
  .lv-nature-wrap { padding: 0 20px; }
}
@media (max-width: 600px) {
  .lv-nature-intro { margin-bottom: 30px; }
}

/* ═══════════════════════════════════════════════════════
   LV ACCORDION SECTIONS (renamed from cwl-* to avoid
   main.js hijacking the accordion + video swap logic)
   ═══════════════════════════════════════════════════════ */

/* Dark variant (default) */
.lv-acc-section {
  background: #2b5486;
  padding: 72px 0 80px;
  position: relative; z-index: 6;
}
.lv-acc-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 80px; align-items: start;
}
.lv-acc-title {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 700;
  color: #b8d6ed; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 20px;
}
.lv-acc-desc { font-size: 15px; color: rgba(184,214,237,.7); line-height: 1.65; margin-bottom: 40px; }
.lv-acc-desc p { margin-bottom: 14px; }
.lv-acc-desc b { color: #fff; }

/* accordion items */
.lv-custom-accordion { }
.lv-acc-item { border-bottom: 1px solid rgba(184,214,237,.2); }
.lv-acc-header {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; padding: 22px 0;
  text-align: left; font-family: var(--font); gap: 16px;
}
.lv-acc-item-title {
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 500;
  color: #b8d6ed; transition: color .2s; line-height: 1.3;
}
.lv-acc-header:hover .lv-acc-item-title,
.lv-acc-item--open  .lv-acc-item-title { color: #fff; }
.lv-acc-arrow { flex-shrink: 0; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.lv-acc-item--open .lv-acc-arrow { transform: rotate(180deg); }
.lv-acc-body {
  overflow: hidden; height: 0; opacity: 0;
  transition: height .38s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.lv-acc-body p  { font-size: 14.5px; color: rgba(184,214,237,.82); line-height: 1.7; margin-bottom: 14px; padding-top: 4px; }
.lv-acc-body p:last-child { margin-bottom: 20px; }
.lv-acc-body b  { color: #fff; }

/* sticky right media */
.lv-acc-right {
  position: sticky; top: calc(var(--nav-h, 70px) + 24px);
  border-radius: 10px; overflow: hidden;
  background: #1d3460; aspect-ratio: 16/9; align-self: start;
}
.lv-media-stage { position: relative; width: 100%; height: 100%; }
.lv-media-item  {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity .45s ease; border-radius: 10px;
}
.lv-media-active { opacity: 1; }

/* Light variant */
.lv-acc-light { background: #f8fafc !important; }
.lv-acc-light .lv-acc-title       { color: var(--navy) !important; }
.lv-acc-light .lv-acc-desc        { color: #555 !important; }
.lv-acc-light .lv-acc-desc p      { color: #555 !important; }
.lv-acc-light .lv-acc-item        { border-bottom-color: rgba(43,79,130,.15) !important; }
.lv-acc-light .lv-acc-item-title  { color: rgba(43,79,130,.6) !important; }
.lv-acc-light .lv-acc-header:hover .lv-acc-item-title,
.lv-acc-light .lv-acc-item--open  .lv-acc-item-title { color: var(--navy) !important; }
.lv-acc-light .lv-acc-body p      { color: #444 !important; }
.lv-acc-light .lv-acc-body b      { color: var(--navy) !important; }
.lv-acc-light .lv-acc-right       { background: #e8eef6 !important; }
.lv-acc-light .lv-acc-arrow path  { stroke: var(--navy) !important; }

/* Left col in light sections */
.lv-cwl-light { background: #f8fafc !important; }

/* Responsive */
@media (max-width: 900px) {
  .lv-acc-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .lv-acc-right { position: relative; top: 0; }
}

/* ── Arrow color via currentColor ───────────────────────
   Dark sections: header color drives arrow via currentColor
   Light sections: override to navy                         */
.lv-acc-section .lv-acc-header  { color: rgba(184,214,237,.6); }
.lv-acc-section .lv-acc-header:hover,
.lv-acc-section .lv-acc-item--open .lv-acc-header { color: #fff; }

.lv-acc-light .lv-acc-header  { color: rgba(43,79,130,.55) !important; }
.lv-acc-light .lv-acc-header:hover,
.lv-acc-light .lv-acc-item--open .lv-acc-header  { color: var(--navy) !important; }

/* Ensure lv-acc-desc inherits correct color in light sections */
.lv-acc-light .lv-acc-desc     { color: #555 !important; }
.lv-acc-light .lv-acc-desc p   { color: #555 !important; }

/* ═══════════════════════════════════════════════════════
   MEDIA LAYOUT (text left + image right, light bg)
   Matches lumion.com MediaLayout pattern
   ═══════════════════════════════════════════════════════ */
.lv-media-layout {
  background: #fff;
  padding: 100px 0;
  position: relative; z-index: 6;
}
.lv-media-layout-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 60px;
}
.lv-media-layout-inner--reverse { flex-direction: row-reverse; }

.lv-media-layout-text {
  flex: 0 0 38%; max-width: 480px;
}
.lv-media-layout-text h4 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  color: var(--navy); line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -.02em;
}
.lv-media-subtitle {
  font-size: 1.0625rem; color: var(--navy);
  margin-bottom: 12px; line-height: 1.4;
}
.lv-media-layout-text p {
  font-size: 0.9375rem; color: #444; line-height: 1.7; margin-bottom: 14px;
}
.lv-media-layout-text p b { color: var(--navy); }

.lv-media-layout-img {
  flex: 1; border-radius: 10px; overflow: hidden;
}
.lv-media-layout-img img {
  width: 100%; display: block; border-radius: 10px;
  aspect-ratio: 16/9; object-fit: cover;
}

/* ═══════════════════════════════════════════════════════
   VIDEO GRID SECTION (title top + 2-col videos below)
   ═══════════════════════════════════════════════════════ */
.lv-video-grid-section {
  background: #f8fafc;
  padding: 100px 0;
  position: relative; z-index: 6;
}
.lv-vg-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 40px;
}
.lv-vg-inner h4 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  color: var(--navy); margin-bottom: 12px; letter-spacing: -.02em;
}
.lv-vg-sub {
  font-size: 1rem; color: #555; margin-bottom: 48px; line-height: 1.5;
}
.lv-vg-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.lv-vg-item {}
.lv-vg-media {
  border-radius: 10px; overflow: hidden; margin-bottom: 20px;
}
.lv-vg-media video {
  width: 100%; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
.lv-vg-item h5 {
  font-size: 1.0625rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.lv-vg-item p {
  font-size: 0.9375rem; color: #555; line-height: 1.6;
}
.lv-vg-item p b { color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
  .lv-media-layout-inner,
  .lv-media-layout-inner--reverse { flex-direction: column; }
  .lv-media-layout-text { max-width: 100%; flex: auto; }
  .lv-vg-grid { grid-template-columns: 1fr; }
  .lv-media-layout { padding: 60px 0; }
  .lv-video-grid-section { padding: 60px 0; }
  .lv-media-layout-inner, .lv-vg-inner { padding: 0 20px; }
}




/* ═══════════════════════════════════════════════════════
   DISCOVER MORE — self-contained article grid
   (landscape.css not loaded on this page, so full rules here)
   ═══════════════════════════════════════════════════════ */
.lv-articles {
  background: #fff;
  padding: 80px 0;
  position: relative; z-index: 5;
}
.lv-articles .ls-articles-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
.lv-articles .ls-articles-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 48px;
}
.lv-articles .ls-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lv-articles .ls-article {
  display: block; text-decoration: none; color: inherit;
}
.lv-articles .ls-article-img {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 8px; overflow: hidden;
  margin-bottom: 16px; background: #ddd;
  position: relative;
}
.lv-articles .ls-article-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.lv-articles .ls-article:hover .ls-article-img img { transform: scale(1.04); }
.lv-articles .ls-article-meta {
  font-size: 13px; color: rgba(43,79,130,.5); margin-bottom: 8px;
}
.lv-articles .ls-article-title {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600; color: var(--navy);
  line-height: 1.35; transition: color .15s;
  margin-top: 4px;
}
.lv-articles .ls-article:hover .ls-article-title { color: var(--navy-dark); }

@media (max-width: 900px) {
  .lv-articles .ls-articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lv-articles .ls-articles-grid { grid-template-columns: 1fr; }
  .lv-articles .ls-articles-inner { padding: 0 20px; }
  .lv-articles { padding: 60px 0; }
}