/* =========================================================
   RP SKY POOL - RESOURCES PAGE
========================================================= */

.rp-resources-page {
    background: #ffffff;
    color: #071830;
}


/* =========================================================
   HERO
========================================================= */

.resources-hero {
    position: relative;

    min-height: 550px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #071830;
}


.resources-hero-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 48, .95) 0%,
            rgba(7, 24, 48, .78) 45%,
            rgba(7, 24, 48, .28) 100%
        ),
        url("../img/project/Luxury Resort Infinity Pool-2.jpg");

    background-size: cover;
    background-position: center;
}


.resources-hero .container {
    position: relative;
    z-index: 2;
}


.resources-hero-content {
    max-width: 780px;

    padding: 105px 0;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.resources-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    font-size: 12px;
}


.resources-breadcrumb a {
    color: rgba(255, 255, 255, .65);

    text-decoration: none;

    transition: color .25s ease;
}


.resources-breadcrumb a:hover {
    color: #d4af37;
}


.resources-breadcrumb span {
    color: rgba(255, 255, 255, .35);
}


.resources-breadcrumb strong {
    color: #d4af37;

    font-weight: 600;
}


/* =========================================================
   EYEBROW
========================================================= */

.resources-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: #b08a22;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


.resources-hero .resources-eyebrow {
    color: #d4af37;
}


.resources-eyebrow::before {
    content: "";

    width: 35px;
    height: 1px;

    background: currentColor;
}


/* =========================================================
   HERO TYPOGRAPHY
========================================================= */

.resources-hero h1 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -2px;
}


.resources-hero h1 span {
    display: block;

    color: #d4af37;
}


.resources-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, .82);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.resources-intro {
    padding: 110px 0 80px;
}


.resources-intro-grid {
    display: grid;

    grid-template-columns: .95fr 1.05fr;

    gap: 100px;

    align-items: start;
}


.resources-intro h2 {
    margin: 0;

    color: #071830;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.resources-intro h2 span {
    display: block;

    color: #b08a22;
}


.resources-intro-grid > div:last-child {
    padding-top: 28px;
}


.resources-intro p {
    margin: 0 0 20px;

    color: #657080;

    font-size: 16px;
    line-height: 1.9;
}


.resources-intro p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MAIN RESOURCE SECTION
========================================================= */

.resources-main {
    padding: 45px 0 120px;

    background: #f7f9fb;
}


.resources-section-heading {
    margin-bottom: 55px;
}


.resources-section-heading h2 {
    margin: 0;

    color: #071830;

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.resources-section-heading h2 span {
    display: block;

    color: #b08a22;
}


.resources-section-heading > p {
    max-width: 650px;

    margin: 18px 0 0;

    color: #697687;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   RESOURCE GRID
========================================================= */

.resources-grid {
    display: grid;

    gap: 30px;
}


.resources-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    max-width: 1000px;

    margin: 0 auto;
}


/* =========================================================
   RESOURCE CARD
========================================================= */

.resource-card {
    display: block;

    background: #ffffff;

    border: 1px solid #e4e9ee;

    color: inherit;

    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.resource-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(7, 24, 48, .11);
}


/* =========================================================
   RESOURCE IMAGE
========================================================= */

.resource-card-image {
    position: relative;

    height: 340px;

    overflow: hidden;

    background: #dfe5eb;
}


.resource-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}


.resource-card:hover .resource-card-image img {
    transform: scale(1.05);
}


.resource-card-number {
    position: absolute;

    top: 20px;
    left: 20px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d4af37;

    color: #071830;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   RESOURCE CONTENT
========================================================= */

.resource-card-content {
    padding: 35px 35px 38px;
}


.resource-card-label {
    display: block;

    margin-bottom: 12px;

    color: #a98527;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.resource-card-content h3 {
    margin: 0 0 15px;

    color: #071830;

    font-size: 27px;
    line-height: 1.25;

    font-weight: 600;
}


.resource-card-content p {
    margin: 0 0 27px;

    color: #687585;

    font-size: 14px;
    line-height: 1.8;
}


.resource-card-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #071830;

    font-size: 13px;
    font-weight: 700;
}


.resource-card-link strong {
    color: #b08a22;

    font-size: 18px;

    transition: transform .25s ease;
}


.resource-card:hover .resource-card-link {
    color: #a98527;
}


.resource-card:hover .resource-card-link strong {
    transform: translateX(5px);
}


