/* =========================================================
   RiseTogoFly Custom Homepage
   Lightweight homepage-only styles
   ========================================================= */

#rtgf-home {
    --rtgf-red: #d83a35;
    --rtgf-dark: #151515;
    --rtgf-text: #343434;
    --rtgf-muted: #666;
    --rtgf-light: #f7f5f2;
    --rtgf-border: #e7e2dc;
    --rtgf-max: 1180px;

    color: var(--rtgf-text);
    background: #fff;
}

#rtgf-home *,
#rtgf-home *::before,
#rtgf-home *::after {
    box-sizing: border-box;
}

.rtgf-container {
    width: min(100% - 40px, var(--rtgf-max));
    margin-inline: auto;
}

/* =========================
   HERO
   ========================= */

.rtgf-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(216, 58, 53, 0.08),
            transparent 32%
        ),
        linear-gradient(180deg, #fff 0%, #faf9f7 100%);
}

.rtgf-hero .rtgf-container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 70px;
}

/* Text */

.rtgf-hero-content {
    max-width: 680px;
}

.rtgf-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--rtgf-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rtgf-hero h1 {
    margin: 0;
    max-width: 680px;
    color: var(--rtgf-dark);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.rtgf-golden-rule {
    display: inline-block;
    margin: 25px 0 22px;
    color: var(--rtgf-red);
    font-size: 18px;
    font-weight: 700;
}

.rtgf-hero-lead {
    max-width: 650px;
    margin: 0 0 18px;
    color: #292929;
    font-size: 20px;
    line-height: 1.65;
    font-weight: 500;
}

.rtgf-hero-text {
    max-width: 640px;
    margin: 0;
    color: var(--rtgf-muted);
    font-size: 16px;
    line-height: 1.75;
}

/* Buttons */

.rtgf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.rtgf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.rtgf-btn:hover {
    transform: translateY(-2px);
}

.rtgf-btn-primary {
    color: #fff !important;
    background: var(--rtgf-red);
    border: 1px solid var(--rtgf-red);
}

.rtgf-btn-primary:hover {
    color: #fff !important;
    background: #b92d29;
}

.rtgf-btn-secondary {
    color: var(--rtgf-dark) !important;
    background: #fff;
    border: 1px solid #d8d3ce;
}

.rtgf-btn-secondary:hover {
    color: var(--rtgf-red) !important;
    border-color: var(--rtgf-red);
}

.rtgf-btn-outline {
    color: var(--rtgf-red) !important;
    background: transparent;
    border: 1px solid var(--rtgf-red);
}

.rtgf-btn-outline:hover {
    color: #fff !important;
    background: var(--rtgf-red);
}

/* =========================
   HERO VISUAL
   ========================= */

.rtgf-hero-visual {
    position: relative;
}

.rtgf-hero-image-placeholder {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px;
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            #f5eee4 0%,
            #fff 48%,
            #f3d9d6 100%
        );
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.10);
}

.rtgf-hero-image-placeholder::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -90px;
    right: -80px;
    border-radius: 50%;
    background: rgba(216, 58, 53, 0.12);
}

.rtgf-hero-image-placeholder::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -80px;
    left: -60px;
    border-radius: 50%;
    background: rgba(26, 111, 68, 0.12);
}

.rtgf-hero-image-placeholder span {
    position: relative;
    z-index: 1;
    font-size: 90px;
    line-height: 1;
}

.rtgf-hero-image-placeholder strong {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    color: var(--rtgf-dark);
    font-size: 32px;
    font-weight: 800;
}

