/* Quality Student Accommodation landing page */
.ucg-sa-page {
    --sa-ink: #17252f;
    --sa-muted: #63727c;
    --sa-paper: #ffffff;
    --sa-soft: #f5f8f6;
    --sa-line: #dfe8e3;
    --sa-orange: #ff3c00;
    --sa-gold: #ff9800;
    --sa-green: #176b57;
    --sa-dark: #10241f;
    color: var(--sa-ink);
    overflow: hidden;
}

.ucg-sa-page *,
.ucg-sa-page *::before,
.ucg-sa-page *::after {
    box-sizing: border-box;
}

.ucg-sa-page h1,
.ucg-sa-page h2,
.ucg-sa-page h3,
.ucg-sa-page p {
    margin-top: 0;
}

.ucg-sa-page h1,
.ucg-sa-page h2,
.ucg-sa-page h3 {
    color: var(--sa-ink);
}

.ucg-sa-page p {
    color: var(--sa-muted);
    line-height: 1.75;
}

.ucg-sa-wrap {
    width: min(1170px, calc(100% - 40px));
    margin-inline: auto;
}

.ucg-sa-section {
    padding: 105px 0;
}

.ucg-sa-section--soft {
    background: var(--sa-soft);
}

.ucg-sa-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: var(--sa-dark);
}

.ucg-sa-hero__image,
.ucg-sa-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ucg-sa-hero__image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.ucg-sa-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 27, 23, .94) 0%, rgba(8, 27, 23, .79) 39%, rgba(8, 27, 23, .18) 74%, rgba(8, 27, 23, .05) 100%),
        linear-gradient(0deg, rgba(8, 27, 23, .28), transparent 50%);
}

.ucg-sa-hero__content {
    padding-top: 82px;
    padding-bottom: 82px;
}

.ucg-sa-eyebrow,
.ucg-sa-kicker {
    margin-bottom: 16px;
    color: var(--sa-orange) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.ucg-sa-hero h1 {
    max-width: 860px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(45px, 5.8vw, 78px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.ucg-sa-hero__intro {
    max-width: 690px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .84) !important;
    font-size: 19px;
    line-height: 1.7 !important;
}

.ucg-sa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ucg-sa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.ucg-sa-button:hover {
    transform: translateY(-2px);
}

.ucg-sa-button--primary {
    background: linear-gradient(135deg, var(--sa-orange), var(--sa-gold));
    box-shadow: 0 12px 30px rgba(255, 60, 0, .26);
    color: #ffffff;
}

.ucg-sa-button--primary:hover,
.ucg-sa-button--primary:focus {
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(255, 60, 0, .36);
}

.ucg-sa-button--ghost {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.ucg-sa-button--ghost:hover,
.ucg-sa-button--ghost:focus {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--sa-ink);
}

.ucg-sa-pillars {
    background: #ffffff;
    border-bottom: 1px solid var(--sa-line);
}

.ucg-sa-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ucg-sa-pillars__grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 96px;
    border-right: 1px solid var(--sa-line);
    color: var(--sa-ink);
    font-weight: 700;
}

.ucg-sa-pillars__grid > div:first-child {
    border-left: 1px solid var(--sa-line);
}

.ucg-sa-pillars i {
    color: var(--sa-green);
    font-size: 25px;
}

.ucg-sa-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 92px);
}

.ucg-sa-copy h2,
.ucg-sa-heading h2,
.ucg-sa-community h2,
.ucg-sa-wellbeing h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.13;
    letter-spacing: -.025em;
}

.ucg-sa-lead {
    color: #3d4d56 !important;
    font-size: 18px;
}

.ucg-sa-checklist {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ucg-sa-checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--sa-ink);
    line-height: 1.55;
}

.ucg-sa-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sa-green);
    font-weight: 900;
}

.ucg-sa-image-card {
    position: relative;
    margin: 0;
}

.ucg-sa-image-card::before {
    content: "";
    position: absolute;
    inset: -14px 14px 14px -14px;
    z-index: -1;
    border: 1px solid rgba(23, 107, 87, .28);
    border-radius: 22px;
}

.ucg-sa-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.35;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(23, 37, 47, .16);
}

.ucg-sa-image-card figcaption {
    position: absolute;
    right: -24px;
    bottom: 26px;
    max-width: 340px;
    padding: 18px 22px;
    border-left: 4px solid var(--sa-orange);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(23, 37, 47, .16);
    color: var(--sa-ink);
    font-size: 14px;
    line-height: 1.55;
}

.ucg-sa-heading {
    max-width: 780px;
    margin: 0 auto 54px;
    text-align: center;
}

.ucg-sa-heading > p:last-child {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
}

.ucg-sa-heading--left {
    margin-left: 0;
    text-align: left;
}

.ucg-sa-heading--left > p:last-child {
    margin-left: 0;
}

