/*
 * StudentRoomBooking 2.0
 * Shared editorial brand foundation
 * Step 32C-2
 *
 * Brand artwork remains independent of this stylesheet.
 * Component-level alignment follows in Step 32C-3.
 */

:root {

    /* Approved identity colours */

    --srb-brand-terracotta: #BD5428;
    --srb-brand-charcoal: #211B17;
    --srb-brand-ivory: #FAF6EF;
    --srb-brand-clay: #E5B99F;

    /* Accessible action colours */

    --srb-action: #A94724;
    --srb-action-hover: #87371B;
    --srb-action-active: #713019;
    --srb-action-text: #FFFFFF;

    /* Editorial text colours */

    --srb-text: #211B17;
    --srb-text-muted: #62564E;
    --srb-text-subtle: #75675D;
    --srb-text-inverse: #FFFFFF;
    --srb-text-on-dark: #E5D9CF;

    /* Warm neutral surfaces */

    --srb-surface: #FFFFFF;
    --srb-surface-warm: #FAF6EF;
    --srb-surface-soft: #F5EDE4;
    --srb-surface-clay: #F6E5D9;
    --srb-surface-dark: #211B17;
    --srb-surface-dark-raised: #382C25;

    /* Borders and interactive states */

    --srb-border: #DDD2C6;
    --srb-border-strong: #A89A8D;
    --srb-focus: #A94724;
    --srb-focus-on-dark: #E5B99F;
    --srb-selected-background: #F6E5D9;
    --srb-selected-text: #713019;

    /* Functional feedback colours */

    --srb-success: #24613D;
    --srb-success-background: #EDF7EF;
    --srb-error: #A52828;
    --srb-error-background: #FFF0F0;
    --srb-warning: #795117;
    --srb-warning-background: #FFF4DA;

    /* Typography */

    --srb-font-editorial:
        Georgia, Cambria, "Times New Roman", serif;

    --srb-font-body:
        system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Arial, sans-serif;

    --srb-weight-body: 400;
    --srb-weight-medium: 500;
    --srb-weight-semibold: 600;
    --srb-weight-bold: 700;
    --srb-weight-editorial: 400;

    /* Restrained visual depth */

    --srb-shadow-soft:
        0 8px 28px rgba(33, 27, 23, .07);

    --srb-shadow-raised:
        0 16px 44px rgba(33, 27, 23, .11);
}

/*
 * Common document typography only.
 * Existing explicit component typography remains intact.
 */

body {
    font-family: var(--srb-font-body);
}

/*
 * Reusable editorial utilities.
 * No automatic changes to heading dimensions,
 * form controls, cards or page layout.
 */

.srb-editorial-heading {
    font-family: var(--srb-font-editorial);
    font-weight: var(--srb-weight-editorial);
}

.srb-editorial-body {
    font-family: var(--srb-font-body);
}


/* ==================================================
   STEP 32C-3A: SHARED COMPONENT ALIGNMENT

   Navigation, unified search, footer and enhanced
   selection controls.

   No changes to layout dimensions, display properties,
   responsive breakpoints or component behaviour.
   ================================================== */


/* --------------------------------------------------
   A. Shared site navigation
   -------------------------------------------------- */

body .srb-site-header {
    background: var(--srb-surface-warm);
    color: var(--srb-text);
    font-family: var(--srb-font-body);
    box-shadow: 0 3px 16px rgba(33, 27, 23, .055);
}

body .srb-site-header a:focus-visible,
body .srb-site-header button:focus-visible {
    outline-color: var(--srb-focus);
}

body .srb-site-header .srb-unified-search,
body .srb-unified-search {
    background: var(--srb-surface);
    color: var(--srb-text);
    border-color: var(--srb-border);
}

body .srb-unified-input-row svg {
    color: var(--srb-text-muted);
}

body .srb-unified-search input[type="search"] {
    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srb-unified-search input::placeholder {
    color: var(--srb-text-subtle);
}

body .srb-unified-search:focus-within {
    border-color: var(--srb-focus);
    box-shadow: 0 0 0 3px rgba(169, 71, 36, .12);
}

body .srb-unified-search .srb-unified-submit {
    background: var(--srb-action);
    color: var(--srb-action-text);
    font-weight: var(--srb-weight-semibold);
}

body .srb-unified-search .srb-unified-submit:hover {
    background: var(--srb-action-hover);
}

body .srb-unified-search .srb-unified-submit:active {
    background: var(--srb-action-active);
}

body .srb-search-hero {
    box-shadow: var(--srb-shadow-raised);
}


/* --------------------------------------------------
   B. Unified search suggestions
   -------------------------------------------------- */

body .srb-floating-search {
    background: var(--srb-surface);
    color: var(--srb-text);
    border-color: var(--srb-border);
    box-shadow: var(--srb-shadow-raised);
    font-family: var(--srb-font-body);
}

body .srb-floating-search .srb-search-group {
    color: var(--srb-text-muted);
    font-weight: var(--srb-weight-semibold);
}

body .srb-floating-search .srb-search-option:hover,
body .srb-floating-search
    .srb-search-option[aria-selected="true"] {
    background: var(--srb-selected-background);
}

body .srb-floating-search .srb-search-icon {
    background: var(--srb-surface-soft);
    color: var(--srb-text-muted);
}

body .srb-floating-search .srb-search-name {
    color: var(--srb-text);
    font-weight: var(--srb-weight-semibold);
}

body .srb-floating-search .srb-search-location,
body .srb-floating-search .srb-search-empty {
    color: var(--srb-text-muted);
}


/* --------------------------------------------------
   C. Premium global footer

   Preserve the approved ivory logo presentation.
   Higher-specificity component rules accommodate
   the existing footer styles emitted in the body.
   -------------------------------------------------- */

body .srb-global-footer {
    --footer-bg: var(--srb-surface-dark);
    --footer-panel: var(--srb-surface-dark-raised);
    --footer-text: var(--srb-text-on-dark);
    --footer-accent: var(--srb-brand-clay);
    --footer-line: rgba(229, 185, 159, .23);

    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--srb-font-body);
}