.rtgf-hero-image-placeholder small {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: var(--rtgf-muted);
    font-size: 14px;
    letter-spacing: 0.04em;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 991px) {
    .rtgf-hero {
        padding: 70px 0 80px;
    }

    .rtgf-hero .rtgf-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .rtgf-hero-content {
        max-width: 760px;
    }

    .rtgf-hero-image-placeholder {
        min-height: 420px;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {
    .rtgf-container {
        width: min(100% - 30px, var(--rtgf-max));
    }

    .rtgf-hero {
        padding: 55px 0 65px;
    }

    .rtgf-hero h1 {
        font-size: clamp(36px, 11vw, 50px);
    }

    .rtgf-hero-lead {
        font-size: 17px;
        line-height: 1.6;
    }

    .rtgf-hero-text {
        font-size: 15px;
    }

    .rtgf-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rtgf-btn {
        width: 100%;
    }

    .rtgf-hero-image-placeholder {
        min-height: 340px;
        border-radius: 18px;
    }

    .rtgf-hero-image-placeholder span {
        font-size: 70px;
    }

    .rtgf-hero-image-placeholder strong {
        font-size: 27px;
    }
}


/* =========================================================
   RTGF HERO - FINAL DESKTOP POSITIONING
   ========================================================= */

@media (min-width: 1025px) {

    #rtgf-home .rtgf-hero {
        min-height: 760px;
        overflow: hidden;
        background: #fff;
    }

    #rtgf-home .rtgf-container {
        min-height: 760px;
        max-width: 1400px;
        padding-left: 40px;
        padding-right: 40px;
        position: relative;
    }

    /* -----------------------------------------
       LEFT TEXT AREA
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-content {
        position: relative;
        z-index: 10;

        width: 46%;
        max-width: 590px;

        padding-top: 15px;
        padding-bottom: 30px;
    }

    #rtgf-home .rtgf-hero-content h1 {
        max-width: 530px;
        font-size: 68px;
        line-height: .94;
        letter-spacing: -2.5px;
        margin-bottom: 22px;
    }

    #rtgf-home .rtgf-hero-lead {
        max-width: 570px;
        font-size: 17px;
        line-height: 1.55;
    }

    #rtgf-home .rtgf-hero-text {
        max-width: 550px;
        font-size: 15px;
        line-height: 1.6;
    }


    /* -----------------------------------------
       RIGHT IMAGE
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-visual {
        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;

        width: 58%;

        z-index: 1;
        overflow: hidden;
    }

    #rtgf-home .rtgf-hero-visual img {
        position: absolute;

        top: 0;
        right: 0;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;
        object-position: right center;

        display: block;
    }


    /* -----------------------------------------
       STRONG WHITE FADE
       Keeps text area clean
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-visual::before {
        content: "";

        position: absolute;

        top: 0;
        bottom: 0;
        left: 0;

        width: 32%;

        z-index: 3;

        pointer-events: none;

        background: linear-gradient(
            to right,
            #ffffff 0%,
            rgba(255,255,255,.98) 18%,
            rgba(255,255,255,.82) 38%,
            rgba(255,255,255,.40) 62%,
            rgba(255,255,255,0) 100%
        );
    }


    /* -----------------------------------------
       BUTTONS
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-actions {
        position: relative;
        z-index: 20;

        display: flex;
        align-items: center;

        flex-wrap: nowrap;

        gap: 12px;

        margin-top: 26px;
    }

    #rtgf-home .rtgf-hero-actions .rtgf-btn {
        display: inline-flex !important;

        align-items: center;
        justify-content: center;

        min-height: 52px;

        padding: 0 22px;

        border-radius: 5px;

        font-size: 14px;
        font-weight: 700;

        line-height: 1;

        white-space: nowrap;

        text-decoration: none !important;

        box-sizing: border-box;
    }


    /* RED BUTTON */

    #rtgf-home .rtgf-hero-actions .rtgf-btn-primary {
        background: #ed2d32 !important;
        color: #fff !important;

        border: 2px solid #ed2d32 !important;
    }


    /* WHITE BUTTON */

    #rtgf-home .rtgf-hero-actions .rtgf-btn-secondary {
        background: #fff !important;
        color: #111 !important;

        border: 2px solid #ed2d32 !important;
    }


    /* YELLOW BUTTON */

    #rtgf-home .rtgf-hero-actions .rtgf-btn-outline {
        background: #fbc52b !important;
        color: #111 !important;

        border: 2px solid #fbc52b !important;
    }


    #rtgf-home .rtgf-hero-actions .rtgf-btn-primary:hover {
        background: #c92328 !important;
        border-color: #c92328 !important;
    }

    #rtgf-home .rtgf-hero-actions .rtgf-btn-secondary:hover {
        background: #ed2d32 !important;
        color: #fff !important;
    }

    #rtgf-home .rtgf-hero-actions .rtgf-btn-outline:hover {
        background: #e6ad12 !important;
        border-color: #e6ad12 !important;
    }
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1440px) {

    #rtgf-home .rtgf-container {
        padding-left: 55px;
        padding-right: 55px;
    }

    #rtgf-home .rtgf-hero-content {
        width: 45%;
        max-width: 620px;
    }

    #rtgf-home .rtgf-hero-content h1 {
        font-size: 72px;
    }

    #rtgf-home .rtgf-hero-visual {
        width: 60%;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    #rtgf-home .rtgf-hero {
        min-height: 680px;
    }

    #rtgf-home .rtgf-container {
        min-height: 680px;
        padding: 40px 30px;
    }

    #rtgf-home .rtgf-hero-content {
        width: 52%;
        max-width: 530px;
    }

    #rtgf-home .rtgf-hero-content h1 {
        font-size: 52px;
    }

    #rtgf-home .rtgf-hero-visual {
        width: 60%;
    }

    #rtgf-home .rtgf-hero-visual::before {
        width: 38%;
    }

    #rtgf-home .rtgf-hero-actions {
        gap: 8px;
    }

    #rtgf-home .rtgf-hero-actions .rtgf-btn {
        padding: 0 14px;
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    #rtgf-home .rtgf-hero {
        min-height: auto;
    }

    #rtgf-home .rtgf-container {
        min-height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    #rtgf-home .rtgf-hero-visual {
        position: relative;

        order: 1;

        width: 100%;
        height: 390px;

        top: auto;
        right: auto;
        bottom: auto;
    }

    #rtgf-home .rtgf-hero-visual img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    #rtgf-home .rtgf-hero-visual::before {
        top: auto;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 35%;

        background: linear-gradient(
            to top,
            #fff 0%,
            rgba(255,255,255,.75) 35%,
            rgba(255,255,255,0) 100%
        );
    }

    #rtgf-home .rtgf-hero-content {
        order: 2;

        width: 100%;
        max-width: none;

        padding: 35px 22px 45px;
        box-sizing: border-box;
    }

    #rtgf-home .rtgf-hero-content h1 {
        font-size: 45px;
        line-height: .98;
    }

    #rtgf-home .rtgf-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #rtgf-home .rtgf-hero-actions .rtgf-btn {
        width: 100%;
    }
}

