/* ============================================================
   SUNRISE RESOURCE CENTER
   ============================================================ */

.resources-page {
    background: #fff;
    overflow: hidden;
}

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

.resources-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.resources-section {
    padding: 88px 0;
}

.resources-section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.resources-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #284D88;
    font-size: 0.77rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.resources-eyebrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 20px;
    background: #F7CA42;
}

.resources-section-heading h2,
.resources-intro h2,
.waymaker-copy h2,
.resources-contact h2 {
    margin: 0;
    color: #17385f;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.resources-section-heading p,
.resources-intro > p {
    max-width: 700px;
    margin: 18px 0 0;
    color: #5e6b79;
    font-size: 1.08rem;
    line-height: 1.75;
}


/* ============================================================
   INTRO
   ============================================================ */

.resources-intro-wrap {
    position: relative;
    padding: 82px 0 68px;
    background:
        radial-gradient(circle at 88% 22%, rgba(247,202,66,.24), transparent 23%),
        linear-gradient(135deg, #f6f9fd 0%, #ffffff 56%, #f8fbff 100%);
}

.resources-intro-wrap::before {
    content: "";
    position: absolute;
    top: -115px;
    right: -110px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(40,77,136,.08);
    border-radius: 50%;
}

.resources-intro-wrap::after {
    content: "";
    position: absolute;
    top: -65px;
    right: -60px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(40,77,136,.08);
    border-radius: 50%;
}

.resources-intro {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.resources-intro h2 {
    max-width: 830px;
    font-size: clamp(2.55rem, 5.5vw, 4.9rem);
}

.resources-intro > p {
    max-width: 760px;
    font-size: 1.16rem;
}


/* ============================================================
   QUICK RESOURCE GRID
   ============================================================ */

.resource-grid-wrap {
    padding: 0 0 90px;
    background: #fff;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.resource-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 30px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e9f1;
    border-radius: 20px;
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.resource-card::after {
    content: "";
    position: absolute;
    right: -65px;
    bottom: -65px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(247,202,66,.10);
    transition: transform .3s ease;
}

.resource-card:hover,
.resource-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(40,77,136,.28);
    box-shadow: 0 20px 46px rgba(28,56,94,.13);
}

.resource-card:hover::after,
.resource-card:focus-visible::after {
    transform: scale(1.35);
}

.resource-card-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin-bottom: 26px;
    color: #284D88;
    background: #edf4fc;
    border-radius: 16px;
}

.resource-card-icon svg {
    width: 27px;
    height: 27px;
}

.resource-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 11px;
    color: #17385f;
    font-size: 1.35rem;
    line-height: 1.2;
}

.resource-card p {
    position: relative;
    z-index: 2;
    margin: 0 0 26px;
    color: #687482;
    font-size: 0.96rem;
    line-height: 1.65;
}

.resource-card-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #284D88;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: .025em;
}

.resource-card-link svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.resource-card:hover .resource-card-link svg {
    transform: translateX(4px);
}

.resource-card-featured {
    color: #fff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            rgba(28,63,111,.97),
            rgba(40,77,136,.94)
        );
}

.resource-card-featured .resource-card-icon {
    color: #17385f;
    background: #F7CA42;
}

.resource-card-featured h3,
.resource-card-featured .resource-card-link {
    color: #fff;
}

.resource-card-featured p {
    color: rgba(255,255,255,.80);
}

.resource-card-featured::after {
    width: 210px;
    height: 210px;
    right: -80px;
    bottom: -100px;
    background: rgba(247,202,66,.10);
}


/* ============================================================
   WAYMAKER FEATURE
   ============================================================ */

.waymaker-section {
    padding: 0 0 92px;
    background: #fff;
}

.waymaker-feature {
    display: grid;
    grid-template-columns: .95fr 1.25fr;
    min-height: 475px;
    overflow: hidden;
    border-radius: 26px;
    background: #0b659e;
    box-shadow: 0 28px 70px rgba(19,56,91,.18);
}

.waymaker-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
    color: #fff;
    background:
        radial-gradient(circle at 0% 100%, rgba(247,202,66,.18), transparent 30%),
        linear-gradient(145deg, #17385f 0%, #284D88 100%);
}

.waymaker-copy .resources-eyebrow {
    color: #F7CA42;
}

.waymaker-copy h2 {
    color: #fff;
    font-size: clamp(2.35rem, 4vw, 3.6rem);
}

.waymaker-copy p {
    margin: 20px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 1.03rem;
    line-height: 1.75;
}

.waymaker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 31px;
}

.resource-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 49px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.resource-button:hover,
.resource-button:focus-visible {
    transform: translateY(-2px);
}

.resource-button-yellow {
    color: #17385f;
    background: #F7CA42;
}

.resource-button-yellow:hover,
.resource-button-yellow:focus-visible {
    box-shadow: 0 10px 24px rgba(247,202,66,.23);
}

.resource-button-outline {
    color: #fff;
    border-color: rgba(255,255,255,.55);
    background: transparent;
}

.resource-button-outline:hover,
.resource-button-outline:focus-visible {
    background: rgba(255,255,255,.1);
}

.waymaker-image {
    position: relative;
    min-height: 420px;
    background: #08689f;
}

