/*
 * Organisation public website.
 *
 * Theme values come from CSS variables set per organisation in
 * organisation/website/layout.blade.php (accent colour, corner radius, font).
 * Flat colours only: no gradients anywhere on the public site.
 */

.ow {
    --ow-accent: #1d4ed8;
    --ow-accent-hover: color-mix(in srgb, var(--ow-accent) 86%, #000);
    --ow-accent-soft: color-mix(in srgb, var(--ow-accent) 9%, #fff);
    --ow-accent-line: color-mix(in srgb, var(--ow-accent) 28%, #fff);
    --ow-on-accent: #fff;
    --ow-ink: #0f172a;
    --ow-text: #334155;
    --ow-muted: #64748b;
    --ow-line: #e2e8f0;
    --ow-surface: #f8fafc;
    --ow-bg: #fff;
    --ow-dark: #0f172a;
    --ow-radius: 10px;
    --ow-radius-sm: 6px;
    --ow-font: 'Inter', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ow-font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --ow-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --ow-shadow-lg: 0 10px 30px -12px rgba(15, 23, 42, .25);

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ow-bg);
    color: var(--ow-text);
    font-family: var(--ow-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ow--corners-sharp { --ow-radius: 2px; --ow-radius-sm: 2px; }
.ow--corners-rounded { --ow-radius: 10px; --ow-radius-sm: 6px; }
.ow--corners-soft { --ow-radius: 18px; --ow-radius-sm: 10px; }
.ow--font-serif { --ow-font-heading: Georgia, 'Times New Roman', serif; }

.ow *, .ow *::before, .ow *::after { box-sizing: border-box; }
.ow > main { flex: 1 0 auto; }
:where(.ow) a { color: inherit; text-decoration: none; }
.ow img { max-width: 100%; display: block; }
.ow h1, .ow h2, .ow h3, .ow h4 {
    margin: 0;
    color: var(--ow-ink);
    font-family: var(--ow-font-heading);
    line-height: 1.2;
    letter-spacing: -.01em;
}
.ow p { margin: 0; }
.ow :focus-visible { outline: 2px solid var(--ow-accent); outline-offset: 2px; }

.ow-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ow-container--narrow { max-width: 820px; }
@media (min-width: 768px) { .ow-container { padding: 0 32px; } }

.ow-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.ow-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px;
    border: 1px solid transparent; border-radius: var(--ow-radius-sm);
    font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
    cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.ow-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.ow-btn--block { width: 100%; }
.ow-btn--primary { background: var(--ow-accent); color: var(--ow-on-accent); }
.ow-btn--primary:hover { background: var(--ow-accent-hover); }
.ow-btn--outline { border-color: var(--ow-line); background: var(--ow-bg); color: var(--ow-ink); }
.ow-btn--outline:hover { border-color: var(--ow-ink); }
.ow-btn--light { background: #fff; color: var(--ow-ink); }
.ow-btn--light:hover { background: #f1f5f9; }
.ow-btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.ow-btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.ow-link { color: var(--ow-accent); font-weight: 600; }
.ow-link:hover { text-decoration: underline; }

/* ---------- Announcement + header ---------- */
.ow-announce { background: var(--ow-ink); color: #fff; font-size: 14px; }
.ow-announce .ow-container {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 6px 14px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; text-align: center;
}
.ow-announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.ow-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ow-line);
}
.ow-header__bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.ow-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ow-brand__logo { width: 40px; height: 40px; object-fit: contain; border-radius: var(--ow-radius-sm); }
.ow-brand__mark {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: var(--ow-radius-sm);
    background: var(--ow-accent); color: var(--ow-on-accent); font-weight: 700; font-size: 18px;
}
.ow-brand__name {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--ow-ink); font-family: var(--ow-font-heading); font-size: 18px; font-weight: 700;
}
.ow-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.ow-nav__link {
    position: relative; padding: 8px 12px; border-radius: var(--ow-radius-sm);
    color: var(--ow-text); font-size: 15px; font-weight: 500;
}
.ow-nav__link:hover { color: var(--ow-ink); background: var(--ow-surface); }
.ow-nav__link.is-active { color: var(--ow-ink); font-weight: 600; }
.ow-nav__link.is-active::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: -15px;
    height: 2px; background: var(--ow-accent);
}
.ow-nav__group { position: relative; }
.ow-nav__menu {
    position: absolute; top: 100%; left: 0; display: none; min-width: 200px; padding: 6px;
    background: #fff; border: 1px solid var(--ow-line); border-radius: var(--ow-radius-sm); box-shadow: var(--ow-shadow-lg);
}
.ow-nav__group:hover .ow-nav__menu, .ow-nav__group:focus-within .ow-nav__menu { display: block; }
.ow-nav__menu a { display: block; padding: 8px 10px; border-radius: 4px; font-size: 14px; }
.ow-nav__menu a:hover { background: var(--ow-surface); }
.ow-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ow-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--ow-radius-sm); color: var(--ow-text);
    background: transparent; border: 0; cursor: pointer;
}
.ow-icon-btn:hover { background: var(--ow-surface); color: var(--ow-ink); }
.ow-header__auth { display: none; gap: 8px; }
.ow-mobile { display: none; border-top: 1px solid var(--ow-line); background: #fff; }
.ow-mobile.is-open { display: block; }
.ow-mobile__inner { display: grid; gap: 2px; padding: 12px 0 18px; }
.ow-mobile a.ow-mobile__link { padding: 10px 4px; font-weight: 500; color: var(--ow-ink); border-bottom: 1px solid var(--ow-surface); }
.ow-mobile__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

@media (min-width: 640px) { .ow-header__auth { display: flex; } }
@media (min-width: 1024px) {
    .ow-nav { display: flex; }
    .ow-header__actions { margin-left: 8px; }
    .ow-menu-toggle { display: none; }
    .ow-mobile, .ow-mobile.is-open { display: none; }
}

/* ---------- Hero ---------- */
.ow-hero { border-bottom: 1px solid var(--ow-line); background: var(--ow-surface); }
.ow-hero__grid { display: grid; gap: 40px; align-items: center; padding: 56px 0; }
.ow-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    color: var(--ow-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ow-hero__eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.ow-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.ow-hero__lead { margin-top: 18px; max-width: 620px; color: var(--ow-text); font-size: 18px; line-height: 1.7; }
.ow-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ow-hero__media {
    overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--ow-radius);
    background: #e2e8f0; box-shadow: var(--ow-shadow-lg);
}
.ow-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ow-hero__placeholder {
    display: grid; place-items: center; width: 100%; height: 100%;
    background: var(--ow-accent-soft); color: var(--ow-accent); font-family: var(--ow-font-heading);
    font-size: 96px; font-weight: 800;
}
@media (min-width: 960px) {
    .ow-hero__grid { grid-template-columns: 1.15fr .85fr; padding: 88px 0; }
}

.ow-hero--simple .ow-hero__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.ow-hero--simple .ow-hero__lead { margin-left: auto; margin-right: auto; }
.ow-hero--simple .ow-hero__actions { justify-content: center; }

.ow-hero--image { position: relative; isolation: isolate; border-bottom: 0; background: var(--ow-dark); }
.ow-hero--image .ow-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ow-hero--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(15, 23, 42, .72); }
.ow-hero--image .ow-hero__grid { grid-template-columns: 1fr; padding: 96px 0; }
.ow-hero--image h1, .ow-hero--image .ow-hero__lead { color: #fff; }
.ow-hero--image .ow-hero__lead { color: rgba(255, 255, 255, .86); }
.ow-hero--image .ow-hero__eyebrow { color: #fff; }

/* ---------- Page header ---------- */
.ow-page-head { border-bottom: 1px solid var(--ow-line); background: var(--ow-surface); padding: 44px 0 40px; }
.ow-page-head h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.ow-page-head__lead { margin-top: 12px; max-width: 680px; font-size: 17px; color: var(--ow-text); }
.ow-page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ow-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; color: var(--ow-muted); font-size: 14px; }
.ow-crumbs a:hover { color: var(--ow-ink); text-decoration: underline; }
.ow-crumbs span[aria-current] { color: var(--ow-ink); }
.ow-eyebrow { color: var(--ow-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Sections ---------- */
.ow-section { padding: 64px 0; }
.ow-section--alt { background: var(--ow-surface); border-top: 1px solid var(--ow-line); border-bottom: 1px solid var(--ow-line); }
.ow-section--tight { padding: 40px 0; }
.ow-section + .ow-section--alt, .ow-section--alt + .ow-section--alt { border-top: 0; }
.ow-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ow-section-head h2 { margin-top: 6px; font-size: clamp(26px, 3vw, 32px); font-weight: 800; }
.ow-section-head p.ow-section-lead { margin-top: 8px; max-width: 620px; color: var(--ow-muted); }
.ow-section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Grids ---------- */
.ow-grid { display: grid; gap: 24px; }
@media (min-width: 640px) {
    .ow-grid--2, .ow-grid--3, .ow-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .ow-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ow-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Cards ---------- */
.ow-card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    background: #fff; border: 1px solid var(--ow-line); border-radius: var(--ow-radius);
    transition: border-color .15s, box-shadow .15s;
}
a.ow-card:hover { border-color: var(--ow-accent-line); box-shadow: var(--ow-shadow-lg); }
.ow-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--ow-surface); border-bottom: 1px solid var(--ow-line); }
.ow-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ow-card__placeholder {
    display: grid; place-items: center; width: 100%; height: 100%;
    background: var(--ow-accent-soft); color: var(--ow-accent);
    font-family: var(--ow-font-heading); font-size: 40px; font-weight: 800;
}
.ow-card__badge {
    position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
    background: #fff; color: var(--ow-ink); font-size: 12px; font-weight: 700; box-shadow: var(--ow-shadow);
}
.ow-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.ow-card__meta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
    color: var(--ow-muted); font-size: 13px; font-weight: 600;
}
.ow-card__meta .ow-card__kicker { color: var(--ow-accent); text-transform: uppercase; letter-spacing: .05em; }
.ow-card__title { font-size: 19px; font-weight: 700; }
.ow-card__text {
    display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    color: var(--ow-text); font-size: 15px;
}
.ow-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ow-line);
    color: var(--ow-muted); font-size: 14px;
}
.ow-card__foot strong { color: var(--ow-ink); }
.ow-card__cta { color: var(--ow-accent); font-weight: 600; }