/* =========================================================
   RTGF HERO - FINAL CLEAN DESKTOP
   ========================================================= */

@media (min-width: 1025px) {

    #rtgf-home .rtgf-hero {
        position: relative;
        min-height: 775px;
        overflow: hidden;
        background: #fff;
    }

    #rtgf-home .rtgf-container {
        position: relative;
        min-height: 775px;
        max-width: 1400px;
        padding-left: 40px;
        padding-right: 40px;
        box-sizing: border-box;
    }


    /* =========================
       LEFT CONTENT
       ========================= */

    #rtgf-home .rtgf-hero-content {
        position: relative;
        z-index: 20;

        width: 47%;
        max-width: 600px;

        padding-top: 105px;
        padding-bottom: 40px;

        box-sizing: border-box;
    }

    #rtgf-home .rtgf-hero-content h1 {
        max-width: 530px;

        font-size: 68px;
        line-height: .94;

        letter-spacing: -2.5px;

        margin-top: 20px;
        margin-bottom: 25px;
    }

    #rtgf-home .rtgf-hero-lead {
        max-width: 575px;

        font-size: 17px;
        line-height: 1.55;

        margin-bottom: 18px;
    }

    #rtgf-home .rtgf-hero-text {
        max-width: 550px;

        font-size: 15px;
        line-height: 1.6;
    }


    /* =========================
       RIGHT IMAGE
       ========================= */

    #rtgf-home .rtgf-hero-visual {
        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;

        width: 56%;

        z-index: 1;

        overflow: hidden;
    }

    #rtgf-home .rtgf-hero-visual img {
        position: absolute;

        top: 0;
        right: 0;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;
        object-position: right center;

        display: block;
    }


    /* =========================
       SOLID WHITE LEFT FADE
       ========================= */

    #rtgf-home .rtgf-hero-visual::before {
        content: "";

        position: absolute;

        top: 0;
        left: 0;
        bottom: 0;

        width: 48%;

        z-index: 5;

        pointer-events: none;

        background: linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff 28%,
            rgba(255,255,255,.97) 48%,
            rgba(255,255,255,.75) 68%,
            rgba(255,255,255,0) 100%
        );
    }


    /* =========================
       BUTTON ROW
       ========================= */

    #rtgf-home .rtgf-hero-actions {
        position: relative;
        z-index: 30;

        display: flex !important;
        align-items: center !important;

        gap: 12px !important;

        margin-top: 27px;

        flex-wrap: nowrap !important;
    }

    #rtgf-home .rtgf-hero-actions a {
        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        min-height: 52px !important;

        padding: 0 22px !important;

        border-radius: 5px !important;

        font-size: 14px !important;
        font-weight: 700 !important;

        line-height: 1 !important;

        white-space: nowrap !important;

        text-decoration: none !important;

        box-sizing: border-box !important;
    }


    /* =========================
       EXPLORE
       ========================= */

    #rtgf-home .rtgf-hero-actions a:nth-child(1) {
        background: #ed2d32 !important;
        color: #fff !important;

        border: 2px solid #ed2d32 !important;
    }


    /* =========================
       ABOUT
       ========================= */

    #rtgf-home .rtgf-hero-actions a:nth-child(2) {
        background: #fff !important;
        color: #111 !important;

        border: 2px solid #ed2d32 !important;
    }


    /* =========================
       PARTNER
       ========================= */

    #rtgf-home .rtgf-hero-actions a:nth-child(3) {
        background: #fbc52b !important;
        color: #111 !important;

        border: 2px solid #fbc52b !important;

        min-width: 150px !important;
    }


    /* =========================
       HOVER
       ========================= */

    #rtgf-home .rtgf-hero-actions a:nth-child(1):hover {
        background: #c92328 !important;
        border-color: #c92328 !important;
    }

    #rtgf-home .rtgf-hero-actions a:nth-child(2):hover {
        background: #ed2d32 !important;
        color: #fff !important;
    }

    #rtgf-home .rtgf-hero-actions a:nth-child(3):hover {
        background: #e3ad16 !important;
        border-color: #e3ad16 !important;
    }
}


