:root {
  --omv-canvas: #faf9f5;
  --omv-surface: #fff;
  --omv-soft: #edefe6;
  --omv-ink: #20382e;
  --omv-muted: #58665e;
  --omv-forest: #173f35;
  --omv-deep: #102d27;
  --omv-inverse: #f9f7f0;
  --omv-gold: #c6a56a;
  --omv-gold-ink: #735525;
  --omv-border: #d5dbd1;
  --omv-control: #6b7c70;
  --omv-tarot: #18253f;
  --omv-error: #a52a35;
  --omv-shadow: 0 12px 32px rgba(16, 45, 39, .09);
  --omv-serif: Lora, Georgia, "Times New Roman", serif;
  --omv-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --omv-shell: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--omv-canvas); color: var(--omv-ink); font-family: var(--omv-sans); font-size: 18px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.admin-bar .omv-site-header { top: 32px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--omv-gold-ink); }
button, input, textarea, select { font: inherit; }
button, a { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
:focus-visible { outline: 3px solid var(--omv-forest); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .55em; color: inherit; font-family: var(--omv-serif); font-weight: 500; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.625rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.5rem); }
p, ul, ol { margin: 0 0 1.15em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 18px; background: #fff; color: #000; z-index: 100000; }
.omv-shell { width: min(calc(100% - 80px), var(--omv-shell)); margin-inline: auto; }
.omv-reading-width { max-width: 760px; }
.omv-main { min-height: 55vh; }
.omv-main--front { overflow: clip; }
.omv-skip-link { position: fixed; left: 16px; top: -100px; z-index: 10000; padding: 12px 18px; background: var(--omv-inverse); color: var(--omv-ink); border: 2px solid var(--omv-forest); border-radius: 8px; font-weight: 700; }
.omv-skip-link:focus { top: 12px; }

.omv-site-header { position: relative; z-index: 100; min-height: 88px; background: rgba(247, 245, 239, .98); border-bottom: 1px solid rgba(32, 56, 46, .1); }
.omv-site-header__inner { min-height: 88px; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(50px, .45fr); align-items: center; gap: 32px; }
.omv-brand__link, .custom-logo-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--omv-ink); }
.omv-brand__link strong { display: block; font-family: var(--omv-serif); font-size: 1.25rem; line-height: 1.1; font-weight: 600; }
.omv-brand__link small { display: block; margin-top: 3px; color: var(--omv-muted); font-family: var(--omv-sans); font-size: .68rem; letter-spacing: .02em; }
.omv-brand__mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--omv-gold-ink); font-size: 1.3rem; }
.custom-logo { max-height: 54px; width: auto; }
.omv-primary-nav .omv-menu { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); margin: 0; padding: 0; list-style: none; }
.omv-primary-nav li { position: relative; margin: 0; }
.omv-primary-nav a { display: block; padding: 28px 0; color: var(--omv-ink); text-decoration: none; font-weight: 600; font-size: .94rem; }
.omv-primary-nav a:hover { color: var(--omv-gold-ink); }
.omv-primary-nav .sub-menu { position: absolute; top: calc(100% - 10px); left: -18px; z-index: 10; display: none; width: max-content; min-width: 260px; max-width: 340px; margin: 0; padding: 10px; list-style: none; background: var(--omv-surface); border: 1px solid var(--omv-border); border-radius: 12px; box-shadow: var(--omv-shadow); }
.omv-primary-nav li:hover > .sub-menu, .omv-primary-nav li:focus-within > .sub-menu { display: block; }
.omv-primary-nav .sub-menu a { padding: 9px 12px; border-radius: 7px; font-size: .88rem; font-weight: 500; line-height: 1.35; white-space: normal; }
.omv-primary-nav .sub-menu a:hover, .omv-primary-nav .sub-menu a:focus-visible { background: var(--omv-soft); }
.omv-menu-toggle, .omv-search-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 8px 12px; color: var(--omv-ink); background: transparent; border: 1px solid var(--omv-border); border-radius: 999px; cursor: pointer; }
.omv-menu-toggle { display: none; }
.omv-search-toggle { justify-self: end; font-size: 1.4rem; }
.omv-header-search { padding: 18px 0; background: var(--omv-soft); border-top: 1px solid var(--omv-border); }
.omv-header-search[hidden] { display: none; }

.omv-search-form label { display: block; margin-bottom: 7px; font-weight: 700; font-size: .88rem; }
.omv-search-form__row { display: flex; gap: 10px; }
.omv-search-form input[type="search"] { width: 100%; min-height: 50px; padding: 10px 14px; color: var(--omv-ink); background: #fff; border: 1px solid var(--omv-control); border-radius: 8px; }
.omv-search-form button, .omv-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; color: var(--omv-inverse); background: var(--omv-forest); border: 1px solid var(--omv-forest); border-radius: 8px; text-decoration: none; font-weight: 700; cursor: pointer; }
.omv-button:hover { color: var(--omv-ink); background: var(--omv-gold); border-color: var(--omv-gold); transform: translateY(-1px); }
.omv-button[disabled] { color: #6a746e; background: #d8dcd6; border-color: #aeb7b0; cursor: not-allowed; transform: none; }

.omv-entry-header { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 40px; }
.omv-entry-header h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.omv-entry-kicker, .omv-eyebrow { margin-bottom: 14px; color: var(--omv-gold-ink); font-size: .78rem; line-height: 1.35; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.omv-entry-kicker a { color: inherit; }
.omv-entry-meta { color: var(--omv-muted); font-size: .94rem; }
.omv-entry-lead { color: var(--omv-muted); font-size: 1.2rem; }
.omv-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; color: var(--omv-muted); font-size: .84rem; }
.omv-breadcrumb span:last-child { max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.omv-entry-image { margin-bottom: 48px; }
.omv-entry-image img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 24px; }
.omv-entry-content { padding-bottom: clamp(72px, 10vw, 128px); }
.omv-entry-content > * { max-width: 100%; }
.omv-entry-content a { text-decoration: underline; }
.omv-entry-content blockquote { margin: 2em 0; padding: 20px 0 20px 28px; border-left: 3px solid var(--omv-gold); font-family: var(--omv-serif); font-size: 1.25rem; }
.omv-entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.omv-entry-content th, .omv-entry-content td { padding: 10px; border: 1px solid var(--omv-border); }
.omv-entry-content iframe { max-width: 100%; }
.omv-program-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; color: var(--omv-muted); }

