/* Lovable source: routes/index.tsx + styles.css (2026-10-05).
   1280px outer container; 16/24/32px gutters; sm 640, md 768, lg 1024.
   Native WordPress content. List cards reserve equal slots; full text remains in the article. */
:root { --home-gutter: 16px; --home-padding: max(var(--home-gutter), calc((100% - 1280px) / 2 + var(--home-gutter))); }
main.shell:has(> .featured-section, > .leh-section, > .latest-section) { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
main.shell:has(> .featured-section, > .leh-section, > .latest-section) > * { grid-column: 1; min-width: 0; }
main.shell > .featured-section, main.shell > .leh-section, main.shell > .latest-section { padding-inline: var(--home-padding); margin: 0; }
main.shell > .featured-section { padding-block: 40px; border-bottom: 2px solid var(--ink); background-color: var(--home-featured, var(--neo-feature)); background-image: radial-gradient(color-mix(in oklab, var(--home-featured-ink, var(--neo-feature-ink)) 14%, transparent) 1px, transparent 1px); background-size: 18px 18px; color: var(--home-featured-ink, var(--neo-feature-ink)); }
.site-frame .home-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 28px; font-family: var(--font-editorial); font-weight: var(--heading-weight); font-size: 36px; line-height: 40px; }
.featured-heading { margin-bottom: 28px; }
.featured-heading .home-heading { margin-bottom: 0; }
.site-frame #featured-heading, .site-frame .featured-lead h3 { font-family: var(--font-editorial); font-synthesis: none; }
:root[data-brand="leh"] main.shell > .featured-section { background-color: var(--home-preview, var(--leh-color)); background-image: radial-gradient(color-mix(in oklab, var(--home-preview-ink, var(--leh-ink)) 14%, transparent) 1px, transparent 1px); color: var(--home-preview-ink, var(--leh-ink)); }
.home-heading > .editorial-icon { font-size: 1em; width: 1em; height: 1em; line-height: 1; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.featured-card, .content-card { position: relative; min-width: 0; padding: 0; border: 2px solid var(--neo-card-edge); border-radius: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 0; background: var(--paper); color: var(--ink); }
.featured-card { min-height: 196px; box-shadow: -3px 3px 0 var(--neo-card-shadow); }
.featured-lead { margin-bottom: 8px; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); min-height: 372px; box-shadow: -6px 6px 0 var(--neo-card-shadow); }
.featured-copy, .card-copy { grid-column: 1; grid-row: 1; min-width: 0; padding: 20px; }
.featured-lead .featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; }
.featured-image, .content-card .card-image { grid-column: 2; grid-row: 1; display: block; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; overflow: hidden; border-radius: 0; border-inline-start: 2px solid var(--neo-card-edge); }
.featured-image img, .card-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-lead .featured-image { grid-column: 1; grid-row: 2; border-inline-start: 0; border-top: 2px solid var(--neo-card-edge); min-height: 290px; }
.featured-lead .featured-image img { aspect-ratio: 1; height: auto; min-height: max(288px, 100%); }
.featured-card:not(:has(.featured-image)) { grid-template-columns: minmax(0, 1fr); }
.site-frame .featured-card h3, .site-frame .content-card :is(h2, h3) { margin: 12px 0 0; padding: 0; font-family: var(--font-editorial); font-weight: var(--heading-weight); font-size: 20px; line-height: 32px; }
.site-frame .featured-lead h3 { margin: 20px 0 0; max-width: 768px; font-size: 30px; line-height: 1.45; font-weight: var(--heading-weight); font-family: var(--font-editorial); }
.card-title-text { display: block; overflow-wrap: anywhere; }
.featured-card .card-description { margin: 20px 0 0; max-width: 672px; font-size: 16px; line-height: 32px; color: var(--muted); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12px; font-weight: 600; line-height: 16px; color: var(--muted); }
.card-duration { display: inline-flex; align-items: center; gap: 4px; }
.card-duration svg { flex: 0 0 14px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 24px; }
.content-card { --card-image-size: 216px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto var(--card-image-size); min-height: 0; background: color-mix(in srgb, var(--paper) 94%, var(--ink)); }
.content-card .card-image { grid-column: 1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 1; align-self: stretch; border-inline-start: 0; border-bottom: 2px solid var(--neo-card-edge); }
.content-card .card-image-empty { background: var(--surface); }
.content-card .card-copy { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: 40px 52px 36px 32px; gap: 8px; padding: 16px; min-height: 0; }
.card-badges-slot { min-width: 0; overflow: auto; scrollbar-width: thin; }
.card-badges-slot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.site-frame .content-card :is(h2, h3) { grid-row: 2; margin: 0; font-size: 20px; line-height: 26px; min-width: 0; overflow: hidden; }
.content-card .card-title-text, .content-card .card-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.content-card .card-description { grid-row: 3; margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.content-card .card-meta { grid-row: 4; align-content: start; align-items: start; margin: 0; gap: 4px 8px; }
.site-frame :is(.content-card, .featured-card) :is(h2, h3) a:hover { color: inherit; text-decoration: none; }
main.shell > .leh-section { padding-block: 40px; border: 0; box-shadow: inset 0 -2px 0 var(--ink); background: var(--home-preview, var(--leh-color)); color: var(--home-preview-ink, var(--leh-ink)); color-scheme: light; }
.leh-header { display: flex; align-items: center; justify-content: space-between; margin: 0 0 28px; }
.leh-header .home-heading { margin: 0; }
.leh-brand-mark { display: flex; align-items: center; width: fit-content; min-height: 40px; }
.leh-logo { display: block; width: 104px; height: 40px; object-fit: contain; object-position: right center; }
.preview-leh .leh-logo { transform: scale(1.4); transform-origin: right center; }
.leh-logo-fallback { font-family: var(--font-editorial); font-weight: var(--heading-weight); font-size: 36px; line-height: 40px; }
.leh-inner, .leh-carousel { width: 100%; padding: 0; background: transparent; }
.leh-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; direction: rtl; }
.leh-card { min-width: 0; border-radius: 0; box-shadow: -3px 3px 0 #100c07; }
.leh-card article { position: relative; aspect-ratio: 4 / 5; border: 2px solid #100c07; overflow: hidden; background: #302d2c; color: #fff; }
.leh-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.leh-cover { position: absolute; inset: 0; overflow: hidden; }
.leh-cover img { width: 100%; height: 100%; object-fit: cover; }
.leh-card a:hover { color: inherit; text-decoration: none; }
.leh-card:has(a:focus-visible) { outline: 3px solid #100c07; outline-offset: 4px; }
.leh-card a:focus-visible { outline: none; }
.leh-empty { padding-block: 12px 20px; }
main.shell > .latest-section { padding-block: 48px; background: var(--home-latest, var(--paper)); }
.latest-section > .home-heading { padding-bottom: 16px; margin-bottom: 32px; border-bottom: 4px solid var(--ink); }
.collection-status { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.collection-status:empty { display: none; }
.site-frame > .site-footer { margin-top: 0; border-top: 2px solid #100c07; background: #000; color: #fff; }
.site-footer .footer-inner { border: 0; padding-block: 32px; color: inherit; }
.site-footer a, .site-footer a:hover, .site-footer p { color: #fff; }
.site-footer a:focus-visible { outline-color: #fff; }
@media (min-width: 640px) {
  :root { --home-gutter: 24px; }
  main.shell > .featured-section, main.shell > .leh-section { padding-block: 56px; }
  .site-frame .home-heading { font-size: 48px; line-height: 48px; }
  .featured-lead .featured-copy { padding: 40px; }
  .site-frame .featured-lead h3 { font-size: 48px; }
  .featured-lead .card-description { font-size: 18px; }
  .content-card { grid-template-columns: minmax(0, 1fr) var(--card-image-size); grid-template-rows: var(--card-image-size); }
  .content-card .card-image { grid-column: 2; grid-row: 1; width: var(--card-image-size); height: var(--card-image-size); border-bottom: 0; border-inline-start: 2px solid var(--neo-card-edge); }
  .content-card .card-copy { grid-column: 1; grid-row: 1; }
  .leh-logo { width: 144px; height: 48px; }
  main.shell > .latest-section { padding-block: 64px; }
}
@media (min-width: 768px) {
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-card[data-slot="1"] { grid-column: 1; }
  .featured-card[data-slot="2"] { grid-column: 2; }
  .featured-card[data-slot="3"] { grid-column: 3; }
}
@media (min-width: 1024px) {
  :root { --home-gutter: 32px; }
  .featured-lead { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .featured-lead .featured-copy { padding: 56px; }
  .featured-lead .featured-image { grid-column: 2; grid-row: 1; border-top: 0; border-inline-start: 2px solid var(--neo-card-edge); }
  .leh-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .leh-cover img { transition: transform 300ms ease; }
  .leh-card:hover .leh-cover img { transform: scale(1.05); }
}

/* Compact account rows. Labels remain available to assistive technology and tooltips. */
.site-footer .footer-inner { padding-block: 16px; }
.site-footer .footer-accounts { display: flex; align-items: center; justify-content: center; gap: 48px; }
.site-footer .footer-account-group { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 12px; min-width: 0; max-width: 100%; }
.site-footer .footer-account-group h2 { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.site-footer .footer-socials { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-socials li { margin: 0; padding: 0; }
.site-footer .footer-social-link { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 6px; background: transparent; color: #fff; text-decoration: none; }
.site-footer .footer-social-link svg { flex: none; width: 18px; height: 18px; }
.site-footer .footer-social-link:is(:hover,:focus-visible) { background: #222; color: #fff; text-decoration: none; }
.site-footer .footer-social-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-footer .copyright { margin: 12px 0 0; padding-block-start: 12px; border-block-start: 1px solid #292929; font-size: 11px; line-height: 18px; }
@media (prefers-reduced-motion: no-preference) {
    .site-footer .footer-social-link { transition: translate 140ms ease, background-color 140ms ease; }
    .site-footer .footer-social-link:focus-visible { translate: 0 -2px; }
    @media (hover:hover) { .site-footer .footer-social-link:hover { translate: 0 -2px; } }
    .site-footer .footer-social-link:active { translate: 0; }
}
@media (pointer: coarse) {
    .site-footer .footer-social-link { width: 44px; height: 44px; }
}
@media (max-width: 760px) {
    .site-footer .footer-accounts { flex-direction: column; gap: 8px; }
    .site-footer .footer-account-group { gap: 8px; }
    .site-footer .footer-socials { gap: 2px; }
}

/* A denser phone layout keeps the title and opening content within easy reach. */
@media (max-width: 639px) {
  main.shell > .featured-section, main.shell > .leh-section, main.shell > .latest-section { padding-block: 28px; }
  .site-frame .home-heading { font-size: 28px; line-height: 1.4; margin-bottom: 20px; }
  .featured-lead { min-height: 0; }
  .featured-lead .featured-copy { padding: 20px; }
  .site-frame .featured-lead h3 { font-size: 26px; line-height: 1.5; margin-top: 14px; }
  .featured-card .card-description { margin-top: 12px; font-size: 15px; line-height: 1.9; }
  .featured-lead .featured-image { min-height: 0; aspect-ratio: 16 / 10; }
  .featured-lead .featured-image img { height: 100%; min-height: 0; aspect-ratio: auto; }
  .featured-grid { gap: 16px; }
  .featured-card:not(.featured-lead) { min-height: 160px; grid-template-columns: minmax(0,1fr) 100px; }
  .featured-card:not(.featured-lead) .featured-copy { padding: 14px; }
  .site-frame .featured-card:not(.featured-lead) h3 { font-size: 18px; line-height: 1.65; }
  .content-grid { gap: 20px; }
  .content-card { grid-template-rows: auto auto; }
  .content-card .card-image { aspect-ratio: 16 / 10; }
  .leh-track { gap: 12px; }
}