/* =========================================================
   1440+ DESKTOP
   ========================================================= */

@media (min-width: 1440px) {

    #rtgf-home .rtgf-hero-content {
        padding-top: 105px;
        width: 46%;
    }

    #rtgf-home .rtgf-hero-visual {
        width: 57%;
    }

    #rtgf-home .rtgf-hero-content h1 {
        font-size: 72px;
    }
}

/* =========================================================
   RTGF HERO - FINAL SPACING / OVERLAP FIX
   ========================================================= */

@media (min-width: 1025px) {

    #rtgf-home .rtgf-hero {
        position: relative;
        min-height: 775px;
        overflow: hidden;
        background: #fff;
    }

    #rtgf-home .rtgf-container {
        position: relative;
        max-width: 1400px;
        min-height: 775px;
        margin: 0 auto;
        padding: 0 40px;
        box-sizing: border-box;
    }


    /* -----------------------------------------
       LEFT CONTENT
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-content {
        position: relative;
        z-index: 20;

        width: 48%;
        max-width: 600px;

        padding-top: 105px;
        padding-bottom: 50px;

        box-sizing: border-box;
    }


    #rtgf-home .rtgf-eyebrow {
        display: block;
        margin-bottom: 18px;
    }


    #rtgf-home .rtgf-hero-content h1 {
        width: 100%;
        max-width: 520px;

        font-size: 66px;
        line-height: .95;

        letter-spacing: -2.5px;

        margin: 0 0 24px;
    }


    #rtgf-home .rtgf-golden-rule {
        display: inline-block;

        margin-bottom: 24px;
    }


    /* Main bold description */

    #rtgf-home .rtgf-hero-lead {
        width: 100%;
        max-width: 520px;

        margin: 0 0 17px;

        font-size: 16px;
        line-height: 1.55;
    }


    /* Secondary description */

    #rtgf-home .rtgf-hero-text {
        width: 100%;
        max-width: 500px;

        margin: 0;

        font-size: 15px;
        line-height: 1.6;
    }


    /* -----------------------------------------
       BUTTONS
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-actions {
        position: relative;
        z-index: 30;

        display: flex !important;
        align-items: center !important;

        gap: 12px !important;

        margin-top: 27px;

        flex-wrap: nowrap !important;
    }


    #rtgf-home .rtgf-hero-actions a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        height: 53px !important;
        min-height: 53px !important;

        padding: 0 21px !important;

        border-radius: 5px !important;

        font-size: 14px !important;
        font-weight: 700 !important;

        line-height: 1 !important;
        white-space: nowrap !important;

        text-decoration: none !important;

        box-sizing: border-box !important;
    }


    /* Explore */

    #rtgf-home .rtgf-hero-actions a:nth-child(1) {
        background: #ed2d32 !important;
        border: 2px solid #ed2d32 !important;
        color: #fff !important;
    }


    /* About */

    #rtgf-home .rtgf-hero-actions a:nth-child(2) {
        background: #fff !important;
        border: 2px solid #ed2d32 !important;
        color: #111 !important;
    }


    /* Partner */

    #rtgf-home .rtgf-hero-actions a:nth-child(3) {
        background: #fbc52b !important;
        border: 2px solid #fbc52b !important;
        color: #111 !important;

        min-width: 150px !important;
    }


    /* -----------------------------------------
       RIGHT IMAGE
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-visual {
        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;

        width: 58%;

        z-index: 1;

        overflow: hidden;
    }


    #rtgf-home .rtgf-hero-visual img {
        position: absolute;

        top: 0;
        right: 0;

        width: 100%;
        height: 100%;

        max-width: none;

        object-fit: cover;
        object-position: right center;

        display: block;
    }


    /* -----------------------------------------
       WHITE FADE
       ----------------------------------------- */

    #rtgf-home .rtgf-hero-visual::before {
        content: "";

        position: absolute;

        left: 0;
        top: 0;
        bottom: 0;

        width: 45%;

        z-index: 5;

        pointer-events: none;

        background: linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff 20%,
            rgba(255,255,255,.98) 36%,
            rgba(255,255,255,.82) 53%,
            rgba(255,255,255,.35) 72%,
            rgba(255,255,255,0) 100%
        );
    }
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1500px) {

    #rtgf-home .rtgf-hero-content {
        width: 47%;
        padding-top: 110px;
    }

    #rtgf-home .rtgf-hero-content h1 {
        font-size: 70px;
        max-width: 540px;
    }

    #rtgf-home .rtgf-hero-lead {
        max-width: 540px;
    }

    #rtgf-home .rtgf-hero-visual {
        width: 59%;
    }
}


