/* SPMA Hub Pages: Home Page v1.1.1 */

:root {
    --spma-green: #006837;
    --spma-green-dark: #004e2a;
    --spma-gold: #d5be52;
    --spma-gold-soft: #e9dda4;
    --spma-ink: #0d1511;
    --spma-muted: #5e6862;
    --spma-line: #e6e9e7;
    --spma-wash: #f5f7f6;
    --spma-white: #ffffff;
    --spma-shadow-sm: 0 8px 28px rgba(0, 37, 20, .08);
    --spma-shadow-md: 0 24px 70px rgba(0, 37, 20, .14);
    --spma-radius-sm: 14px;
    --spma-radius-md: 22px;
    --spma-radius-lg: 32px;
    --spma-container: 1240px;
}

.spma-home-page,
.spma-home-page * {
    box-sizing: border-box;
}

.spma-home-page {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: var(--spma-white);
    color: var(--spma-ink);
    font-family: inherit;
}

.spma-home-page img {
    display: block;
    max-width: 100%;
}

.spma-home-page a {
    text-decoration: none;
}

.spma-home-page button,
.spma-home-page a {
    -webkit-tap-highlight-color: transparent;
}

.spma-home-page a:focus-visible,
.spma-home-page button:focus-visible,
.spma-home-page [tabindex]:focus-visible {
    outline: 3px solid var(--spma-gold);
    outline-offset: 4px;
}

.spma-home-container {
    width: min(calc(100% - 48px), var(--spma-container));
    margin: 0 auto;
}

/* Hero */
.spma-home-hero {
    position: relative;
    isolation: isolate;
    padding: 88px 0 0;
    background:
        radial-gradient(circle at 12% 16%, rgba(213, 190, 82, .14), transparent 26%),
        radial-gradient(circle at 88% 86%, rgba(233, 221, 164, .10), transparent 30%),
        linear-gradient(135deg, var(--spma-green-dark) 0%, #003d21 48%, #002f19 100%);
    color: var(--spma-white);
}

.spma-home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 34vw;
    min-width: 360px;
    height: 100%;
    background: linear-gradient(180deg, rgba(213, 190, 82, .07), rgba(213, 190, 82, 0));
    clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: -1;
}

.spma-home-hero__texture {
    position: absolute;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 86%);
}

.spma-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
}

.spma-home-hero__copy {
    padding: 38px 0 64px;
}

.spma-home-kicker,
.spma-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--spma-gold-soft);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .17em;
}

.spma-home-kicker span {
    width: 36px;
    height: 2px;
    border-radius: 999px;
    background: var(--spma-gold);
}

#page-container .spma-home-hero h1,
.spma-home-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--spma-white);
    font-size: clamp(2.75rem, 3.6vw, 4.4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    font-weight: 800;
}

.spma-home-hero h1 span {
    display: block;
    color: var(--spma-gold);
}

.spma-home-hero__lede {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.55;
}

.spma-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.spma-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.spma-button span {
    font-size: 18px;
    transition: transform .25s ease;
}

.spma-button:hover {
    transform: translateY(-2px);
}

.spma-button:hover span {
    transform: translate(2px, -1px);
}

.spma-button--gold {
    background: var(--spma-gold);
    color: #17301f;
    box-shadow: 0 14px 36px rgba(213, 190, 82, .22);
}

.spma-button--gold:hover {
    background: var(--spma-gold-soft);
    color: var(--spma-green-dark);
    box-shadow: 0 18px 42px rgba(213, 190, 82, .30);
}

.spma-button--ghost {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.055);
    color: var(--spma-white);
}

.spma-button--ghost:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.11);
    color: var(--spma-white);
}

.spma-button--dark {
    background: var(--spma-green-dark);
    color: var(--spma-white);
    box-shadow: 0 12px 30px rgba(0, 78, 42, .16);
}

.spma-button--dark:hover {
    background: var(--spma-green);
    color: var(--spma-white);
}

.spma-home-hero__quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.spma-home-hero__quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
    transition: color .2s ease;
}

.spma-home-hero__quicklinks a:hover {
    color: var(--spma-white);
}

.spma-home-hero__quicklinks span {
    color: var(--spma-gold);
    font-size: 10px;
    font-weight: 900;
}

.spma-home-hero__visual {
    position: relative;
    min-height: 580px;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.spma-home-hero__figure {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px 32px 8px 32px;
    box-shadow: 0 34px 90px rgba(0,0,0,.32);
}

.spma-home-hero__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,49,26,.32) 100%);
    pointer-events: none;
}

.spma-home-hero__image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

.spma-home-hero__gold-block {
    position: absolute;
    z-index: 1;
    right: -30px;
    top: 50%;
    width: 66%;
    height: 72%;
    transform: translateY(-43%);
    border-radius: 28px;
    background: linear-gradient(145deg, var(--spma-gold), var(--spma-gold-soft));
    opacity: .94;
}

.spma-home-hero__stamp {
    position: absolute;
    z-index: 3;
    right: -18px;
    bottom: 42px;
    display: grid;
    place-items: center;
    width: 126px;
    aspect-ratio: 1;
    border: 7px solid var(--spma-green-dark);
    border-radius: 50%;
    background: var(--spma-gold);
    color: var(--spma-green-dark);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
    text-align: center;
    transform: rotate(7deg);
}

.spma-home-hero__stamp::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px dashed rgba(0,78,42,.55);
    border-radius: 50%;
}

.spma-home-hero__stamp-top {
    align-self: end;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.spma-home-hero__stamp-bottom {
    align-self: start;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.spma-home-discovery-bar {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 24px;
    transform: translateY(42px);
    overflow: hidden;
    border: 1px solid rgba(13,21,17,.08);
    border-radius: 20px;
    background: var(--spma-white);
    box-shadow: var(--spma-shadow-md);
}

.spma-home-discovery-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 118px;
    padding: 25px 28px;
    color: var(--spma-ink);
    transition: background .25s ease, color .25s ease;
}

.spma-home-discovery-card + .spma-home-discovery-card {
    border-left: 1px solid var(--spma-line);
}

.spma-home-discovery-card:hover {
    background: var(--spma-green);
    color: var(--spma-white);
}

.spma-home-discovery-card__number {
    color: var(--spma-gold);
    font-size: 12px;
    font-weight: 900;
}

.spma-home-discovery-card > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.spma-home-discovery-card strong {
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
}

.spma-home-discovery-card small {
    color: var(--spma-muted);
    font-size: 12px;
    line-height: 1.4;
}

.spma-home-discovery-card:hover small {
    color: rgba(255,255,255,.72);
}

.spma-home-discovery-card b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--spma-wash);
    color: var(--spma-green-dark);
    font-size: 16px;
    transition: transform .25s ease, background .25s ease;
}

.spma-home-discovery-card:hover b {
    transform: rotate(7deg) scale(1.05);
    background: var(--spma-gold);
}

/* Shared section heading */
.spma-home-section {
    position: relative;
    padding: 118px 0;
}

.spma-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}

.spma-section-heading h2,
.spma-home-jobs h2 {
    margin: 0;
    color: var(--spma-green-dark);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 900;
}

.spma-section-heading .spma-section-eyebrow {
    margin-bottom: 10px;
    color: var(--spma-green);
}