/* =========================================================
   FEATURED GUIDE
========================================================= */

.resources-featured {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background: #071830;
}


.resources-featured-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 48, .96) 0%,
            rgba(7, 24, 48, .80) 55%,
            rgba(7, 24, 48, .35) 100%
        ),
        url("../img/project/Twilight Luxury Infinity Pool Retreat.jpg");

    background-size: cover;
    background-position: center;
}


.resources-featured .container {
    position: relative;
    z-index: 2;
}


.resources-featured-content {
    max-width: 720px;
}


.resources-featured-content .resources-eyebrow {
    color: #d4af37;
}


.resources-featured-content h2 {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.resources-featured-content h2 span {
    display: block;

    color: #d4af37;
}


.resources-featured-content p {
    max-width: 650px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, .76);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BUTTON
========================================================= */

.resources-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 15px 23px;

    background: #d4af37;

    color: #071830;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease;
}


.resources-button span {
    font-size: 19px;
    line-height: 1;
}


.resources-button:hover {
    transform: translateY(-3px);

    background: #e3c45d;
}


/* =========================================================
   TOPICS
========================================================= */

.resources-topics {
    padding: 110px 0;

    background: #ffffff;
}


.resources-topic-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #dce2e8;
    border-left: 1px solid #dce2e8;
}


.resources-topic-grid a {
    position: relative;

    min-height: 175px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 28px;

    border-right: 1px solid #dce2e8;
    border-bottom: 1px solid #dce2e8;

    color: #071830;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease;
}


.resources-topic-grid a:hover {
    background: #071830;

    color: #ffffff;
}


.resources-topic-grid a > span {
    color: #b08a22;

    font-size: 11px;
    font-weight: 700;
}


.resources-topic-grid strong {
    display: block;

    margin-top: auto;

    padding-top: 25px;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.4;
}


.resources-topic-grid small {
    margin-top: 12px;

    color: #a98527;

    font-size: 11px;
    font-weight: 700;
}


.resources-topic-grid a:hover small {
    color: #d4af37;
}


/* =========================================================
   CTA
========================================================= */

.resources-cta {
    position: relative;

    padding: 115px 0;

    overflow: hidden;

    background: #071830;
}


.resources-cta-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 24, 48, .96),
            rgba(7, 24, 48, .72)
        ),
        url("../img/project/Luxury Resort Infinity Pool-2.jpg");

    background-size: cover;
    background-position: center;
}


.resources-cta .container {
    position: relative;

    z-index: 2;
}


.resources-cta-content {
    max-width: 720px;
}


.resources-cta-content .resources-eyebrow {
    color: #d4af37;
}


.resources-cta-content h2 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.1;

    font-weight: 600;

    letter-spacing: -1.5px;
}


.resources-cta-content h2 span {
    display: block;

    color: #d4af37;
}


.resources-cta-content p {
    max-width: 620px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, .75);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .resources-intro-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .resources-intro-grid > div:last-child {
        padding-top: 0;
    }


    .resources-grid-two {
        max-width: none;
    }


    .resources-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    /* HERO */

    .resources-hero {
        min-height: 500px;
    }


    .resources-hero-content {
        padding: 80px 0;
    }


    .resources-hero h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }


    .resources-hero p {
        font-size: 15px;

        line-height: 1.7;
    }


    /* INTRO */

    .resources-intro {
        padding: 75px 0 50px;
    }


    .resources-intro h2 {
        font-size: 38px;
    }


    /* RESOURCE SECTION */

    .resources-main {
        padding: 35px 0 80px;
    }


    .resources-section-heading {
        margin-bottom: 35px;
    }


    .resources-section-heading h2 {
        font-size: 38px;
    }


    .resources-grid-two {
        grid-template-columns: 1fr;
    }


    .resource-card-image {
        height: 270px;
    }


    .resource-card-content {
        padding: 28px 25px 30px;
    }


    .resource-card-content h3 {
        font-size: 23px;
    }


    /* FEATURED */

    .resources-featured {
        padding: 80px 0;
    }


    .resources-featured-content h2 {
        font-size: 40px;
    }


    /* TOPICS */

    .resources-topics {
        padding: 80px 0;
    }


    .resources-topic-grid {
        grid-template-columns: 1fr;
    }


    .resources-topic-grid a {
        min-height: 145px;
    }


    /* CTA */

    .resources-cta {
        padding: 80px 0;
    }


    .resources-cta-content h2 {
        font-size: 40px;
    }

}