/* =========================================================
   1025–1199px
   Prevent text from becoming too wide
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1199px) {

    #rtgf-home .rtgf-hero-content {
        width: 49%;
        padding-top: 90px;
    }

    #rtgf-home .rtgf-hero-content h1 {
        font-size: 56px;
        max-width: 470px;
    }

    #rtgf-home .rtgf-hero-lead {
        max-width: 470px;
        font-size: 15px;
    }

    #rtgf-home .rtgf-hero-text {
        max-width: 450px;
    }

    #rtgf-home .rtgf-hero-visual {
        width: 57%;
    }

    #rtgf-home .rtgf-hero-actions a {
        padding-left: 16px !important;
        padding-right: 16px !important;
        font-size: 13px !important;
    }
}

/* =========================================
   REMOVE SPACE BETWEEN HEADER & HERO
   ========================================= */

@media (min-width: 1025px) {

    /* Remove top spacing from hero */
    #rtgf-home .rtgf-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove spacing from container */
    #rtgf-home .rtgf-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Prevent theme/page content from adding gap */
    #rtgf-home {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove possible WordPress/theme spacing */
    .site-content,
    .main-page-wrapper,
    .page-wrapper {
        padding-top: 0 !important;
    }

    /* Hero itself should start immediately */
    #rtgf-home .rtgf-hero {
        position: relative;
    }
}