.spma-section-heading__intro {
    max-width: 520px;
    margin: 12px 0 0;
    color: var(--spma-muted);
    font-size: 16px;
    line-height: 1.55;
}

.spma-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(0,78,42,.3);
    color: var(--spma-green-dark);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
}

.spma-text-link span {
    transition: transform .2s ease;
}

.spma-text-link:hover {
    border-color: var(--spma-gold);
    color: var(--spma-green);
}

.spma-text-link:hover span {
    transform: translate(2px, -2px);
}

/* Latest */
.spma-home-section--latest {
    padding-top: 150px;
    background: var(--spma-white);
}

.spma-latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 18px;
}

.spma-resource-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--spma-line);
    border-radius: var(--spma-radius-md);
    background: var(--spma-white);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.spma-resource-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,104,55,.18);
    box-shadow: var(--spma-shadow-md);
}

.spma-resource-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe6e2;
}

.spma-resource-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.75,.2,1);
}

.spma-resource-card:hover .spma-resource-card__image {
    transform: scale(1.045);
}

.spma-resource-card__image-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 220px;
    background:
        linear-gradient(135deg, rgba(213,190,82,.3), transparent),
        var(--spma-green-dark);
    color: var(--spma-gold);
}

.spma-resource-card__image-fallback span {
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -.05em;
}

.spma-resource-card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.spma-resource-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
    color: var(--spma-green-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.spma-resource-badge--featured {
    background: var(--spma-gold);
}

.spma-resource-badge--trending,
.spma-resource-badge--popular {
    background: var(--spma-green-dark);
    color: var(--spma-white);
}

.spma-resource-card__body {
    padding: 24px;
}

.spma-resource-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #7a837e;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.spma-resource-card__type {
    color: var(--spma-green);
    font-weight: 900;
}

.spma-resource-card__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--spma-gold);
}

.spma-resource-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.17;
    letter-spacing: -.025em;
    font-weight: 900;
}

.spma-resource-card__title a {
    color: var(--spma-ink);
    transition: color .2s ease;
}

.spma-resource-card__title a:hover {
    color: var(--spma-green);
}

.spma-resource-card__excerpt,
.spma-resource-card__person {
    margin: 14px 0 0;
    color: var(--spma-muted);
    font-size: 13px;
    line-height: 1.6;
}

.spma-resource-card__person {
    display: grid;
    gap: 2px;
}

.spma-resource-card__person strong {
    color: var(--spma-green-dark);
    font-weight: 850;
}

.spma-resource-card__person span {
    font-size: 12px;
}

.spma-resource-card__read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--spma-green-dark);
    font-size: 12px;
    font-weight: 900;
}

.spma-resource-card__read span {
    color: var(--spma-gold);
    transition: transform .2s ease;
}

.spma-resource-card__read:hover span {
    transform: translate(2px, -2px);
}

.spma-resource-card--lead {
    grid-row: 1 / span 3;
}

.spma-resource-card--lead .spma-resource-card__media {
    aspect-ratio: 16 / 10;
}

.spma-resource-card--lead .spma-resource-card__body {
    padding: 30px;
}

.spma-resource-card--lead .spma-resource-card__title {
    font-size: clamp(26px, 2.4vw, 35px);
}

.spma-resource-card--lead .spma-resource-card__excerpt,
.spma-resource-card--lead .spma-resource-card__person {
    font-size: 14px;
}

.spma-resource-card--compact {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 184px;
}

.spma-resource-card--compact .spma-resource-card__media {
    min-height: 100%;
}

.spma-resource-card--compact .spma-resource-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.spma-resource-card--compact .spma-resource-card__title {
    font-size: 18px;
}

.spma-resource-card--compact .spma-resource-card__excerpt,
.spma-resource-card--compact .spma-resource-card__person {
    display: none;
}

.spma-resource-card--compact .spma-resource-card__read {
    margin-top: 13px;
}

/* Featured */
.spma-home-section--featured {
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--spma-green-dark), #003b20 56%, #002f19);
    color: var(--spma-white);
}

.spma-home-section__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.spma-home-section__orb--one {
    top: -180px;
    right: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(213,190,82,.22);
}

.spma-home-section__orb--two {
    right: 140px;
    bottom: -240px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.07);
}

.spma-section-heading--light h2 {
    color: var(--spma-white);
}

.spma-section-heading--light .spma-section-eyebrow {
    color: var(--spma-gold-soft);
}

.spma-text-link--light {
    border-color: rgba(255,255,255,.28);
    color: var(--spma-white);
}

.spma-text-link--light:hover {
    border-color: var(--spma-gold);
    color: var(--spma-gold-soft);
}

.spma-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.spma-resource-card--featured {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.065);
    color: var(--spma-white);
}

.spma-resource-card--featured:hover {
    border-color: rgba(213,190,82,.55);
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.spma-resource-card--featured .spma-resource-card__media {
    aspect-ratio: 4 / 3;
}

.spma-resource-card--featured .spma-resource-card__body {
    padding: 22px;
}

.spma-resource-card--featured .spma-resource-card__title {
    font-size: 19px;
}

.spma-resource-card--featured .spma-resource-card__title a,
.spma-resource-card--featured .spma-resource-card__read {
    color: var(--spma-white);
}

.spma-resource-card--featured .spma-resource-card__meta,
.spma-resource-card--featured .spma-resource-card__excerpt,
.spma-resource-card--featured .spma-resource-card__person {
    color: rgba(255,255,255,.64);
}

.spma-resource-card--featured .spma-resource-card__type,
.spma-resource-card--featured .spma-resource-card__person strong {
    color: var(--spma-gold-soft);
}

.spma-resource-card--featured .spma-resource-card__excerpt,
.spma-resource-card--featured .spma-resource-card__person {
    display: none;
}

/* Roles */
.spma-home-section--roles {
    background: var(--spma-wash);
}

.spma-role-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(265px, 24%);
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 22px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 104, 55, .34) rgba(0, 55, 29, .07);
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

/* Desktop mouse users need a visible native way to move the no-arrow rail. */
.spma-role-rail::-webkit-scrollbar {
    display: block;
    height: 10px;
}

.spma-role-rail::-webkit-scrollbar-track {
    background: rgba(0, 55, 29, .07);
    border-radius: 999px;
}

.spma-role-rail::-webkit-scrollbar-thumb {
    background: rgba(0, 104, 55, .34);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.spma-role-rail::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 104, 55, .58);
    background-clip: padding-box;
}

.spma-role-card {
    min-width: 0;
    scroll-margin-inline-start: 2px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.spma-role-card__link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e5e2;
    border-radius: var(--spma-radius-md);
    background: var(--spma-white);
    color: var(--spma-ink);
    box-shadow: 0 10px 30px rgba(0,55,29,.06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.spma-role-card__link:hover {
    transform: translateY(-6px);
    border-color: rgba(0,104,55,.20);
    box-shadow: 0 24px 50px rgba(0,55,29,.14);
}

.spma-role-card__media {
    display: block;
    height: 205px;
    overflow: hidden;
    background: #e3e8e5;
}

.spma-role-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.spma-role-card__link:hover .spma-role-card__image {
    transform: scale(1.05);
}

.spma-role-card__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--spma-green), var(--spma-green-dark));
    color: var(--spma-gold);
    font-size: 26px;
    font-weight: 950;
}

