/* =========================================================
   SAS LANDLORD EDUCATION PILLAR PAGE
   Supported Accommodation Systems
   ========================================================= */


/* ---------------------------------------------------------
   ONLY ON THE SAS EDUCATION PILLAR PAGE
   --------------------------------------------------------- */

body:has(.sas-edu) .entry-title,
body:has(.sas-edu) .wp-block-post-title,
body:has(.sas-edu) .page-header .page-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body:has(.sas-edu) .sharedaddy,
body:has(.sas-edu) .sd-like,
body:has(.sas-edu) .sd-like-enabled,
body:has(.sas-edu) #jp-post-flair,
body:has(.sas-edu) .post-navigation {
    display: none !important;
}


/* =========================================================
   CORE DESIGN SYSTEM
   ========================================================= */

.sas-edu {
    --navy: #0b1728;
    --navy-2: #10233a;
    --navy-3: #172d47;
    --gold: #d1a94f;
    --gold-light: #e3c274;
    --ink: #17202c;
    --muted: #59616c;
    --cream: #f4f2ec;
    --soft: #f7f7f5;
    --line: #e2e2de;
    --white: #ffffff;

    color: var(--ink);
    font-family: inherit;
    line-height: 1.65;
}

.sas-edu *,
.sas-edu *:before,
.sas-edu *:after {
    box-sizing: border-box;
}

.sas-edu-container {
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto;
}

.sas-edu-narrow {
    width: min(860px, calc(100% - 44px));
    margin: 0 auto;
}

.sas-edu-section {
    padding: 82px 0;
}

.sas-edu-section-soft {
    background: var(--soft);
}

.sas-edu-section-cream {
    background: var(--cream);
}

.sas-edu-eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.sas-edu h2,
.sas-edu h3,
.sas-edu h4 {
    color: var(--ink);
    line-height: 1.08;
}

.sas-edu h2 {
    margin: 0 0 22px;
    font-size: clamp(33px, 4.2vw, 50px);
    letter-spacing: -1.2px;
}

.sas-edu h3 {
    margin: 0 0 14px;
    font-size: 23px;
    letter-spacing: -.35px;
}

.sas-edu p {
    margin: 0 0 20px;
    font-size: 17px;
}

.sas-edu-lead {
    font-size: 20px !important;
    line-height: 1.55;
}

.sas-edu-muted {
    color: var(--muted);
}

.sas-edu-gold {
    color: var(--gold);
}

.sas-edu strong {
    font-weight: 750;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.sas-edu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 25px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.sas-edu-btn:hover {
    transform: translateY(-1px);
}

.sas-edu-btn-gold {
    background: var(--gold);
    color: var(--navy) !important;
}

.sas-edu-btn-gold:hover {
    background: var(--gold-light);
}

.sas-edu-btn-dark {
    background: var(--navy);
    color: var(--white) !important;
}

.sas-edu-btn-outline-light {
    border: 1px solid rgba(255,255,255,.35);
    color: var(--white) !important;
    background: transparent;
}

.sas-edu-btn-outline-dark {
    border: 1px solid #c8c9c7;
    color: var(--ink) !important;
    background: transparent;
}

.sas-edu-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}


/* =========================================================
   HERO
   ========================================================= */

.sas-edu-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 92px;
    background:
        radial-gradient(
            circle at 83% 28%,
            rgba(43,76,111,.45),
            transparent 32%
        ),
        linear-gradient(
            122deg,
            #081421 0%,
            #0d1d30 55%,
            #132a45 100%
        );
    color: var(--white);
}

.sas-edu-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background:
        linear-gradient(
            135deg,
            transparent 60%,
            rgba(255,255,255,.08)
        );
}

.sas-edu-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 60px;
    align-items: center;
}

.sas-edu-hero .sas-edu-eyebrow {
    color: var(--gold-light);
}

.sas-edu-hero-title {
    max-width: 760px;
    margin: 0 0 24px !important;
    color: var(--white) !important;
    font-size: clamp(45px, 6.1vw, 70px) !important;
    line-height: .98 !important;
    letter-spacing: -2.6px !important;
}

.sas-edu-hero-hook {
    max-width: 750px;
    margin: 0 0 22px !important;
    color: rgba(255,255,255,.97);
    font-size: clamp(20px, 2.2vw, 25px) !important;
    line-height: 1.45;
}

.sas-edu-hero-copy {
    max-width: 760px;
    color: rgba(255,255,255,.76);
}