@media (min-width: 1025px) {

    #rtgf-home .rtgf-hero-content {
        z-index: 30;
    }

    #rtgf-home .rtgf-hero-visual {
        width: 58%;
        z-index: 1;
    }

    #rtgf-home .rtgf-hero-visual::before {
        width: 52%;

        background: linear-gradient(
            to right,
            #fff 0%,
            #fff 35%,
            rgba(255,255,255,.98) 48%,
            rgba(255,255,255,.80) 62%,
            rgba(255,255,255,.35) 78%,
            rgba(255,255,255,0) 100%
        );
    }

    #rtgf-home .rtgf-hero-lead,
    #rtgf-home .rtgf-hero-text {
        position: relative;
        z-index: 40;
    }

    #rtgf-home .rtgf-hero-actions {
        position: relative;
        z-index: 50;
    }
}
@media (min-width: 1025px) {

    #rtgf-home .rtgf-hero-content h1 {
        margin-bottom: 12px !important;
    }

    #rtgf-home .rtgf-golden-rule {
        margin-bottom: 12px !important;
    }
}

/* =========================================================
   RTGF HERO - FEATURE STRIP
   ========================================================= */

@media (min-width: 1025px) {

    #rtgf-home .rtgf-hero-features {
        position: relative;
        z-index: 50;

        display: grid;
        grid-template-columns: repeat(4, 1fr);

        width: 620px;
        max-width: 100%;

        margin-top: 28px;

        gap: 12px;

        text-align: center;
    }


    #rtgf-home .rtgf-feature {
        display: flex;
        flex-direction: column;
        align-items: center;

        min-width: 0;
    }


    #rtgf-home .rtgf-feature-icon {
        width: 46px;
        height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        margin-bottom: 7px;

        font-size: 38px;
        font-weight: 700;

        line-height: 1;
    }


    #rtgf-home .rtgf-feature:nth-child(1) .rtgf-feature-icon {
        color: #ed2d32;
    }

    #rtgf-home .rtgf-feature:nth-child(2) .rtgf-feature-icon {
        color: #f5b719;
    }

    #rtgf-home .rtgf-feature:nth-child(3) .rtgf-feature-icon {
        color: #16805d;
    }

    #rtgf-home .rtgf-feature:nth-child(4) .rtgf-feature-icon {
        color: #ed2d32;
    }


    #rtgf-home .rtgf-feature strong,
    #rtgf-home .rtgf-feature span {
        display: block;

        font-size: 13px;
        line-height: 1.25;

        font-weight: 700;
    }


    #rtgf-home .rtgf-feature span {
        font-size: 12px;
        font-weight: 700;
    }


    /* Togo / New Pathways */

    #rtgf-home .rtgf-location-line {
        position: relative;
        z-index: 50;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 9px;

        width: 620px;
        max-width: 100%;

        margin-top: 20px;

        color: #4c5865;

        font-size: 16px;
        line-height: 1.4;
    }


    #rtgf-home .rtgf-togo-flag {
        font-size: 18px;
        line-height: 1;
    }
}

/* =========================================
   RTGF ABOUT SECTION - DESKTOP FINAL FIX
========================================= */

#rtgf-home .rtgf-about {
    width: 100% !important;
    padding: 85px 0 90px !important;
    background: #fff !important;
    overflow: hidden !important;
}