body .srb-global-footer a:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}

body .srb-global-footer .srb-footer-cta {
    border-color: rgba(229, 185, 159, .22);
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(229, 185, 159, .13),
            transparent 48%
        ),
        var(--footer-panel);
}

body .srb-global-footer .srb-footer-kicker {
    color: var(--footer-accent);
    font-weight: var(--srb-weight-semibold);
}

body .srb-global-footer .srb-footer-cta h2,
body .srb-global-footer
    .srb-footer-destination-intro h2,
body .srb-global-footer .srb-footer-provider h2 {
    font-family: var(--srb-font-editorial);
    font-weight: var(--srb-weight-editorial);
    letter-spacing: -.02em;
    color: var(--srb-brand-ivory);
}

body .srb-global-footer .srb-footer-cta p {
    color: var(--footer-text);
}

body .srb-global-footer .srb-footer-cta-button {
    background: var(--srb-brand-clay);
    /* Existing CTA text colour uses !important. */
    color: var(--srb-brand-charcoal) !important;
    font-weight: var(--srb-weight-semibold);
}

body .srb-global-footer .srb-footer-cta-button:hover {
    background: var(--srb-brand-ivory);
}

body .srb-global-footer .srb-footer-brand-description {
    color: var(--footer-text);
}

body .srb-global-footer .srb-footer-international,
body .srb-global-footer .srb-footer-destination-note,
body .srb-global-footer .srb-footer-preview {
    color: var(--footer-text);
}

body .srb-global-footer
    .srb-footer-international svg {
    color: var(--footer-accent);
}

body .srb-global-footer .srb-footer-column h2 {
    color: var(--srb-brand-ivory);
    font-weight: var(--srb-weight-semibold);
}

body .srb-global-footer
    .srb-footer-destination-group h2 {
    color: var(--footer-accent);
    font-weight: var(--srb-weight-semibold);
}

body .srb-global-footer .srb-footer-column nav a,
body .srb-global-footer
    .srb-footer-destination-group nav a,
body .srb-global-footer .srb-footer-legal a {
    color: var(--footer-text);
}

body .srb-global-footer
    .srb-footer-column nav a:hover,
body .srb-global-footer
    .srb-footer-destination-group nav a:hover,
body .srb-global-footer .srb-footer-legal a:hover,
body .srb-global-footer .srb-footer-bottom a:hover {
    color: var(--srb-brand-ivory);
}

body .srb-global-footer .srb-footer-provider a {
    border-color: rgba(229, 185, 159, .45);
    color: var(--srb-brand-ivory);
    font-weight: var(--srb-weight-semibold);
}

body .srb-global-footer .srb-footer-provider a:hover {
    border-color: var(--footer-accent);
    color: var(--footer-accent);
}

body .srb-global-footer .srb-footer-bottom {
    color: var(--footer-text);
}


/* --------------------------------------------------
   D. Enhanced frontend selection controls

   Preserve existing dimensions, accessibility
   attributes, native fallback and JavaScript.
   -------------------------------------------------- */

