/* ============================================================
   Features Module — uses Intensity Hoops design tokens
   ============================================================ */

.homepage-feature {
    margin-top: -160px;
    z-index: 100;
    position: relative;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading, "Oswald", sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--brand-primary-light, #2e8fd4);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Signature accent bar — inherits color via currentColor so overrides
   (e.g. .ih-cta .section-eyebrow) automatically recolor the bar too */
.section-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 32px;
    height: 2px;
    background: currentColor;
}

.section-heading {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text, #ffffff);
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 1px var(--black, #000000);
}

.section-subtext {
    color: var(--text-muted, #a0a0a0);
    max-width: 75ch;
    margin: 0 auto 3rem;
    line-height: 1.65;
    font-size: 1rem;
}

/* Alumni CTA strip's lead-in line (home-alumni.html) — was using Bootstrap's
   .lead utility, which doesn't follow the site's font/color tokens and read
   inconsistently next to the .section-subtext line right below it. */
#alumni-cta-lead {
    font-family: var(--font-body, "Inter", sans-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text, #ffffff);
    margin-bottom: 0.5rem;
}

/* ── Feature card ── */
.feature-card {
    background: var(--black, #000000);
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
    border-radius: 12px;
    padding: 2rem 1.75rem;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: default;
}

.feature-card:hover {
    background: var(--surface, #1c1c1c);
    border-color: var(--brand-primary, #1272ba);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(var(--brand-primary-rgb, 18, 114, 186), 0.3);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--brand-primary-tint, rgba(18, 114, 186, 0.15));
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(var(--brand-primary-rgb, 18, 114, 186), 0.3);
    border-color: var(--brand-primary, #1272ba);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--brand-primary-light, #2e8fd4);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-title {
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text, #ffffff);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    text-shadow: 1px 1px 1px var(--black, #000000);
}

.feature-body {
    color: var(--text-muted, #a0a0a0);
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.feature-link {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--font-heading, "Oswald", sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--brand-primary-light, #2e8fd4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border, rgba(18, 114, 186, 0.25));
    border-radius: 4px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.feature-card:hover .feature-link {
    border-color: var(--brand-primary, #1272ba);
    background: var(--brand-primary-tint, rgba(18, 114, 186, 0.15));
    color: var(--white, #ffffff);
}

.feature-link i {
    font-size: 0.75rem;
    padding-top: 2px;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .feature-icon,
    .feature-link {
        transition: none;
    }
}

/* ── Follow Us icons (home-follow-us.html) ──
   Deliberately its own class, NOT the framework's ul.social-icons (used
   already by the header/#sp-menu/offcanvas mobile menu with their own
   styling) — this is a separate, unrelated module. */
.follow-icons {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

/* template.css has legacy #sp-bottom .sp-module ul>li / ul>li>a rules
   (ID selectors — 1,1,2 and 1,1,3) styling generic list-based modules in the
   bottom position: margin-bottom on the <li>, and display:block on the <a>
   (which fully breaks the flex centering below — the icon just sits at its
   block-level top-left position instead). No class-based selector can
   outrank an ID selector regardless of how it's written, so !important is
   the clean override for these two, not a specificity fight with our own
   styles. */
.follow-icons > li {
    margin-bottom: 0 !important;
}

.follow-icons > li > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--brand-primary-light, #2e8fd4);
    color: var(--brand-primary-light, #2e8fd4);
    font-size: 0.95rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.follow-icons > li > a:hover,
.follow-icons > li > a:focus {
    background: var(--brand-primary, #1272ba);
    border-color: var(--brand-primary, #1272ba);
    color: var(--white, #ffffff);
    transform: translateY(-2px);
}

.follow-icons > li > a i {
    font-size: 16px;
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    .follow-icons > li > a {
        transition: none;
    }
}