#rtgf-home .rtgf-about-container {
    width: min(1180px, calc(100% - 120px)) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;

    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;

    align-items: center !important;
    gap: 70px !important;
}


/* =========================================
   LEFT IMAGE
========================================= */

#rtgf-home .rtgf-about-visual {
    width: 100% !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
}

#rtgf-home .rtgf-about-image-wrap {
    width: 100% !important;
    max-width: 520px !important;

    margin: 0 !important;

    position: relative !important;
    z-index: 3 !important;

    overflow: visible !important;
    border-radius: 0 !important;
}

#rtgf-home .rtgf-about-image-wrap img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 !important;

    object-fit: contain !important;
}


/* =========================================
   RIGHT CONTENT
========================================= */

#rtgf-home .rtgf-about-content {
    width: 100% !important;
    max-width: 620px !important;

    margin: 0 !important;

    position: relative !important;
    z-index: 5 !important;
}

#rtgf-home .rtgf-about-eyebrow {
    display: inline-block !important;

    margin: 0 0 10px !important;

    color: #ed292f !important;

    font-size: 13px !important;
    line-height: 1.2 !important;

    font-weight: 800 !important;

    letter-spacing: 2px !important;
}

#rtgf-home .rtgf-about-content h2 {
    margin: 0 0 20px !important;

    color: #111 !important;

    font-size: 48px !important;
    line-height: 1.08 !important;

    font-weight: 800 !important;

    letter-spacing: -1.5px !important;
}

#rtgf-home .rtgf-about-content h2 span {
    color: #ed292f !important;
}


/* =========================================
   TEXT
========================================= */

#rtgf-home .rtgf-about-content p {
    margin: 0 0 15px !important;

    color: #4d5967 !important;

    font-size: 15px !important;
    line-height: 1.65 !important;
}

#rtgf-home .rtgf-about-content .rtgf-about-intro {
    color: #252b31 !important;

    font-size: 16px !important;
    line-height: 1.65 !important;

    font-weight: 500 !important;
}


/* =========================================
   GOLDEN RULE BOX
========================================= */

#rtgf-home .rtgf-about-quote {
    width: 100% !important;

    box-sizing: border-box !important;

    display: flex !important;

    align-items: flex-start !important;

    gap: 14px !important;

    margin: 22px 0 0 !important;

    padding: 16px 20px !important;

    background: #fff6df !important;

    border-left: 4px solid #f7bd24 !important;

    border-radius: 4px !important;
}

#rtgf-home .rtgf-quote-mark {
    flex: 0 0 auto !important;

    margin: 0 !important;

    color: #e6a900 !important;

    font-size: 34px !important;

    line-height: .8 !important;
}

#rtgf-home .rtgf-quote-content {
    margin: 0 !important;
}

#rtgf-home .rtgf-quote-content p {
    margin: 0 0 3px !important;

    color: #e22b31 !important;

    font-size: 14px !important;

    line-height: 1.4 !important;

    font-weight: 700 !important;
}

#rtgf-home .rtgf-quote-content strong {
    display: block !important;

    margin: 0 0 5px !important;

    color: #e22b31 !important;

    font-size: 16px !important;

    line-height: 1.3 !important;
}

#rtgf-home .rtgf-quote-content span {
    display: block !important;

    color: #a66f00 !important;

    font-size: 11px !important;

    line-height: 1.4 !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    #rtgf-home .rtgf-about-container {
        width: calc(100% - 60px) !important;

        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;

        gap: 40px !important;
    }

    #rtgf-home .rtgf-about-content h2 {
        font-size: 40px !important;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    #rtgf-home .rtgf-about {
        padding: 60px 0 !important;
    }

    #rtgf-home .rtgf-about-container {
        width: calc(100% - 40px) !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 35px !important;
    }

    #rtgf-home .rtgf-about-visual {
        width: 100% !important;
        order: 1 !important;
    }

    #rtgf-home .rtgf-about-content {
        width: 100% !important;
        max-width: none !important;
        order: 2 !important;
    }

    #rtgf-home .rtgf-about-image-wrap {
        max-width: 100% !important;
    }

    #rtgf-home .rtgf-about-content h2 {
        font-size: 36px !important;
    }

}