body .srb-select,
body .srb-autocomplete {
    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srb-select .srb-select-trigger {
    background: var(--srb-surface);
    color: var(--srb-text);
    border-color: var(--srb-border-strong);
}

body .srb-select .srb-select-trigger:hover {
    border-color: var(--srb-text-muted);
}

body .srb-select-trigger:focus-visible,
body .srb-select-option:focus-visible,
body .srb-choice:focus-visible {
    outline-color: var(--srb-focus);
}

body .srb-select
    .srb-select-trigger[aria-expanded="true"] {
    border-color: var(--srb-focus);
    box-shadow: 0 0 0 3px rgba(169, 71, 36, .12);
}

body .srb-select-popup {
    background: var(--srb-surface);
    border-color: var(--srb-border);
    box-shadow: var(--srb-shadow-raised);
}

body .srb-select .srb-select-search,
body .srb-autocomplete .srb-select-search {
    background: var(--srb-surface-warm);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
}

body .srb-select .srb-select-option,
body .srb-autocomplete .srb-select-option {
    background: var(--srb-surface);
    color: var(--srb-text);
}

body .srb-select-option:hover,
body .srb-select-option:focus {
    /* Existing selection CSS uses !important. */
    background: var(--srb-surface-soft) !important;
}

body .srb-select-option[aria-selected="true"] {
    background: var(--srb-selected-background) !important;
    color: var(--srb-selected-text);
    font-weight: var(--srb-weight-semibold);
}

body .srb-select-option[aria-selected="true"]::after {
    color: var(--srb-selected-text);
}

body .srb-select-empty {
    color: var(--srb-text-muted);
}

body .srb-select .srb-choice {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
}

body .srb-select .srb-choice[aria-pressed="true"] {
    background: var(--srb-selected-background);
    border-color: var(--srb-focus);
    color: var(--srb-selected-text);
    font-weight: var(--srb-weight-semibold);
}

body .srb-select-error {
    color: var(--srb-error);
}

/* END STEP 32C-3A */


/* ==================================================
   STEP 32C-3B: CORE ACCOMMODATION ALIGNMENT

   Page-specific colours and editorial typography.
   Existing layouts and functionality are preserved.
   ================================================== */


/* A. Homepage */

body.srb-brand-home {
    --ink: var(--srb-text);
    --purple: var(--srb-surface-dark);
    --pink: var(--srb-action);
    --orange: var(--srb-brand-clay);
    --yellow: var(--srb-surface-clay);
    --cream: var(--srb-surface-warm);
    --blue: var(--srb-surface-soft);
    --line: var(--srb-border);
    --shadow: var(--srb-shadow-raised);

    background-color: var(--srb-surface-warm);
    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body.srb-brand-home .hero {
    background:
        linear-gradient(
            135deg,
            #FAF6EF 0%,
            #F5EDE4 45%,
            #E5B99F 100%
        );
    color: var(--srb-text);
    box-shadow: var(--srb-shadow-raised);
}

body.srb-brand-home .hero h1 {
    color: var(--srb-text);
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.035em;
}

body.srb-brand-home .hero h1 .serif {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    color: var(--srb-action);
}

body.srb-brand-home .hero .summary {
    color: var(--srb-text-muted);
    font-weight: 500;
}

body.srb-brand-home .hero-tags span {
    background: rgba(255,255,255,.78);
    border-color: var(--srb-border);
    color: var(--srb-text);
    font-weight: 600;
}

body.srb-brand-home .search-panel {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    box-shadow: var(--srb-shadow-raised);
}

body.srb-brand-home .search-panel .field input,
body.srb-brand-home .search-panel .field select {
    color: var(--srb-text);
    font-weight: 500;
    font-family: var(--srb-font-body);
}

body.srb-brand-home .field input::placeholder {
    color: var(--srb-text-subtle);
    font-weight: 400;
}

body.srb-brand-home .go {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
    box-shadow: 0 4px 0 var(--srb-action-hover);
}

body.srb-brand-home .go:hover {
    background: var(--srb-action-hover);
}

body.srb-brand-home .go:active {
    background: var(--srb-action-active);
    box-shadow: 0 2px 0 var(--srb-action-active);
}

body.srb-brand-home .city-pill {
    color: var(--srb-text);
    border-color: var(--srb-border);
    background: var(--srb-surface);
    font-weight: 600;
}

body.srb-brand-home .city-pill.active {
    background: var(--srb-surface-dark);
    border-color: var(--srb-surface-dark);
    color: white;
    box-shadow: var(--srb-shadow-soft);
}

body.srb-brand-home .result-card {
    background: var(--srb-surface);
    border-color: var(--srb-border);
    box-shadow: var(--srb-shadow-soft);
}

body.srb-brand-home .result-btn {
    background: var(--srb-surface-clay);
    color: var(--srb-selected-text);
    font-weight: 650;
}

body.srb-brand-home .result-btn:hover {
    background: var(--srb-action);
    color: white;
}

body.srb-brand-home main h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body.srb-brand-home .side-card:after {
    background:
        linear-gradient(
            0deg,
            rgba(33,27,23,.88),
            transparent
        );
}

body.srb-brand-home .side-card h4 {
    color: white;
    font-weight: 650;
}

body.srb-brand-home .side-card p {
    color: white;
    font-weight: 500;
}

body.srb-brand-home .modal {
    background: var(--srb-surface-warm);
    box-shadow: var(--srb-shadow-raised);
}

body.srb-brand-home .modal-close {
    background: var(--srb-surface);
    color: var(--srb-text);
}

body.srb-brand-home .hero :focus-visible,
body.srb-brand-home .search-panel :focus-visible,
body.srb-brand-home .city-pill:focus-visible,
body.srb-brand-home .result-btn:focus-visible {
    outline-color: var(--srb-focus);
}


/* B. Property search results */

body.srb-brand-results {
    background-color: var(--srb-surface-warm);
    color: var(--srb-text);
}

body.srb-brand-results .srb-results h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    color: var(--srb-text);
    letter-spacing: -.025em;
}

body.srb-brand-results .srb-results .breadcrumbs,
body.srb-brand-results .srb-results .filter-empty,
body.srb-brand-results .srb-results .card-location,
body.srb-brand-results .srb-results .card-facilities {
    color: var(--srb-text-muted);
}

body.srb-brand-results .srb-results .filters {
    border-color: var(--srb-border);
    background: var(--srb-surface);
}

body.srb-brand-results
    .srb-results .filters[data-collapsed="true"] {
    background: transparent;
}

body.srb-brand-results
    .srb-results .sort-option input:checked+span {
    background: var(--srb-selected-background);
    border-color: var(--srb-action);
    color: var(--srb-selected-text);
}

body.srb-brand-results
    .srb-results .sort-option input:focus-visible+span {
    outline-color: var(--srb-focus);
}

body.srb-brand-results .srb-results .property-card {
    background: var(--srb-surface);
    border-color: var(--srb-border);
    box-shadow: var(--srb-shadow-soft);
}

body.srb-brand-results .srb-results .property-card h2,
body.srb-brand-results .srb-results .property-card h3 {
    color: var(--srb-text);
    font-weight: 650;
}

body.srb-brand-results .srb-results .pagination a,
body.srb-brand-results .srb-results .pagination span {
    border-color: var(--srb-border);
    background: var(--srb-surface);
}

body.srb-brand-results
    .srb-results .pagination .current {
    background: var(--srb-action);
    border-color: var(--srb-action);
    color: white;
}

body.srb-brand-results .srb-results .mobile-filter {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
    font-weight: 600;
}

body.srb-brand-results
    .srb-results .mobile-filter-count {
    background: var(--srb-action);
    color: white;
}


/* C. Property and room details */

body.srb-brand-property,
body.srb-brand-room {
    --ink: var(--srb-text);
    --muted: var(--srb-text-muted);
    --sun: var(--srb-surface-clay);
    --gold: var(--srb-brand-clay);
    --paper: var(--srb-surface-warm);
    --line: var(--srb-border);
    --green: var(--srb-surface-dark);

    background-color: var(--srb-surface-warm);
    color: var(--srb-text);
}

body.srb-brand-property main h1,
body.srb-brand-room main h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    color: var(--srb-text);
    letter-spacing: -.025em;
}

