/* 
#welcome-sec .wrapper:before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    right: max(calc((100vw - 1180px) / 2), 5%);
    width: 320px;
    height: 365px;
    box-sizing: border-box;
    transform: translateY(-50%);
    background-image: url("/i/photos/Designer.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border: 4px solid rgba(255, 255, 255, 0.75);
    border-radius: 19px;
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.10),
        0 16px 35px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    user-select: none;
}
*/

/* ==================================================
   OUR HOUSES BANNER CARD STYLE
   ================================================== */

#houses-sec {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 45px 0 0;
    color: #1a2a4c;
}

#houses-sec .wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ==================================================
   INTRO BLOCK
   ================================================== */

#houses-sec .houses-content {
    width: 100%;
    background: #fff;
}

#houses-sec .house-intro {
    width: min(820px, 88%);
    margin: 0 auto;
    padding: 52px 0 48px;
    text-align: center;
}

#houses-sec .section-label {
    display: inline-block;
    margin: 0 0 16px;
    padding: 8px 18px;

    background: rgba(52, 71, 163, 0.08);
    border: 1px solid rgba(52, 71, 163, 0.15);
    border-radius: 50px;

    color: #3447a3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

#houses-sec .house-intro p {
    max-width: 720px;
    margin: 0 auto;

    color: #1a2a4c;
    font-size: 17px;
    line-height: 1.75;
    text-align: center;
}

/* ==================================================
   BANNER CARD LIST
   ================================================== */

#houses-sec .house-list {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    overflow: hidden;
}

/* Each card */

#houses-sec .house-list > li {
    position: relative;

    flex: 1 1 0;
    min-width: 0;

    overflow: hidden;
    cursor: pointer;

    margin: 0 !important;
    padding: 0 !important;

    transition: flex 0.4s ease;
}

/* Background photo */

#houses-sec .house-list > li > img {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    object-position: center top;

    display: block !important;
    margin: 0 !important;

    transition: transform 0.5s ease;
}

#houses-sec .house-list > li:hover > img {
    transform: scale(1.06);
}

/* Colour overlay per house */

#houses-sec .house-list > li:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.90;
    transition: opacity 0.3s ease;
}

#houses-sec .house-list > li:hover:before {
    opacity: 0.70;
}

#houses-sec .house-shakespeare:before {
    background: #004f1f;
}

#houses-sec .house-seacole:before {
    background: #55146e;
}

#houses-sec .house-pankhurst:before {
    background: #3e63bc;
}

#houses-sec .house-davinci:before {
    background: #9d1020;
}

#houses-sec .house-curie:before {
    background: #a0d0e7;
}

#houses-sec .house-brunel:before {
    background: #fccc00;
}

/* Gradient at the bottom so text is always readable */

#houses-sec .house-list > li:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;

    height: 65%;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0) 100%
    );

    pointer-events: none;
}

/* Card content wrapper */

#houses-sec .house-card-inner {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

    width: 100%;
    height: 360px;

    padding: 24px 22px 26px;
}

/* House logo at the top of the card */

#houses-sec .house-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 64px;
    height: 64px;

    flex-shrink: 0;
}

#houses-sec .house-logo img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: 100% !important;

    margin: 0 !important;

    object-fit: contain;

    filter: brightness(0) invert(1);
}

/* House name and tagline at the bottom */

#houses-sec .house-text {
    width: 100%;
}

#houses-sec .house-text strong {
    display: block;

    color: #fff;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#houses-sec .house-davinci .house-logo img {
    filter: none;
}

/* Divider line */

#houses-sec .house-text .divider {
    display: block;
    width: 36px;
    height: 2px;

    background: rgba(255, 255, 255, 0.55);
    border-radius: 2px;

    margin: 10px 0;
}

/* Tagline */

#houses-sec .house-text .tagline {
    display: block;

    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 400;
    line-height: 1.4;
}

@media only screen and (max-width: 1050px) {

    #houses-sec .house-list {
        flex-wrap: wrap !important;
    }

    #houses-sec .house-list > li {
        flex: 0 0 calc(33.333% - 1px);
        width: calc(33.333% - 1px) !important;
    }

    #houses-sec .house-card-inner {
        height: 300px;
        padding: 18px 18px 20px;
    }

    #houses-sec .house-logo {
        width: 52px;
        height: 52px;
    }
}