.omv-archive-header { padding: clamp(64px, 8vw, 112px) 0 48px; background: linear-gradient(135deg, var(--omv-soft), var(--omv-canvas)); }
.omv-archive-description { max-width: 68ch; color: var(--omv-muted); }
.omv-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 64px; }
.omv-card { min-width: 0; background: #fff; border: 1px solid rgba(32, 56, 46, .1); border-radius: 16px; overflow: hidden; }
.omv-card__primary { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.omv-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #dbe3db, #b6c4b8); }
.omv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.omv-card__primary:hover .omv-card__media img { transform: scale(1.025); }
.omv-card__media--fallback { display: grid; place-items: center; color: var(--omv-forest); font-size: 3rem; }
.omv-card__body { flex: 1; padding: 24px; }
.omv-card__meta { margin: 0 0 8px; color: var(--omv-gold-ink); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.omv-card__title { font-size: 1.4rem; }
.omv-card__excerpt { color: var(--omv-muted); font-size: .96rem; }
.omv-text-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; }
.omv-search-results { padding-block: 64px; }
.omv-search-result { padding: 30px 0; border-bottom: 1px solid var(--omv-border); }
.omv-search-result h2 { font-size: 1.8rem; }
.omv-empty-state { grid-column: 1 / -1; padding: 48px; background: #fff; border-radius: 16px; }
.omv-not-found { padding: clamp(80px, 12vw, 160px) 0; }
.navigation.pagination { margin: 0 0 80px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: 8px; border: 1px solid var(--omv-border); border-radius: 8px; text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--omv-forest); border-color: var(--omv-forest); }

.omv-site-footer { position: relative; padding-top: 80px; color: var(--omv-ink); background: linear-gradient(180deg, #f7f5ef 0, #e8eee7 100%); border-top: 1px solid var(--omv-border); }
.omv-site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url('../images/astra-footer.webp') center bottom / cover no-repeat; }
.omv-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.omv-footer-grid h2 { font-family: var(--omv-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.omv-footer-grid ul { padding: 0; list-style: none; }
.omv-footer-grid li { margin-bottom: 8px; }
.omv-footer-grid a { text-decoration: none; }
.omv-footer-brand p { max-width: 38ch; margin-top: 24px; color: var(--omv-muted); font-size: .93rem; }
.omv-footer-note { font-family: var(--omv-serif); font-style: italic; color: var(--omv-gold-ink); }
.omv-footer-bottom { position: relative; z-index: 1; margin-top: 30px; padding: 20px 0 36px; font-size: .75rem; }
.omv-footer-bottom p { margin: 0; }

.omv-demo-banner { margin: 0; padding: 8px 20px; text-align: center; color: #fff; background: #735525; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }

@media (max-width: 1023px) {
  .omv-shell { width: min(calc(100% - 64px), var(--omv-shell)); }
  .omv-site-header__inner { grid-template-columns: 1fr auto auto; }
  .omv-menu-toggle { display: inline-flex; justify-self: end; }
  .omv-primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px 32px 24px; background: var(--omv-canvas); border-bottom: 1px solid var(--omv-border); box-shadow: var(--omv-shadow); }
  .omv-primary-nav.is-open { display: block; }
  .omv-primary-nav { max-height: calc(100vh - 88px); overflow-y: auto; }
  .omv-primary-nav .omv-menu { display: block; }
  .omv-primary-nav a { padding: 12px 0; }
  .omv-primary-nav .sub-menu { position: static; display: block; width: auto; min-width: 0; max-width: none; padding: 0 0 8px 18px; background: transparent; border: 0; border-left: 1px solid var(--omv-border); border-radius: 0; box-shadow: none; }
  .omv-primary-nav .sub-menu a { padding: 8px 0 8px 12px; }
  .omv-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .omv-footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .omv-footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  body.admin-bar .omv-site-header { top: 46px; }
  .omv-shell { width: min(calc(100% - 40px), var(--omv-shell)); }
  .omv-site-header, .omv-site-header__inner { min-height: 72px; }
  .omv-site-header__inner { gap: 8px; }
  .omv-brand__link small, .omv-menu-toggle span:last-child { display: none; }
  .omv-brand__mark { width: 32px; height: 32px; }
  .omv-brand__link strong { font-size: 1.05rem; }
  .omv-menu-toggle, .omv-search-toggle { min-width: 44px; min-height: 44px; padding: 6px 9px; }
  .omv-primary-nav { padding-inline: 20px; }
  .omv-search-form__row { flex-direction: column; }
  .omv-post-grid { grid-template-columns: 1fr; padding-block: 48px; }
  .omv-entry-header { padding-top: 56px; }
  .omv-entry-image { width: 100%; margin-bottom: 32px; }
  .omv-entry-image img { border-radius: 0; }
  .omv-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .omv-footer-grid > :last-child { grid-column: auto; }
  .omv-site-footer { padding-top: 56px; }
  .omv-empty-state { padding: 28px 20px; }
}