body.srb-brand-property main h2,
body.srb-brand-room main h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.02em;
}

body.srb-brand-property .breadcrumb,
body.srb-brand-property .srb-property-address {
    color: var(--srb-text-muted);
}

body.srb-brand-property .room-button {
    background: var(--srb-surface-dark);
    color: white;
    font-weight: 650;
}

body.srb-brand-property .room-button:hover {
    background: var(--srb-surface-dark-raised);
}

body.srb-brand-property .room-button.book {
    background: var(--srb-action);
    color: white;
}

body.srb-brand-property .room-button.book:hover {
    background: var(--srb-action-hover);
}

body.srb-brand-property .room-request button,
body.srb-brand-room .request-form button {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
}

body.srb-brand-property .room-request button:hover,
body.srb-brand-room .request-form button:hover {
    background: var(--srb-action-hover);
}

body.srb-brand-property .room-request input,
body.srb-brand-property .room-request textarea,
body.srb-brand-room .request-form input,
body.srb-brand-room .request-form textarea {
    border-color: var(--srb-border-strong);
    background: var(--srb-surface);
    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body.srb-brand-property .srb-room-card {
    background: var(--srb-surface);
    border-color: var(--srb-border);
    box-shadow: var(--srb-shadow-soft);
}

body.srb-brand-property .srb-room-card:hover {
    box-shadow: var(--srb-shadow-raised);
}

body.srb-brand-property .srb-card-label {
    color: var(--srb-text-muted);
    font-weight: 650;
}

body.srb-brand-property .srb-card-chip {
    background: var(--srb-surface-soft);
    border-color: var(--srb-border);
    color: var(--srb-text);
    font-weight: 600;
}

body.srb-brand-property .srb-card-more,
body.srb-brand-property .srb-card-compact,
body.srb-brand-property .srb-room-card .srb-room-snippet {
    color: var(--srb-text-muted);
}

body.srb-brand-property .srb-room-batches-button {
    background: var(--srb-surface-dark);
    color: white;
}

body.srb-brand-property .srb-room-batches-button:hover {
    background: var(--srb-surface-dark-raised);
}

body.srb-brand-property .srb-flexible-badge,
body.srb-brand-room .srb-flexible-badge {
    background: var(--srb-surface-clay);
    color: var(--srb-selected-text);
    border-color: var(--srb-brand-clay);
    font-weight: 600;
}

body.srb-brand-property .srb-university-select,
body.srb-brand-property .srb-university-actions a,
body.srb-brand-property .srb-university-actions button {
    border-color: var(--srb-border-strong);
    background: var(--srb-surface);
    color: var(--srb-text);
}

body.srb-brand-property .room-button:focus-visible,
body.srb-brand-property .room-request :focus-visible,
body.srb-brand-room .request-form :focus-visible,
body.srb-brand-property .srb-view-room:focus-visible,
body.srb-brand-property .srb-room-batches-button:focus-visible,
body.srb-brand-property .srb-gallery-tile:focus-visible,
body.srb-brand-room .srb-gallery-tile:focus-visible {
    outline-color: var(--srb-focus);
}

body.srb-brand-property .srb-photo-dialog-nav,
body.srb-brand-room .srb-photo-dialog-nav {
    background: var(--srb-surface-dark);
    color: white;
}

body.srb-brand-property .srb-photo-dialog button:focus-visible,
body.srb-brand-room .srb-photo-dialog button:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}