.spma-role-card__content {
    display: grid;
    gap: 9px;
    padding: 22px;
}


.spma-role-card__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: #7a837e;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.spma-role-card__meta > span:first-child {
    color: var(--spma-green);
    font-weight: 900;
}

.spma-role-card__meta i {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: var(--spma-gold);
}

.spma-role-card__meta time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spma-role-card__eyebrow {
    color: var(--spma-green);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.spma-role-card__title {
    min-height: 50px;
    color: var(--spma-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.02em;
}

.spma-role-card__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--spma-green-dark);
    font-size: 11px;
    font-weight: 900;
}

.spma-role-card__action span {
    color: var(--spma-gold);
}

.spma-role-footer {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

/* Jobs */
.spma-home-jobs {
    padding: 110px 0;
    background: var(--spma-white);
}

.spma-home-jobs__panel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    overflow: hidden;
    padding: 54px;
    border-radius: var(--spma-radius-lg);
    background:
        radial-gradient(circle at 83% 20%, rgba(213,190,82,.16), transparent 28%),
        var(--spma-green-dark);
    color: var(--spma-white);
    box-shadow: var(--spma-shadow-md);
}

.spma-home-jobs__panel::after {
    content: "SPMA";
    position: absolute;
    right: -10px;
    bottom: -46px;
    color: rgba(255,255,255,.035);
    font-size: 180px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.09em;
    pointer-events: none;
}

.spma-home-jobs__mark {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border-radius: 20px;
    background: var(--spma-gold);
    color: var(--spma-green-dark);
    box-shadow: 0 16px 38px rgba(0,0,0,.2);
    font-size: 27px;
    line-height: .8;
    font-weight: 950;
    letter-spacing: -.05em;
}

.spma-home-jobs__mark span {
    display: block;
}

.spma-home-jobs__copy,
.spma-home-jobs__actions {
    position: relative;
    z-index: 2;
}

.spma-home-jobs__copy .spma-section-eyebrow {
    margin-bottom: 9px;
    color: var(--spma-gold-soft);
}

.spma-home-jobs h2 {
    max-width: 660px;
    color: var(--spma-white);
    font-size: clamp(30px, 3vw, 46px);
}

.spma-home-jobs__copy > p:last-child {
    max-width: 660px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.65;
}

.spma-home-jobs__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 170px;
}

/* Divi/module cleanup */
.et_pb_module .spma-home-page h1,
.et_pb_module .spma-home-page h2,
.et_pb_module .spma-home-page h3,
.et_pb_module .spma-home-page p {
    padding-bottom: 0;
}

.et_pb_code_inner > .spma-home-page,
.et_pb_text_inner > .spma-home-page {
    margin-top: 0;
}

@media (max-width: 1180px) {
    .spma-home-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr);
        gap: 46px;
    }

    .spma-home-hero__image {
        height: 470px;
    }

    .spma-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spma-role-rail {
        grid-auto-columns: minmax(270px, 31%);
    }

    .spma-home-jobs__panel {
        grid-template-columns: auto 1fr;
    }

    .spma-home-jobs__actions {
        grid-column: 2;
        flex-direction: row;
        min-width: 0;
    }
}

@media (max-width: 980px) {
    .spma-home-container {
        width: min(calc(100% - 36px), var(--spma-container));
    }

    .spma-home-hero {
        padding-top: 54px;
    }

    .spma-home-hero__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .spma-home-hero__copy {
        max-width: 760px;
        padding: 30px 0 20px;
    }

    .spma-home-hero__visual {
        min-height: 0;
        margin-top: 18px;
    }

    .spma-home-hero__figure {
        border-radius: 26px 26px 8px 26px;
    }

    .spma-home-hero__image {
        height: min(58vw, 520px);
    }

    .spma-home-hero__gold-block {
        right: -16px;
        top: 53%;
        width: 52%;
        height: 78%;
    }

    .spma-home-hero__stamp {
        right: 18px;
        bottom: 18px;
        width: 106px;
        border-width: 6px;
    }

    .spma-home-discovery-bar {
        grid-template-columns: 1fr;
        transform: translateY(36px);
    }

    .spma-home-discovery-card {
        min-height: 88px;
        padding: 18px 22px;
    }

    .spma-home-discovery-card + .spma-home-discovery-card {
        border-top: 1px solid var(--spma-line);
        border-left: 0;
    }

    .spma-home-section {
        padding: 88px 0;
    }

    .spma-home-section--latest {
        padding-top: 122px;
    }

    .spma-latest-layout {
        grid-template-columns: 1fr;
    }

    .spma-resource-card--lead {
        grid-row: auto;
    }

    .spma-resource-card--compact {
        grid-template-columns: 210px 1fr;
    }

    .spma-role-rail {
        grid-auto-columns: minmax(255px, 42%);
    }

    .spma-home-jobs {
        padding: 86px 0;
    }

    .spma-home-jobs__panel {
        padding: 42px;
    }
}

@media (max-width: 980px) {
    #page-container .spma-home-hero h1,
    .spma-home-hero h1 {
        font-size: clamp(2.6rem, 6vw, 3.8rem) !important;
    }
}

@media (max-width: 700px) {
    .spma-home-container {
        width: min(calc(100% - 28px), var(--spma-container));
    }

    /* Keep the mobile hero punchy without letting the headline dominate the first screen. */
    .spma-home-hero {
        padding-top: 20px;
    }

    .spma-home-hero__copy {
        padding: 14px 0 10px;
    }

    .spma-home-kicker,
    .spma-section-eyebrow {
        margin-bottom: 11px;
        font-size: 10px;
    }

    .spma-home-kicker span {
        width: 28px;
    }

    #page-container .spma-home-hero h1,
    .spma-home-hero h1 {
        max-width: 100%;
        font-size: clamp(2.3rem, 10vw, 3.2rem) !important;
        line-height: 1.03 !important;
        letter-spacing: -.035em !important;
    }

    .spma-home-hero__lede {
        max-width: 34rem;
        margin-top: 14px;
        font-size: 15.5px;
        line-height: 1.45;
    }

    .spma-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .spma-home-hero__actions .spma-button {
        min-height: 48px;
    }

    .spma-button {
        width: 100%;
    }

    .spma-home-hero__quicklinks {
        display: none;
    }

    .spma-home-hero__visual {
        margin-top: 6px;
    }

    .spma-home-hero__image {
        height: 72vw;
        min-height: 320px;
    }

    .spma-home-hero__gold-block {
        right: -12px;
        width: 68%;
        height: 76%;
    }

    .spma-home-hero__stamp {
        right: 10px;
        bottom: 10px;
        width: 88px;
        border-width: 5px;
    }

    .spma-home-hero__stamp-top {
        font-size: 20px;
    }

    .spma-home-discovery-bar {
        margin-top: 4px;
        border-radius: 17px;
    }

    .spma-home-discovery-card b {
        width: 34px;
        height: 34px;
    }

    .spma-home-section {
        padding: 72px 0;
    }

    .spma-home-section--latest {
        padding-top: 108px;
    }

    .spma-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .spma-section-heading h2,
    .spma-home-jobs h2 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .spma-resource-card--compact {
        display: block;
    }

    .spma-resource-card--compact .spma-resource-card__media {
        aspect-ratio: 16 / 9;
    }

    .spma-resource-card--compact .spma-resource-card__body,
    .spma-resource-card--lead .spma-resource-card__body {
        padding: 22px;
    }

    .spma-resource-card--compact .spma-resource-card__title {
        font-size: 20px;
    }

    .spma-featured-grid {
        grid-template-columns: 1fr;
    }

    .spma-resource-card--featured .spma-resource-card__media {
        aspect-ratio: 16 / 9;
    }

    .spma-role-footer {
        justify-content: stretch;
    }

    .spma-home-jobs {
        padding: 72px 0;
    }

    .spma-home-jobs__panel {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .spma-home-jobs__mark {
        width: 82px;
        height: 82px;
        border-radius: 17px;
        font-size: 23px;
    }

    .spma-home-jobs__actions {
        grid-column: auto;
        flex-direction: column;
        width: 100%;
    }

    .spma-home-jobs__panel::after {
        font-size: 110px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spma-home-page *,
    .spma-home-page *::before,
    .spma-home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* v1.4.0 company-info integration */
.spma-home-about {
    padding: 88px 0;
    background: linear-gradient(180deg, #fff 0%, var(--spma-wash) 100%);
}

.spma-home-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: clamp(40px, 6vw, 78px);
    align-items: center;
}

.spma-home-about__copy h2 {
    max-width: 760px;
    margin: 0;
    color: var(--spma-ink);
    font-size: clamp(38px, 4.4vw, 62px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 900;
}

.spma-home-about__text {
    max-width: 740px;
    margin-top: 22px;
    color: var(--spma-muted);
    font-size: 17px;
    line-height: 1.72;
}

.spma-home-about__text > *:first-child { margin-top: 0; }
.spma-home-about__text > *:last-child { margin-bottom: 0; }

.spma-home-about__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-top: 28px;
}

.spma-home-about__secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--spma-green);
    font-size: 14px;
    font-weight: 900;
}

.spma-home-about__secondary:hover {
    color: var(--spma-green-dark);
}

.spma-home-about__panel {
    position: relative;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--spma-line);
    border-radius: 26px;
    background: var(--spma-line);
    box-shadow: var(--spma-shadow-sm);
}