/* =========================================================
   RTGF CUSTOM FOOTER
   ========================================================= */

.rtgf-footer {
    width: 100%;
    background: #101820;
    color: #fff;
    margin-top: 0;
}


/* MAIN FOOTER */

.rtgf-footer-main {
    width: min(1240px, calc(100% - 50px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.35fr .9fr .75fr 1.25fr;
    gap: 55px;

    padding: 42px 0 32px;
}


/* BRAND */

.rtgf-footer-brand {
    max-width: 280px;
}

.rtgf-footer-logo {
    margin-bottom: 12px;
}

.rtgf-footer-logo img {
    display: block;

    width: auto;
    max-width: 155px;
    max-height: 75px;

    object-fit: contain;
}

.rtgf-footer-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
}

.rtgf-footer-brand p {
    margin: 0;

    color: #d3d7da;

    font-size: 11px;
    line-height: 1.55;
}


/* COLUMNS */

.rtgf-footer-column h3 {
    margin: 2px 0 13px;

    color: #fff;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.rtgf-footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.rtgf-footer-column li {
    margin: 0 0 7px;
    padding: 0;
}

.rtgf-footer-column li a {
    color: #d3d7da !important;

    font-size: 10px;
    line-height: 1.3;

    text-decoration: none !important;

    transition: color .2s ease;
}

.rtgf-footer-column li a:hover {
    color: #fbc21f !important;
}


/* SOCIAL */

.rtgf-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}

.rtgf-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    color: #101820 !important;
    background: #fff;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none !important;
}


/* NEWSLETTER */

.rtgf-newsletter-title {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

.rtgf-newsletter-form {
    display: flex;

    width: 100%;
    max-width: 285px;

    height: 30px;
}

.rtgf-newsletter-form input {
    min-width: 0;
    flex: 1;

    height: 30px;

    padding: 0 10px;

    border: 0;
    border-radius: 2px 0 0 2px;

    background: #fff;

    color: #222;

    font-size: 9px;

    outline: none;
}

.rtgf-newsletter-form input::placeholder {
    color: #777;
}

.rtgf-newsletter-form button {
    width: 32px;
    height: 30px;

    padding: 0;

    border: 0;
    border-radius: 0 2px 2px 0;

    background: #ed2631;
    color: #fff;

    font-size: 16px;
    line-height: 30px;

    cursor: pointer;
}


/* BOTTOM */

.rtgf-footer-bottom {
    width: 100%;

    border-top: 1px solid rgba(255,255,255,.14);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 0;

    color: #aeb5ba;

    font-size: 9px;
}

.rtgf-footer-bottom > div:first-child {
    margin-left: max(25px, calc((100% - 1240px) / 2));
}

.rtgf-footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-right: max(25px, calc((100% - 1240px) / 2));
}

.rtgf-footer-legal a {
    color: #c5c9cc !important;
    text-decoration: none !important;
}

.rtgf-footer-legal a:hover {
    color: #fff !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .rtgf-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .rtgf-footer-brand {
        max-width: 100%;
    }

    .rtgf-footer-bottom {
        padding-left: 25px;
        padding-right: 25px;
    }

    .rtgf-footer-bottom > div:first-child,
    .rtgf-footer-legal {
        margin-left: 0;
        margin-right: 0;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .rtgf-footer-main {
        width: calc(100% - 35px);

        grid-template-columns: 1fr;
        gap: 28px;

        padding: 35px 0;
    }

    .rtgf-footer-brand {
        max-width: 320px;
    }

    .rtgf-footer-logo img {
        max-width: 145px;
    }

    .rtgf-footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;

        padding: 15px 18px;
    }

    .rtgf-footer-bottom > div:first-child,
    .rtgf-footer-legal {
        margin: 0;
    }

    .rtgf-footer-legal {
        gap: 7px;
    }
}