.waymaker-image img {
    width: 100%;
    height: 100%;
    min-height: 475px;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* ============================================================
   VIDEO LIBRARY
   ============================================================ */

.video-section {
    background: #f4f7fb;
}

.video-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.video-heading-row .resources-section-heading {
    margin: 0;
}

.video-note {
    max-width: 330px;
    color: #7a8591;
    font-size: .88rem;
    line-height: 1.55;
    text-align: right;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.video-card {
    overflow: hidden;
    border: 1px solid #e0e7ef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(29,57,89,.07);
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #102a46;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-copy {
    padding: 21px 23px 23px;
}

.video-card-copy span {
    display: block;
    margin-bottom: 6px;
    color: #284D88;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.video-card-copy h3 {
    margin: 0;
    color: #17385f;
    font-size: 1.18rem;
}


/* ============================================================
   MEDIA & DOWNLOADS
   ============================================================ */

.downloads-section {
    background: #fff;
}

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

.download-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid #e0e7ef;
    border-radius: 18px;
    background: #fff;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 17px 45px rgba(29,57,89,.11);
}

.download-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 23px;
    color: #284D88;
    border-radius: 14px;
    background: #edf4fc;
}

.download-icon svg {
    width: 26px;
    height: 26px;
}

.download-card h3 {
    margin: 0 0 10px;
    color: #17385f;
    font-size: 1.18rem;
    line-height: 1.25;
}

.download-card p {
    margin: 0 0 25px;
    color: #6d7885;
    font-size: .91rem;
    line-height: 1.6;
}

.download-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    margin-bottom: 13px;
    color: #8a949f;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.download-meta::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F7CA42;
}

.download-link,
.download-unavailable {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 43px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
}

.download-link {
    color: #fff;
    text-decoration: none;
    background: #284D88;
    transition:
        background .2s ease,
        transform .2s ease;
}

.download-link:hover,
.download-link:focus-visible {
    color: #17385f;
    background: #F7CA42;
    transform: translateY(-1px);
}

.download-link svg,
.download-unavailable svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
}

.download-unavailable {
    color: #7b8690;
    background: #eef1f4;
}

.download-card-report {
    color: #fff;
    border-color: transparent;
    background: #284D88;
}

.download-card-report .download-icon {
    color: #17385f;
    background: #F7CA42;
}

.download-card-report h3 {
    color: #fff;
}

.download-card-report p {
    color: rgba(255,255,255,.76);
}

.download-card-report .download-meta {
    color: rgba(255,255,255,.65);
}

.download-card-report .download-link {
    color: #17385f;
    background: #F7CA42;
}

.download-card-report .download-link:hover {
    background: #fff;
}


/* ============================================================
   MORE RESOURCES
   ============================================================ */

.more-resources {
    background: #f5f8fc;
}

.more-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.more-resource-link {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 110px;
    padding: 23px 25px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 16px;
    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.more-resource-link:hover,
.more-resource-link:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(40,77,136,.3);
    box-shadow: 0 12px 32px rgba(27,54,86,.08);
}

.more-resource-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #284D88;
    border-radius: 13px;
    background: #eef4fb;
}

.more-resource-icon svg {
    width: 23px;
    height: 23px;
}

.more-resource-copy {
    min-width: 0;
}

.more-resource-copy h3 {
    margin: 0 0 5px;
    color: #17385f;
    font-size: 1.04rem;
}

.more-resource-copy p {
    margin: 0;
    color: #717d89;
    font-size: .87rem;
    line-height: 1.45;
}

.more-resource-arrow {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: #284D88;
}


/* ============================================================
   CONTACT CTA
   ============================================================ */

.resources-contact-section {
    padding: 88px 0;
    background: #fff;
}

.resources-contact {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding: 48px 54px;
    overflow: hidden;
    color: #fff;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 10%, rgba(247,202,66,.20), transparent 26%),
        linear-gradient(130deg, #17385f, #284D88);
}

.resources-contact::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -105px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

.resources-contact-copy {
    position: relative;
    z-index: 2;
}

.resources-contact .resources-eyebrow {
    color: #F7CA42;
}

.resources-contact h2 {
    max-width: 700px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.resources-contact p {
    max-width: 650px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.resources-contact-actions {
    position: relative;
    z-index: 2;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.resource-card:focus-visible,
.more-resource-link:focus-visible,
.resource-button:focus-visible,
.download-link:focus-visible {
    outline: 3px solid #F7CA42;
    outline-offset: 4px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1020px) {
    .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .waymaker-feature {
        grid-template-columns: 1fr;
    }

    .waymaker-image {
        min-height: auto;
    }

    .waymaker-image img {
        min-height: 0;
        aspect-ratio: 1000 / 417;
    }

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

@media (max-width: 760px) {
    .resources-shell {
        width: min(100% - 30px, 1180px);
    }

    .resources-section {
        padding: 65px 0;
    }

    .resources-intro-wrap {
        padding: 60px 0 52px;
    }

    .resources-intro h2 {
        font-size: clamp(2.25rem, 11vw, 3.7rem);
    }

    .resources-intro > p {
        font-size: 1rem;
    }

    .resource-grid-wrap {
        padding-bottom: 65px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        min-height: 245px;
        padding: 26px;
    }

    .waymaker-section {
        padding-bottom: 65px;
    }

    .waymaker-feature {
        border-radius: 20px;
    }

    .waymaker-copy {
        padding: 37px 28px;
    }

    .video-heading-row {
        display: block;
    }

    .video-note {
        max-width: none;
        margin-top: 16px;
        text-align: left;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        min-height: 270px;
    }

    .more-resource-grid {
        grid-template-columns: 1fr;
    }

    .resources-contact-section {
        padding: 65px 0;
    }

    .resources-contact {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 37px 27px;
    }
}

@media (max-width: 480px) {
    .resources-shell {
        width: min(100% - 24px, 1180px);
    }

    .resources-intro h2 {
        font-size: 2.35rem;
    }

    .waymaker-actions {
        display: grid;
    }

    .resource-button {
        width: 100%;
    }

    .more-resource-link {
        padding: 19px;
    }

    .more-resource-icon {
        width: 43px;
        height: 43px;
    }
}