.sas-edu-hero-panel {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.sas-edu-panel-label {
    margin-bottom: 16px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sas-edu-hero-panel h3 {
    color: var(--white);
    font-size: 27px;
}

.sas-edu-hero-panel p {
    color: rgba(255,255,255,.76);
    font-size: 15px;
}

.sas-edu-mini-route {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 10px 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.sas-edu-mini-route span {
    color: var(--gold-light);
}


/* =========================================================
   OPENING EDUCATION
   ========================================================= */

.sas-edu-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: start;
}

.sas-edu-statement {
    margin-top: 32px;
    padding: 22px 25px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    background: var(--white);
}


/* =========================================================
   ANCHOR OFFSET
   ========================================================= */

#three-routes,
#become-provider,
#why-sas,
#education-hub,
#faq {
    scroll-margin-top: 135px;
}


/* =========================================================
   THREE ROUTES
   ========================================================= */

.sas-edu-route-intro {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 55px;
    align-items: end;
    margin-bottom: 42px;
}

.sas-edu-route-intro p {
    color: var(--muted);
}

.sas-edu-routes {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.sas-edu-route-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 490px;
    padding: 30px 27px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.sas-edu-route-card.route-one {
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(15,29,47,.08);
}

.sas-edu-route-no {
    margin-bottom: 20px;
    color: #e2e0d9;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.route-one .sas-edu-route-no {
    color: rgba(209,169,79,.30);
}

.sas-edu-route-label {
    margin-bottom: 13px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.sas-edu-route-card p {
    color: var(--muted);
    font-size: 15px;
}

.sas-edu-route-card ul {
    margin: 4px 0 28px;
    padding: 0;
    list-style: none;
}

.sas-edu-route-card li {
    position: relative;
    margin: 9px 0;
    padding-left: 18px;
    color: #49515a;
    font-size: 14px;
}

.sas-edu-route-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 900;
}

.sas-edu-route-card .sas-edu-btn {
    margin-top: auto;
}


/* =========================================================
   ROUTE 1 DARK FEATURE
   ========================================================= */

.sas-edu-dark {
    padding: 88px 0;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(47,84,124,.32),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #071321,
            #10243b
        );
    color: var(--white);
}

.sas-edu-dark .sas-edu-eyebrow {
    color: var(--gold-light);
}

.sas-edu-dark h2,
.sas-edu-dark h3 {
    color: var(--white);
}

.sas-edu-dark p {
    color: rgba(255,255,255,.76);
}

.sas-edu-dark-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.sas-edu-system-list {
    display: grid;
    gap: 10px;
}

.sas-edu-system {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
    padding: 17px 20px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
}

.sas-edu-system-num {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 800;
}

.sas-edu-system strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
}

.sas-edu-system span {
    color: rgba(255,255,255,.69);
    font-size: 14px;
}


/* =========================================================
   WHY SAS
   ========================================================= */

.sas-edu-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 38px;
}

.sas-edu-compare-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.sas-edu-compare-card.highlight {
    border-top: 4px solid var(--gold);
}

.sas-edu-compare-card p {
    font-size: 16px;
}

.sas-edu-question {
    margin-top: 35px;
    padding: 34px;
    border-radius: 20px;
    background: var(--navy);
    color: var(--white);
}

.sas-edu-question p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(21px, 2.3vw, 28px);
}

.sas-edu-question strong {
    color: var(--gold-light);
}


/* =========================================================
   PROCESS
   ========================================================= */

.sas-edu-process {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 38px;
}

.sas-edu-process-card {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.sas-edu-process-number {
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
}

.sas-edu-process-card p {
    color: var(--muted);
    font-size: 15px;
}


/* =========================================================
   SYSTEMS MATTER
   ========================================================= */

.sas-edu-punch-list {
    margin: 32px 0;
}

.sas-edu-punch {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
}

.sas-edu-punch:first-child {
    border-top: 1px solid var(--line);
}


/* =========================================================
   EDUCATION HUB
   ========================================================= */

.sas-edu-hub-head {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    margin-bottom: 38px;
    align-items: end;
}

.sas-edu-hub-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.sas-edu-hub-card {
    padding: 29px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: var(--white);
}

.sas-edu-hub-card p {
    color: var(--muted);
    font-size: 15px;
}

.sas-edu-text-link {
    color: var(--ink) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
}

.sas-edu-text-link:hover {
    color: var(--gold) !important;
}


/* =========================================================
   GUIDE CARDS
   ========================================================= */

.sas-edu-guides {
    display: grid;
    grid-template-columns: 1.15fr .925fr .925fr;
    gap: 18px;
    margin-top: 38px;
}

.sas-edu-guide {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.sas-edu-guide.primary {
    border: 2px solid var(--gold);
}

.sas-edu-guide p {
    color: var(--muted);
    font-size: 15px;
}

.sas-edu-guide .sas-edu-btn {
    margin-top: auto;
}


/* =========================================================
   CTA
   ========================================================= */

.sas-edu-cta {
    padding: 82px 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(42,79,119,.40),
            transparent 35%
        ),
        var(--navy);
    color: var(--white);
}

.sas-edu-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 65px;
    align-items: center;
}

