/* =========================================================
   SPMA EMPLOYER PROMO
   Sports Hired / Resource Page CTA
   ========================================================= */

.spma-employer-promo {
    --spma-green: #006837;
    --spma-green-dark: #004E2A;
    --spma-green-deep: #003D21;
    --spma-gold: #D5BE52;
    --spma-gold-soft: #E9DDA4;
    --spma-ink: #0D1511;
    --spma-muted: #5E6862;
    --spma-border: #E6E9E7;
    --spma-surface: #FFFFFF;

    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;

    width: 100%;
    margin: 44px 0;
    padding: 34px 36px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(213, 190, 82, 0.14) 0,
            rgba(213, 190, 82, 0) 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfcfb 58%,
            #f5f8f6 100%
        );

    border: 1px solid rgba(0, 104, 55, 0.14);
    border-radius: 22px;

    box-shadow:
        0 20px 45px rgba(13, 21, 17, 0.08),
        0 4px 12px rgba(13, 21, 17, 0.04);

    overflow: hidden;
    isolation: isolate;
}


/* =========================================================
   GOLD ACCENT
   ========================================================= */

.spma-employer-promo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 6px;
    height: 100%;

    background: linear-gradient(
        180deg,
        var(--spma-gold) 0%,
        #bfa340 100%
    );

    z-index: 2;
}

.spma-employer-promo::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -120px;
    bottom: -150px;

    border: 42px solid rgba(0, 104, 55, 0.035);
    border-radius: 50%;

    pointer-events: none;
    z-index: -1;
}


/* =========================================================
   ICON / MARK
   ========================================================= */

.spma-employer-promo__mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    background:
        linear-gradient(
            145deg,
            var(--spma-green) 0%,
            var(--spma-green-dark) 100%
        );

    color: #fff;
    border-radius: 18px;

    font-size: 29px;

    box-shadow:
        0 12px 28px rgba(0, 104, 55, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    flex-shrink: 0;
}

.spma-employer-promo__mark i {
    line-height: 1;
}


/* =========================================================
   COPY
   ========================================================= */

.spma-employer-promo__copy {
    min-width: 0;
}

.spma-employer-promo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 9px;

    color: var(--spma-green);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.spma-employer-promo__eyebrow::before {
    content: "";
    width: 22px;
    height: 3px;

    background: var(--spma-gold);
    border-radius: 100px;
}

