/**
 * Seniors microsite — HTuition brand colors
 */
:root {
    --sm-coral: #a1140d;
    --sm-coral-dark: #7a0f0a;
    --sm-maroon: #212158;
    --sm-charcoal: #212158;
    --sm-navy: #212158;
    --sm-yellow: #a1140d;
    --sm-green: #212158;
    --sm-muted: #5b6472;
    --sm-bg: #ffffff;
    --sm-font: "DM Sans", system-ui, sans-serif;
    --sm-display: "DM Sans", system-ui, sans-serif;
}

.sm-body {
    margin: 0;
    font-family: var(--sm-font);
    color: var(--sm-charcoal);
    background: var(--sm-bg);
    line-height: 1.6;
}

.sm-body *,
.sm-body *::before,
.sm-body *::after { box-sizing: border-box; }

.sm-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sm-btn:hover { transform: translateY(-1px); text-decoration: none; }

.sm-btn--coral { background: var(--sm-coral); color: #fff; }
.sm-btn--coral:hover { background: var(--sm-coral-dark); color: #fff; }
.sm-btn--yellow { background: var(--sm-coral); color: #fff; }
.sm-btn--yellow:hover { background: var(--sm-coral-dark); color: #fff; }
.sm-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
}

/* Top bar + nav */
.sm-topbar {
    background: var(--sm-charcoal);
    color: #fff;
    font-size: 0.82rem;
}

.sm-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.sm-topbar a { color: #fff; text-decoration: none; }
.sm-topbar__contact { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sm-topbar__sep { opacity: 0.45; }
.sm-topbar__social { display: flex; gap: 8px; }
.sm-topbar__social a {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--sm-coral); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
}

.sm-nav { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.sm-nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding: 14px 0; position: relative;
}

.sm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sm-logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 180px;
}
.sm-logo__mark { display: none; }
.sm-logo__text { display: none; }

.sm-nav__menu { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sm-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; color: var(--sm-charcoal);
    text-decoration: none; font-weight: 600; font-size: 0.92rem;
    background: transparent; border: 0; cursor: pointer;
    border-radius: 3px;
}
.sm-nav__link:hover {
    color: var(--sm-coral);
    background: transparent;
}
.sm-nav__link.is-active,
.sm-nav__item.is-active > .sm-nav__link {
    color: var(--sm-coral);
    background: transparent;
}
.sm-nav__link--cta {
    color: var(--sm-charcoal);
    background: transparent;
}
.sm-nav__link--cta:hover,
.sm-nav__link--cta.is-active {
    color: var(--sm-coral);
    background: transparent;
}

.sm-nav__item { position: relative; }
.sm-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-top: 0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    padding: 12px 0 8px;
    z-index: 20;
}
.sm-nav__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 14px;
}
.sm-nav__item:hover > .sm-nav__dropdown,
.sm-nav__item:focus-within > .sm-nav__dropdown,
.sm-nav__item.is-open > .sm-nav__dropdown { display: block; }
.sm-nav__dropdown a {
    display: block; padding: 9px 16px; color: var(--sm-charcoal);
    text-decoration: none; font-size: 0.9rem;
    background: #f5f5f5;
}
.sm-nav__dropdown a:hover { background: #fff; color: var(--sm-coral); }

.sm-nav__toggle {
    display: none; width: 42px; height: 42px; border: 0; background: transparent;
    flex-direction: column; justify-content: center; gap: 5px; padding: 8px;
}
.sm-nav__toggle span { display: block; height: 2px; background: var(--sm-charcoal); }

@media (max-width: 991px) {
    .sm-nav__toggle { display: inline-flex; }
    .sm-nav__menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 12px; border-bottom: 1px solid #eee;
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }
    .sm-nav__menu.is-open { display: flex; }
    .sm-nav__dropdown {
        position: static;
        box-shadow: none;
        border: 0;
        background: #f8f8f8;
        padding-top: 8px;
        margin: 0;
    }
    .sm-nav__dropdown::before { display: none; }
    .sm-nav__dropdown a { background: transparent; }
    .sm-nav__item:hover > .sm-nav__dropdown { display: none; }
    .sm-nav__item.is-open > .sm-nav__dropdown { display: block; }
}

/* Page hero (inner pages) */
.sm-page-hero {
    min-height: 240px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
    background-size: cover; background-position: center;
    position: relative;
}
.sm-page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(30,36,48,0.55), rgba(30,36,48,0.72));
}
.sm-page-hero__inner { position: relative; z-index: 1; padding: 48px 16px; }
.sm-page-hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.sm-breadcrumb { margin: 0; font-size: 0.9rem; opacity: 0.95; }
.sm-breadcrumb a { color: #fff; text-decoration: none; }
.sm-breadcrumb a:hover { text-decoration: underline; }
.sm-breadcrumb__sep { margin: 0 6px; color: #f0c419; font-weight: 700; }

/* Home hero */
.sm-home-hero {
    min-height: min(78vh, 640px);
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
    background-size: cover; background-position: center;
    position: relative;
}
.sm-home-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,24,34,0.45), rgba(20,24,34,0.68));
}
.sm-home-hero__inner { position: relative; z-index: 1; padding: 72px 20px; max-width: 820px; }
.sm-home-hero__eyebrow { margin: 0 0 12px; font-size: 1rem; letter-spacing: 0.02em; }
.sm-home-hero h1 {
    margin: 0 0 24px; font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.15; font-weight: 700;
}
.sm-home-hero h1 .sm-accent-yellow {
    color: var(--sm-yellow);
    border-bottom: 5px solid var(--sm-yellow);
    display: inline-block; line-height: 1.2;
}

