.resources-page {
    --res-navy: #071a3a;
    --res-navy-2: #0c2c57;
    --res-gold: #dfa11b;
    --res-gold-2: #f1b634;
    --res-cream: #fbf8f1;
    --res-ink: #071a3a;
    --res-muted: #59667a;
    --res-line: #e5e8ee;
    background: #fff;
    color: var(--res-ink);
}

.resource-shell {
    width: min(100% - 2 * var(--site-gutter), 1480px);
    margin-inline: auto;
}

.resource-hero {
    position: relative;
    min-height: 680px;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
}

.resource-hero__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: url("../assets/resources/resources-hero.png") center / cover no-repeat;
}

.resource-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.98) 35%, rgba(255,255,255,0.76) 51%, rgba(255,255,255,0.02) 76%);
}

.resource-hero__inner {
    display: flex;
    min-height: 680px;
    align-items: center;
}

.resource-hero__copy {
    width: min(660px, 51%);
    padding: 65px 0 54px;
}

.resource-kicker {
    margin: 0 0 10px;
    color: var(--res-gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.resource-hero h1 {
    margin: 0;
    color: var(--res-navy);
    font-size: clamp(4rem, 7.6vw, 7.8rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.resource-hero h2 {
    margin: 20px 0 0;
    color: var(--res-gold);
    font-size: clamp(1.55rem, 2.65vw, 2.9rem);
    line-height: 1;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.resource-flame-rule {
    display: flex;
    max-width: 470px;
    align-items: center;
    gap: 14px;
    margin: 26px 0 20px;
    color: var(--res-gold);
}

.resource-flame-rule span {
    height: 1px;
    flex: 1;
    background: var(--res-gold);
}

.resource-hero__lead {
    max-width: 530px;
    margin: 0;
    color: var(--res-navy);
    font-size: clamp(1rem, 1.45vw, 1.3rem);
    font-weight: 500;
    line-height: 1.65;
}

.resource-promises {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 50px;
}

.resource-promises article {
    min-width: 0;
    padding: 0 17px;
    border-right: 1px solid #d9dde4;
    text-align: center;
}

.resource-promises article:first-child {
    padding-left: 0;
}

.resource-promises article:last-child {
    padding-right: 0;
    border-right: 0;
}

.resource-promises i {
    display: block;
    min-height: 36px;
    margin-bottom: 9px;
    color: var(--res-gold);
    font-size: 2rem;
}

.resource-promises h3 {
    margin: 0 0 6px;
    color: var(--res-navy);
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.resource-promises p {
    margin: 0;
    color: #334158;
    font-size: 0.62rem;
    line-height: 1.45;
}

.resource-categories,
.resource-books,
.resource-featured {
    padding: 78px 0;
    background: #fff;
}

.resource-heading {
    display: grid;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
    gap: 26px;
    align-items: center;
    margin-bottom: 38px;
    text-align: center;
}

.resource-heading__line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--res-gold));
}

.resource-heading__line:last-child {
    background: linear-gradient(90deg, var(--res-gold), transparent);
}

.resource-heading h2 {
    margin: 0;
    color: var(--res-navy);
    font-size: clamp(1.45rem, 2.4vw, 2.3rem);
    line-height: 1.08;
    text-transform: uppercase;
}

.resource-heading p {
    margin: 7px 0 0;
    color: #556176;
    font-size: 0.92rem;
}

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

.resource-category-card {
    display: flex;
    min-height: 380px;
    flex-direction: column;
    align-items: center;
    padding: 30px 27px 24px;
    border: 1px solid var(--res-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 11px 28px rgba(10,32,65,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.resource-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10,32,65,0.13);
}

.resource-category-card__icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 2.6rem;
}

.resource-category-card--download .resource-category-card__icon { background: #eaf3ff; color: #063969; }
.resource-category-card--video .resource-category-card__icon { background: #f1e8f8; color: #552179; }
.resource-category-card--article .resource-category-card__icon { background: #fff0e2; color: #d26e09; }
.resource-category-card--magazine .resource-category-card__icon { background: #e9f5ee; color: #075f42; }

.resource-category-card h3 {
    margin: 0 0 13px;
    color: var(--res-navy);
    font-size: 1.08rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.resource-category-card p {
    margin: 0;
    color: #3a475b;
    font-size: 0.86rem;
    line-height: 1.7;
}

.resource-card-divider {
    position: relative;
    width: 75px;
    height: 1px;
    margin: auto 0 22px;
    background: rgba(223,161,27,0.55);
}

.resource-card-divider::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    background: var(--res-gold);
    transform: translate(-50%, -50%);
}

.resource-category-card > a {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 5px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.resource-category-card--download > a { background: #082a58; }
.resource-category-card--video > a { background: #541374; }
.resource-category-card--article > a { background: #db7707; }
.resource-category-card--magazine > a { background: #00603f; }
.resource-category-card > a:hover { filter: brightness(1.12); transform: translateY(-1px); }

.resource-books {
    background: var(--res-cream);
}

.resource-book-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px);
}

.resource-book {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-book > div {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 0.82;
    padding: 8px;
    border-radius: 8px;
    background: #f3eee4;
    box-shadow: 0 18px 30px rgba(7,26,58,0.16);
}

.resource-book img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.resource-book:hover img {
    transform: scale(1.035);
}

.resource-book h3 {
    min-height: 37px;
    margin: 16px 0 10px;
    color: var(--res-navy);
    font-size: 0.88rem;
    line-height: 1.2;
}

.resource-book > a {
    display: inline-flex;
    padding: 10px 21px;
    border-radius: 5px;
    background: var(--res-gold);
    color: var(--res-navy);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-book > a:hover {
    background: var(--res-gold-2);
    transform: translateY(-2px);
}

.resource-featured__grid {
    display: grid;
    grid-template-columns: 1.03fr 1.06fr 0.91fr;
    gap: 22px;
}

.feature-panel {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--res-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(10,32,65,0.07);
}

.feature-panel__heading {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.feature-panel__heading h2 {
    margin: 0;
    color: var(--res-navy);
    font-size: 0.86rem;
    text-transform: uppercase;
}

.feature-panel__heading > a {
    color: var(--res-gold);
    font-size: 0.61rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.featured-video-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(3,15,34,0.9), rgba(3,15,34,0.36)),
        url("../assets/reference/summit-conference-hero.png") center / cover no-repeat;
}

.featured-video-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    color: #fff;
}

.featured-video-card__play {
    width: 58px;
    height: 58px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    padding-left: 4px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 1.1rem;
}

.featured-video-card h3 {
    margin: 0 0 7px;
    font-size: 1.15rem;
}

.featured-video-card p {
    margin: 0;
    color: #e3e9f1;
    font-size: 0.75rem;
}

.feature-action {
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 0;
    padding: 9px 17px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-action--navy { background: var(--res-navy); }

.article-list,
.download-list {
    display: grid;
    gap: 8px;
}

.article-row,
.download-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 8px;
    border: 1px solid #ebedf1;
    border-radius: 7px;
    background: #fff;
}

.article-row__thumb {
    width: 78px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    color: #fff;
    font-size: 1.4rem;
}

.article-row__thumb--one { background: linear-gradient(135deg, #0b2954, #bf8212); }
.article-row__thumb--two { background: linear-gradient(135deg, #5b2607, #e2a228); }
.article-row__thumb--three { background: linear-gradient(135deg, #102f51, #69887f); }

.article-row strong,
.download-row strong {
    display: block;
    color: var(--res-navy);
    font-size: 0.76rem;
    line-height: 1.25;
}

.article-row small,
.download-row small {
    display: block;
    margin-top: 5px;
    color: #7a8494;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-row > i,
.download-row > i {
    color: var(--res-gold);
}

.download-row {
    grid-template-columns: 45px minmax(0, 1fr) auto;
    min-height: 75px;
}

.download-row > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--res-gold);
    color: #fff;
    font-size: 1.15rem;
}

.resource-journey {
    padding: 0 0 78px;
    background: #fff;
}

.resource-journey__inner {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 34px 42px;
    border: 1px solid #eee2ca;
    border-radius: 14px;
    background: var(--res-cream);
}

.resource-journey__icon {
    position: relative;
    color: var(--res-gold);
    font-size: 3.5rem;
    text-align: center;
}

.resource-journey__icon i:last-child {
    position: absolute;
    right: 4px;
    top: -15px;
    font-size: 2.1rem;
}

.resource-journey h2 {
    margin: 0 0 8px;
    color: var(--res-navy);
    font-size: 1.4rem;
    text-transform: uppercase;
}

.resource-journey p {
    max-width: 720px;
    margin: 0;
    color: #46546a;
    font-size: 0.84rem;
    line-height: 1.65;
}

.resource-journey__action {
    display: flex;
    min-width: 320px;
    flex-direction: column;
    gap: 10px;
    padding-left: 32px;
    border-left: 1px solid #e7d4ac;
    text-align: center;
}

.resource-journey__action a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-radius: 5px;
    background: var(--res-gold);
    color: var(--res-navy);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-journey__action span {
    color: #506078;
    font-family: Georgia, serif;
    font-size: 0.88rem;
    font-style: italic;
}

.resource-footer {
    padding: 60px 0 25px;
    background: #010711;
    color: #fff;
}

.resource-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr 1fr 0.8fr;
    gap: 44px;
    padding-bottom: 38px;
}

.resource-footer__brand > a {
    width: 210px;
    height: 70px;
    display: block;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #fff;
}

.resource-footer__brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.resource-footer h3 {
    margin: 0 0 14px;
    color: var(--res-gold);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-footer p,
.resource-footer span,
.resource-footer a {
    color: #9daabc;
    font-size: 0.77rem;
}

.resource-footer__grid > div > a:not(:first-child),
.resource-footer__grid > div > span {
    display: block;
    margin-bottom: 8px;
}

.resource-footer a:hover { color: #fff; }

.resource-footer__socials {
    display: flex;
    gap: 8px;
}

.resource-footer__socials a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 50%;
    color: var(--res-gold);
}

.resource-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1120px) {
    .resource-hero__copy { width: 60%; }
    .resource-category-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-book-grid { grid-template-columns: repeat(3, 1fr); }
    .resource-featured__grid { grid-template-columns: repeat(2, 1fr); }
    .feature-panel--downloads { grid-column: 1 / -1; }
    .resource-journey__inner { grid-template-columns: 80px minmax(0,1fr); }
    .resource-journey__action { grid-column: 2; min-width: 0; padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
    .resource-shell { width: min(100% - 34px, 1480px); }
    .resource-hero { min-height: 780px; }
    .resource-hero__image { background-position: 67% center; opacity: 0.42; }
    .resource-hero::after { background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.83)); }
    .resource-hero__inner { min-height: 780px; align-items: flex-start; }
    .resource-hero__copy { width: 100%; padding: 52px 0 40px; }
    .resource-hero h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
    .resource-promises { grid-template-columns: repeat(2, 1fr); gap: 25px 0; margin-top: 42px; }
    .resource-promises article:nth-child(2) { border-right: 0; }
    .resource-heading { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 10px; }
    .resource-heading p { font-size: 0.78rem; }
    .resource-category-grid,
    .resource-featured__grid { grid-template-columns: 1fr; }
    .feature-panel--downloads { grid-column: auto; }
    .resource-book-grid { grid-template-columns: repeat(2, 1fr); }
    .resource-categories,
    .resource-books,
    .resource-featured { padding: 60px 0; }
    .resource-journey__inner { grid-template-columns: 1fr; padding: 28px 24px; text-align: center; }
    .resource-journey__action { grid-column: auto; }
    .resource-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
    .resource-shell { width: min(100% - 26px, 1480px); }
    .resource-hero h2 { line-height: 1.15; }
    .resource-category-grid { gap: 15px; }
    .resource-category-card { min-height: 350px; }
    .resource-heading { grid-template-columns: 1fr; }
    .resource-heading__line { display: none; }
    .resource-book h3 { min-height: 52px; }
    .resource-book > a { padding-inline: 14px; }
    .feature-panel { padding: 15px; }
    .article-row { grid-template-columns: 62px minmax(0,1fr) auto; }
    .article-row__thumb { width: 62px; }
    .resource-footer__grid { grid-template-columns: 1fr; }
    .resource-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .resource-category-card,
    .resource-book img { transition: none; }
}
