/* ==========================================================================
   LUC site rhythm
   --------------------------------------------------------------------------
   The purchased template gives every section 120px of padding at the top AND
   the bottom. Its own demo pages alternate `section-space` with
   `section-space-bottom`, so a gap is only ever paid once — but our pages
   stack `section-space` sections directly, which doubled every gap to 240px
   and left the homepage looking like a series of empty screens.

   Each section now contributes HALF the intended gap, so two neighbours add
   up to one comfortable gap, and a section sitting on its own still breathes.
   ========================================================================== */

:root {
    --luc-gap: 112px;   /* space between two content blocks */
    --luc-half: 56px;   /* what each section contributes */
    --luc-band: 76px;   /* inside a colour band, which needs more room */
}

.section-space {
    padding-top: var(--luc-half);
    padding-bottom: var(--luc-half);
}

.section-space-top {
    padding-top: var(--luc-half);
}

.section-space-bottom {
    padding-bottom: var(--luc-half);
}

/* The last block before the footer has no neighbour to share with. */
main > section:last-of-type.section-space,
main > section:last-of-type.section-space-bottom {
    padding-bottom: var(--luc-gap);
}

/* Headings sat 45px from their content, which read as another gap. */
.section-title-space {
    margin-bottom: 34px;
}

@media only screen and (max-width: 1199px) {
    :root {
        --luc-gap: 88px;
        --luc-half: 44px;
        --luc-band: 60px;
    }
}

@media only screen and (max-width: 767px) {
    :root {
        --luc-gap: 68px;
        --luc-half: 34px;
        --luc-band: 48px;
    }
    .section-title-space {
        margin-bottom: 26px;
    }
}

/* --------------------------------------------------------------------------
   Colour bands
   A section with its own background needs real padding inside it — sharing
   half a gap with the next section would crowd its content against the edge.
   -------------------------------------------------------------------------- */

.luc-band.section-space {
    padding-top: var(--luc-band);
    padding-bottom: var(--luc-band);
}

/* --------------------------------------------------------------------------
   Homepage: the statistics band and the programs section share one navy
   background. Treated as two separate sections they produced a tall empty
   navy stripe between the counters and the "Academics & Programs" heading;
   here they read as one panel split by a hairline.
   -------------------------------------------------------------------------- */

.luc-stats-band.section-space {
    padding-top: var(--luc-band);
    padding-bottom: 40px;
}

.luc-programs-band.section-space {
    padding-top: 40px;
    padding-bottom: var(--luc-band);
}

.luc-stats-band + .luc-programs-band > .container {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 40px;
}

@media only screen and (max-width: 767px) {
    .luc-stats-band.section-space {
        padding-bottom: 26px;
    }
    .luc-programs-band.section-space {
        padding-top: 26px;
    }
    .luc-stats-band + .luc-programs-band > .container {
        padding-top: 26px;
    }
}

/* --------------------------------------------------------------------------
   Hero slider
   170px of padding above and below made the first screen taller than the
   viewport on laptops, so nothing below the headline was ever visible.
   -------------------------------------------------------------------------- */

.rs-banner-two .rs-banner-wrapper {
    padding-top: clamp(70px, 11vw, 130px) !important;
    padding-bottom: clamp(70px, 11vw, 130px) !important;
}

/* Readable text over any uploaded slide, however light it is. */
.rs-banner-two .rs-banner-item-wrapper {
    position: relative;
}

.rs-banner-two .rs-banner-bg-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 58, .55) 0%, rgba(11, 31, 58, .35) 45%, rgba(11, 31, 58, .65) 100%);
}

/* --------------------------------------------------------------------------
   Cards
   Consistent lift and hover across the home sections and listing pages.
   -------------------------------------------------------------------------- */

.luc-card {
    transition: transform .28s ease, box-shadow .28s ease;
}

.luc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(11, 31, 58, .12) !important;
}