/* Pillars */
.sm-pillars { padding: 64px 0 40px; position: relative; }
.sm-pillars__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.sm-pillar { text-align: center; }
.sm-pillar__ring {
    width: 120px; height: 120px; margin: 0 auto 18px;
    border-radius: 50%; border: 4px solid var(--sm-coral);
    overflow: hidden; background: #f3f4f6;
}
.sm-pillar__ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-pillar h3 { margin: 0 0 10px; color: var(--sm-coral); font-size: 1.15rem; }
.sm-pillar p { margin: 0 0 12px; color: var(--sm-muted); font-size: 0.92rem; }
.sm-pillar a { color: var(--sm-coral); font-weight: 700; text-decoration: none; }

.sm-heart-divider {
    height: 48px; margin: 8px 0 0;
    background:
        radial-gradient(circle at 35% 50%, transparent 10px, var(--sm-coral) 11px, var(--sm-coral) 13px, transparent 14px),
        radial-gradient(circle at 65% 50%, transparent 10px, var(--sm-coral) 11px, var(--sm-coral) 13px, transparent 14px);
    opacity: 0.55;
}

/* About split */
.sm-about {
    padding: 56px 0 72px;
}
.sm-about__grid {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
}
.sm-about__media {
    border-radius: 8px; overflow: hidden; min-height: 360px;
    background: #e8eaef;
}
.sm-about__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }
.sm-eyebrow { color: var(--sm-coral); font-weight: 700; margin: 0 0 10px; letter-spacing: 0.04em; }
.sm-about h2 {
    margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25;
}
.sm-about__body { color: var(--sm-muted); }

