.finlit-home {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.finlit-home-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* PROJECT FOCUS BANNER */

.finlit-focus-banner {
    width: 100%;
    background: #123719;
    overflow: hidden;
}

.finlit-focus-banner-inner {
    width: 100%;
    margin: 0 auto;
}

.finlit-focus-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* HERO */

.finlit-hero {
    background:
        radial-gradient(
            circle at top right,
            rgba(68, 138, 55, 0.28),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #07130a 0%,
            #102c17 55%,
            #173c20 100%
        );

    color: #ffffff;
    padding: 80px 0;
}

.finlit-hero-content {
    max-width: 820px;
}

.finlit-eyebrow,
.finlit-section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c2ad34;
    margin: 0 0 14px;
}

.finlit-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    margin: 0 0 24px;
    letter-spacing: -2px;
}

.finlit-hero-text {
    max-width: 720px;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    margin: 0 0 32px;
}


/* BUTTONS */

.finlit-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.finlit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 13px 26px;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.finlit-btn:hover {
    transform: translateY(-2px);
}

.finlit-btn-primary {
    background: #1fa34a;
    color: #ffffff !important;
    border: 2px solid #1fa34a;
}

.finlit-btn-primary:hover {
    background: #18863c;
    border-color: #18863c;
}

.finlit-btn-secondary {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,.65);
}

.finlit-btn-secondary:hover {
    background: #ffffff;
    color: #123719 !important;
}


/* SECTIONS */

.finlit-home-section {
    padding: 90px 0;
}

.finlit-home-section-alt {
    background: #f4f7f4;
}

.finlit-section-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

.finlit-section-heading h2,
.finlit-home-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    margin: 0 0 18px;
}

.finlit-section-heading p {
    font-size: 17px;
    line-height: 1.75;
    color: #505750;
}


/* STEPS */

.finlit-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.finlit-step {
    background: #ffffff;
    border: 1px solid #e0e8e1;
    border-radius: 12px;
    padding: 30px 24px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.05);
}

.finlit-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: #153d20;
    color: #d1be3c;

    font-weight: 800;
    margin-bottom: 18px;
}

.finlit-step h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.finlit-step p {
    margin: 0;
    color: #626962;
    line-height: 1.6;
}


/* CTA */

.finlit-home-cta {
    background: #07130a;
    color: #ffffff;
    padding: 90px 0;
    text-align: center;
}

.finlit-home-cta .finlit-home-container {
    max-width: 820px;
}

.finlit-home-cta h2 {
    color: #ffffff;
}

.finlit-home-cta p {
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.finlit-home-cta .finlit-hero-buttons {
    justify-content: center;
}


/* MOBILE */

@media (max-width: 900px) {

    .finlit-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .finlit-home-container {
        width: min(100% - 28px, 1180px);
    }

    .finlit-hero {
        padding: 58px 0;
    }

    .finlit-home-section,
    .finlit-home-cta {
        padding: 65px 0;
    }

    .finlit-hero h1 {
        letter-spacing: -1px;
    }

    .finlit-hero-text {
        font-size: 17px;
    }

    .finlit-steps {
        grid-template-columns: 1fr;
    }

    .finlit-btn {
        width: 100%;
    }

}
/* =========================================================
   TUTOR LMS MOBILE HEADER FIX
   Make mobile navigation span full width on Tutor pages
   ========================================================= */

@media screen and (max-width: 781px) {

    body.tutor-dashboard-page header,
    body.tutor-login-page header {
        width: 100%;
        max-width: 100%;
    }

    body.tutor-dashboard-page header .wp-block-group,
    body.tutor-login-page header .wp-block-group {
        width: 100%;
        max-width: 100%;
    }

    body.tutor-dashboard-page header .wp-block-navigation,
    body.tutor-login-page header .wp-block-navigation {
        width: 100%;
        max-width: 100%;
    }

    body.tutor-dashboard-page
    header
    .wp-block-navigation__responsive-container-open,

    body.tutor-login-page
    header
    .wp-block-navigation__responsive-container-open {
        width: 100%;
        max-width: 100%;
        min-height: 58px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        padding: 0 22px;
        box-sizing: border-box;

        background-color: #1fa34a;
        color: #ffffff;

        border-radius: 8px;
    }

    body.tutor-dashboard-page
    header
    .wp-block-navigation__responsive-container-open svg,

    body.tutor-login-page
    header
    .wp-block-navigation__responsive-container-open svg {
        width: 30px;
        height: 30px;
        fill: #ffffff;
    }
}

/* =========================================================
   TUTOR LMS MOBILE NAV - FULL VIEWPORT WIDTH
   ========================================================= */

@media screen and (max-width: 781px) {

    body:has(.tutor-dashboard)
    header
    .wp-block-navigation__responsive-container-open,

    body:has(.tutor-login-wrap)
    header
    .wp-block-navigation__responsive-container-open {

        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

       min-height: 0;

display: flex;
align-items: center;
justify-content: flex-start;

padding: 8px 16px;

        box-sizing: border-box;

        background-color: #1fa34a;
        color: #ffffff;

        border-radius: 8px;
    }}


    body:has(.tutor-dashboard)
    header
    .wp-block-navigation__responsive-container-open svg,

    body:has(.tutor-login-wrap)
    header
    .wp-block-navigation__responsive-container-open svg {

        width: 24px;
height: 24px;
        fill: #ffffff;
    }
/* =========================================================
   TUTOR LEARNING AREA - MOBILE HEADER FIX
   Full width + clickable
   ========================================================= */

@media screen and (max-width: 781px) {

    /* Keep site header/navigation above Tutor learning UI */
    header {
        position: relative;
        z-index: 9999;
    }

    header .wp-block-navigation {
        position: relative;
        z-index: 10000;
    }

    /* Mobile hamburger */
    header .wp-block-navigation__responsive-container-open {
        position: relative;
        z-index: 10001;

        pointer-events: auto;

        width: 100vw;
        max-width: 100vw;

        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        min-height: 0;
        padding: 8px 16px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        box-sizing: border-box;
    }

    header .wp-block-navigation__responsive-container-open svg {
        width: 24px;
        height: 24px;
    }


    /* Open mobile menu must also stay above Tutor */
    header .wp-block-navigation__responsive-container {
        z-index: 10002;
    }

}

/* =========================================================
   HEADER MENU HOVER
   Green text instead of underline
   ========================================================= */

header .wp-block-navigation-item__content {
    text-decoration: none !important;
    transition: color 0.2s ease;
}

header .wp-block-navigation-item__content:hover,
header .wp-block-navigation-item__content:focus {
    color: #1fa34a !important;
    text-decoration: none !important;
}

/* Remove WordPress underline hover effect */
header .wp-block-navigation-item__content:hover span,
header .wp-block-navigation-item__content:focus span {
    text-decoration: none !important;
}

/* =========================================================
   MOBILE OPEN MENU - LEFT ALIGN MENU ITEMS
   ========================================================= */

@media screen and (max-width: 781px) {

    header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
        align-items: flex-start !important;
    }

    header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
        width: 100% !important;
        align-items: flex-start !important;
    }

    header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item {
        width: 100% !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    header .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content {
        width: 100% !important;
        text-align: left !important;
    }
}

/* =========================================================
   FINLIT FOOTER BOTTOM
   JSLAM left / Year right on all pages
   ========================================================= */

.finlit-footer-bottom {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: space-between !important;
    align-items: center !important;
}

.finlit-footer-bottom > *:first-child {
    margin-right: auto !important;
}

.finlit-footer-bottom > *:last-child {
    margin-left: auto !important;
}