.sas-edu-cta .sas-edu-eyebrow {
    color: var(--gold-light);
}

.sas-edu-cta h2 {
    color: var(--white);
}

.sas-edu-cta p {
    color: rgba(255,255,255,.76);
}

.sas-edu-cta-panel {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: rgba(255,255,255,.05);
}

.sas-edu-cta-panel strong {
    color: var(--gold-light);
}


/* =========================================================
   FAQ
   ========================================================= */

.sas-edu-faq-head {
    margin-bottom: 30px;
}

.sas-edu-faq details {
    border-bottom: 1px solid var(--line);
}

.sas-edu-faq details:first-of-type {
    border-top: 1px solid var(--line);
}

.sas-edu-faq summary {
    position: relative;
    padding: 23px 48px 23px 0;
    cursor: pointer;
    color: var(--ink);
    font-size: 17px;
    font-weight: 750;
    list-style: none;
}

.sas-edu-faq summary::-webkit-details-marker {
    display: none;
}

.sas-edu-faq summary:after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 18px;
    color: var(--gold);
    font-size: 27px;
    font-weight: 500;
}

.sas-edu-faq details[open] summary:after {
    content: "–";
}

.sas-edu-faq details p {
    max-width: 820px;
    padding: 0 45px 20px 0;
    color: var(--muted);
    font-size: 15px;
}


/* =========================================================
   FINAL STRAP
   ========================================================= */

.sas-edu-final {
    padding: 68px 0;
    text-align: center;
    background: var(--soft);
}

.sas-edu-final h2 {
    max-width: 790px;
    margin-left: auto;
    margin-right: auto;
}

.sas-edu-final p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .sas-edu-hero-grid,
    .sas-edu-split,
    .sas-edu-route-intro,
    .sas-edu-dark-grid,
    .sas-edu-hub-head,
    .sas-edu-cta-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .sas-edu-routes,
    .sas-edu-guides {
        grid-template-columns: 1fr;
    }

    .sas-edu-compare,
    .sas-edu-hub-grid {
        grid-template-columns: 1fr;
    }

    .sas-edu-process {
        grid-template-columns: repeat(2,1fr);
    }

    .sas-edu-route-card {
        min-height: 0;
    }

    .sas-edu-hero-panel {
        max-width: 600px;
    }
}


@media (max-width: 600px) {

    .sas-edu-container,
    .sas-edu-narrow {
        width: min(100% - 32px, 1120px);
    }

    .sas-edu-section {
        padding: 58px 0;
    }

    .sas-edu-hero {
        padding: 62px 0 65px;
    }

    .sas-edu-hero-title {
        font-size: 44px !important;
        letter-spacing: -1.5px !important;
    }

    .sas-edu-process {
        grid-template-columns: 1fr;
    }

    .sas-edu-btn-row {
        display: grid;
    }

    .sas-edu-btn {
        width: 100%;
    }

    .sas-edu-statement {
        border-radius: 18px;
    }
}/* =========================================================
   SAS EDUCATION PAGE — FULL WIDTH LAYOUT FIX
   ========================================================= */