/* Offerings dark band */
.sm-offerings {
    background: var(--sm-navy);
    color: #fff;
    padding: 72px 0;
}
.sm-offerings__eyebrow { color: var(--sm-yellow); margin: 0 0 10px; font-weight: 600; }
.sm-offerings__title-wrap {
    display: flex; gap: 14px; align-items: flex-start; margin-bottom: 36px;
}
.sm-accent-bar {
    width: 4px; min-height: 48px; background: var(--sm-coral); flex-shrink: 0;
}
.sm-offerings h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; }
.sm-offerings h2 span { color: var(--sm-coral); }
.sm-offerings__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px;
}
.sm-offering-card h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.sm-offering-card p { margin: 0; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.sm-offering-card__photo {
    aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; background: #303848;
}
.sm-offering-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-offerings__cta { text-align: center; }

/* Events + donate */
.sm-engage {
    padding: 72px 0;
    background: #f7f5f2;
}
.sm-engage__grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start;
}
.sm-section-title {
    display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.sm-section-title span { color: var(--sm-coral); }
.sm-engage__lead { color: var(--sm-muted); margin: 0 0 24px; max-width: 520px; }

.sm-event {
    display: grid; grid-template-columns: 72px 64px 1fr; gap: 14px;
    align-items: center; padding: 16px; border: 1px solid #e5e7eb;
    background: #fff; margin-bottom: 14px;
}
.sm-event__thumb { width: 72px; height: 72px; background: #e8eaef; border-radius: 4px; }
.sm-event__date {
    width: 64px; height: 64px; border-radius: 50%; background: var(--sm-green);
    color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 0.72rem; line-height: 1.15; text-align: center; font-weight: 700;
}
.sm-event__date strong { font-size: 1.05rem; }
.sm-event__meta { color: var(--sm-coral); font-size: 0.85rem; margin: 0 0 4px; font-weight: 600; }
.sm-event h3 { margin: 0 0 4px; font-size: 1.05rem; }
.sm-event p { margin: 0; color: var(--sm-muted); font-size: 0.9rem; }

.sm-donate-card {
    background: var(--sm-coral); color: #fff; border-radius: 6px;
    padding: 28px 24px; position: relative; overflow: hidden;
}
.sm-donate-card__ring {
    width: 110px; height: 110px; margin: 0 auto 18px;
    border-radius: 50%; border: 8px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 700;
}
.sm-donate-card h3 { margin: 0 0 8px; text-align: center; }
.sm-donate-card > p { text-align: center; margin: 0 0 18px; opacity: 0.92; font-size: 0.92rem; }
.sm-donate-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px;
}
.sm-donate-stats span { display: block; font-size: 0.8rem; opacity: 0.9; }
.sm-donate-stats strong { color: #fff; font-size: 1.05rem; }
.sm-donate-card .sm-btn { width: 100%; }

/* News */
.sm-news {
    background: var(--sm-navy); color: #fff; padding: 40px 0;
}
.sm-news__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.sm-news__title { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 1.4rem; }
.sm-news__title span { color: var(--sm-coral); }
.sm-news__feature { flex: 1; min-width: 220px; margin: 0; font-weight: 600; }

/* Volunteer CTA + footer */
.sm-volunteer-cta {
    background: var(--sm-navy);
    color: #fff;
    padding: 28px 0;
}
.sm-volunteer-cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.sm-volunteer-cta h2 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.6rem); max-width: 560px; }

.sm-footer { background: var(--sm-navy); color: rgba(255,255,255,0.88); padding-top: 48px; }
.sm-footer__grid {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 40px;
}
.sm-footer h3 { color: #fff; margin: 0 0 14px; font-size: 1.05rem; }
.sm-footer p { margin: 0 0 8px; font-size: 0.92rem; }
.sm-footer ul { list-style: none; margin: 0; padding: 0; }
.sm-footer li { margin-bottom: 8px; }
.sm-footer a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.92rem; }
.sm-footer a:hover { color: #fff; }
.sm-footer .sm-btn { margin-top: 12px; }
.sm-footer__bar { background: var(--sm-coral); }
.sm-footer__bar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 0; color: #fff; flex-wrap: wrap;
}
.sm-footer__bar p { margin: 0; font-weight: 600; font-size: 0.9rem; color: #fff; }
.sm-footer__logo {
    display: inline-block;
    margin-bottom: 16px;
}
.sm-footer__logo img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 180px;
}
.sm-footer__social { display: flex; gap: 8px; }
.sm-footer__social a {
    width: 32px; height: 32px; border-radius: 50%; background: var(--sm-navy); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}

