/* =========================================================
   REESHIN RESOURCE ARCHIVE
========================================================= */

.reeshin-resource-archive {
    --rra-blue: #1677b8;
    --rra-navy: #153b50;
    --rra-navy-dark: #0d3044;
    --rra-text: #263845;
    --rra-muted: #667985;
    --rra-light: #f5f8fa;
    --rra-border: #e1e8ed;
    --rra-white: #ffffff;

    color: var(--rra-text);
    font-size: 16px;
    line-height: 1.7;
}

.reeshin-resource-archive *,
.reeshin-resource-archive *::before,
.reeshin-resource-archive *::after {
    box-sizing: border-box;
}

.reeshin-resource-archive a {
    text-decoration: none;
}

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


/* =========================================================
   COMMON
========================================================= */

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

.rra-section-light {
    background: var(--rra-light);
}

.rra-eyebrow {
    margin-bottom: 13px;

    color: var(--rra-blue);

    font-size: 12px;
    line-height: 1.3;

    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rra-eyebrow-light {
    color: #a9d9f5;
}

.rra-section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.rra-heading-center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.rra-section-heading h2 {
    margin: 0;

    color: var(--rra-navy);

    font-size: clamp(31px, 4vw, 42px);
    line-height: 1.2;

    letter-spacing: -.6px;
}

.rra-section-heading p {
    margin: 17px 0 0;

    color: var(--rra-muted);

    font-size: 16px;
}

.rra-heading-center p {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;
}

.rra-text-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--rra-blue);

    font-size: 13px;
    font-weight: 700;
}

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

.rra-text-link:hover span {
    transform: translateX(4px);
}

.rra-content-type {
    margin-bottom: 11px;

    color: var(--rra-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.rra-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    color: #82929c;

    font-size: 12px;
}


/* =========================================================
   HERO
========================================================= */

.rra-hero {
    padding: 62px 0 72px;

    background:
        linear-gradient(
            135deg,
            #f6f9fb 0%,
            #edf3f6 100%
        );

    border-bottom: 1px solid var(--rra-border);
}

.rra-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 9px;

    margin-bottom: 43px;

    color: var(--rra-muted);

    font-size: 13px;
}

.rra-breadcrumb a {
    color: var(--rra-muted);
}

.rra-breadcrumb a:hover {
    color: var(--rra-blue);
}

.rra-hero-content {
    max-width: 820px;
}

.rra-hero h1 {
    margin: 0 0 20px;

    color: var(--rra-navy);

    font-size: clamp(44px, 5vw, 60px);
    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.2px;
}

.rra-hero-content p {
    max-width: 760px;

    margin: 0;

    color: var(--rra-muted);

    font-size: 18px;
    line-height: 1.75;
}


/* =========================================================
   FEATURED ARTICLE
========================================================= */

.rra-featured {
    display: grid;

    grid-template-columns:
        1.08fr .92fr;

    min-height: 390px;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--rra-border);
}

.rra-featured-image {
    display: block;

    min-height: 390px;

    overflow: hidden;

    background: #eaf0f4;
}

.rra-featured-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.rra-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 48px;
}

.rra-featured-body h2 {
    margin: 0 0 17px;

    color: var(--rra-navy);

    font-size: 31px;
    line-height: 1.25;
}

.rra-featured-body h2 a {
    color: inherit;
}

.rra-featured-body > p {
    margin: 0 0 21px;

    color: var(--rra-muted);

    font-size: 15px;
}

.rra-featured-body .rra-meta {
    margin-bottom: 22px;
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.rra-image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e9f1f5 0%,
            #dce8ee 100%
        );
}

.rra-image-placeholder span {
    color: #668698;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   TOPICS
========================================================= */

.rra-topic-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 14px;
}

