/* O!Smarty - additions to the compiled site stylesheet.
   Uses the colour variables (--color-*) defined in the main stylesheet. Sections:
   1. Header   2. Footer WhatsApp button   3. Home hero   4. Home advantages / About card
   5. About page: facts table   6. About page: FAQ accordion */

/* 1. Header: tighter menu spacing on small laptops so the extra FAQ item fits */
@media(min-width:1024px) and (max-width:1279px){header>div>nav.hidden{gap:1rem}}

/* 2. Footer: small WhatsApp button before each phone number */
.wa-mini-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:9999px;background:rgba(37,211,102,.12);flex-shrink:0;transition:background .15s ease}
.wa-mini-btn:hover{background:rgba(37,211,102,.22)}

/* 3. Home hero */
/* Hero: eyebrow name, description, direction tags */
.osm-hero__name{margin-bottom:.75rem;letter-spacing:.14em;text-transform:uppercase}
.osm-hero__desc{margin:0 0 1.5rem;max-width:34rem;font-size:.95rem;line-height:1.5;font-weight:600;color:rgba(255,255,255,.86)}
.osm-hero__tags{display:flex;flex-wrap:wrap;gap:.4rem 0;margin:1.5rem 0 0;padding:0;list-style:none;max-width:34rem;font-size:.9rem;line-height:1.4;font-weight:700;color:rgba(255,255,255,.92)}
.osm-hero__tags li{white-space:nowrap}
.osm-hero__tags li:not(:last-child)::after{content:"\00b7";margin:0 .55rem;opacity:.65}
/* Hero: photo card. The age card sits in normal flow below the photo, nothing is laid over the photo */
.osm-hero__age{display:block;width:fit-content;max-width:100%;margin:1rem 0 0 auto}
.osm-hero__caption{max-width:60%}

/* 4. Home advantages / About */
/* Advantages strip under the hero */
.osm-advantages{display:grid;gap:1.25rem}
@media(min-width:640px){.osm-advantages{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* About section: card spanning the full width of the card grid */
.osm-card--wide{grid-column:1/-1}

/* 5. About page: program table */
.osm-table-wrap{overflow-x:auto;margin-top:2rem;border:1px solid var(--color-line);border-radius:1.5rem;background:#fff;max-width:100%}
.osm-table{width:100%;border-collapse:collapse;font-size:1rem;line-height:1.5}
.osm-table th{text-align:left;padding:.95rem 1.25rem;font-weight:800;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--color-muted);background:var(--color-surface-soft);border-bottom:1px solid var(--color-line)}
.osm-table td{padding:1rem 1.25rem;border-bottom:1px solid var(--color-line);vertical-align:top}
.osm-table tr:last-child td{border-bottom:0}
.osm-table td a{font-weight:700;color:var(--color-brand)}
.osm-table td a:hover{color:var(--color-brand-dark)}
@media(max-width:640px){.osm-table th,.osm-table td{padding:.8rem .8rem;font-size:.95rem}
.osm-table th{font-size:.72rem}}

/* 6. About page: FAQ accordion */
.osm-faq{max-width:48rem;margin-top:2.5rem}
.osm-faq-item{background:#fff;border:1px solid var(--color-line);border-radius:1.25rem;margin-top:.75rem;transition:border-color .2s ease,box-shadow .2s ease}
.osm-faq-item:first-child{margin-top:0}
.osm-faq-item[open]{border-color:var(--color-brand);box-shadow:0 8px 24px -16px rgba(80,60,160,.35)}
.osm-faq-q{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.75rem;padding:1rem 1.25rem;cursor:pointer;list-style:none;font-size:1.0625rem;line-height:1.4;font-weight:800;-webkit-tap-highlight-color:transparent}
.osm-faq-q::-webkit-details-marker{display:none}
.osm-faq-q::marker{content:""}
.osm-faq-q:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px;border-radius:1.25rem}
.osm-faq-icon{position:relative;flex:none;width:1.75rem;height:1.75rem;border-radius:9999px;background:var(--color-surface-soft);color:var(--color-brand);transition:background .2s ease,transform .25s ease}
.osm-faq-icon::before,.osm-faq-icon::after{content:"";position:absolute;left:50%;top:50%;width:.8rem;height:2px;margin:-1px 0 0 -.4rem;background:currentColor;border-radius:2px;transition:transform .25s ease,opacity .2s ease}
.osm-faq-icon::after{transform:rotate(90deg)}
.osm-faq-item[open] .osm-faq-icon{background:var(--color-brand);color:#fff}
.osm-faq-item[open] .osm-faq-icon::after{transform:rotate(0deg);opacity:0}
.osm-faq-a{padding:0 1.25rem 1.25rem;font-size:1rem;line-height:1.75;color:var(--color-muted)}
.osm-faq-a p+p{margin-top:.75rem}
.osm-faq-item[open] .osm-faq-a{animation:osm-faq-in .22s ease-out}
@keyframes osm-faq-in{from{opacity:0;transform:translateY(-6px)}
to{opacity:1;transform:none}}
@supports (interpolate-size:allow-keywords){.osm-faq-item{interpolate-size:allow-keywords}
.osm-faq-item::details-content{block-size:0;overflow:hidden;transition:block-size .25s ease,content-visibility .25s allow-discrete}
.osm-faq-item[open]::details-content{block-size:auto}}
@media(prefers-reduced-motion:reduce){.osm-faq-item[open] .osm-faq-a{animation:none}
.osm-faq-item::details-content{transition:none}
.osm-faq-icon,.osm-faq-icon::before,.osm-faq-icon::after{transition:none}}
#faq{scroll-margin-top:5rem}