/* Get involved */
.sm-intro {
    padding: 56px 0 24px;
}
.sm-intro__title-wrap { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; }
.sm-intro h1, .sm-intro h2 {
    margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3;
}
.sm-intro h1 span, .sm-intro h2 span { color: var(--sm-coral); }
.sm-intro p { color: var(--sm-muted); max-width: 720px; }

.sm-involve-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    padding: 24px 0 64px;
}
.sm-involve-card { text-align: center; }
.sm-involve-card__frame {
    border: 5px solid var(--sm-coral); border-radius: 18px; overflow: hidden;
    aspect-ratio: 4/3; margin-bottom: 16px; background: #eee;
}
.sm-involve-card__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-involve-card h3 { margin: 0 0 6px; }
.sm-involve-card p { margin: 0 0 10px; color: var(--sm-muted); font-size: 0.92rem; }
.sm-involve-card a { color: var(--sm-coral); font-weight: 700; text-decoration: none; }

/* Programs page */
.sm-programs-page { padding: 40px 0 72px; }
.sm-programs-page .pl-program-group { margin-bottom: 48px; }
.sm-programs-page .pl-program-group__label { color: var(--sm-coral); }

/* Careers */
.sm-careers-band {
    background: var(--sm-navy); padding: 48px 0; margin: 24px 0 48px;
}
.sm-careers-band > .sm-container > .sm-careers-band__title {
    text-align: center; color: #fff; margin: 0 0 24px; font-size: 1.4rem;
}
.sm-careers-ctas {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.sm-careers-cta {
    border: 1px solid rgba(255,255,255,0.65); border-radius: 10px;
    padding: 22px 18px; color: #fff; min-height: 180px;
    display: flex; flex-direction: column;
}
.sm-careers-cta.is-featured { background: var(--sm-navy); border-color: transparent; }
.sm-careers-cta h3 { margin: 0 0 10px; font-size: 1.1rem; }
.sm-careers-cta p { margin: 0 0 16px; flex: 1; font-size: 0.9rem; opacity: 0.95; }
.sm-careers-cta a { color: #fff; font-weight: 700; text-decoration: none; }

.sm-careers-copy { text-align: center; max-width: 860px; margin: 0 auto 48px; padding: 0 16px; }
.sm-careers-copy h2 { margin: 0 0 16px; }
.sm-careers-copy p { color: var(--sm-muted); }

.sm-why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    max-width: 960px; margin: 0 auto 64px; padding: 0 16px;
}
.sm-why-box {
    background: #f0f1f4; border-radius: 18px; padding: 28px 24px;
}
.sm-why-box h3 { margin: 0 0 14px; }
.sm-why-box ul { margin: 0; padding-left: 18px; color: var(--sm-muted); }
.sm-why-box li { margin-bottom: 10px; }
.sm-why-box strong { color: var(--sm-charcoal); }

.sm-static { padding: 48px 0 72px; }
.sm-static__content { max-width: 760px; }
.sm-static__content p { color: var(--sm-muted); margin: 0 0 14px; }

.sm-contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 0 72px;
}
.sm-contact-card {
    border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px;
}
.sm-contact-card h3 { margin: 0 0 12px; }
.sm-blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    padding: 40px 0 72px;
}
.sm-blog-card {
    border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff;
}
.sm-blog-card__body { padding: 18px; }
.sm-blog-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.sm-blog-card a { color: var(--sm-coral); font-weight: 700; text-decoration: none; }