.spma-home-about__panel::before {
    content: "SPMA";
    position: absolute;
    right: 18px;
    top: -10px;
    color: rgba(0,104,55,.035);
    font-size: 92px;
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

.spma-home-about__stat {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 112px;
    padding: 22px 24px;
    background: #fff;
}

.spma-home-about__stat strong {
    color: var(--spma-green-dark);
    font-size: 18px;
    font-weight: 900;
}

.spma-home-about__stat span {
    color: var(--spma-muted);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .spma-home-about__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .spma-home-about {
        padding: 68px 0;
    }

    .spma-home-about__copy h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .spma-home-about__actions,
    .spma-home-about__actions .spma-button {
        width: 100%;
    }

    .spma-home-about__stat {
        grid-template-columns: 1fr;
        gap: 7px;
        min-height: 0;
    }

}

.spma-home-search {
    padding: 54px 0;
    border-bottom: 1px solid var(--spma-line);
    background: #fff;
}

.spma-home-search__inner {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(520px, 1.28fr);
    gap: 42px;
    align-items: center;
}

.spma-home-search__copy h2 {
    margin: 0;
    color: var(--spma-ink);
    font-size: clamp(30px, 3.1vw, 44px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 900;
}

.spma-home-search__panel {
    padding: 12px;
    border: 1px solid var(--spma-line);
    border-radius: 20px;
    background: var(--spma-wash);
}

.spma-home-search__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px;
    border: 1px solid #dce3de;
    border-radius: 14px;
    background: #fff;
}

.spma-home-search__tabs button {
    display: inline-flex;
    min-width: 0;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #53605a;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.spma-home-search__tabs button i {
    font-size: 12px;
}

.spma-home-search__tabs button:hover {
    color: var(--spma-green-dark);
    background: rgba(0, 104, 55, .055);
}

.spma-home-search__tabs button.is-active,
.spma-home-search__tabs button[aria-selected="true"] {
    background: var(--spma-green);
    color: #fff;
    box-shadow: 0 7px 18px rgba(0, 104, 55, .16);
}

.spma-home-search__form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.spma-home-search__field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #d7ded9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,56,30,.05);
}

.spma-home-search__field:focus-within {
    border-color: var(--spma-green);
}

.spma-home-search__field > i {
    margin-left: 18px;
    color: var(--spma-green);
}

.spma-home-search__field input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--spma-ink);
    font: inherit;
    font-size: 15px;
}

.spma-home-search__field button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin-right: 7px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: var(--spma-green);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.spma-home-search__field button:hover {
    background: var(--spma-green-dark);
}

.spma-home-search__suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
}