/* Event row card */
.ow-event { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 20px; }
.ow-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 76px; border: 1px solid var(--ow-accent-line); border-radius: var(--ow-radius-sm);
    background: var(--ow-accent-soft); color: var(--ow-accent); text-align: center;
}
.ow-date__month { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ow-date__day { color: var(--ow-ink); font-family: var(--ow-font-heading); font-size: 28px; font-weight: 800; line-height: 1; }

/* People */
.ow-person { align-items: center; padding: 28px 20px; text-align: center; }
.ow-avatar {
    display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
    width: 88px; height: 88px; border-radius: 999px;
    background: var(--ow-accent-soft); color: var(--ow-accent);
    font-family: var(--ow-font-heading); font-size: 30px; font-weight: 800;
}
.ow-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ow-avatar--sm { width: 44px; height: 44px; font-size: 16px; }
.ow-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ow-tag {
    padding: 3px 10px; border: 1px solid var(--ow-line); border-radius: 999px;
    background: var(--ow-surface); color: var(--ow-text); font-size: 12px; font-weight: 600;
}

/* Testimonials */
.ow-quote { gap: 18px; padding: 26px; }
.ow-quote__stars { color: #f59e0b; letter-spacing: 2px; }
.ow-quote__text { color: var(--ow-ink); font-size: 16px; line-height: 1.7; }
.ow-quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ow-quote__name { color: var(--ow-ink); font-weight: 700; }
.ow-quote__role { color: var(--ow-muted); font-size: 14px; }

/* Stats */
.ow-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ow-line); border-radius: var(--ow-radius); background: #fff; }
.ow-stat { padding: 24px; border-color: var(--ow-line); border-style: solid; border-width: 0; }
.ow-stat:nth-child(odd) { border-right-width: 1px; }
.ow-stat:nth-child(-n+2) { border-bottom-width: 1px; }
.ow-stat__value { color: var(--ow-ink); font-family: var(--ow-font-heading); font-size: 34px; font-weight: 800; line-height: 1.1; }
.ow-stat__label { margin-top: 4px; color: var(--ow-muted); font-size: 14px; font-weight: 600; }
@media (min-width: 768px) {
    .ow-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ow-stat { border-width: 0 1px 0 0 !important; }
    .ow-stat:last-child { border-right-width: 0 !important; }
}

/* Feature list (about) */
.ow-split { display: grid; gap: 40px; }
@media (min-width: 960px) { .ow-split { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.ow-checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ow-checklist li { display: flex; gap: 12px; color: var(--ow-text); }
.ow-checklist li::before {
    content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 999px;
    background: var(--ow-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23334155'%3E%3Cpath d='M8.2 13.6 4.9 10.3l1.2-1.2 2.1 2.1 5.7-5.7 1.2 1.2z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Detail pages ---------- */
.ow-detail { display: grid; gap: 40px; padding: 48px 0 72px; }
@media (min-width: 1024px) { .ow-detail { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.ow-panel { padding: 24px; background: #fff; border: 1px solid var(--ow-line); border-radius: var(--ow-radius); }
.ow-panel + .ow-panel { margin-top: 20px; }
.ow-panel h2, .ow-panel h3 { font-size: 18px; font-weight: 700; }
@media (min-width: 1024px) { .ow-sticky { position: sticky; top: 96px; } }
.ow-price { color: var(--ow-ink); font-family: var(--ow-font-heading); font-size: 32px; font-weight: 800; }
.ow-price s { margin-left: 8px; color: var(--ow-muted); font-size: 16px; font-weight: 500; }
.ow-dl { display: grid; gap: 0; margin: 18px 0 0; }
.ow-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--ow-line); font-size: 14px; }
.ow-dl dt { color: var(--ow-muted); }
.ow-dl dd { margin: 0; color: var(--ow-ink); font-weight: 600; text-align: right; }
.ow-block + .ow-block { margin-top: 40px; }
.ow-block h2 { margin-bottom: 14px; font-size: 24px; font-weight: 800; }
.ow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ow-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
    border: 1px solid var(--ow-line); border-radius: 999px; background: #fff;
    color: var(--ow-ink); font-size: 14px; font-weight: 600;
}
.ow-feature-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--ow-radius); margin-bottom: 32px; }
.ow-product-card__media { background: var(--ow-surface); }
.ow-product-card .ow-product-card__media { aspect-ratio: 5 / 3; }
.ow-product-card__format {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px;
    border: 1px solid rgba(226, 232, 240, .95); border-radius: var(--ow-radius-sm);
    background: rgba(255, 255, 255, .96); color: var(--ow-ink);
    box-shadow: var(--ow-shadow); font-size: 11px; font-weight: 800; letter-spacing: .06em;
}
.ow-product-card__format i { color: var(--ow-accent); font-size: 14px; }
.ow-product-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ow-line);
}
.ow-product-card__availability {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--ow-muted); font-size: 12px; font-weight: 600;
}
.ow-product-card__availability i { color: var(--ow-accent); }
.ow-product-card__price { color: var(--ow-ink); font-size: 14px; }
.ow-product-card__price .ow-product-free-label { white-space: nowrap; }
.ow-product-card__placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 100%; min-height: 190px;
    background: var(--ow-surface); color: var(--ow-muted);
}
.ow-product-card__placeholder span {
    display: grid; place-items: center; width: 64px; height: 64px;
    border: 1px solid var(--ow-line); border-radius: var(--ow-radius);
    background: #fff; color: var(--ow-ink);
    font-family: var(--ow-font-heading); font-size: 28px; font-weight: 800;
}
.ow-product-card__placeholder small { color: var(--ow-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ow-product-free-label {
    display: inline-flex; align-items: center; padding: 3px 10px;
    border: 1px solid var(--ow-accent-line); border-radius: var(--ow-radius-sm);
    background: var(--ow-accent-soft); color: var(--ow-accent);
    font-size: 13px; font-weight: 800; line-height: 1.4;
}
.ow-product-free-label--detail { padding: 2px 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.ow-product-type { color: var(--ow-muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ow-product-overview {
    padding: clamp(22px, 4vw, 38px); border: 1px solid var(--ow-line);
    border-left: 3px solid var(--ow-accent); border-radius: var(--ow-radius);
    background: var(--ow-surface);
}
.ow-product-overview__eyebrow {
    margin-bottom: 12px !important; color: var(--ow-accent);
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.ow-product-overview h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.ow-product-overview > p:last-child { margin-top: 12px; max-width: 620px; color: var(--ow-text); font-size: 16px; line-height: 1.7; }
.ow-product-facts {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    margin-top: 24px; padding: 18px; border: 1px solid var(--ow-line);
    border-radius: var(--ow-radius); background: #fff;
}
.ow-product-facts > div { display: grid; gap: 5px; min-width: 0; }
.ow-product-facts__label { color: var(--ow-muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ow-product-facts strong { overflow-wrap: anywhere; color: var(--ow-ink); font-size: 14px; font-weight: 700; }
.ow-product-detail__media {
    display: grid; place-items: center; min-height: 210px; aspect-ratio: 4 / 3;
    overflow: hidden; background: var(--ow-surface);
}
.ow-product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) {
    .ow-product-facts { grid-template-columns: 1fr; gap: 12px; }
    .ow-product-facts > div + div { padding-top: 10px; border-top: 1px solid var(--ow-line); }
}

/* Curriculum */
.ow-curriculum { border: 1px solid var(--ow-line); border-radius: var(--ow-radius); overflow: hidden; }
.ow-curriculum details + details { border-top: 1px solid var(--ow-line); }
.ow-curriculum summary {
    display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer;
    background: var(--ow-surface); color: var(--ow-ink); font-weight: 600; list-style: none;
}
.ow-curriculum summary::-webkit-details-marker { display: none; }
.ow-curriculum summary span { color: var(--ow-muted); font-size: 14px; font-weight: 500; }
.ow-curriculum ol { margin: 0; padding: 8px 20px 14px 40px; color: var(--ow-text); font-size: 15px; }
.ow-curriculum li { padding: 6px 0; }

/* Rich text */
.ow-prose { color: var(--ow-text); font-size: 17px; line-height: 1.8; }
.ow-prose > * + * { margin-top: 1em; }
.ow-prose h2 { margin-top: 1.6em; font-size: 26px; }
.ow-prose h3 { margin-top: 1.4em; font-size: 21px; }
.ow-prose a { color: var(--ow-accent); text-decoration: underline; }
.ow-prose ul, .ow-prose ol { padding-left: 1.4em; }
.ow-prose img { border-radius: var(--ow-radius-sm); }
.ow-prose blockquote { margin: 0; padding-left: 18px; border-left: 3px solid var(--ow-accent); color: var(--ow-ink); }

/* ---------- Toolbar, forms, filters ---------- */
.ow-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ow-count { color: var(--ow-muted); font-size: 15px; font-weight: 600; }
.ow-search { display: flex; gap: 8px; width: 100%; max-width: 440px; }
.ow-input, .ow-textarea, .ow-select {
    width: 100%; min-height: 44px; padding: 10px 14px;
    border: 1px solid #cbd5e1; border-radius: var(--ow-radius-sm); background: #fff;
    color: var(--ow-ink); font: inherit; font-size: 15px;
}
.ow-textarea { min-height: 150px; resize: vertical; }
.ow-input:focus, .ow-textarea:focus, .ow-select:focus { border-color: var(--ow-accent); outline: 2px solid var(--ow-accent-line); outline-offset: 0; }
.ow-field { display: grid; gap: 6px; }
.ow-label { color: var(--ow-ink); font-size: 14px; font-weight: 600; }
.ow-error { color: #b91c1c; font-size: 13px; }
.ow-form { display: grid; gap: 18px; }
.ow-form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .ow-form__row { grid-template-columns: 1fr 1fr; } }
.ow-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ow-alert { padding: 14px 16px; border: 1px solid #bbf7d0; border-radius: var(--ow-radius-sm); background: #f0fdf4; color: #166534; font-weight: 600; }
.ow-alert--info { border-color: #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.ow-alert--error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

/* Enrol / apply */
.ow-join { display: grid; gap: 10px; }
.ow-join form { margin: 0; }
.ow-join__note { margin: 0; color: var(--ow-muted); font-size: 14px; line-height: 1.55; }
.ow-status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; }
.ow-status--success { color: #15803d; }
.ow-status--pending { color: #b45309; }
.ow-status--muted { color: var(--ow-muted); }
.ow-steps { margin: 10px 0 0; padding-left: 20px; color: var(--ow-text); font-size: 15px; line-height: 1.7; }
.ow-pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--ow-surface); color: var(--ow-text); }
.ow-pill--pending { background: #fef3c7; color: #92400e; }
.ow-pill--approved, .ow-pill--enrolled { background: #dcfce7; color: #166534; }
.ow-pill--rejected { background: #fee2e2; color: #991b1b; }
.ow-application__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ow-application__note { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--ow-radius-sm); background: var(--ow-surface); font-size: 15px; }
.ow-application__actions { display: flex; gap: 10px; margin-top: 16px; }
.ow-application__actions:empty { display: none; }
.ow-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--ow-line); border-radius: var(--ow-radius-sm); background: #fff; }
.ow-tabs a { padding: 8px 14px; border-radius: 4px; color: var(--ow-text); font-size: 14px; font-weight: 600; }
.ow-tabs a.is-active { background: var(--ow-ink); color: #fff; }

/* Contact list */
.ow-contact-list { display: grid; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.ow-contact-list li { display: flex; gap: 14px; }
.ow-contact-list i {
    display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px;
    border-radius: var(--ow-radius-sm); background: var(--ow-accent-soft); color: var(--ow-accent);
}
.ow-contact-list strong { display: block; color: var(--ow-ink); font-size: 14px; }
.ow-contact-list a:hover { color: var(--ow-accent); }

/* Empty state */
.ow-empty { padding: 56px 24px; border: 1px dashed #cbd5e1; border-radius: var(--ow-radius); background: #fff; text-align: center; }
.ow-empty h2, .ow-empty h3 { font-size: 20px; font-weight: 700; }
.ow-empty p { margin-top: 8px; color: var(--ow-muted); }

/* Pagination */
.ow-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.ow-pagination a, .ow-pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid var(--ow-line); border-radius: var(--ow-radius-sm); background: #fff;
    color: var(--ow-ink); font-size: 14px; font-weight: 600;
}
.ow-pagination a:hover { border-color: var(--ow-ink); }
.ow-pagination .is-current { border-color: var(--ow-ink); background: var(--ow-ink); color: #fff; }
.ow-pagination .is-disabled { color: #94a3b8; }

/* CTA band */
.ow-cta { padding: 56px 0; background: var(--ow-ink); color: #fff; }
.ow-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ow-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.ow-cta p { margin-top: 8px; max-width: 620px; color: rgba(255, 255, 255, .78); }
.ow-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.ow-footer { margin-top: auto; background: var(--ow-dark); color: #cbd5e1; font-size: 15px; }
.ow-footer__grid { display: grid; gap: 36px; padding: 56px 0 40px; }
@media (min-width: 768px) { .ow-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.ow-footer .ow-brand__name { color: #fff; }
.ow-footer__about { margin-top: 14px; max-width: 360px; color: #94a3b8; line-height: 1.7; }
.ow-footer h4 { margin-bottom: 14px; color: #fff; font-family: var(--ow-font); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ow-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ow-footer a:hover { color: #fff; }
.ow-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ow-social a {
    display: grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid #334155; border-radius: 999px; color: #cbd5e1;
}
.ow-social a:hover { border-color: #fff; color: #fff; }
.ow-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding: 20px 0 28px; border-top: 1px solid #1e293b; color: #94a3b8; font-size: 14px;
}
.ow-footer__policies { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ow-footer__policies a { color: #94a3b8; }
.ow-footer__policies a:hover { color: #fff; }