/* What We Do page */
.sm-wwd-hero {
    min-height: min(72vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 72px 0;
}
.sm-wwd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,24,34,0.55), rgba(20,24,34,0.72));
}
.sm-wwd-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.sm-wwd-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-weight: 700;
}
.sm-wwd-hero p {
    margin: 0 auto 24px;
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.sm-wwd-core { padding: 64px 0 40px; text-align: center; }
.sm-wwd-core__title {
    margin: 0 0 10px;
    color: var(--sm-coral);
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.sm-wwd-core__rule {
    width: 56px;
    height: 3px;
    background: var(--sm-coral);
    margin: 0 auto 36px;
}
.sm-wwd-core__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: center;
}
.sm-wwd-core__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 2px solid #d7dbe3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-charcoal);
    font-size: 1.4rem;
}
.sm-wwd-core__item h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}
.sm-wwd-core__item p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 0.95rem;
}

.sm-wwd-pillars {
    padding: 24px 0 64px;
    background: #f7f8fa;
}
.sm-wwd-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.sm-wwd-pillars__item { text-align: center; }
.sm-wwd-pillars__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-charcoal);
    font-size: 1.2rem;
}
.sm-wwd-pillars__item h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}
.sm-wwd-pillars__item p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 0.95rem;
}

.sm-wwd-why { padding: 64px 0; }
.sm-wwd-why__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 36px;
    align-items: center;
}
.sm-wwd-why h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.sm-wwd-why p { margin: 0; color: var(--sm-muted); line-height: 1.7; }
.sm-wwd-why__media {
    border-radius: 8px;
    overflow: hidden;
    min-height: 280px;
    background: #e8eaef;
}
.sm-wwd-why__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.sm-wwd-mission {
    background: var(--sm-navy);
    color: #fff;
    padding: 56px 0;
}
.sm-wwd-mission__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.sm-wwd-mission h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.sm-wwd-mission p { margin: 0 0 12px; opacity: 0.92; max-width: 640px; }
.sm-wwd-mission h3 {
    margin: 18px 0 8px;
    font-size: 1.2rem;
    color: var(--sm-coral);
}
.sm-wwd-mission__tagline { margin: 0; max-width: 520px; }
.sm-wwd-mission__cta { flex-shrink: 0; }

@media (max-width: 991px) {
    .sm-wwd-core__grid,
    .sm-wwd-pillars__grid,
    .sm-wwd-why__grid { grid-template-columns: 1fr; }
}

/* Who We Are page */
.sm-wwa-hero {
    min-height: min(56vh, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 64px 0;
}
.sm-wwa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,24,34,0.55), rgba(20,24,34,0.72));
}
.sm-wwa-hero__inner { position: relative; z-index: 1; }
.sm-wwa-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}
.sm-wwa-hero p { margin: 0; font-size: 1.05rem; opacity: 0.95; }

.sm-wwa-intro { padding: 64px 0; }
.sm-wwa-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.sm-wwa-intro__copy p {
    margin: 0 0 14px;
    color: var(--sm-muted);
    line-height: 1.75;
}
.sm-wwa-intro__media {
    position: relative;
    min-height: 340px;
}
.sm-wwa-intro__frame {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    background: #e8eaef;
}
.sm-wwa-intro__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sm-wwa-intro__frame--1 {
    width: 68%;
    height: 78%;
    left: 0;
    top: 0;
    z-index: 2;
}
.sm-wwa-intro__frame--2 {
    width: 58%;
    height: 62%;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sm-wwa-approach {
    padding: 56px 0 40px;
    text-align: center;
    background: #fafafa;
}
.sm-wwa-approach h2 {
    margin: 0 0 14px;
    color: var(--sm-coral);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.sm-wwa-approach__lead {
    margin: 0 auto 18px;
    max-width: 780px;
    color: var(--sm-muted);
}
.sm-wwa-approach__rule {
    width: 72px;
    height: 3px;
    margin: 0 auto 36px;
    background: var(--sm-coral);
    position: relative;
}
.sm-wwa-approach__rule::before,
.sm-wwa-approach__rule::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sm-coral);
    transform: translateY(-50%);
}
.sm-wwa-approach__rule::before { left: -14px; }
.sm-wwa-approach__rule::after { right: -14px; }

