
.wsus__sign_in {
    margin-top: 100px;
}

/* Sits on the same row as the scroll-to-top button, to its left */
.whatsapp-float {
    position: fixed;
    right: 48px;
    bottom: 48px;
    height: 50px;
    padding: 0 20px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 25px;
    background: #25d366;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 200ms linear;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #fff;
    transform: scale(1.05);
}

.whatsapp-float i {
    font-size: 26px;
}

.whatsapp-float span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 1199.99px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
    }
}
/* Top bar "Global Partners" switcher */
.header_3 .region_switcher > a {
    color: #fff;
    font-size: 14px;
}

.header_3 .region_switcher > a:hover,
.header_3 .region_switcher > a.show {
    color: #fff;
}

.header_3 .region_switcher .dropdown-menu {
    min-width: 160px;
    font-size: 14px;
    z-index: 1100;
}

/* Gap between "Book a Consultation" and "Sign in" */
.main_menu .right_menu > ul {
    gap: 10px;
}

/* ===== Pages from Admin > Frontend > Pages ===== */
.page-content {
    font-size: 16px;
    line-height: 1.8;
}

.page-content .page-banner {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.page-content p {
    margin: 0 0 16px 0 !important;
    line-height: 1.8 !important;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.page-content h2 {
    margin: 0 0 15px 0 !important;
}

.page-content h3 {
    margin: 30px 0 15px 0 !important;
    font-size: 24px !important;
}

.page-content h4 {
    margin: 24px 0 10px 0 !important;
    font-size: 18px !important;
}

.page-content ul,
.page-content ol {
    display: block !important;
    list-style-position: outside !important;
    padding-left: 30px !important;
    margin: 0 0 20px 0 !important;
}

/* The theme sets list-style: none on every li, so the type goes on the items */
.page-content ul > li {
    list-style-type: disc !important;
}

.page-content ol > li {
    list-style-type: decimal !important;
}

.page-content ul li,
.page-content ol li {
    display: list-item !important;
    font-size: 14px !important;
    color: #6a6a6a !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 6px !important;
}

/* <ul class="checklist">: ticks instead of bullets */
.page-content ul.checklist {
    padding-left: 0 !important;
}

.page-content ul.checklist > li {
    list-style-type: none !important;
}

.page-content ul.checklist > li::before {
    content: "\2713";
    margin-right: 8px;
}

.page-content strong,
.page-content b {
    font-weight: 700 !important;
}

.page-content table {
    width: 100%;
}

/* <p class="page-links">: a row of pill links between related pages; mark the current one with class="active" */
.page-content .page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px !important;
}

.page-content .page-links a {
    padding: 8px 18px;
    border: 1px solid #d7dbe0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #424242;
    transition: all 0.2s;
}

.page-content .page-links a:hover,
.page-content .page-links a.active {
    background: var(--colorPrimary);
    border-color: var(--colorPrimary);
    color: #fff;
}

/* Top bar "Donate" button (Admin > Frontend > Top Bar) */
.header_3 .wsus__header_right li.donate_item {
    margin-left: 12px;
}

.header_3 .wsus__header_right a.donate_btn {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    padding: 4px 16px;
    border-radius: 30px;
    background: var(--colorSecondary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    transition: all 0.2s;
}

.header_3 .wsus__header_right a.donate_btn:hover {
    background: #fff;
    color: var(--colorPrimary);
}

/* Top bar below desktop width (where the mobile header sits 40px below it): one line, phone and email as icons */
@media (max-width: 991.98px) {
    header.header_3 {
        padding: 0 12px;
    }

    .header_3 > .row {
        flex-wrap: nowrap;
        margin: 0;
    }

    .header_3 > .row > .col,
    .header_3 > .row > .col-auto {
        padding: 0;
    }

    header .wsus__header_left li {
        padding-right: 14px;
        margin-right: 14px;
    }

    header .wsus__header_left li a i {
        margin-right: 0;
        font-size: 15px;
    }

    header .wsus__header_right {
        justify-content: end;
    }

    header .wsus__header_right li,
    header .wsus__header_right li:first-child {
        padding-left: 7px;
        padding-right: 7px;
    }

    header .wsus__header_right li::after {
        display: none;
    }

    header .wsus__header_right li a i {
        margin-left: 0;
    }

    .header_3 .region_switcher > a {
        font-size: 13px;
    }

    .header_3 .wsus__header_right li.donate_item {
        margin-left: 4px;
        padding-right: 0;
    }

    .header_3 .wsus__header_right a.donate_btn {
        padding: 3px 12px;
        font-size: 12px;
    }

    .header_3 .wsus__header_right a.donate_btn i {
        display: none;
    }
}

/* Narrow phones: "Global Partners" becomes "Partners" so the Donate button still fits */
@media (max-width: 429.98px) {
    .header_3 .region_switcher .region_label_first {
        display: none;
    }

    .header_3 .region_switcher > a .fa-globe {
        margin-right: 5px !important;
    }
}

/* The theme greys every span; these sit inside top bar links and take the link's colour */
.header_3 .wsus__header_left li a span,
.header_3 .region_switcher > a span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Smallest phones: the partners switcher is just the globe */
@media (max-width: 359.98px) {
    .header_3 .region_switcher > a {
        font-size: 0;
    }

    .header_3 .region_switcher > a .fa-globe {
        font-size: 14px;
        margin-right: 3px !important;
    }

    .header_3 .region_switcher > a.dropdown-toggle::after {
        font-size: 13px;
    }
}

/* Top bar phone and email in white (the theme dims them) */
header.header_3 .wsus__header_left li a {
    color: #fff;
}

header.header_3 .wsus__header_left li a:hover {
    color: var(--colorSecondary);
}

/* The theme makes top bar icons white; the Donate arrow follows the button text (dark on hover) */
.header_3 .wsus__header_right a.donate_btn i {
    color: inherit;
}

/* Keep "Book a Consultation" as written (the theme capitalises every word on buttons) */
.main_menu .right_menu .consultation_btn {
    text-transform: none;
}

/* Home hero: smaller title and subtitle on phones (the theme keeps the subtitle at 60px) */
@media (max-width: 767.98px) {
    .wsus__banner_3_text h1,
    .wsus__banner_3_text h1 span {
        font-size: 36px;
        line-height: 1.15;
    }

    .wsus__banner_3_text h2 {
        font-size: 40px;
        line-height: 1.1;
        padding-right: 0;
        margin-top: 10px;
    }

    .wsus__banner_3_text .description {
        font-size: 15px;
        line-height: 24px;
    }
}

@media (max-width: 379.98px) {
    .wsus__banner_3_text h1,
    .wsus__banner_3_text h1 span {
        font-size: 30px;
    }

    .wsus__banner_3_text h2 {
        font-size: 34px;
    }
}

/* Footer: policy links above the newsletter form */
.footer_policies {
    margin-bottom: 30px;
}
.footer_policies ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer_policies ul li {
    display: block;
    margin: 0;
}
.footer_policies ul li a {
    color: #fff;
    font-weight: 500;
}
.footer_policies ul li a i {
    color: var(--colorSecondary);
}
.footer_policies ul li a:hover {
    color: var(--colorSecondary);
}

/* Footer: the college's apps on Google Play (student and tutor), each labelled, under the description */
.footer_apps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 10px;
}
.footer_app {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer_app_label {
    color: var(--colorWhite);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.footer_app_label i {
    color: var(--colorSecondary);
    margin-right: 4px;
}
.footer_app:hover .footer_app_label {
    color: var(--colorSecondary);
}
/* Google's badge image has clear space built in; the negative margin lines its edge up with the label.
   !important: the theme sizes images globally. */
.footer_app img {
    width: 160px !important;
    height: auto !important;
    margin-left: -10px;
}

/* Quiz start form: radio and checkbox options.
   style.css gives every input width 100% and padding, which stretches these into ovals. */
.quiz-choice .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 8px;
}
.quiz-choice .form-check-input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    float: none;
    border: 1px solid rgba(30, 30, 47, 0.3);
    cursor: pointer;
}
.quiz-choice .form-check-label {
    cursor: pointer;
}