.ucg-sa-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ucg-sa-features article {
    min-height: 270px;
    padding: 29px 24px;
    border: 1px solid var(--sa-line);
    border-radius: 14px;
    background: #ffffff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ucg-sa-features article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 107, 87, .38);
    box-shadow: 0 18px 40px rgba(23, 37, 47, .09);
}

.ucg-sa-features article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 21px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--sa-green), #289c7f);
    color: #ffffff;
    font-size: 25px;
}

.ucg-sa-features h3 {
    margin-bottom: 11px;
    font-size: 20px;
    line-height: 1.3;
}

.ucg-sa-features p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
}

.ucg-sa-options__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ucg-sa-options__grid article {
    position: relative;
    padding: 36px 30px 32px;
    overflow: hidden;
    border: 1px solid var(--sa-line);
    border-radius: 16px;
    background: #ffffff;
}

.ucg-sa-options__grid article::after {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -58px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    background: rgba(23, 107, 87, .07);
}

.ucg-sa-option-number {
    margin-bottom: 30px;
    color: var(--sa-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ucg-sa-options__grid article > i {
    margin-bottom: 20px;
    color: var(--sa-green);
    font-size: 42px;
}

.ucg-sa-options__grid h3 {
    margin-bottom: 12px;
    font-size: 25px;
}

.ucg-sa-options__grid p {
    font-size: 14px;
}

.ucg-sa-options__grid ul {
    display: grid;
    gap: 7px;
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--sa-line);
    list-style: none;
}

.ucg-sa-options__grid li {
    position: relative;
    padding-left: 20px;
    color: var(--sa-ink);
    font-size: 13px;
}

.ucg-sa-options__grid li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: var(--sa-orange);
}

.ucg-sa-community {
    padding: 0;
    background: var(--sa-dark);
}

.ucg-sa-community__grid {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
}

.ucg-sa-community figure {
    min-height: 650px;
    margin: 0;
}

.ucg-sa-community figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ucg-sa-community__copy {
    align-self: center;
    max-width: 620px;
    padding: 80px clamp(32px, 6vw, 90px);
}

.ucg-sa-community h2 {
    color: #ffffff;
}

.ucg-sa-community__copy > p:not(.ucg-sa-kicker) {
    color: rgba(255, 255, 255, .68);
}

.ucg-sa-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.ucg-sa-mini-grid > div {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.ucg-sa-mini-grid strong,
.ucg-sa-mini-grid span {
    display: block;
}

.ucg-sa-mini-grid strong {
    margin-bottom: 7px;
    color: #ffffff;
}

.ucg-sa-mini-grid span {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    line-height: 1.55;
}

.ucg-sa-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.ucg-sa-steps li {
    position: relative;
    padding: 0 22px;
    text-align: center;
}

.ucg-sa-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    left: calc(50% + 31px);
    width: calc(100% - 62px);
    height: 1px;
    background: var(--sa-line);
}

.ucg-sa-steps li > span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 22px;
    border: 1px solid rgba(23, 107, 87, .26);
    border-radius: 50%;
    background: var(--sa-soft);
    color: var(--sa-green);
    font-weight: 800;
}

.ucg-sa-steps h3 {
    min-height: 48px;
    margin-bottom: 10px;
    font-size: 18px;
}

.ucg-sa-steps p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.65;
}

.ucg-sa-wellbeing {
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 152, 0, .12), transparent 30%),
        var(--sa-soft);
}

.ucg-sa-wellbeing__grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: center;
    gap: clamp(48px, 7vw, 90px);
}

.ucg-sa-text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 14px;
    color: var(--sa-orange);
    font-weight: 800;
}

.ucg-sa-text-link:hover {
    color: var(--sa-ink);
}

.ucg-sa-wellbeing__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ucg-sa-wellbeing__cards article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 26px 23px;
    border: 1px solid var(--sa-line);
    border-radius: 14px;
    background: #ffffff;
}

.ucg-sa-wellbeing__cards i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(23, 107, 87, .1);
    color: var(--sa-green);
    font-size: 23px;
}

.ucg-sa-wellbeing__cards h3 {
    margin: 3px 0 8px;
    font-size: 18px;
}

.ucg-sa-wellbeing__cards p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
}

.ucg-sa-location__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ucg-sa-location__grid > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 15px;
    padding: 25px;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(23, 37, 47, .05);
}

.ucg-sa-location__grid i {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sa-orange), var(--sa-gold));
    color: #ffffff;
    font-size: 21px;
}

.ucg-sa-location__grid strong,
.ucg-sa-location__grid span {
    display: block;
}

.ucg-sa-location__grid strong {
    color: var(--sa-ink);
}