.spma-home-search__suggestions > span {
    color: var(--spma-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.spma-home-search__suggestions a {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--spma-line);
    border-radius: 999px;
    background: #fff;
    color: var(--spma-green-dark);
    font-size: 11px;
    font-weight: 800;
}

.spma-home-search__suggestions a:hover {
    border-color: var(--spma-green);
    background: rgba(0,104,55,.04);
}

@media (max-width: 980px) {
    .spma-home-search__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .spma-home-search {
        padding: 30px 0;
    }

    .spma-home-search__inner {
        gap: 14px;
    }

    .spma-home-search__copy h2 {
        font-size: clamp(29px, 9.4vw, 38px);
    }

    .spma-home-search__panel {
        padding: 10px;
        border-radius: 18px;
    }

    .spma-home-search__tabs {
        margin-bottom: 8px;
    }

    .spma-home-search__tabs button {
        min-height: 38px;
        padding: 0 6px;
        font-size: 11px;
    }

    .spma-home-search__field {
        grid-template-columns: auto minmax(0, 1fr) auto;
        overflow: hidden;
    }

    .spma-home-search__field > i {
        margin-left: 14px;
    }

    .spma-home-search__field input {
        padding: 0 10px;
        font-size: 14px;
    }

    .spma-home-search__field button {
        width: auto;
        justify-content: center;
        margin: 0 6px 0 0;
        padding: 0 11px;
        white-space: nowrap;
        font-size: 11px;
    }

    .spma-home-search__suggestions {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-top: 9px;
        padding: 0 1px 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .spma-home-search__suggestions::-webkit-scrollbar {
        display: none;
    }

    .spma-home-search__suggestions > span,
    .spma-home-search__suggestions a {
        flex: 0 0 auto;
    }
}

.spma-home-search .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* v1.13.0: compact, unified swipe carousels on phones */
@media (max-width: 700px) {
    .spma-home-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .spma-home-section--latest {
        padding-top: 88px;
    }

    .spma-section-heading {
        gap: 12px;
        margin-bottom: 20px;
    }

    .spma-section-heading__intro {
        margin-top: 8px;
    }

    .spma-latest-layout,
    .spma-featured-grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -14px;
        padding: 2px 14px 14px 0;
        scroll-padding-inline: 0 14px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .spma-latest-layout::-webkit-scrollbar,
    .spma-featured-grid::-webkit-scrollbar {
        display: none;
    }

    .spma-latest-layout > .spma-resource-card,
    .spma-featured-grid > .spma-resource-card {
        min-width: 0;
        height: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .spma-resource-card--lead,
    .spma-resource-card--compact,
    .spma-resource-card--featured {
        display: block;
        grid-row: auto;
    }

    .spma-resource-card--lead .spma-resource-card__media,
    .spma-resource-card--compact .spma-resource-card__media,
    .spma-resource-card--featured .spma-resource-card__media {
        width: 100%;
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .spma-resource-card--lead .spma-resource-card__body,
    .spma-resource-card--compact .spma-resource-card__body,
    .spma-resource-card--featured .spma-resource-card__body {
        display: flex;
        min-height: 178px;
        flex-direction: column;
        justify-content: flex-start;
        padding: 18px;
    }

    .spma-resource-card__meta {
        display: flex;
        margin-bottom: 9px;
        font-size: 9px;
    }

    .spma-resource-card--lead .spma-resource-card__title,
    .spma-resource-card--compact .spma-resource-card__title,
    .spma-resource-card--featured .spma-resource-card__title {
        display: -webkit-box;
        overflow: hidden;
        font-size: 19px;
        line-height: 1.2;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .spma-resource-card__excerpt,
    .spma-resource-card__person,
    .spma-resource-card--lead .spma-resource-card__excerpt,
    .spma-resource-card--lead .spma-resource-card__person,
    .spma-resource-card--compact .spma-resource-card__excerpt,
    .spma-resource-card--compact .spma-resource-card__person,
    .spma-resource-card--featured .spma-resource-card__excerpt,
    .spma-resource-card--featured .spma-resource-card__person {
        display: none;
    }

    .spma-resource-card__read,
    .spma-resource-card--compact .spma-resource-card__read {
        margin-top: auto;
        padding-top: 15px;
    }

    .spma-resource-card__badges {
        top: 12px;
        left: 12px;
    }

    .spma-role-rail {
        grid-auto-columns: 84%;
        gap: 14px;
        margin-right: -14px;
        padding: 2px 14px 14px 0;
        scroll-padding-inline: 0 14px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .spma-role-rail::-webkit-scrollbar {
        display: none;
    }

    .spma-role-card__media {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .spma-role-card__content {
        padding: 18px;
    }

    .spma-role-card__title {
        min-height: 0;
        display: -webkit-box;
        overflow: hidden;
        font-size: 19px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .spma-role-footer {
        margin-top: 16px;
    }
}

/* v1.13.0: keep the home discovery choices horizontal on phones too. */
@media (max-width: 700px) {
    .spma-home-discovery-bar {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -14px;
        padding: 2px 14px 12px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .spma-home-discovery-bar::-webkit-scrollbar {
        display: none;
    }

    .spma-home-discovery-card {
        min-height: 86px;
        padding: 17px 18px;
        border: 1px solid var(--spma-line);
        border-radius: 17px;
        background: var(--spma-white);
        box-shadow: 0 10px 26px rgba(0,55,29,.08);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .spma-home-discovery-card + .spma-home-discovery-card {
        border-top: 1px solid var(--spma-line);
        border-left: 1px solid var(--spma-line);
    }
}

/* v1.14.2: mobile vertical rhythm + section transition cleanup */
@media (max-width: 700px) {
    /* Keep the hero, image and discovery rail visually connected. */
    .spma-home-hero__grid {
        gap: 10px;
    }

    .spma-home-hero__visual {
        margin-top: 0;
    }

    .spma-home-discovery-bar {
        margin-top: 0;
        transform: translateY(18px);
        padding-bottom: 8px;
    }

    .spma-home-discovery-card {
        min-height: 82px;
        padding: 14px 16px;
    }

    /* The search block immediately follows the discovery rail, so keep it compact. */
    .spma-home-search {
        padding: 42px 0 34px;
    }

    .spma-home-search__inner {
        gap: 12px;
    }

    .spma-home-search__copy .spma-section-eyebrow {
        margin-bottom: 8px;
    }

    .spma-home-search__copy h2 {
        line-height: 1.02;
    }

    .spma-home-search__panel {
        margin-top: 2px;
    }

    /* Remove the large dead zone between search and About SPMA. */
    .spma-home-about {
        padding: 40px 0 48px;
    }

    .spma-home-about__grid {
        gap: 28px;
    }

    .spma-home-about__copy .spma-section-eyebrow {
        margin-bottom: 10px;
    }

    .spma-home-about__copy h2 {
        line-height: 1.01;
    }

    .spma-home-about__text {
        margin-top: 16px;
    }

    .spma-home-about__actions {
        margin-top: 20px;
    }

    /* Keep later homepage sections on the same tighter mobile rhythm. */
    .spma-home-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .spma-home-section--latest {
        padding-top: 72px;
    }
}

@media (max-width: 420px) {
    .spma-home-container {
        width: calc(100% - 28px);
    }

    .spma-home-search {
        padding-top: 38px;
    }

    .spma-home-about {
        padding-top: 36px;
    }
}
.spma-home-jobs__pricing{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:5px 4px;color:rgba(255,255,255,.82)!important;text-decoration:none!important;font-size:11px;font-weight:900}.spma-home-jobs__pricing:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:4px}

/* v1.15.13: viewport-breakout guard. Prevent 100vw full-bleed sections from
 * creating a page-level horizontal scrollbar on desktop browsers where the
 * vertical scrollbar is included in viewport units. */
html,
body {
    overflow-x: clip !important;
}

/* v1.15.23: mobile editorial-card flow hardening.
 * Long titles must participate in normal flow. Card actions are never allowed
 * to sit on top of copy, and horizontal rails stretch to the tallest card. */
@media (max-width: 700px) {
    .spma-latest-layout,
    .spma-featured-grid {
        align-items: stretch;
    }

    .spma-latest-layout > .spma-resource-card,
    .spma-featured-grid > .spma-resource-card,
    .spma-resource-card--lead,
    .spma-resource-card--compact,
    .spma-resource-card--featured {
        display: flex;
        height: auto;
        min-height: 100%;
        flex-direction: column;
        align-self: stretch;
    }

    .spma-resource-card--lead .spma-resource-card__body,
    .spma-resource-card--compact .spma-resource-card__body,
    .spma-resource-card--featured .spma-resource-card__body {
        display: flex;
        height: auto;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        overflow: visible;
    }

    .spma-resource-card--lead .spma-resource-card__title,
    .spma-resource-card--compact .spma-resource-card__title,
    .spma-resource-card--featured .spma-resource-card__title {
        display: block;
        max-height: none;
        overflow: visible;
        -webkit-box-orient: initial;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }

    .spma-resource-card__title,
    .spma-resource-card__title a {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .spma-resource-card__read,
    .spma-resource-card--compact .spma-resource-card__read {
        position: static;
        z-index: auto;
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: 18px;
    }
}


/* 1.15.53: SPMA Community integration */
.spma-home-discovery-bar--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spma-home-discovery-bar--four .spma-home-discovery-card {
    padding-inline: 22px;
}

.spma-home-community {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(213,190,82,.18), transparent 25%),
        linear-gradient(118deg, #004e2a 0%, #07351f 55%, #10261b 100%);
    color: #fff;
}

.spma-home-community::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .11;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 56px 56px;
}

.spma-home-community .spma-home-container {
    position: relative;
}

.spma-home-community__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 56px;
    align-items: end;
}

.spma-home-community .spma-section-eyebrow {
    color: var(--spma-gold);
}

.spma-home-community__intro h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.055em;
}

.spma-home-community__intro > p:last-of-type {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 16px;
    line-height: 1.66;
}

.spma-home-community__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-top: 26px;
}

.spma-home-community__stats {
    display: grid;
    min-width: 250px;
    gap: 9px;
}

.spma-home-community__stats > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.065);
}

.spma-home-community__stats strong {
    min-width: 48px;
    color: var(--spma-gold);
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.spma-home-community__stats span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
}

.spma-home-community__questions {
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.spma-home-community__questions-head {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.spma-home-community__questions-head > span {
    color: rgba(255,255,255,.74);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.spma-home-community__questions-head a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--spma-gold);
    font-size: 12px;
    font-weight: 850;
}

.spma-home-community .spma-ugc-question-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.spma-home-community .spma-ugc-question-card {
    min-height: 100%;
    box-shadow: 0 18px 44px rgba(0,0,0,.13);
}

.spma-home-community__starter {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 38px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: rgba(255,255,255,.06);
}

.spma-home-community__starter > i {
    color: var(--spma-gold);
    font-size: 28px;
}

.spma-home-community__starter > div {
    display: grid;
    gap: 3px;
}

.spma-home-community__starter strong {
    color: #fff;
    font-size: 15px;
}

.spma-home-community__starter span {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.spma-home-community__starter a {
    color: var(--spma-gold);
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 1160px) and (min-width: 701px) {
    .spma-home-discovery-bar--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spma-home-discovery-bar--four .spma-home-discovery-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--spma-line);
    }

    .spma-home-discovery-bar--four .spma-home-discovery-card:nth-child(4) {
        border-top: 1px solid var(--spma-line);
    }
}

@media (max-width: 980px) {
    .spma-home-community__top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .spma-home-community__stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        min-width: 0;
    }

    .spma-home-community__stats > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .spma-home-community .spma-ugc-question-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .spma-home-community {
        padding: 64px 0;
    }

    .spma-home-discovery-bar--four {
        grid-template-columns: none;
    }

    .spma-home-community__stats {
        grid-template-columns: 1fr;
    }

    .spma-home-community__stats > div {
        grid-template-columns: auto 1fr;
    }

    .spma-home-community__questions-head {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Mobile UGC question rail: swipeable carousel with a next-card peek. */
    .spma-home-community .spma-ugc-question-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 86%;
        gap: 14px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 12% 12px 0;
        touch-action: pan-x pan-y;
    }

    .spma-home-community .spma-ugc-question-grid::-webkit-scrollbar {
        display: none;
    }

    .spma-home-community .spma-ugc-question-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-width: 0;
        width: 100%;
    }

    .spma-home-community__starter {
        grid-template-columns: auto 1fr;
    }

    .spma-home-community__starter a {
        grid-column: 1 / -1;
        padding-top: 8px;
    }
}

/* ========================================================================
   1.15.64 — Cohesive homepage information architecture
   The homepage now explains the SPMA ecosystem first, then lets visitors
   choose a clear path. These rules intentionally override the older image-led
   homepage treatment while leaving shared card styles intact.
   ======================================================================== */

.spma-home-page--cohesive {
    background: #fff;
}

.spma-home-page--cohesive .spma-section-eyebrow {
    margin: 0 0 10px;
    color: var(--spma-green);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* Hero: message first, no photography. */
.spma-home-hero--cohesive {
    min-height: 0;
    padding: 78px 0 82px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(213,190,82,.16), transparent 26%),
        linear-gradient(135deg, #004e2a 0%, #006837 58%, #00562f 100%);
}

.spma-home-hero--cohesive::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    opacity: .42;
    background:
        linear-gradient(115deg, transparent 0 66%, rgba(255,255,255,.035) 66% 72%, transparent 72%),
        radial-gradient(circle at 15% 120%, rgba(255,255,255,.08), transparent 34%);
    pointer-events: none;
}

.spma-home-hero__cohesive-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
    gap: 70px;
    align-items: center;
}

.spma-home-hero__cohesive-copy {
    min-width: 0;
}

.spma-home-hero--cohesive .spma-home-kicker {
    margin: 0 0 21px;
}

.spma-home-hero--cohesive h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.15rem, 5vw, 5.6rem) !important;
    line-height: .98 !important;
    letter-spacing: -.05em !important;
    font-weight: 900;
}