.sm-wwa-approach__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
    text-align: left;
    max-width: 960px;
    margin: 0 auto;
}
.sm-wwa-approach__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
}
.sm-wwa-approach__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #d7dbe3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-charcoal);
}
.sm-wwa-approach__item h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}
.sm-wwa-approach__item p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 0.94rem;
}

.sm-wwa-impact { padding: 48px 0 64px; }
.sm-wwa-impact h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.sm-wwa-impact p {
    margin: 0;
    max-width: 820px;
    color: var(--sm-muted);
    line-height: 1.75;
}

.sm-wwa-join {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 64px 0;
}
.sm-wwa-join::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 24, 34, 0.35);
}
.sm-wwa-join .sm-container { position: relative; z-index: 1; }
.sm-wwa-join__card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    padding: 36px 32px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.sm-wwa-join__card h2 {
    margin: 0 0 14px;
    letter-spacing: 0.06em;
    font-size: 1.5rem;
}
.sm-wwa-join__card p {
    margin: 0 0 12px;
    color: var(--sm-muted);
    line-height: 1.7;
}
.sm-wwa-join__tagline {
    font-weight: 700 !important;
    color: var(--sm-charcoal) !important;
    margin-bottom: 20px !important;
}

@media (max-width: 991px) {
    .sm-wwa-intro__grid,
    .sm-wwa-approach__grid { grid-template-columns: 1fr; }
    .sm-wwa-intro__media { min-height: 280px; }
}

.sm-main .pl-detail {
    padding: 32px 0 64px;
}

.sm-main .pl-back {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .sm-pillars__grid,
    .sm-offerings__grid,
    .sm-involve-grid,
    .sm-careers-ctas,
    .sm-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-about__grid,
    .sm-engage__grid,
    .sm-footer__grid,
    .sm-why-grid,
    .sm-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .sm-pillars__grid,
    .sm-offerings__grid,
    .sm-involve-grid,
    .sm-careers-ctas,
    .sm-blog-grid { grid-template-columns: 1fr; }
    .sm-event { grid-template-columns: 64px 1fr; }
    .sm-event__thumb { display: none; }
    .sm-topbar__sep { display: none; }
}

/* Involvement pathway detail cards */
.sm-pathway {
    padding: 48px 0 72px;
    background: #fff;
}
.sm-pathway__card {
    max-width: 820px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    padding: 40px 44px 44px;
    box-shadow: 0 8px 28px rgba(33, 33, 88, 0.06);
}
.sm-pathway__eyebrow {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sm-charcoal);
}
.sm-pathway__title {
    margin: 0 0 18px;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    color: var(--sm-charcoal);
    font-weight: 700;
}
.sm-pathway__title-lead {
    color: var(--sm-coral);
}
.sm-pathway__body {
    margin: 0 0 28px;
    color: #333;
    line-height: 1.75;
    font-size: 1rem;
}
.sm-pathway__benefits {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 18px;
}
.sm-pathway__benefits li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
    color: #333;
    line-height: 1.55;
}
.sm-pathway__benefit-icon {
    color: #e8b923;
    font-size: 1.15rem;
    line-height: 1.4;
}
.sm-pathway__benefits strong {
    color: var(--sm-charcoal);
}
.sm-pathway__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.sm-pathway__cta {
    flex: 1 1 280px;
    justify-content: center;
    padding: 14px 28px;
    text-align: center;
}
.sm-pathway__secondary {
    background: #fff;
    color: var(--sm-coral);
    border: 1px solid var(--sm-coral);
    justify-content: center;
    padding: 14px 22px;
}
.sm-pathway__secondary:hover {
    background: var(--sm-coral);
    color: #fff;
}
@media (max-width: 640px) {
    .sm-pathway__card { padding: 28px 20px 32px; }
    .sm-pathway__cta,
    .sm-pathway__secondary { width: 100%; flex: 1 1 100%; }
}
.sm-spotlight-wrap { padding: 24px 0 64px; }
.sm-spotlight-wrap .pl-spotlight { background: transparent; }