@media only screen and (max-width: 640px) {

    #houses-sec .house-intro {
        padding: 38px 0 34px;
    }

    #houses-sec .section-label {
        font-size: 10px;
        padding: 7px 13px;
        letter-spacing: 1.4px;
    }

    #houses-sec .house-intro p {
        font-size: 15px;
        line-height: 1.65;
    }

    #houses-sec .house-list > li {
        flex: 0 0 50%;
        width: 50% !important;
    }

    #houses-sec .house-card-inner {
        height: 240px;
        padding: 14px 14px 16px;
    }

    #houses-sec .house-logo {
        width: 40px;
        height: 40px;
    }

    #houses-sec .house-text strong {
        font-size: 17px;
    }

    #houses-sec .house-text .tagline {
        font-size: 11px;
    }
}

@media only screen and (max-width: 400px) {

    #houses-sec .house-list > li {
        flex: 0 0 100%;
        width: 100% !important;
    }

    #houses-sec .house-card-inner {
        height: 200px;
    }
}

/* ---- FIX H2 - DO NOT REMOVE IMPORTANT FLAGS ---- */

#houses-sec h2 {
    color: #3447a3 !important;
    display: block !important;
    font-family: Libre Baskerville,serif !important;
    font-size: max(25px,min(5vw,100px)) !important;
    margin: 0 auto 50px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

#houses-sec h2 span {
    display: block !important;
    font-family: Barlow,sans-serif !important;
    font-size: calc(max(25px,min(5vw,100px))*.3) !important;
    font-weight: 300 !important;
    margin: 10px 0 0 !important;
    text-align: center !important;
    text-transform: none !important;
}

@media only screen and (max-width: 990px) {
    #houses-sec h2 {
        margin: 0 auto 30px !important;
    }
    #houses-sec h2 span {
        font-size: 20px !important;
        margin: 8px auto 0 !important;
    }
}

/* ==================================================
   WHITE BACKGROUND SECTION
   ================================================== */

#houses-sec {
    background: #fff;
}

#houses-sec .houses-content {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* ==================================================
   OUR HOUSES FINAL LAYOUT FIX
   Add this at the very end of the existing CSS
   ================================================== */

/* Give the whole section breathing room at the bottom */
#houses-sec {
    padding: 45px 0 55px !important;
}

/* Remove unexpected CMS spacing */
#houses-sec .houses-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Tidy the main title spacing */
#houses-sec h2 {
    margin: 0 auto 22px !important;
    padding: 0 20px !important;
    line-height: 1.05 !important;
}

/* Tidy the smaller title above OUR HOUSES */
#houses-sec h2 span {
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

/* Reset the h3 defaults applied by the CMS */
#houses-sec h3.house-intro {
    display: block !important;
    width: min(820px, calc(100% - 40px)) !important;

    margin: 0 auto 38px !important;
    padding: 0 !important;

    color: #1a2a4c !important;
    font-family: Barlow, sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    text-align: centre !important;
    text-transform: none !important;
}

/* The section label is empty, so prevent it adding spacing */
#houses-sec .section-label:empty {
    display: none !important;
}

/* Box the banners in rather than making them full width */
#houses-sec .house-list {
    width: calc(100% - 80px) !important;
    max-width: 1320px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border-radius: 18px !important;
    overflow: hidden !important;

    box-shadow:
        0 18px 45px rgba(26, 42, 76, 0.14),
        0 4px 14px rgba(26, 42, 76, 0.08);
}

/* Keep card dimensions predictable */
#houses-sec .house-list > li,
#houses-sec .house-card-inner {
    box-sizing: border-box !important;
}

/* Prevent tiny gaps between wrapped cards */
#houses-sec .house-list > li {
    margin: 0 !important;
    border: 0 !important;
}

/* ==================================================
   TABLET
   ================================================== */

@media only screen and (max-width: 1050px) {

    #houses-sec {
        padding: 38px 0 45px !important;
    }

    #houses-sec h2 {
        margin-bottom: 18px !important;
    }

    #houses-sec h3.house-intro {
        width: min(760px, calc(100% - 48px)) !important;
        margin-bottom: 32px !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    #houses-sec .house-list {
        width: calc(100% - 48px) !important;
        border-radius: 16px !important;
    }
}

/* ==================================================
   MOBILE
   ================================================== */