.spma-home-hero--cohesive h1 span {
    display: block;
    color: var(--spma-gold);
}

.spma-home-hero__brand-line {
    margin: 18px 0 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.02em;
}

.spma-home-hero--cohesive .spma-home-hero__lede {
    max-width: 760px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.62;
}

.spma-home-hero__primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.spma-home-hero__model {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(0,42,23,.34);
    box-shadow: 0 28px 70px rgba(0,0,0,.2);
    backdrop-filter: blur(8px);
}

.spma-home-hero__model-row {
    display: grid;
    grid-template-columns: 50px minmax(0,1fr);
    gap: 16px;
    align-items: start;
    padding: 22px;
    background: rgba(255,255,255,.055);
}

.spma-home-hero__model-row + .spma-home-hero__model-row {
    border-top: 1px solid rgba(255,255,255,.09);
}

.spma-home-hero__model-row.is-commercial {
    background: rgba(213,190,82,.11);
}

.spma-home-hero__model-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 15px;
    background: rgba(255,255,255,.09);
    color: var(--spma-gold);
    font-size: 18px;
}

.spma-home-hero__model-row.is-commercial .spma-home-hero__model-icon {
    background: var(--spma-gold);
    color: var(--spma-green-dark);
}

.spma-home-hero__model-icon--sports-hired img {
    display: block;
    width: 38px;
    height: 38px;
    max-width: 38px;
    object-fit: contain;
    border-radius: 9px;
}

.spma-home-hero__model-row > span:last-child {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.spma-home-hero__model-row strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 850;
}

.spma-home-hero__model-row small {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.55;
}

/* Four visitor-intent paths. */
.spma-home-pathways {
    padding: 76px 0 82px;
    background: #fff;
}

.spma-home-pathways__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 48px;
    align-items: end;
    margin-bottom: 30px;
}

.spma-home-pathways__head h2,
.spma-home-explore__head h2,
.spma-home-employer__intro h2,
.spma-home-about--cohesive h2 {
    margin: 0;
    color: var(--spma-ink);
    font-size: clamp(32px, 3.7vw, 50px);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 900;
}

.spma-home-pathways__head > p,
.spma-home-explore__head > div > p:last-child,
.spma-home-employer__intro > p:last-child,
.spma-home-search__intro {
    margin: 0;
    color: var(--spma-muted);
    font-size: 15px;
    line-height: 1.65;
}