.rra-topic-card {
    min-height: 128px;

    display: grid;

    grid-template-columns:
        1fr auto;

    grid-template-rows:
        auto 1fr;

    gap: 10px;

    padding: 22px 23px;

    background: #fff;

    border: 1px solid var(--rra-border);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.rra-topic-card:hover {
    transform: translateY(-3px);

    border-color: #bad1df;

    box-shadow:
        0 10px 25px
        rgba(20,59,80,.06);
}

.rra-topic-number {
    color: var(--rra-blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.rra-topic-card strong {
    align-self: end;

    color: var(--rra-navy);

    font-size: 17px;
    line-height: 1.35;
}

.rra-topic-arrow {
    grid-row: 1 / 3;
    grid-column: 2;

    align-self: end;

    color: var(--rra-blue);
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.rra-articles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 24px;
}

.rra-article-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--rra-border);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.rra-article-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 32px
        rgba(20,59,80,.08);
}

.rra-card-image {
    display: block;

    height: 215px;

    overflow: hidden;

    background: #edf2f5;
}

.rra-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.rra-card-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 26px;
}

.rra-card-body h3 {
    margin: 0 0 13px;

    color: var(--rra-navy);

    font-size: 20px;
    line-height: 1.38;
}

.rra-card-body h3 a {
    color: inherit;
}

.rra-card-body > p {
    margin: 0 0 18px;

    color: var(--rra-muted);

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


/* =========================================================
   TAGS
========================================================= */

.rra-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}

.rra-tags span {
    padding: 5px 9px;

    background: var(--rra-light);

    color: #607681;

    font-size: 10px;

    border: 1px solid var(--rra-border);
}


/* =========================================================
   CARD FOOTER
========================================================= */

.rra-card-footer {
    margin-top: auto;

    padding-top: 17px;

    border-top:
        1px solid var(--rra-border);
}

.rra-card-footer .rra-meta {
    margin-bottom: 13px;
}


/* =========================================================
   PAGINATION
========================================================= */

.rra-pagination {
    margin-top: 48px;
}

.rra-pagination ul {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.rra-pagination a,
.rra-pagination span {
    min-width: 42px;
    height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border: 1px solid var(--rra-border);

    background: #fff;

    color: var(--rra-navy);

    font-size: 13px;
}

.rra-pagination .current {
    background: var(--rra-blue);

    border-color: var(--rra-blue);

    color: #fff;
}

.rra-pagination a:hover {
    border-color: var(--rra-blue);

    color: var(--rra-blue);
}


/* =========================================================
   EMPTY
========================================================= */

.rra-empty {
    padding: 40px;

    text-align: center;

    background: var(--rra-light);

    border: 1px solid var(--rra-border);
}

.rra-empty h3 {
    margin: 0;

    color: var(--rra-navy);
}


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

.rra-cta {
    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            #0d3044 0%,
            #116a9f 100%
        );
}

.rra-cta-inner {
    display: grid;

    grid-template-columns:
        1.4fr auto;

    gap: 55px;

    align-items: center;
}

.rra-cta h2 {
    max-width: 720px;

    margin: 0 0 15px;

    color: #fff;

    font-size:
        clamp(30px,4vw,42px);

    line-height: 1.2;
}

.rra-cta p {
    max-width: 730px;

    margin: 0;

    color:
        rgba(255,255,255,.74);
}

.rra-btn {
    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 24px;

    background: #fff;

    color: var(--rra-navy);

    font-size: 14px;
    font-weight: 700;
}


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

@media (max-width: 1024px) {

    .rra-section {
        padding: 72px 0;
    }

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

    .rra-featured-image {
        min-height: 330px;
        height: 330px;
    }

    .rra-featured-body {
        padding: 34px;
    }

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

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

}


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

@media (max-width: 767px) {

    .rra-container {
        width:
            min(100% - 32px, 1200px);
    }

    .rra-section {
        padding: 58px 0;
    }

    .rra-hero {
        padding: 42px 0 52px;
    }

    .rra-breadcrumb {
        margin-bottom: 30px;

        font-size: 12px;
    }

    .rra-hero h1 {
        font-size: 38px;
    }

    .rra-hero-content p {
        font-size: 16px;
    }

    .rra-heading-center {
        text-align: left;
    }

    .rra-featured-image {
        min-height: 230px;
        height: 230px;
    }

    .rra-featured-body {
        padding: 25px;
    }

    .rra-featured-body h2 {
        font-size: 25px;
    }

    .rra-topic-grid,
    .rra-articles-grid {
        grid-template-columns: 1fr;
    }

    .rra-card-image {
        height: 220px;
    }

    .rra-cta-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}