@media only screen and (max-width: 640px) {

    #houses-sec {
        padding: 30px 0 32px !important;
    }

    #houses-sec h2 {
        margin: 0 auto 15px !important;
        padding: 0 16px !important;
        line-height: 1.08 !important;
    }

    #houses-sec h2 span {
        margin: 0 0 7px !important;
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    #houses-sec h3.house-intro {
        width: calc(100% - 32px) !important;

        margin: 0 auto 25px !important;
        padding: 0 !important;

        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    #houses-sec .house-list {
        width: calc(100% - 24px) !important;
        margin: 0 auto !important;

        border-radius: 14px !important;

        box-shadow:
            0 12px 28px rgba(26, 42, 76, 0.14),
            0 3px 10px rgba(26, 42, 76, 0.08);
    }
}

/* ==================================================
   VERY SMALL MOBILE
   ================================================== */

@media only screen and (max-width: 400px) {

    #houses-sec {
        padding-bottom: 26px !important;
    }

    #houses-sec h2 {
        margin-bottom: 13px !important;
    }

    #houses-sec h2 span {
        font-size: 15px !important;
    }

    #houses-sec h3.house-intro {
        width: calc(100% - 28px) !important;
        margin-bottom: 22px !important;
        font-size: 14px !important;
    }

    #houses-sec .house-list {
        width: calc(100% - 20px) !important;
        border-radius: 12px !important;
    }
}

/* ==================================================
   FINAL WIDTH AND TEXT POSITION ADJUSTMENT
   ================================================== */

/* Make the boxed banner group wider */
#houses-sec .house-list {
    width: calc(100% - 36px) !important;
    max-width: 1480px !important;
}

/* Force the wording to the bottom of every banner */
#houses-sec .house-card-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
}

/* Keep the complete text block positioned at the bottom */
#houses-sec .house-text {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: flex-end !important;
}

/* Give Shakespeare enough room and prevent truncation */
#houses-sec .house-text strong {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Slightly reduce only the longest house name if needed */
#houses-sec .house-shakespeare .house-text strong {
    font-size: clamp(17px, 1.7vw, 24px) !important;
    letter-spacing: 0.025em !important;
}

/* ==================================================
   TABLET
   ================================================== */

@media only screen and (max-width: 1050px) {

    #houses-sec .house-list {
        width: calc(100% - 32px) !important;
    }

    #houses-sec .house-shakespeare .house-text strong {
        font-size: 21px !important;
    }
}

/* ==================================================
   MOBILE
   ================================================== */

@media only screen and (max-width: 640px) {

    #houses-sec .house-list {
        width: calc(100% - 16px) !important;
    }

    #houses-sec .house-shakespeare .house-text strong {
        font-size: 15px !important;
        letter-spacing: 0.01em !important;
    }
}

/* ==================================================
   VERY SMALL MOBILE
   ================================================== */

@media only screen and (max-width: 400px) {

    #houses-sec .house-list {
        width: calc(100% - 12px) !important;
    }

    #houses-sec .house-shakespeare .house-text strong {
        font-size: 18px !important;
    }
}

/* ==================================================
   HOUSE BANNER LOGO AND CLICKABLE LINK UPDATE
   ================================================== */

/* Make the whole banner clickable */
#houses-sec .house-link {
    position: relative;
    display: block;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none !important;

    overflow: hidden;
    outline: none;
}

/* Keep the existing banner image in the background */
#houses-sec .house-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: cover;
    object-position: center top;
}

/* Full-opacity logo positioned in the centre */
#houses-sec .house-centre-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;

    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 68% !important;
    max-height: 46% !important;

    margin: 0 !important;

    object-fit: contain;

    opacity: 1 !important;
    filter: none !important;

    transform: translate(-50%, -58%);
    transform-origin: center;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

/* Small, polished hover effect on the central logo */
#houses-sec .house-list > li:hover .house-centre-logo {
    transform: translate(-50%, -58%) scale(1.05);

    filter:
        drop-shadow(0 7px 10px rgba(0, 0, 0, 0.18))
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12)) !important;
}

/*
   Keep the bottom wording above the logo and overlays.
   The text remains at the bottom exactly as before.
*/
#houses-sec .house-card-inner {
    position: relative;
    z-index: 5;
}

#houses-sec .house-text {
    position: relative;
    z-index: 6;
}

/* Make keyboard navigation clearly visible */
#houses-sec .house-link:focus-visible {
    outline: 4px solid rgba(255, 255, 255, 0.95);
    outline-offset: -6px;
}