.spma-home-pathways__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.spma-home-pathway {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) 20px;
    gap: 14px;
    align-items: center;
    min-height: 150px;
    padding: 20px 22px;
    border: 1px solid var(--spma-line);
    border-radius: 20px;
    background: #fff;
    color: var(--spma-ink);
    box-shadow: 0 8px 28px rgba(0,55,29,.055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.spma-home-pathway:hover {
    transform: translateY(-4px);
    border-color: rgba(0,104,55,.24);
    box-shadow: 0 18px 42px rgba(0,55,29,.10);
}

.spma-home-pathway--commercial {
    border-color: rgba(213,190,82,.7);
    background: linear-gradient(145deg, #fffdf4, #fff 70%);
}

.spma-home-pathway__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #edf6f1;
    color: var(--spma-green);
    font-size: 17px;
}

.spma-home-pathway--commercial .spma-home-pathway__icon {
    background: var(--spma-gold);
    color: var(--spma-green-dark);
}

.spma-home-pathway__copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.spma-home-pathway__copy strong {
    color: var(--spma-ink);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
}

.spma-home-pathway__copy small {
    color: var(--spma-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.spma-home-pathway__arrow {
    margin-top: 15px;
    color: var(--spma-green);
    font-size: 13px;
    transition: transform .2s ease;
}

.spma-home-pathway:hover .spma-home-pathway__arrow {
    transform: translateX(4px);
}

/* Search is a utility, not a second hero. */
.spma-home-search--cohesive {
    padding: 76px 0;
    background: var(--spma-wash);
}

.spma-home-search--cohesive .spma-home-search__inner {
    grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr);
    gap: 48px;
    align-items: center;
}

.spma-home-search--cohesive .spma-home-search__copy h2 {
    max-width: 520px;
    font-size: clamp(32px, 3.6vw, 48px);
}

.spma-home-search--cohesive .spma-home-search__intro {
    max-width: 510px;
    margin-top: 13px;
}

.spma-home-search--cohesive .spma-home-search__panel {
    box-shadow: 0 16px 42px rgba(0,55,29,.08);
}

/* One editorial section replaces Latest + Featured + Roles. */
.spma-home-explore {
    padding: 92px 0 96px;
    background: #fff;
}

.spma-home-explore__head {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 34px;
    align-items: end;
    margin-bottom: 24px;
}

.spma-home-explore__head > div > p:last-child {
    max-width: 740px;
    margin-top: 14px;
}

.spma-home-explore__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 28px;
}

.spma-home-explore__links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #dfe5e1;
    border-radius: 999px;
    background: #fff;
    color: var(--spma-green-dark);
    font-size: 12px;
    font-weight: 850;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.spma-home-explore__links a:hover {
    transform: translateY(-2px);
    border-color: rgba(0,104,55,.28);
    background: #f4f8f6;
}

.spma-home-explore__links i {
    color: var(--spma-green);
}

.spma-home-explore__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.spma-home-explore .spma-resource-card--standard {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.spma-home-explore .spma-resource-card--standard .spma-resource-card__media {
    aspect-ratio: 16 / 10;
}

.spma-home-explore .spma-resource-card--standard .spma-resource-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.spma-home-explore .spma-resource-card--standard .spma-resource-card__title {
    font-size: 19px;
}

.spma-home-explore .spma-resource-card--standard .spma-resource-card__excerpt,
.spma-home-explore .spma-resource-card--standard .spma-resource-card__person {
    display: none;
}

.spma-home-explore .spma-resource-card--standard .spma-resource-card__read {
    margin-top: auto;
    padding-top: 18px;
}

/* Community becomes one compact, distinct purpose. */
.spma-home-community--cohesive {
    padding: 88px 0 92px;
}

.spma-home-community--cohesive .spma-home-community__top {
    grid-template-columns: minmax(0, 760px);
    margin-bottom: 28px;
}

.spma-home-community--cohesive .spma-home-community__intro h2 {
    max-width: 760px;
    font-size: clamp(34px, 4vw, 52px);
}

.spma-home-community--cohesive .spma-home-community__intro > p:last-of-type {
    max-width: 720px;
}

.spma-home-community--cohesive .spma-home-community__questions {
    margin-top: 0;
}

.spma-home-community--cohesive .spma-ugc-question-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

/* Jobs: current opportunities, then the commercial employer conversion. */
.spma-home-page--cohesive + .spma-employer-promo {
    margin-top: 0;
}

.spma-home-employer {
    padding: 74px 0 34px;
    background: #fff;
}

.spma-home-employer__intro {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(260px, 430px);
    gap: 58px;
    align-items: end;
    margin-bottom: 4px;
}

.spma-home-employer__intro > p:first-child {
    grid-column: 1;
}

.spma-home-employer__intro h2 {
    grid-column: 1;
}

.spma-home-employer__intro > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.spma-home-employer .spma-employer-promo.spma-home-hiring {
    width: min(calc(100% - 48px), 1240px);
    margin: 28px auto 0;
}

.spma-home-about--cohesive {
    padding: 88px 0 96px;
    background: var(--spma-wash);
}

.spma-home-about--cohesive .spma-home-about__grid {
    align-items: center;
}

.spma-home-about--cohesive .spma-home-about__copy h2 {
    max-width: 760px;
}

.spma-home-about--cohesive .spma-home-about__text {
    max-width: 720px;
}

/* Make the Sports Hired block feel connected to the homepage, not appended. */
.spma-jobs-showcase.spma-jobs-showcase--cohesive {
    padding: 82px 0 0;
    background: #fff;
}

.spma-jobs-showcase--cohesive.spma-jobs-showcase--home .spma-jobs-showcase__container {
    padding: 42px;
    border: 1px solid #e6ebe8;
    background: #f6f8f7;
    box-shadow: 0 16px 42px rgba(0,55,29,.06);
}

@media (max-width: 1080px) {
    .spma-home-hero__cohesive-inner {
        grid-template-columns: minmax(0,1fr) 360px;
        gap: 42px;
    }

    .spma-home-pathways__grid,
    .spma-home-explore__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .spma-home-pathway {
        min-height: 140px;
    }
}

@media (max-width: 820px) {
    .spma-home-hero--cohesive {
        padding: 64px 0 68px;
    }

    .spma-home-hero__cohesive-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .spma-home-hero__model {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .spma-home-hero__model-row {
        grid-template-columns: 1fr;
    }

    .spma-home-hero__model-row + .spma-home-hero__model-row {
        border-top: 0;
        border-left: 1px solid rgba(255,255,255,.09);
    }

    .spma-home-pathways__head,
    .spma-home-explore__head,
    .spma-home-employer__intro,
    .spma-home-search--cohesive .spma-home-search__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spma-home-employer__intro > p:first-child,
    .spma-home-employer__intro h2,
    .spma-home-employer__intro > p:last-child {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 700px) {
    .spma-home-page--cohesive .spma-home-container {
        width: min(calc(100% - 32px), var(--spma-container));
    }

    /* The mobile hero is deliberately a different, compact composition. */
    .spma-home-hero--cohesive {
        padding: 38px 0 42px;
        min-height: 0;
    }

    .spma-home-hero--cohesive::before {
        opacity: .28;
    }

    .spma-home-hero__cohesive-inner {
        display: block;
    }

    .spma-home-hero--cohesive .spma-home-kicker {
        margin-bottom: 15px;
        font-size: 10px;
        letter-spacing: .19em;
    }

    .spma-home-hero--cohesive h1 {
        max-width: 610px;
        font-size: clamp(2.25rem, 10vw, 3rem) !important;
        line-height: 1 !important;
        letter-spacing: -.045em !important;
    }

    .spma-home-hero--cohesive .spma-home-hero__brand-line {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.35;
    }

    .spma-home-hero--cohesive .spma-home-hero__lede {
        max-width: 620px;
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }

    .spma-home-hero__primary-actions,
    .spma-home-hero__model {
        display: none;
    }

    .spma-home-pathways {
        padding: 42px 0 48px;
    }

    .spma-home-pathways__head {
        margin-bottom: 20px;
    }

    .spma-home-pathways__head h2,
    .spma-home-explore__head h2,
    .spma-home-employer__intro h2,
    .spma-home-about--cohesive h2,
    .spma-home-search--cohesive .spma-home-search__copy h2 {
        font-size: 32px;
        line-height: 1.04;
        letter-spacing: -.04em;
    }

    .spma-home-pathways__head > p {
        font-size: 14px;
    }

    .spma-home-pathways__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .spma-home-pathway {
        grid-template-columns: 40px minmax(0,1fr);
        min-height: 152px;
        gap: 11px;
        padding: 16px;
        border-radius: 17px;
    }

    .spma-home-pathway__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 15px;
    }

    .spma-home-pathway__copy strong {
        font-size: 15px;
    }

    .spma-home-pathway__copy small {
        font-size: 11.5px;
        line-height: 1.45;
    }

    .spma-home-pathway__arrow {
        display: none;
    }

    .spma-home-search--cohesive {
        padding: 48px 0;
    }

    .spma-home-search--cohesive .spma-home-search__intro {
        display: block;
        font-size: 14px;
    }

    .spma-home-search--cohesive .spma-home-search__panel {
        padding: 10px;
        border-radius: 20px;
    }

    .spma-home-search--cohesive .spma-home-search__suggestions {
        flex-wrap: wrap;
        overflow: visible;
        row-gap: 7px;
    }

    .spma-home-search--cohesive .spma-home-search__suggestions > span,
    .spma-home-search--cohesive .spma-home-search__suggestions a {
        flex: 0 0 auto;
    }

    .spma-home-explore {
        padding: 58px 0 62px;
    }

    .spma-home-explore__head {
        margin-bottom: 20px;
    }

    .spma-home-explore__head > div > p:last-child {
        font-size: 14px;
    }

    .spma-home-explore__head .spma-text-link {
        justify-self: start;
    }

    .spma-home-explore__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 18px;
    }

    .spma-home-explore__links a {
        min-height: 44px;
        justify-content: flex-start;
        border-radius: 13px;
        font-size: 11.5px;
    }

    .spma-home-explore__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spma-home-explore .spma-resource-card--standard {
        display: grid;
        grid-template-columns: 112px minmax(0,1fr);
        min-height: 128px;
    }

    .spma-home-explore .spma-resource-card--standard .spma-resource-card__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 128px;
    }

    .spma-home-explore .spma-resource-card--standard .spma-resource-card__body {
        min-width: 0;
        padding: 15px;
    }

    .spma-home-explore .spma-resource-card--standard .spma-resource-card__meta {
        margin-bottom: 7px;
        font-size: 8.5px;
    }

    .spma-home-explore .spma-resource-card--standard .spma-resource-card__title {
        font-size: 16px;
        line-height: 1.18;
    }

    .spma-home-explore .spma-resource-card--standard .spma-resource-card__read {
        margin-top: auto;
        padding-top: 10px;
        font-size: 10.5px;
    }

    .spma-home-community--cohesive {
        padding: 58px 0 62px;
    }

    .spma-home-community--cohesive .spma-home-community__intro h2 {
        font-size: 32px;
    }

    .spma-home-community--cohesive .spma-ugc-question-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        overflow: visible;
        padding: 0;
        margin: 0;
        scroll-snap-type: none;
    }

    .spma-jobs-showcase.spma-jobs-showcase--cohesive {
        padding: 58px 0 0;
    }

    .spma-jobs-showcase--cohesive.spma-jobs-showcase--home .spma-jobs-showcase__container {
        width: min(calc(100% - 32px), 1240px);
        padding: 22px 16px;
        border-radius: 20px;
    }

    .spma-jobs-showcase--cohesive .spma-jobs-showcase__grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 12px;
        overflow: visible;
        margin-right: 0;
        padding: 0;
        scroll-snap-type: none;
    }

    .spma-home-employer {
        padding: 58px 0 22px;
    }

    .spma-home-employer__intro {
        margin-bottom: 0;
    }

    .spma-home-employer__intro > p:last-child {
        font-size: 14px;
    }

    .spma-home-employer .spma-employer-promo.spma-home-hiring {
        width: min(calc(100% - 32px), 1240px);
        margin-top: 22px;
    }

    .spma-home-about--cohesive {
        padding: 58px 0 68px;
    }

    .spma-home-about--cohesive .spma-home-about__panel {
        margin-top: 6px;
    }
}