.spma-employer-promo__copy h2 {
    max-width: 760px;

    margin: 0 0 12px;
    padding: 0;

    color: var(--spma-ink);

    font-size: clamp(23px, 2.15vw, 31px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.spma-employer-promo__copy > p {
    max-width: 750px;

    margin: 0 0 19px;
    padding: 0;

    color: var(--spma-muted);

    font-size: 15.5px;
    line-height: 1.7;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.spma-employer-promo__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 10px;
    align-items: center;
}

.spma-employer-promo__benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    background: rgba(0, 104, 55, 0.055);
    border: 1px solid rgba(0, 104, 55, 0.09);
    border-radius: 8px;

    color: #30443a;

    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.spma-employer-promo__benefits span:hover {
    background: rgba(0, 104, 55, 0.085);
    border-color: rgba(0, 104, 55, 0.16);
    transform: translateY(-1px);
}

.spma-employer-promo__benefits i {
    color: var(--spma-green);
    font-size: 12px;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.spma-employer-promo__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    width: 218px;
    flex-shrink: 0;
}

.spma-employer-promo__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 47px;
    padding: 11px 18px;

    border-radius: 10px;

    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


/* Primary */

.spma-employer-promo__primary {
    background:
        linear-gradient(
            135deg,
            var(--spma-green) 0%,
            var(--spma-green-dark) 100%
        );

    color: #fff !important;

    border: 1px solid var(--spma-green-dark);

    box-shadow:
        0 8px 18px rgba(0, 104, 55, 0.18);
}

.spma-employer-promo__primary:hover {
    background:
        linear-gradient(
            135deg,
            #007942 0%,
            var(--spma-green) 100%
        );

    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0, 104, 55, 0.25);
}

.spma-employer-promo__primary i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.spma-employer-promo__primary:hover i {
    transform: translateX(3px);
}


/* Secondary */

.spma-employer-promo__secondary {
    background: #fff;
    color: var(--spma-green) !important;

    border: 1px solid rgba(0, 104, 55, 0.2);
}

.spma-employer-promo__secondary:hover {
    background: #f3f8f5;
    border-color: rgba(0, 104, 55, 0.35);

    color: var(--spma-green-dark) !important;

    transform: translateY(-1px);
}


/* =========================================================
   FRONTEND INLINE IMAGE INSERT TOOL
   Keeps admin controls clean inside this section
   ========================================================= */

.spma-employer-promo .spma-inline-image-insert {
    margin: 10px 0 16px;
}

.spma-employer-promo .spma-inline-image-insert__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 34px;
    padding: 6px 11px;

    background: rgba(255, 255, 255, 0.8);
    color: var(--spma-green);

    border: 1px dashed rgba(0, 104, 55, 0.32);
    border-radius: 7px;

    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.spma-employer-promo .spma-inline-image-insert__button:hover {
    background: rgba(0, 104, 55, 0.06);
    border-color: var(--spma-green);
    color: var(--spma-green-dark);
}

.spma-employer-promo .spma-inline-image-insert__button i {
    font-size: 10px;
}


/* =========================================================
   FOCUS STATES
   ========================================================= */

.spma-employer-promo__actions a:focus-visible,
.spma-employer-promo .spma-inline-image-insert__button:focus-visible {
    outline: 3px solid rgba(213, 190, 82, 0.55);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .spma-employer-promo {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 22px;

        padding: 30px;
    }

    .spma-employer-promo__mark {
        width: 64px;
        height: 64px;

        border-radius: 15px;
        font-size: 25px;

        align-self: start;
    }

    .spma-employer-promo__actions {
        grid-column: 2;

        flex-direction: row;
        width: auto;

        margin-top: 2px;
    }

    .spma-employer-promo__actions a {
        flex: 1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .spma-employer-promo {
        display: block;

        margin: 30px 0;
        padding: 25px 20px 21px;

        border-radius: 17px;
    }

    .spma-employer-promo::before {
        width: 100%;
        height: 5px;
    }

    .spma-employer-promo__mark {
        width: 54px;
        height: 54px;

        margin: 2px 0 18px;

        border-radius: 14px;

        font-size: 22px;
    }

    .spma-employer-promo__eyebrow {
        margin-bottom: 8px;

        font-size: 11px;
    }

    .spma-employer-promo__copy h2 {
        margin-bottom: 11px;

        font-size: 23px;
        line-height: 1.2;
    }

    .spma-employer-promo__copy > p {
        margin-bottom: 18px;

        font-size: 14.5px;
        line-height: 1.65;
    }

    .spma-employer-promo__benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .spma-employer-promo__benefits span {
        min-height: 42px;

        padding: 7px 9px;

        font-size: 11.5px;
    }

    .spma-employer-promo__actions {
        display: flex;
        flex-direction: column;

        width: 100%;
        margin-top: 21px;
    }

    .spma-employer-promo__actions a {
        width: 100%;
        min-height: 48px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .spma-employer-promo {
        padding: 23px 17px 18px;
    }

    .spma-employer-promo__copy h2 {
        font-size: 21px;
    }

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

    .spma-employer-promo__benefits span {
        min-height: 38px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .spma-employer-promo *,
    .spma-employer-promo *::before,
    .spma-employer-promo *::after {
        transition: none !important;
    }
}

/* Keep the homepage's dedicated Sports Hired treatment isolated from the
   reusable employer-promo decoration above. */
.spma-employer-promo.spma-home-hiring::after {
    display: none;
}

/* =========================================================
   HOMEPAGE SPORTS HIRED EMPLOYER SECTION
   Isolated from the legacy reusable employer promo markup.
   ========================================================= */
.spma-employer-promo.spma-home-hiring{position:relative;display:block;width:min(calc(100% - 44px),1180px);margin:46px auto 60px;padding:0;overflow:hidden;grid-template-columns:none;gap:0;align-items:initial;background:radial-gradient(circle at 90% 0%,rgba(226,193,77,.14),transparent 36%),#142019;border:1px solid rgba(255,255,255,.08);border-radius:24px;box-shadow:0 22px 55px rgba(16,31,22,.16);color:#fff}
.spma-home-hiring__main{display:grid;grid-template-columns:180px minmax(0,1fr);gap:38px;align-items:center;padding:42px}
.spma-home-hiring__visual{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:190px;padding:24px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:20px}
.spma-home-hiring__visual-icon{display:flex;align-items:center;justify-content:center;width:76px;height:76px;margin-bottom:18px;border-radius:22px;background:#e2c14d;color:#142019;font-size:28px;box-shadow:0 10px 24px rgba(210,173,47,.2)}
.spma-home-hiring__visual-label{font-size:12px;line-height:1;font-weight:800;letter-spacing:1.3px;text-transform:uppercase;color:rgba(255,255,255,.6)}
.spma-home-hiring__content{min-width:0}
.spma-home-hiring__eyebrow{display:block;margin-bottom:10px;font-size:12px;line-height:1.2;font-weight:800;letter-spacing:1.3px;text-transform:uppercase;color:#e2c14d}
.spma-employer-promo.spma-home-hiring .spma-home-hiring__content h2{display:block;width:auto;max-width:760px;margin:0;padding:0;font-size:clamp(31px,3vw,44px);line-height:1.08;letter-spacing:-1.3px;font-weight:800;color:#fff;white-space:normal;word-break:normal;overflow-wrap:normal}
.spma-employer-promo.spma-home-hiring .spma-home-hiring__intro{display:block;width:auto;max-width:760px;margin:16px 0 0;padding:0;font-size:16px;line-height:1.65;color:rgba(255,255,255,.68);white-space:normal;word-break:normal}
.spma-home-hiring__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;margin:28px 0 0;padding:0}
.spma-home-hiring__benefit{display:flex;align-items:flex-start;gap:11px;min-width:0;padding:15px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);border-radius:14px;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.spma-home-hiring__benefit:hover{transform:translateY(-2px);background:rgba(255,255,255,.07);border-color:rgba(226,193,77,.22)}
.spma-home-hiring__benefit-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:rgba(226,193,77,.13);color:#e2c14d;font-size:14px}
.spma-home-hiring__benefit>div{min-width:0}.spma-home-hiring__benefit strong{display:block;margin:0 0 4px;padding:0;font-size:14px;line-height:1.3;font-weight:750;color:#fff}.spma-home-hiring__benefit div>span{display:block;font-size:12px;line-height:1.45;color:rgba(255,255,255,.58)}
.spma-home-hiring__footer{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:21px 42px;background:rgba(255,255,255,.045);border-top:1px solid rgba(255,255,255,.075)}
.spma-home-hiring__footer-copy{min-width:0}.spma-home-hiring__footer-copy strong{display:block;margin:0 0 3px;padding:0;font-size:15px;line-height:1.3;color:#fff}.spma-home-hiring__footer-copy span{display:block;font-size:13px;line-height:1.45;color:rgba(255,255,255,.58)}
.spma-home-hiring__actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;margin:0;padding:0}
.spma-home-hiring__primary,.spma-home-hiring__secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 18px;border-radius:11px;font-size:14px;line-height:1;font-weight:750;text-decoration:none!important;white-space:nowrap;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.spma-home-hiring__primary{background:#e2c14d;border:1px solid #e2c14d;color:#142019!important}.spma-home-hiring__primary:hover{background:#d6b43c;border-color:#d6b43c;color:#142019!important;transform:translateY(-2px)}.spma-home-hiring__primary i{font-size:12px;transition:transform .18s ease}.spma-home-hiring__primary:hover i{transform:translateX(3px)}
.spma-home-hiring__secondary{background:transparent;border:1px solid rgba(255,255,255,.18);color:#fff!important}.spma-home-hiring__secondary:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.3);color:#fff!important}
.spma-home-hiring a:focus-visible{outline:3px solid rgba(226,193,77,.38);outline-offset:3px}
@media(max-width:980px){.spma-home-hiring__main{grid-template-columns:130px minmax(0,1fr);gap:28px;padding:34px}.spma-home-hiring__visual{min-height:160px}.spma-home-hiring__benefits{grid-template-columns:1fr}.spma-home-hiring__footer{padding:20px 34px}}
@media(max-width:700px){.spma-employer-promo.spma-home-hiring{width:min(calc(100% - 28px),1180px);margin:34px auto 44px;border-radius:20px}.spma-home-hiring__main{grid-template-columns:1fr;gap:24px;padding:25px 21px}.spma-home-hiring__visual{flex-direction:row;justify-content:flex-start;gap:14px;min-height:0;padding:14px}.spma-home-hiring__visual-icon{width:48px;height:48px;flex:0 0 48px;margin:0;border-radius:13px;font-size:19px}.spma-employer-promo.spma-home-hiring .spma-home-hiring__content h2{font-size:31px}.spma-employer-promo.spma-home-hiring .spma-home-hiring__intro{font-size:15px}.spma-home-hiring__benefits{margin-top:22px}.spma-home-hiring__footer{display:block;padding:22px}.spma-home-hiring__footer-copy{margin-bottom:17px}.spma-home-hiring__actions{display:grid;grid-template-columns:1fr;width:100%}.spma-home-hiring__primary,.spma-home-hiring__secondary{width:100%;min-height:49px}}
@media(prefers-reduced-motion:reduce){.spma-home-hiring__benefit,.spma-home-hiring__primary,.spma-home-hiring__secondary,.spma-home-hiring__primary i{transition:none}.spma-home-hiring__benefit:hover,.spma-home-hiring__primary:hover{transform:none}}

/* Homepage employer reveal: one-shot, observer-triggered, SPMA brand colors. */
.spma-home-hiring{
  --hire-accent:#d5be52;
  --hire-glow:rgba(213,190,82,.28);
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.spma-home-hiring.hire-await:not(.is-inview){
  opacity:0;
  transform:translateY(34px) scale(.985);
}
.spma-home-hiring.is-inview{
  opacity:1;
  transform:none;
  transition:opacity .58s ease,transform .78s cubic-bezier(.16,1,.3,1);
}
.spma-home-hiring::before{
  content:"";
  position:absolute;
  top:-24%;
  bottom:-24%;
  left:-42%;
  width:52%;
  background:linear-gradient(105deg,transparent 24%,rgba(255,255,255,.13) 44%,rgba(213,190,82,.22) 50%,rgba(255,255,255,.09) 56%,transparent 76%);
  transform:translateX(-115%) rotate(8deg);
  opacity:0;
  pointer-events:none;
  z-index:2;
}
.spma-home-hiring.is-inview::before{
  animation:spma-hire-sweep 1.05s .08s cubic-bezier(.22,1,.36,1) forwards;
}
.spma-home-hiring__visual,
.spma-home-hiring__eyebrow,
.spma-home-hiring__content h2,
.spma-home-hiring__intro,
.spma-home-hiring__benefit,
.spma-home-hiring__footer-copy,
.spma-home-hiring__actions a{
  opacity:1;
  transform:none;
}
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__visual,
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__eyebrow,
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__content h2,
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__intro,
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__benefit,
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__footer-copy,
.spma-home-hiring.hire-await:not(.is-inview) .spma-home-hiring__actions a{
  opacity:0;
}
.spma-home-hiring.is-inview .spma-home-hiring__visual{animation:spma-hire-pop .68s .10s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__eyebrow{animation:spma-hire-in .56s .18s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__content h2{animation:spma-hire-in .62s .26s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__intro{animation:spma-hire-in .62s .34s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__benefit:nth-child(1){animation:spma-hire-in .56s .42s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__benefit:nth-child(2){animation:spma-hire-in .56s .50s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__benefit:nth-child(3){animation:spma-hire-in .56s .58s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__footer-copy{animation:spma-hire-in .54s .66s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__primary{animation:spma-hire-cta .54s .74s cubic-bezier(.16,1,.3,1) both}
.spma-home-hiring.is-inview .spma-home-hiring__secondary{animation:spma-hire-in .54s .82s cubic-bezier(.16,1,.3,1) both}
@keyframes spma-hire-sweep{0%{transform:translateX(-115%) rotate(8deg);opacity:0}18%{opacity:1}100%{transform:translateX(300%) rotate(8deg);opacity:0}}
@keyframes spma-hire-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes spma-hire-pop{from{opacity:0;transform:scale(.82) rotate(-4deg)}to{opacity:1;transform:none}}
@keyframes spma-hire-cta{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  .spma-home-hiring,.spma-home-hiring.hire-await,.spma-home-hiring.is-inview,.spma-home-hiring *{
    animation:none!important;
    transition:none!important;
    opacity:1!important;
    transform:none!important;
  }
  .spma-home-hiring::before{display:none!important}
}