/* ==================================================
   TABLET
   ================================================== */

@media only screen and (max-width: 1050px) {

    #houses-sec .house-centre-logo {
        max-width: 56% !important;
        max-height: 42% !important;
        transform: translate(-50%, -60%);
    }

    #houses-sec .house-list > li:hover .house-centre-logo {
        transform: translate(-50%, -60%) scale(1.04);
    }
}

/* ==================================================
   MOBILE
   ================================================== */

@media only screen and (max-width: 640px) {

    #houses-sec .house-centre-logo {
        max-width: 58% !important;
        max-height: 40% !important;
        transform: translate(-50%, -60%);
    }

    /*
       Prevent sticky hover behaviour on touchscreens.
    */
    #houses-sec .house-list > li:hover .house-centre-logo {
        transform: translate(-50%, -60%) scale(1);
    }
}

/* ==================================================
   VERY SMALL MOBILE
   ================================================== */

@media only screen and (max-width: 400px) {

    #houses-sec .house-centre-logo {
        max-width: 42% !important;
        max-height: 42% !important;
        transform: translate(-50%, -58%);
    }

    #houses-sec .house-list > li:hover .house-centre-logo {
        transform: translate(-50%, -58%) scale(1);
    }
}














/* =========================================================
   CWLC SIXTH FORM HOME PAGE - CLEAN CSS
   Uses the website's default heading and paragraph typography.
   Page ID: 25367
   ========================================================= */

.body_25367 .Content2Column {
    overflow: visible;
}

.body_25367 .cwlc-sixth {
    --sf-purple: #5f397f;
    --sf-purple-dark: #38204f;
    --sf-purple-deep: #271439;
    --sf-purple-light: #eee7f4;
    --sf-green: #9dcf32;
    --sf-navy: #1a2a4c;
    --sf-text: #263044;
    --sf-muted: #667085;
    --sf-border: #e6e1ea;
    --sf-off-white: #f8f6fa;
    width: 100%;
}

.body_25367 .cwlc-sixth *,
.body_25367 .cwlc-sixth *::before,
.body_25367 .cwlc-sixth *::after {
    box-sizing: border-box;
}

/* =========================================================
   HERO
   ========================================================= */

.body_25367 .sf-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 500px;
    margin: 0 0 58px;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--sf-purple-dark);
    background-image:
        linear-gradient(
            90deg,
            rgba(34, 15, 50, 0.96) 0%,
            rgba(55, 27, 77, 0.89) 42%,
            rgba(74, 41, 99, 0.36) 72%,
            rgba(74, 41, 99, 0.10) 100%
        ),
        url("/i/photos/Professional_Photos/_DSC6067.jpg");
    background-position: center;
    background-size: cover;
}

.body_25367 .sf-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 9px;
    height: 72%;
    background: var(--sf-green);
}

.body_25367 .sf-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -90px;
    bottom: -160px;
    width: 350px;
    height: 350px;
    border: 55px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.body_25367 .sf-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    padding: 62px 58px;
    color: #ffffff;
}

.body_25367 .sf-hero-content h1,
.body_25367 .sf-hero-content h2,
.body_25367 .sf-hero-content p {
    color: inherit;
}

.body_25367 .sf-eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--sf-green);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.body_25367 .sf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.body_25367 .sf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 0;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.body_25367 .sf-button:hover,
.body_25367 .sf-button:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.body_25367 .sf-button-primary {
    background: var(--sf-green);
    color: #1e2a17;
}

.body_25367 .sf-button-primary:hover,
.body_25367 .sf-button-primary:focus {
    background: #addd43;
    color: #172010;
}

.body_25367 .sf-button-secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.body_25367 .sf-button-secondary:hover,
.body_25367 .sf-button-secondary:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--sf-purple-dark);
}

.body_25367 .sf-button-white {
    flex: 0 0 auto;
    min-width: 155px;
    background: #ffffff;
    color: var(--sf-purple-dark);
}

.body_25367 .sf-button-white:hover,
.body_25367 .sf-button-white:focus {
    background: var(--sf-green);
    color: #1e2a17;
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.body_25367 .sf-intro {
    max-width: 790px;
    margin: 0 auto 50px;
    padding: 0 25px;
    text-align: center;
}

.body_25367 .sf-section-label {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--sf-purple);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

/* =========================================================
   COURSE PATHWAYS
   ========================================================= */

.body_25367 .sf-pathways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 52px;
}