@media (max-width: 430px) {
    .spma-home-pathways__grid {
        grid-template-columns: 1fr;
    }

    .spma-home-pathway {
        min-height: 0;
    }

    .spma-home-explore__links {
        grid-template-columns: 1fr;
    }
}


/* ========================================================================
   1.15.65 — Mobile pathway + compact community refinement
   Mobile uses tap-friendly rows instead of squeezed desktop tiles, and the
   community module becomes a concise conversion block instead of a long rail.
   ======================================================================== */
@media (max-width: 700px) {
    .spma-home-pathways {
        padding: 32px 0 36px;
    }

    .spma-home-pathways__head {
        display: block;
        margin-bottom: 16px;
    }

    .spma-home-pathways__head h2 {
        max-width: 340px;
        font-size: 30px;
        line-height: 1.03;
    }

    .spma-home-pathways__head > p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .spma-home-pathways__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .spma-home-pathway,
    .spma-home-pathway--commercial {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) 18px;
        gap: 11px;
        align-items: center;
        min-height: 0;
        padding: 12px 13px;
        border-radius: 14px;
        box-shadow: 0 5px 18px rgba(0,55,29,.045);
    }

    .spma-home-pathway__icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 14px;
    }

    .spma-home-pathway__copy {
        gap: 2px;
    }

    .spma-home-pathway__copy strong {
        font-size: 15px;
        line-height: 1.15;
    }

    .spma-home-pathway__copy small {
        font-size: 11.5px;
        line-height: 1.35;
    }

    .spma-home-pathway__arrow {
        display: block;
        margin: 0;
        justify-self: end;
        color: var(--spma-green);
        font-size: 13px;
    }

    .spma-home-pathway:hover {
        transform: none;
    }

    .spma-home-community--cohesive {
        padding: 36px 0 38px;
    }

    .spma-home-community--cohesive .spma-home-community__top {
        margin: 0;
    }

    .spma-home-community--cohesive .spma-home-community__intro h2 {
        max-width: 330px;
        font-size: 28px;
        line-height: 1.04;
        letter-spacing: -.04em;
    }

    .spma-home-community--cohesive .spma-home-community__intro > p:last-of-type {
        max-width: 350px;
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.5;
    }

    .spma-home-community--cohesive .spma-home-community__actions {
        gap: 12px;
        margin-top: 18px;
    }

    .spma-home-community--cohesive .spma-home-community__actions .spma-button {
        width: auto;
        min-height: 44px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .spma-home-community--cohesive .spma-home-community__actions .spma-text-link {
        min-height: 44px;
        padding: 10px 0;
        font-size: 12.5px;
    }

    /* Featured question cards are useful on larger screens, but on a phone
       they repeat the community destination and make this section enormous. */
    .spma-home-community--cohesive .spma-home-community__questions {
        display: none;
    }
}