.ucg-sa-location__grid span {
    color: var(--sa-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ucg-sa-faq__layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: clamp(45px, 7vw, 90px);
}

.ucg-sa-faq .ucg-sa-heading {
    margin-bottom: 0;
}

.ucg-sa-faq__items {
    border-top: 1px solid var(--sa-line);
}

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

.ucg-sa-faq summary {
    position: relative;
    padding: 23px 42px 23px 0;
    color: var(--sa-ink);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
}

.ucg-sa-faq summary::-webkit-details-marker {
    display: none;
}

.ucg-sa-faq summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 4px;
    color: var(--sa-green);
    font-size: 25px;
    font-weight: 400;
}

.ucg-sa-faq details[open] summary::after {
    content: "−";
}

.ucg-sa-faq details p {
    margin: -4px 45px 23px 0;
}

.ucg-sa-cta {
    padding: 85px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 152, 0, .22), transparent 30%),
        linear-gradient(125deg, #0f5546, var(--sa-green));
}

.ucg-sa-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.ucg-sa-cta .ucg-sa-eyebrow {
    color: #ffc36b !important;
}

.ucg-sa-cta h2,
.ucg-sa-cta p {
    color: #ffffff;
}

.ucg-sa-cta h2 {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.14;
}

.ucg-sa-cta p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .76);
}

.ucg-sa-button--light {
    flex: 0 0 auto;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 20, 14, .2);
    color: var(--sa-green);
}

.ucg-sa-button--light:hover,
.ucg-sa-button--light:focus {
    background: var(--sa-orange);
    color: #ffffff;
}

@media (max-width: 1050px) {
    .ucg-sa-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ucg-sa-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 0;
    }

    .ucg-sa-steps li:nth-child(3)::after {
        display: none;
    }

    .ucg-sa-location__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ucg-sa-section {
        padding: 78px 0;
    }

    .ucg-sa-hero {
        min-height: 650px;
    }

    .ucg-sa-hero__shade {
        background: linear-gradient(90deg, rgba(8, 27, 23, .91), rgba(8, 27, 23, .55));
    }

    .ucg-sa-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ucg-sa-pillars__grid > div {
        border-bottom: 1px solid var(--sa-line);
    }

    .ucg-sa-split,
    .ucg-sa-wellbeing__grid,
    .ucg-sa-faq__layout {
        grid-template-columns: 1fr;
    }

    .ucg-sa-image-card {
        width: calc(100% - 18px);
        max-width: 650px;
        margin-inline: auto;
    }

    .ucg-sa-image-card img {
        aspect-ratio: 16 / 11;
    }

    .ucg-sa-image-card figcaption {
        right: -18px;
    }

    .ucg-sa-options__grid {
        grid-template-columns: 1fr;
    }

    .ucg-sa-community__grid {
        grid-template-columns: 1fr;
    }

    .ucg-sa-community figure {
        min-height: 460px;
    }

    .ucg-sa-community__copy {
        max-width: none;
        padding: 70px max(20px, calc((100vw - 740px) / 2));
    }

    .ucg-sa-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .ucg-sa-wrap {
        width: min(100% - 28px, 1170px);
    }

    .ucg-sa-section {
        padding: 64px 0;
    }

    .ucg-sa-hero {
        min-height: 690px;
    }

    .ucg-sa-hero__image {
        object-position: 67% center;
    }

    .ucg-sa-hero__shade {
        background: rgba(8, 27, 23, .74);
    }

    .ucg-sa-hero__content {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .ucg-sa-hero h1 {
        font-size: 41px;
    }

    .ucg-sa-hero__intro {
        font-size: 17px;
    }

    .ucg-sa-actions,
    .ucg-sa-button {
        width: 100%;
    }

    .ucg-sa-pillars__grid > div {
        min-height: 78px;
        font-size: 14px;
    }

    .ucg-sa-copy h2,
    .ucg-sa-heading h2,
    .ucg-sa-community h2,
    .ucg-sa-wellbeing h2 {
        font-size: 34px;
    }

    .ucg-sa-features,
    .ucg-sa-steps,
    .ucg-sa-wellbeing__cards,
    .ucg-sa-location__grid,
    .ucg-sa-mini-grid {
        grid-template-columns: 1fr;
    }

    .ucg-sa-features article {
        min-height: 0;
    }

    .ucg-sa-steps {
        gap: 0;
    }

    .ucg-sa-steps li {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 15px;
        padding: 20px 0;
        text-align: left;
    }

    .ucg-sa-steps li:not(:last-child)::after {
        top: 68px;
        left: 24px;
        width: 1px;
        height: calc(100% - 48px);
    }

    .ucg-sa-steps li > span {
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .ucg-sa-steps h3 {
        min-height: 0;
        margin-top: 2px;
    }

    .ucg-sa-image-card figcaption {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin: -8px 12px 0;
    }

    .ucg-sa-community figure {
        min-height: 350px;
    }

    .ucg-sa-community__copy {
        padding: 62px 20px;
    }

    .ucg-sa-cta {
        padding: 64px 0;
    }
}