/* Remove the normal WordPress article width restriction */
article:has(.sas-edu) {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove theme padding/max-width around the page content */
article:has(.sas-edu) .entry-content,
article:has(.sas-edu) .post-content,
article:has(.sas-edu) .wp-block-post-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide the large WordPress-generated page heading */
article:has(.sas-edu) > header,
article:has(.sas-edu) > .entry-header {
    display: none !important;
}

/* Fallback for themes where the title is outside entry-header */
body:has(.sas-edu) main h1:first-of-type {
    display: none !important;
}

/* Break the SAS page out of any remaining theme container */
.sas-edu {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Make coloured sections genuinely full width */
.sas-edu-hero,
.sas-edu-dark,
.sas-edu-cta,
.sas-edu-final,
.sas-edu-section {
    width: 100% !important;
}

/* Tighten the first white content section */
.sas-edu > .sas-edu-section:first-of-type {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

/* Keep the inner content aligned with the main SAS website */
.sas-edu-container {
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Avoid excessive line wrapping in the introductory copy */
.sas-edu-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

/* Desktop hero proportions closer to SAS homepage */
@media (min-width: 901px) {

    .sas-edu-hero {
        min-height: 650px;
        display: flex;
        align-items: center;
    }

    .sas-edu-hero-grid {
        width: min(1120px, calc(100% - 44px));
        grid-template-columns: 1.2fr .8fr;
    }

    .sas-edu-hero-title {
        max-width: 720px;
    }
}


/* Mobile/tablet */
@media (max-width: 900px) {

    .sas-edu {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
    }

    .sas-edu-hero {
        min-height: auto;
    }

    .sas-edu-split {
        grid-template-columns: 1fr !important;
    }
}/* =========================================================
   SAS PILLAR PAGE — CTA BUTTON RESET
   Removes theme-generated circles / link decorations
   ========================================================= */

.sas-edu a.sas-edu-btn::before,
.sas-edu a.sas-edu-btn::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}


/* Reset inherited theme link/button styling */

.sas-edu a.sas-edu-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 50px !important;

    padding: 14px 26px !important;
    margin: 0 !important;

    border-radius: 999px !important;

    text-decoration: none !important;
    text-transform: none !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    box-shadow: none !important;
    background-image: none !important;
}


/* GOLD PRIMARY CTA */

.sas-edu a.sas-edu-btn-gold {
    background: #d1a94f !important;
    border: 1px solid #d1a94f !important;
    color: #0b1728 !important;
}

.sas-edu a.sas-edu-btn-gold:hover,
.sas-edu a.sas-edu-btn-gold:focus {
    background: #e3c274 !important;
    border-color: #e3c274 !important;
    color: #0b1728 !important;
}


/* DARK CTA */

.sas-edu a.sas-edu-btn-dark {
    background: #0b1728 !important;
    border: 1px solid #0b1728 !important;
    color: #ffffff !important;
}

.sas-edu a.sas-edu-btn-dark:hover,
.sas-edu a.sas-edu-btn-dark:focus {
    background: #172d47 !important;
    border-color: #172d47 !important;
    color: #ffffff !important;
}


/* LIGHT OUTLINE CTA ON NAVY BACKGROUND */

.sas-edu a.sas-edu-btn-outline-light {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,.45) !important;
    color: #ffffff !important;
}

.sas-edu a.sas-edu-btn-outline-light:hover,
.sas-edu a.sas-edu-btn-outline-light:focus {
    background: rgba(255,255,255,.08) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}


/* DARK OUTLINE CTA ON LIGHT BACKGROUND */

.sas-edu a.sas-edu-btn-outline-dark {
    background: transparent !important;
    border: 1px solid #c8c9c7 !important;
    color: #17202c !important;
}

.sas-edu a.sas-edu-btn-outline-dark:hover,
.sas-edu a.sas-edu-btn-outline-dark:focus {
    background: #f4f2ec !important;
    border-color: #d1a94f !important;
    color: #17202c !important;
}


/* Keep multiple hero buttons neatly aligned */

.sas-edu .sas-edu-btn-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}


/* Mobile */

@media (max-width: 600px) {

    .sas-edu .sas-edu-btn-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .sas-edu a.sas-edu-btn {
        width: 100% !important;
    }
}

/* SAS homepage mobile layout improvement */
@media (max-width: 650px) {

  .home .hero {
    padding: 46px 0 48px;
  }

  .home .hero-grid {
    gap: 28px;
  }

  .home .hero h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
  }

  .home .hero-lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .home .hero-actions {
    gap: 10px;
  }

  .home .hero-actions .btn {
    width: 100%;
    padding: 14px 16px;
    text-align: center;
  }

  .home .trust-strip {
    margin-top: 20px;
  }

  .home .hero-card {
    padding: 22px;
    border-radius: 20px;
  }

  .home .hero-card h2 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 9px 0 16px;
  }

  .home .mini-routes div {
    padding: 10px 12px;
  }

  .home .hero-card p {
    margin-top: 15px;
  }
}
