/*
|--------------------------------------------------------------------------
| Static Pages (templates/static.php — About / Contact / Terms / Privacy)
|--------------------------------------------------------------------------
|
| Page-specific styling for the `.yo-static` scope shared by all 4 static
| routes — section icon badges, list markers, contact cards, sidebar nav
| links. Shared tokens/utilities live in design-tokens.css instead; both
| load together via $pageStylesMap in includes/layouts/header.php.
|--------------------------------------------------------------------------
*/

.yo-static {
    --yo-navy-dark: #0F172A;
    --yo-gold: #D97706;
    --yo-gold-light: #FEF3C7;
    --yo-amber: #F59E0B;
    --yo-bronze: #EA580C;
    --yo-bg-subtle: #F1F5F9;
    --yo-border-subtle: #E2E8F0;
    --yo-text-primary: #0F172A;
    --yo-text-muted: #64748B;

    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    color: var(--yo-text-primary);
}

.yo-static h1,
.yo-static h2,
.yo-static h3,
.yo-static .yo-serif {
    font-family: 'Source Serif 4', Georgia, serif;
}

/* Same sitewide `section, .section` override every other redesigned
   template needs — see templates/home.php's own note on this rule
   for why it can't be fixed at the (shared, non-mirrored) source
   stylesheet instead. */
.yo-static > section {
    background: transparent !important;
    padding: 18px 0 !important;
}

/* breadcrumb.php's own <nav class="mb-4"> — neutralized here rather
   than edited in that shared partial, since it's reused by every
   other template. */
.yo-static nav.mb-4 {
    margin-bottom: 0 !important;
}

.yo-btn-navy:active {
    transform: scale(.97);
}

/* Hero icon avatar — same treatment as category.php's own
   .yo-category-avatar, reused here for each static page's own
   icon (About/Terms/Privacy/Contact each carry a distinct one). */
.yo-static-hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 1.25rem;
    background: #f75815;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Small circular icon badge in front of each section heading. */
.yo-static-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yo-gold-light);
    color: var(--yo-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.yo-static-list {
    list-style: none;
    margin: .75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.yo-static-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--yo-text-muted);
    font-size: .95rem;
    line-height: 1.5;
}

.yo-static-list li i {
    color: var(--yo-gold);
    margin-top: .2rem;
    flex-shrink: 0;
}

/* Contact-page email card. */
.yo-contact-card {
    background: #fff;
    border: 1px solid var(--yo-border-subtle);
    border-radius: 1.25rem;
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow .2s, border-color .2s;
}

.yo-contact-card:hover {
    border-color: var(--yo-gold);
    box-shadow: 0 12px 28px -14px rgba(15, 23, 42, .2);
}

.yo-contact-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--yo-gold-light);
    color: var(--yo-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Sidebar (sticky "On This Page" nav + "Explore More" card). */
.yo-static-sidebar-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .25rem;
    color: var(--yo-text-primary);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    border-radius: .6rem;
    transition: color .15s, background .15s;
}

.yo-static-sidebar-link:hover {
    color: var(--yo-gold);
    background: var(--yo-bg-subtle);
}

.yo-static-sidebar-link i:first-child {
    color: var(--yo-gold);
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .yo-static-sidebar-sticky {
        position: sticky;
        top: 1.25rem;
    }
}