.body_25367 .sf-pathway {
    position: relative;
    display: flex;
    min-height: 310px;
    padding: 37px;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.body_25367 .sf-pathway::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 180px;
    height: 180px;
    border: 30px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transition: transform 0.35s ease;
}

.body_25367 .sf-pathway:hover,
.body_25367 .sf-pathway:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(32, 22, 44, 0.17);
}

.body_25367 .sf-pathway:hover::after,
.body_25367 .sf-pathway:focus::after {
    transform: scale(1.12);
}

.body_25367 .sf-pathway-level {
    background: linear-gradient(145deg, #38204f 0%, #654185 100%);
}

.body_25367 .sf-pathway-vocational {
    background: linear-gradient(145deg, #172845 0%, #27516d 100%);
}

.body_25367 .sf-pathway h2,
.body_25367 .sf-pathway p {
    color: inherit;
}

.body_25367 .sf-card-number {
    position: absolute;
    top: 22px;
    right: 28px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.body_25367 .sf-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.body_25367 .sf-card-label {
    margin-bottom: 13px;
    color: var(--sf-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.body_25367 .sf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--sf-green);
    color: #ffffff;
    font-weight: 700;
}

.body_25367 .sf-card-link b {
    color: var(--sf-green);
    transition: transform 0.2s ease;
}

.body_25367 .sf-pathway:hover .sf-card-link b,
.body_25367 .sf-pathway:focus .sf-card-link b {
    transform: translateX(5px);
}

/* =========================================================
   RESULTS
   ========================================================= */

.body_25367 .sf-results {
    display: grid;
    grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.6fr);
    align-items: stretch;
    margin-bottom: 58px;
    border-left: 6px solid var(--sf-green);
    background: var(--sf-off-white);
}

.body_25367 .sf-results-heading {
    padding: 34px;
    background: var(--sf-purple-deep);
    color: #ffffff;
}

.body_25367 .sf-results-heading h2,
.body_25367 .sf-results-heading p {
    color: inherit;
}

.body_25367 .sf-results-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--sf-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.body_25367 .sf-results-quote {
    display: flex;
    align-items: center;
    padding: 32px 38px;
    color: var(--sf-purple-dark);
}

.body_25367 .sf-results-quote p {
    color: inherit;
}

/* =========================================================
   FIVE REASONS
   ========================================================= */

.body_25367 .sf-reasons {
    display: grid;
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
    gap: 46px;
    margin-bottom: 62px;
}

.body_25367 .sf-reasons-list {
    border-top: 1px solid var(--sf-border);
}

.body_25367 .sf-reason {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 76px;
    padding: 15px 8px;
    border-bottom: 1px solid var(--sf-border);
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.body_25367 .sf-reason:hover {
    padding-left: 16px;
    background: var(--sf-off-white);
}

.body_25367 .sf-reason > span {
    color: var(--sf-purple);
    font-weight: 700;
}

/* =========================================================
   HEAD OF SIXTH FORM WELCOME
   ========================================================= */

.body_25367 .sf-welcome {
    position: relative;
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    margin-bottom: 62px;
    overflow: hidden;
    background: var(--sf-purple-light);
}

.body_25367 .sf-welcome-accent {
    min-height: 100%;
    background: linear-gradient(150deg, var(--sf-purple-deep) 0%, var(--sf-purple) 100%);
}

.body_25367 .sf-welcome-accent::before {
    content: "\201C";
    display: block;
    padding-top: 36px;
    color: var(--sf-green);
    font-family: Georgia, serif;
    font-size: 94px;
    line-height: 1;
    text-align: center;
}

.body_25367 .sf-welcome-content {
    padding: 45px 48px;
}

.body_25367 .sf-welcome-signature {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    padding-left: 16px;
    border-left: 4px solid var(--sf-green);
}

.body_25367 .sf-welcome-signature strong {
    color: var(--sf-purple-dark);
}

.body_25367 .sf-welcome-signature span {
    color: var(--sf-muted);
}

/* =========================================================
   QUICK LINKS
   ========================================================= */

.body_25367 .sf-quick-links {
    margin-bottom: 60px;
}

.body_25367 .sf-quick-heading {
    margin-bottom: 25px;
    text-align: center;
}

.body_25367 .sf-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.body_25367 .sf-quick-grid > a {
    display: grid;
    grid-template-columns: 49px minmax(0, 1fr) 25px;
    gap: 15px;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid var(--sf-border);
    border-left: 4px solid var(--sf-purple);
    background: #ffffff;
    color: var(--sf-text);
    text-decoration: none;
    transition: border-color 0.2s ease,
                background-color 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.body_25367 .sf-quick-grid > a:hover,
.body_25367 .sf-quick-grid > a:focus {
    border-color: var(--sf-purple);
    background: var(--sf-off-white);
    color: var(--sf-text);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(51, 29, 69, 0.11);
}

.body_25367 .sf-quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    background: var(--sf-purple-light);
    color: var(--sf-purple-dark);
    font-weight: 700;
}

.body_25367 .sf-quick-grid > a > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.body_25367 .sf-quick-grid strong {
    color: var(--sf-navy);
}

.body_25367 .sf-quick-grid small {
    margin-top: 4px;
    color: var(--sf-muted);
}

.body_25367 .sf-quick-grid b {
    color: var(--sf-purple);
    transition: transform 0.2s ease;
}

.body_25367 .sf-quick-grid > a:hover b,
.body_25367 .sf-quick-grid > a:focus b {
    transform: translateX(4px);
}

/* =========================================================
   FINAL APPLICATION PANEL
   ========================================================= */

.body_25367 .sf-apply {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 45px;
    overflow: hidden;
    background: linear-gradient(130deg, var(--sf-purple-deep), var(--sf-purple));
    color: #ffffff;
}

.body_25367 .sf-apply::after {
    content: "";
    position: absolute;
    right: 190px;
    bottom: -90px;
    width: 190px;
    height: 190px;
    border: 30px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.body_25367 .sf-apply > div,
.body_25367 .sf-apply > a {
    position: relative;
    z-index: 2;
}

.body_25367 .sf-apply h2,
.body_25367 .sf-apply p {
    color: inherit;
}

.body_25367 .sf-apply > div > span {
    display: block;
    margin-bottom: 7px;
    color: var(--sf-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (max-width: 900px) {
    .body_25367 .sf-hero {
        min-height: 460px;
        background-position: 62% center;
    }

    .body_25367 .sf-hero-content {
        max-width: 620px;
        padding: 50px 40px;
    }

    .body_25367 .sf-pathway {
        min-height: 325px;
        padding: 30px;
    }

    .body_25367 .sf-reasons {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .body_25367 .sf-reasons-heading {
        max-width: 630px;
    }

    .body_25367 .sf-welcome-content {
        padding: 38px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 700px) {
    .body_25367 .sf-hero {
        min-height: 450px;
        margin-bottom: 42px;
        background-image:
            linear-gradient(
                0deg,
                rgba(34, 15, 50, 0.98) 0%,
                rgba(47, 22, 66, 0.91) 52%,
                rgba(48, 24, 68, 0.45) 100%
            ),
            url("/i/photos/Professional_Photos/_DSC6067.jpg");
        background-position: center;
    }

    .body_25367 .sf-hero::before {
        width: 6px;
        height: 64%;
    }

    .body_25367 .sf-hero::after {
        right: -130px;
        bottom: -190px;
    }

    .body_25367 .sf-hero-content {
        max-width: none;
        padding: 35px 25px 38px;
    }

    .body_25367 .sf-eyebrow {
        margin-bottom: 13px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .body_25367 .sf-hero-actions {
        gap: 9px;
        margin-top: 20px;
    }

    .body_25367 .sf-button {
        min-height: 47px;
        padding: 11px 17px;
    }

    .body_25367 .sf-intro {
        margin-bottom: 36px;
        padding: 0 8px;
    }

    .body_25367 .sf-pathways {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-bottom: 40px;
    }

    .body_25367 .sf-pathway {
        min-height: 250px;
        padding: 27px 25px;
    }

    .body_25367 .sf-card-number {
        top: 18px;
        right: 21px;
        font-size: 57px;
    }

    .body_25367 .sf-results {
        grid-template-columns: 1fr;
        margin-bottom: 43px;
        border-left-width: 5px;
    }

    .body_25367 .sf-results-heading {
        padding: 22px 24px;
    }

    .body_25367 .sf-results-quote {
        padding: 26px 24px;
    }

    .body_25367 .sf-reasons {
        gap: 18px;
        margin-bottom: 43px;
    }

    .body_25367 .sf-reason {
        grid-template-columns: 39px minmax(0, 1fr);
        gap: 10px;
        min-height: 69px;
        padding: 12px 4px;
    }

    .body_25367 .sf-reason:hover {
        padding-left: 8px;
    }

    .body_25367 .sf-welcome {
        grid-template-columns: 1fr;
        margin-bottom: 44px;
    }

    .body_25367 .sf-welcome-accent {
        min-height: 13px;
    }

    .body_25367 .sf-welcome-accent::before {
        display: none;
    }

    .body_25367 .sf-welcome-content {
        padding: 29px 25px;
    }

    .body_25367 .sf-quick-links {
        margin-bottom: 43px;
    }

    .body_25367 .sf-quick-heading {
        margin-bottom: 19px;
    }

    .body_25367 .sf-quick-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .body_25367 .sf-quick-grid > a {
        grid-template-columns: 43px minmax(0, 1fr) 20px;
        gap: 12px;
        min-height: 80px;
        padding: 14px 15px;
    }

    .body_25367 .sf-quick-icon {
        width: 43px;
        height: 43px;
    }

    .body_25367 .sf-apply {
        display: block;
        padding: 31px 25px;
    }

    .body_25367 .sf-apply .sf-button-white {
        width: 100%;
        margin-top: 22px;
    }
}

@media only screen and (max-width: 400px) {
    .body_25367 .sf-hero-content {
        padding-right: 20px;
        padding-left: 20px;
    }

    .body_25367 .sf-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .body_25367 .sf-hero-actions .sf-button {
        width: 100%;
    }

    .body_25367 .sf-pathway {
        padding: 24px 21px;
    }
}

/* Keyboard accessibility */
.body_25367 .cwlc-sixth a:focus-visible {
    outline: 3px solid var(--sf-green);
    outline-offset: 3px;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .body_25367 .cwlc-sixth *,
    .body_25367 .cwlc-sixth *::before,
    .body_25367 .cwlc-sixth *::after {
        transition: none !important;
    }
}


/* =========================================================
   HEAD OF SIXTH FORM WELCOME SECTION ONLY
   Uses the website's default h2 and paragraph typography.
   ========================================================= */

.body_25367 .sf-welcome {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 66%);
    align-items: stretch;
    margin-bottom: 62px;
    overflow: hidden;
    background: var(--sf-purple-light);
    border-bottom: 6px solid var(--sf-purple);
}

.body_25367 .sf-welcome-photo {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: var(--sf-purple-dark);
}

.body_25367 .sf-welcome-photo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 35%;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(39, 20, 57, 0.45),
        rgba(39, 20, 57, 0)
    );
}

.body_25367 .sf-welcome-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
}

.body_25367 .sf-welcome-content {
    position: relative;
    padding: 45px 48px;
}

.body_25367 .sf-welcome-content::before {
    content: "\201C";
    position: absolute;
    top: 22px;
    right: 30px;
    color: rgba(95, 57, 127, 0.12);
    font-family: Georgia, serif;
    font-size: 105px;
    line-height: 1;
    pointer-events: none;
}

.body_25367 .sf-welcome-content > * {
    position: relative;
    z-index: 1;
}

.body_25367 .sf-welcome-signature {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    padding-left: 16px;
    border-left: 4px solid var(--sf-green);
}

.body_25367 .sf-welcome-signature strong {
    color: var(--sf-purple-dark);
}

.body_25367 .sf-welcome-signature span {
    color: var(--sf-muted);
}

@media only screen and (max-width: 900px) {
    .body_25367 .sf-welcome {
        grid-template-columns: minmax(190px, 38%) minmax(0, 62%);
    }

    .body_25367 .sf-welcome-photo,
    .body_25367 .sf-welcome-photo img {
        min-height: 540px;
    }

    .body_25367 .sf-welcome-content {
        padding: 38px 34px;
    }
}

@media only screen and (max-width: 700px) {
    .body_25367 .sf-welcome {
        display: block;
        margin-bottom: 44px;
    }

    .body_25367 .sf-welcome-photo {
        min-height: 340px;
        height: 340px;
    }

    .body_25367 .sf-welcome-photo img {
        width: 100%;
        height: 340px;
        min-height: 0;
        object-position: center 18%;
    }

    .body_25367 .sf-welcome-content {
        padding: 29px 25px;
    }

    .body_25367 .sf-welcome-content::before {
        top: 13px;
        right: 18px;
        font-size: 75px;
    }
}