/* D. Booking enquiry */

body.srb-brand-booking {
    background-color: var(--srb-surface-warm);
    color: var(--srb-text);
}

body.srb-brand-booking .hero {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body.srb-brand-booking .hero h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body.srb-brand-booking .hero p {
    color: var(--srb-text-on-dark);
}

body.srb-brand-booking main h2,
body.srb-brand-booking form h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
}

body.srb-brand-booking form
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.srb-brand-booking form select,
body.srb-brand-booking form textarea {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body.srb-brand-booking form input:focus-visible,
body.srb-brand-booking form select:focus-visible,
body.srb-brand-booking form textarea:focus-visible {
    outline-color: var(--srb-focus);
}

body.srb-brand-booking form button[type="submit"] {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
}

body.srb-brand-booking form button[type="submit"]:hover {
    background: var(--srb-action-hover);
}

body.srb-brand-booking form button[type="submit"]:focus-visible {
    outline-color: var(--srb-focus);
}

/* END STEP 32C-3B */


/* ==================================================
   STEP 32C-3C: SUPPORTING PAGES AND RESOURCES

   Premium editorial colour and typography alignment.
   Existing content, layout and behaviour retained.
   ================================================== */


/* --------------------------------------------------
   A. Contact and customer assistance
   -------------------------------------------------- */

body .srb-contact-centre {
    --contact-ink: var(--srb-text);
    --contact-muted: var(--srb-text-muted);
    --contact-green: var(--srb-action);
    --contact-line: var(--srb-border);
    --contact-soft: var(--srb-surface-soft);

    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srb-contact-centre .srb-contact-hero {
    background: var(--srb-surface-warm);
}

body .srb-contact-centre .srb-contact-hero-panel {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srb-contact-centre .srb-contact-hero-panel p {
    color: var(--srb-text-on-dark);
}

body .srb-contact-centre .srb-contact-hero h1,
body .srb-contact-centre .srb-contact-heading h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srb-contact-centre .srb-contact-fields input[type="text"],
body .srb-contact-centre .srb-contact-fields input[type="email"],
body .srb-contact-centre .srb-contact-fields input[type="tel"],
body .srb-contact-centre .srb-contact-fields textarea {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
}

body .srb-contact-centre .srb-contact-fields input::placeholder,
body .srb-contact-centre .srb-contact-fields textarea::placeholder {
    color: var(--srb-text-subtle);
}

body .srb-contact-centre .srb-contact-side-card {
    background: var(--srb-surface-soft);
}

body .srb-contact-centre .srb-contact-side-card.white {
    background: var(--srb-surface);
    border-color: var(--srb-border);
}

body .srb-contact-centre .srb-contact-side-card a {
    color: var(--srb-action);
    font-weight: 650;
}

body .srb-contact-centre .srb-contact-button {
    background: var(--srb-brand-clay);
    color: var(--srb-text);
    font-weight: 650;
}

body .srb-contact-centre .srb-contact-button:hover {
    background: var(--srb-surface-clay);
}

body .srb-contact-centre .srb-contact-send {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
}

body .srb-contact-centre .srb-contact-send:hover {
    background: var(--srb-action-hover);
}

body .srb-contact-centre .srb-contact-option:has(input:checked) {
    background: var(--srb-selected-background);
    border-color: var(--srb-action);
    color: var(--srb-selected-text);
}

body .srb-contact-centre .srb-contact-option:focus-within,
body .srb-contact-centre .srb-contact-fields input:focus,
body .srb-contact-centre .srb-contact-fields textarea:focus,
body .srb-contact-centre a:focus-visible,
body .srb-contact-centre .srb-contact-send:focus-visible {
    outline-color: var(--srb-focus);
}

body .srb-contact-centre .srb-contact-hero-panel a:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}


/* --------------------------------------------------
   B. Frequently Asked Questions
   -------------------------------------------------- */

body .srb-faq-centre {
    --faq-ink: var(--srb-text);
    --faq-muted: var(--srb-text-muted);
    --faq-green: var(--srb-action);
    --faq-border: var(--srb-border);

    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srb-faq-centre .srb-faq-hero {
    background: var(--srb-surface-warm);
}

body .srb-faq-centre .srb-faq-hero h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srb-faq-centre .srb-faq-search {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    box-shadow: var(--srb-shadow-soft);
}

body .srb-faq-centre .srb-faq-search:focus-within {
    outline-color: var(--srb-focus);
}

body .srb-faq-centre .srb-faq-search-icon {
    color: var(--srb-action);
}

body .srb-faq-centre .srb-faq-suggestions button {
    background: var(--srb-surface);
    color: var(--srb-selected-text);
    border-color: var(--srb-border);
}

body .srb-faq-centre .srb-faq-suggestions button:hover {
    background: var(--srb-selected-background);
    border-color: var(--srb-action);
}

body .srb-faq-centre button:focus-visible,
body .srb-faq-centre summary:focus-visible,
body .srb-faq-centre a:focus-visible {
    outline-color: var(--srb-focus);
}


/* --------------------------------------------------
   C. Legal pages
   -------------------------------------------------- */

body .srb-legal {
    --legal-ink: var(--srb-text);
    --legal-muted: var(--srb-text-muted);
    --legal-green: var(--srb-action);
    --legal-line: var(--srb-border);

    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srb-legal .srb-legal-hero {
    background: var(--srb-surface-warm);
}

body .srb-legal .srb-legal-hero h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srb-legal .srb-legal-nav a {
    color: var(--srb-text-muted);
}

body .srb-legal .srb-legal-nav a:hover {
    background: var(--srb-surface-soft);
    color: var(--srb-action);
}

body .srb-legal .srb-legal-nav a span {
    color: var(--srb-action);
}

body .srb-legal a:focus-visible,
body .srb-legal summary:focus-visible {
    outline-color: var(--srb-focus);
}


/* --------------------------------------------------
   D. Accommodation provider page
   -------------------------------------------------- */

body .srp-page {
    --srp-dark: var(--srb-surface-dark);
    --srp-ink: var(--srb-text);
    --srp-teal: var(--srb-action);
    --srp-muted: var(--srb-text-muted);
    --srp-mint: var(--srb-surface-soft);
    --srp-line: var(--srb-border);

    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srp-page .srp-hero {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srp-page .srp-breadcrumb,
body .srp-page .srp-breadcrumb a,
body .srp-page .srp-hero-copy>p,
body .srp-page .srp-hero-note {
    color: var(--srb-text-on-dark);
}

body .srp-page .srp-hero .srp-kicker,
body .srp-page .srp-final .srp-kicker {
    color: var(--srb-brand-clay);
}

body .srp-page .srp-hero h1,
body .srp-page .srp-final h2,
body .srp-page .srp-form-card h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srp-page .srp-button {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
}

body .srp-page .srp-button:hover {
    background: var(--srb-action-hover);
}

body .srp-page .srp-button-light {
    background: var(--srb-brand-clay);
    color: var(--srb-text);
}

body .srp-page .srp-button-light:hover {
    background: var(--srb-brand-ivory);
    color: var(--srb-text);
}

body .srp-page .srp-hero-visual {
    background: var(--srb-surface-soft);
}

body .srp-page .srp-hero-visual .srp-visual-caption {
    background: rgba(33,27,23,.91);
    color: white;
}

body .srp-page .srp-form-card {
    background: var(--srb-surface);
    border-color: var(--srb-border);
    box-shadow: var(--srb-shadow-soft);
}

body .srp-page .srp-field>input,
body .srp-page .srp-field>select,
body .srp-page .srp-field>textarea,
body .srp-page .srp-phone-field .srb-phone-row>input {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
}

body .srp-page .srp-field input::placeholder,
body .srp-page .srp-field textarea::placeholder {
    color: var(--srb-text-subtle);
}

body .srp-page .srp-field>input:focus,
body .srp-page .srp-field>select:focus,
body .srp-page .srp-field>textarea:focus {
    border-color: var(--srb-focus);
    outline-color: var(--srb-focus);
}

body .srp-page a:focus-visible,
body .srp-page summary:focus-visible,
body .srp-page .srp-button:focus-visible {
    outline-color: var(--srb-focus);
}

body .srp-page .srp-hero a:focus-visible,
body .srp-page .srp-final a:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}


/* --------------------------------------------------
   E. Student Support Services
   -------------------------------------------------- */

body .srs-page {
    --ink: var(--srb-text);
    --muted: var(--srb-text-muted);
    --line: var(--srb-border);
    --lime: var(--srb-brand-clay);

    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srs-page .srs-hero {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srs-page .srs-hero h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
    color: var(--srb-brand-ivory);
}

body .srs-page .srs-hero p,
body .srs-page .srs-hero-caption {
    color: var(--srb-text-on-dark);
}

body .srs-page .srs-hero .srs-kicker,
body .srs-page .srs-assistance .srs-kicker {
    color: var(--srb-brand-clay);
}

body .srs-page .srs-heading h2,
body .srs-page .srs-intro h2,
body .srs-page .srs-reassurance h2,
body .srs-page .srs-final h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srs-page .srs-selection-bar {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srs-page .srs-selection-bar small {
    color: var(--srb-text-on-dark);
}

body .srs-page .srs-selection-bar a {
    color: var(--srb-brand-clay);
}

body .srs-page .srs-option:hover,
body .srs-page .srs-option.is-selected,
body .srs-page .srs-option:has(input:checked) {
    background: var(--srb-selected-background);
    border-color: var(--srb-action);
}

body .srs-page .srs-form-card {
    background: var(--srb-surface);
    color: var(--srb-text);
    box-shadow: var(--srb-shadow-raised);
}

body .srs-page .srs-form-card input:not([type="checkbox"]):not([type="hidden"]),
body .srs-page .srs-form-card select,
body .srs-page .srs-form-card textarea {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srs-page .srs-form-card input::placeholder,
body .srs-page .srs-form-card textarea::placeholder {
    color: var(--srb-text-subtle);
}

body .srs-page .srs-fields>label,
body .srs-page .srs-field-heading {
    color: var(--srb-text);
    font-weight: 650;
}

body .srs-page .srs-field-heading small {
    color: var(--srb-text-muted);
}

body .srs-page .srs-country-field button[aria-expanded],
body .srs-page .srs-phone-code button[aria-expanded] {
    border-color: var(--srb-border-strong);
    font-family: var(--srb-font-body);
}

body .srs-page .srs-form-card button[type="submit"] {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
}

body .srs-page .srs-form-card button[type="submit"]:hover {
    background: var(--srb-action-hover);
}

body .srs-page :is(input,textarea,select,button,a):focus-visible {
    outline-color: var(--srb-focus);
}

body .srs-page .srs-hero a:focus-visible,
body .srs-page .srs-selection-bar a:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}


/* --------------------------------------------------
   F. General premium supporting pages
   -------------------------------------------------- */

body .srb-p-hero,
body .srb-p-card,
body .srb-p-final {
    --premium-ink: var(--srb-text);
    --premium-muted: var(--srb-text-muted);
    --premium-green: var(--srb-action);
    --premium-mint: var(--srb-surface-soft);
    --premium-line: var(--srb-border);
}

body .srb-p-hero {
    background: var(--srb-surface-warm);
    color: var(--srb-text);
}

body .srb-p-hero h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srb-p-breadcrumb {
    color: var(--srb-text-muted);
}

body .srb-p-breadcrumb a {
    color: var(--srb-action);
}

body .srb-p-button {
    background: var(--srb-action);
    border-color: var(--srb-action);
    color: white;
    font-weight: 650;
}

body .srb-p-button:hover {
    background: var(--srb-action-hover);
    border-color: var(--srb-action-hover);
    color: white;
}

body .srb-p-button.secondary {
    background: transparent;
    border-color: var(--srb-border-strong);
    color: var(--srb-text);
}

body .srb-p-button.secondary:hover {
    background: var(--srb-surface-soft);
    border-color: var(--srb-action);
    color: var(--srb-action);
}

body .srb-p-button:focus-visible {
    outline-color: var(--srb-focus);
}

body .srb-p-hero-art {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srb-p-card {
    background: var(--srb-surface);
    border-color: var(--srb-border);
}

body .srb-p-final {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srb-p-final h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    color: var(--srb-brand-ivory);
}

body .srb-p-final p {
    color: var(--srb-text-on-dark);
}

body .srb-p-final .srb-p-button {
    background: var(--srb-brand-clay);
    color: var(--srb-text);
    border-color: var(--srb-brand-clay);
}

body .srb-p-final .srb-p-button:hover {
    background: var(--srb-brand-ivory);
    border-color: var(--srb-brand-ivory);
}

body .srb-p-final .srb-p-button:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}


/* --------------------------------------------------
   G. Student Resources landing and detail pages
   -------------------------------------------------- */

body .srb-resources,
body .srb-resource-detail {
    --res-teal: var(--srb-action);
    --res-dark: var(--srb-surface-dark);
    --res-text: var(--srb-text);
    --res-muted: var(--srb-text-muted);
    --res-line: var(--srb-border);
    --res-pale: var(--srb-surface-warm);

    color: var(--srb-text);
    font-family: var(--srb-font-body);
}

body .srb-resources .res-hero,
body .srb-resource-detail .res-detail-hero {
    background:
        linear-gradient(
            125deg,
            #FAF6EF,
            #F5EDE4
        );
}

body .srb-resources .res-hero h1,
body .srb-resources .res-heading h2,
body .srb-resource-detail .res-detail-hero h1,
body .srb-resource-detail .res-reading-header h1 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    letter-spacing: -.025em;
}

body .srb-resources .res-search {
    background: var(--srb-surface);
    border-color: var(--srb-border-strong);
    box-shadow: var(--srb-shadow-soft);
}

body .srb-resources .res-search input {
    color: var(--srb-text);
}

body .srb-resources .res-search button,
body .srb-resources .res-button {
    background: var(--srb-action);
    color: white;
    font-weight: 650;
}

body .srb-resources .res-search button:hover,
body .srb-resources .res-button:hover {
    background: var(--srb-action-hover);
}

body .srb-resources .res-hero-visual:not(.res-hero-photo) {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srb-resources .res-hero-visual-copy span {
    color: var(--srb-text-on-dark);
}

body .srb-resources .res-hero-visual.res-hero-photo {
    box-shadow: var(--srb-shadow-raised);
}

body .srb-resources .res-hero-caption {
    background: rgba(33,27,23,.82);
    color: white;
}

body .srb-resources .res-card {
    background: var(--srb-surface);
    border-color: var(--srb-border);
}

body .srb-resources .res-card-image {
    background-color: var(--srb-surface-soft);
}

body .srb-resources .res-card-fallback {
    color: var(--srb-text-muted);
}

body .srb-resources .res-card-meta,
body .srb-resources .res-card-link {
    color: var(--srb-action);
    font-weight: 650;
}

body .srb-resources .res-pagination a {
    border-color: var(--srb-border);
    background: var(--srb-surface);
    color: var(--srb-action);
}

body .srb-resources .res-pagination a:hover {
    background: var(--srb-selected-background);
}

body .srb-resources .res-support {
    background: var(--srb-surface-dark);
    color: var(--srb-brand-ivory);
}

body .srb-resources .res-support h2 {
    font-family: var(--srb-font-editorial);
    font-weight: 400;
    color: var(--srb-brand-ivory);
}

body .srb-resources .res-support p {
    color: var(--srb-text-on-dark);
}

body .srb-resources .res-support .res-button {
    background: var(--srb-brand-clay);
    color: var(--srb-text);
}

body .srb-resources .res-support .res-button:hover {
    background: var(--srb-brand-ivory);
}

body .srb-resources .res-support .res-button-secondary {
    background: transparent;
    color: var(--srb-brand-ivory);
    border-color: var(--srb-brand-clay);
}

body .srb-resources .res-support .res-button-secondary:hover {
    background: var(--srb-surface-dark-raised);
    color: var(--srb-brand-clay);
}

body .srb-resource-detail .res-topic-navigation {
    background: var(--srb-surface);
}

body .srb-resource-detail .res-topic-navigation a {
    background: var(--srb-surface);
    border-color: var(--srb-border);
    color: var(--srb-text);
    font-weight: 600;
}

body .srb-resource-detail .res-topic-navigation a:hover {
    color: var(--srb-action);
    border-color: var(--srb-action);
}

body .srb-resource-detail .res-topic-navigation a[aria-current="page"] {
    background: var(--srb-action);
    border-color: var(--srb-action);
    color: white;
}

body .srb-resource-detail .res-reading-header {
    background:
        linear-gradient(
            180deg,
            #FAF6EF,
            #FFFFFF
        );
}

body .srb-resources a:focus-visible,
body .srb-resources button:focus-visible,
body .srb-resources input:focus-visible,
body .srb-resource-detail a:focus-visible {
    outline-color: var(--srb-focus);
}

body .srb-resources .res-support a:focus-visible {
    outline-color: var(--srb-focus-on-dark);
}

/* END STEP 32C-3C */


/* STEP 32D-3B-2: reusable enquiry confirmation component */

.srb-enquiry-confirmation {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    margin: 0 0 22px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid #DDD2C6;
    border-top: 3px solid #24613D;
    border-radius: 12px;
    background: #FAF6EF;
    color: #211B17;
    font-family: system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
    overflow-wrap: anywhere;
}

.srb-enquiry-confirmation .srb-confirmation-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: #24613D;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .10em;
    line-height: 1.5;
    text-transform: uppercase;
}

.srb-enquiry-confirmation .srb-confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #EDF7EF;
    color: #24613D;
}

.srb-enquiry-confirmation .srb-confirmation-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.srb-enquiry-confirmation .srb-confirmation-heading {
    margin: 0 0 12px;
    color: #211B17;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 3vw, 29px);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -.02em;
}

.srb-enquiry-confirmation .srb-confirmation-message {
    margin: 0;
    color: #62564E;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

.srb-enquiry-confirmation .srb-confirmation-reference {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    padding: 15px;
    margin: 18px 0 0;
    border: 1px solid #DDD2C6;
    border-radius: 8px;
    background: #FFFFFF;
}

.srb-enquiry-confirmation .srb-confirmation-reference-label {
    color: #62564E;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.srb-enquiry-confirmation .srb-confirmation-reference-value {
    color: #A94724;
    font-size: clamp(17px, 2.5vw, 23px);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.srb-enquiry-confirmation .srb-confirmation-reference small {
    display: block;
    margin: 0;
    color: #62564E;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.srb-enquiry-confirmation .srb-confirmation-notice {
    margin: 16px 0 0;
    padding: 13px 0 0;
    border-top: 1px solid #DDD2C6;
    color: #62564E;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
}

@media (max-width: 480px) {
    .srb-enquiry-confirmation {
        padding: 17px;
        border-radius: 10px;
    }

    .srb-enquiry-confirmation .srb-confirmation-heading {
        font-size: 23px;
    }

    .srb-enquiry-confirmation .srb-confirmation-reference {
        padding: 13px;
    }
}
