/*
Theme Name: MSAL
Theme URI: https://merlinscottassociates.co.uk/
Author: Merlin Scott Associates
Description: Custom WordPress theme for Merlin Scott Associates.
Version: 0.1
*/

/* MSAL theme baseline */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #142434;
}

input,
button,
textarea,
select {
    font: inherit;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

.rel {
    position: relative;
}

/* MSAL shared header */

.header-top {
    background-color: #021e1a;
    padding: 8px 0;
}

.user-update {
    float: right;
    display: inline-block;
    color: #fff;
    letter-spacing: -0.5px;
    font-weight: 700;
    font-size: 14px;
}

.user-update:hover,
.user-update:focus {
    color: #d7b66a;
}

.user-icon {
    margin-left: 15px;
}

.main-menu-bar {
    z-index: var(--p_33230084_ext_z_index_n_0);
}

.main-menu-bar > .navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

a.navbar-brand {
    max-width: 235px;
    padding: 0;
}

#main-menu .navbar-nav li {
    padding: 5px 15px;
}

#main-menu .navbar-nav li a {
    color: #12413d;
    font-weight: 800;
    font-size: 18px;
    padding-left: 15px;
    padding-right: 15px;
}

#main-menu .navbar-nav li.active a {
    color: #207534 !important;
}

.nav-trigger {
    width: 40px;
    height: 36px;
    padding: 4px 5px !important;
    background-color: #207534 !important;
}

.navbar-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background-color: #fff;
}

.cart-wrap li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.cart-wrap li a {
    color: #12413d;
    font-weight: 800;
    font-size: 17px;
}

.cart-wrap > li > a.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 3px !important;
}

.cart-wrap > li > a.nav-link img {
    display: block;
    width: 28px;
    height: 28px;
}

.cart-wrap > li > a.nav-link span {
    position: absolute;
    top: -3px;
    right: -5px;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: #ea344d;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    opacity: 0.9;
}

header {
    border-bottom: 18px solid #207534;
}

/* MSAL shared page hero */

.pages-hero-wrap {
    min-height: 0;
    padding: 16px 0;
    background-color: #042420;
}

.pages-hero-wrap .banner-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    color: #fff;
}

.pages-hero-wrap .banner-content-wrap h1,
.pages-hero-wrap .banner-content-wrap h2,
.pages-hero-wrap .banner-content-wrap h3,
.pages-hero-wrap .banner-content-wrap h4,
.pages-hero-wrap .banner-content-wrap h5,
.pages-hero-wrap .banner-content-wrap h6 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.pages-hero-wrap .banner-content-wrap p {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.delayed-text {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media only screen and (max-width: 750px) {
    .pages-hero-wrap {
        padding: 24px 0 22px;
    }

    .pages-hero-wrap .banner-content-wrap h1,
    .pages-hero-wrap .banner-content-wrap h2,
    .pages-hero-wrap .banner-content-wrap h3,
    .pages-hero-wrap .banner-content-wrap h4,
    .pages-hero-wrap .banner-content-wrap h5,
    .pages-hero-wrap .banner-content-wrap h6 {
        font-size: 26px;
    }
}

/* MSAL shared footer */

.footer-wrap {
    padding: 70px 0 50px;
    background-color: #042420;
    background-image: url('assets/img/MSAL-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

a.footer-logo {
    display: inline-block;
    width: 100%;
    max-width: 170px;
    margin-bottom: 15px;
}

.about-reg,
.footer-blog {
    color: #fff;
}

.about-reg h1,
.about-reg h2,
.about-reg h3,
.about-reg h4,
.about-reg h5,
.about-reg h6,
.footer-blog h1,
.footer-blog h2,
.footer-blog h3,
.footer-blog h4,
.footer-blog h5,
.footer-blog h6 {
    margin-bottom: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.about-reg a,
.footer-blog a,
.copyright-text a {
    color: #fff;
}

.about-reg a:hover,
.about-reg a:focus,
.footer-blog a:hover,
.footer-blog a:focus,
.copyright-text a:hover,
.copyright-text a:focus {
    color: #d7b66a;
}

.footer-blog a.social {
    display: inline-block;
    max-width: 105px;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.usefullink {
    display: flex;
    flex-wrap: wrap;
}

ul.links {
    width: 100%;
}

.left-width {
    max-width: 55% !important;
}

.right-width {
    max-width: 45% !important;
}

ul.links li {
    position: relative;
    padding-left: 15px;
    list-style: none;
}

.width-45 {
    width: 45%;
}

.width-55 {
    width: 55%;
}

.copyright {
    padding: 20px 0;
    background: #262525;
}

.copyright-text {
    text-align: center;
    color: #fff;
}

.copyright-text ul li {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    list-style: none;
    font-size: 16px;
}

.copyright-text ul li::after {
    content: '|';
    position: absolute;
    right: -4px;
    color: #fff;
}

.copyright-text ul li:last-child::after {
    display: none;
}

/* MSAL shared search action */

.usp-rs-search-icon,
.msal-home-search-submit {
    color: #142434;
    background: #d7b66a;
    font-size: 15px;
    font-weight: 700;
}

.usp-rs-search-icon:hover,
.usp-rs-search-icon:focus,
.msal-home-search-submit:hover,
.msal-home-search-submit:focus {
    color: #ffffff;
    background: #042420;
}

/* MSAL primary action buttons */

.msal-action-btn {
    width: 100%;
    margin: 5px auto;
    height: 50px;
    border: 0;
    border-radius: 0;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.msal-action-btn-order {
    color: #fff;
    background-color: #207534;
}

.msal-action-btn-enquire {
    color: #142434;
    background-color: #d7b66a;
}

.msal-action-btn-order:hover,
.msal-action-btn-order:focus,
.msal-action-btn-enquire:hover,
.msal-action-btn-enquire:focus {
    color: #fff;
    background-color: #042420;
}

/* MSAL product choices */

.msal-product-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.msal-product-option {
    border: 2px solid #d6dce0;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.msal-product-option h2 {
    margin: 0;
    padding: 10px 12px;
    font: inherit;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.msal-product-option p {
    margin: 0;
    padding: 12px;
    font-size: 14px;
    line-height: 1.45;
}

.msal-product-option-database {
    border-color: #207534;
}

.msal-product-option-database h2 {
    background: #207534;
}

.msal-product-option-book {
    border-color: #d7b66a;
}

.msal-product-option-book h2 {
    background: #d7b66a;
    color: #042420;
}

.msal-product-option-ebook {
    border-color: #042420;
}

.msal-product-option-ebook h2 {
    background: #042420;
}

.msal-product-option:hover,
.msal-product-option:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.msal-version-compare {
    width: 100%;
    margin: 0 0 24px;
}

.msal-version-compare-scroll {
    width: 100%;
    overflow-x: auto;
}

.msal-version-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.msal-version-compare-table th,
.msal-version-compare-table td {
    padding: 10px 12px;
    border: 1px solid #d6dce0;
    font-size: 14px;
    line-height: 1.2;
}

.msal-version-compare-table th:first-child {
    width: 40%;
}

.msal-version-compare-table tbody th {
    text-align: left;
    font-weight: 600;
}

.msal-version-compare-table tbody td {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.msal-compare-feature {
    text-align: left;
    background: #fff;
}

.msal-compare-product {
    text-align: center;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

.msal-compare-product span,
.msal-compare-product strong {
    display: block;
}

.msal-compare-product strong {
    margin-top: 4px;
    font-size: 22px;
}

.msal-compare-database {
    background: #207534;
}

.msal-compare-book {
    background: #d7b66a;
    color: #042420;
}

.msal-compare-ebook {
    background: #042420;
}

.msal-compare-product:hover {
    filter: brightness(1.08);
}

.msal-compare-select-row td {
    padding: 0;
}

.msal-compare-select-row td:nth-child(2) {
    background: #207534;
}

.msal-compare-select-row td:nth-child(3) {
    background: #d7b66a;
}

.msal-compare-select-row td:nth-child(4) {
    background: #042420;
}

.msal-compare-select-row button {
    width: 100%;
    padding: 12px 8px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.msal-compare-select-row td:nth-child(3) button {
    color: #142434;
}

.msal-compare-select-row td:has(button:hover),
.msal-compare-select-row td:has(button:focus) {
    background: #042420;
}

.msal-compare-select-row button:hover,
.msal-compare-select-row button:focus {
    color: #fff;
    outline: none;
}

@media (max-width: 750px) {
    .msal-product-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .msal-product-option h2 {
        padding: 8px 10px;
        font-size: 16px;
    }

    .msal-product-option p {
        padding: 9px 10px;
        font-size: 13px;
    }

    .msal-version-compare-table th,
    .msal-version-compare-table td {
        padding: 4px 3px;
        font-size: 11px;
        line-height: 1.15;
    }

    .msal-version-compare-table th:first-child {
        width: 38%;
    }

    .msal-version-compare-table tbody td {
        font-size: 13px;
    }

    .msal-compare-product {
        padding: 5px 2px !important;
        font-size: 10px;
        line-height: 1.1;
    }

    .msal-compare-product strong {
        font-size: 13px;
    }

    .msal-compare-select-row button {
        padding: 5px 2px;
        font-size: 10px;
        line-height: 1.1;
    }
}

/* MSAL shared page content */

.msal-page-content {
    padding: 34px 0 48px;
    background: #f7f7f7;
}

.msal-page-content #usp-rs-stage1 {
    margin: 0;
}

@media only screen and (max-width: 750px) {
    .msal-page-content {
        padding: 20px 0 28px;
    }
}

.msal-page-content #usp-rs-stage1 {
    border-color: #e1e1e1;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* MSAL minimal mobile footer — matches current Java shopping/report pages */

@media only screen and (max-width: 580px) {

    #footer .footer-logo,
    #footer .width-45,
    #footer .width-55 > .row > .col-md-6:first-child {
        display: none !important;
    }

    #footer .footer-wrap {
        padding: 5px 0 3px !important;
    }

    #footer .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #footer .width-55,
    #footer .no-padding {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #footer .width-55 > .row > .col-md-6:last-child .footer-blog {
        margin: 0 !important;
        padding: 0 !important;
    }

    #footer .width-55 > .row > .col-md-6:last-child .footer-blog h3 {
        display: none !important;
    }

    #footer .usefullink {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #footer .usefullink ul {
        display: flex !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #footer .usefullink li {
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #footer .usefullink li::before,
    #footer .usefullink li::after,
    #footer .usefullink li a::before,
    #footer .usefullink li a::after {
        display: none !important;
        content: none !important;
    }

    #footer .usefullink li a {
        display: inline-block !important;
        margin: 0 !important;
        padding: 2px 7px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    #footer .links.left-width li:nth-child(2),
    #footer .links.left-width li:nth-child(3) {
        display: none !important;
    }

    #footer .copyright {
        margin: 2px 0 0 !important;
        padding: 4px 0 !important;
    }

    #footer .copyright-text,
    #footer .copyright-text ul,
    #footer .copyright-text li {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
    }
}

/* MSAL intermediate footer */

@media only screen and (min-width: 581px) and (max-width: 1100px) {

    #footer .footer-wrap {
        padding: 24px 0 18px;
    }

    #footer a.footer-logo {
        max-width: 140px;
        margin-bottom: 8px;
    }

    #footer .about-reg,
    #footer .footer-blog {
        font-size: 12px;
        line-height: 1.35;
    }

    #footer .about-reg h1,
    #footer .about-reg h2,
    #footer .about-reg h3,
    #footer .about-reg h4,
    #footer .about-reg h5,
    #footer .about-reg h6,
    #footer .footer-blog h1,
    #footer .footer-blog h2,
    #footer .footer-blog h3,
    #footer .footer-blog h4,
    #footer .footer-blog h5,
    #footer .footer-blog h6 {
        font-size: 16px;
        line-height: 1.2;
    }

    #footer .footer-blog a.social {
        max-width: 70px;
    }

    #footer ul.links li {
        padding-left: 8px;
    }

    #footer .copyright {
        padding: 10px 0;
    }

    #footer .copyright-text {
        font-size: 12px;
    }
}

/* MSAL narrow tablet footer */

@media only screen and (min-width: 581px) and (max-width: 780px) {

    #footer .footer-wrap {
        padding: 18px 0 14px;
    }

    #footer a.footer-logo {
        max-width: 120px;
        margin-bottom: 6px;
    }

    #footer .about-reg,
    #footer .footer-blog {
        font-size: 10px;
        line-height: 1.3;
    }

    #footer .about-reg h1,
    #footer .about-reg h2,
    #footer .about-reg h3,
    #footer .about-reg h4,
    #footer .about-reg h5,
    #footer .about-reg h6,
    #footer .footer-blog h1,
    #footer .footer-blog h2,
    #footer .footer-blog h3,
    #footer .footer-blog h4,
    #footer .footer-blog h5,
    #footer .footer-blog h6 {
        font-size: 13px;
        line-height: 1.15;
    }

    #footer .footer-blog a.social {
        max-width: 55px;
    }

    #footer ul.links li {
        padding-left: 5px;
    }

    #footer .copyright {
        padding: 7px 0;
    }

    #footer .copyright-text {
        font-size: 10px;
    }
}


/* MSAL Home page */

.msal-home {
    background: #f7f7f7;
}

/* Hero */

.msal-home-hero {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    background: #042420;
}

.msal-home-hero-image {
    position: absolute;
    inset: 0;
}

.msal-home-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 36, 32, 0.50);
}

.msal-home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msal-home-hero-container {
    position: relative;
    z-index: 1;
}

.msal-home-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 82px 0 72px;
    text-align: center;
    color: #ffffff;
}

.msal-home-hero-content h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.12;
}

.msal-home-hero-content p {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
}

/* MSAL shared search component */

.msal-search,
.msal-home-search {
    display: flex;
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
}

.msal-search-field,
.msal-home-search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.msal-search-input,
.msal-search input,
.msal-home-search input {
    width: 100%;
    height: 52px;
    padding: 0 46px 0 16px;
    color: #142434;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 0;
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 400;
    outline: 0;
}

.msal-search-input:focus,
.msal-search input:focus,
.msal-home-search input:focus {
    border-color: #142434;
}

.msal-search-clear,
.msal-home-search-clear {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 52px;
    padding: 0;
    color: #777777;
    background: transparent;
    border: 0;
    font-family: Lato, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 52px;
    cursor: pointer;
}

.msal-search-clear:hover,
.msal-search-clear:focus,
.msal-home-search-clear:hover,
.msal-home-search-clear:focus {
    color: #142434;
}

.msal-search-submit,
.msal-home-search-submit {
    flex: 0 0 130px;
    height: 52px;
    padding: 0 20px;
    color: #142434;
    background: #d7b66a;
    border: 0;
    border-radius: 0;
    font-family: Lato, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.msal-search-submit:hover,
.msal-search-submit:focus,
.msal-home-search-submit:hover,
.msal-home-search-submit:focus {
    color: #ffffff;
    background: #042420;
}

/* Testimonials */

.msal-home-testimonials {
    padding: 24px 0;
    background: #ffffff;
}

.msal-home-testimonials .row {
    display: flex;
    align-items: stretch;
}

.msal-home-testimonials .col-md-6 {
    display: flex;
}

.msal-home-testimonials blockquote {
    width: 100%;
    margin: 0;
    padding: 18px 22px;
    color: #444444;
    background: #f7f7f7;
    border-left: 4px solid #207534;
    font-size: 15px;
    font-style: italic;
    line-height: 1.55;
}

/* Shared Home headings */

.msal-home-section-heading {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}

.msal-home-section-heading h2 {
    margin: 0;
    color: #142434;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

/* Report uses */

.msal-home-strategy {
    padding: 44px 0 48px;
    background: #f7f7f7;
}

.msal-home-strategy-item {
    height: 100%;
    padding: 28px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.msal-home-strategy-item img {
    display: block;
    width: auto;
    height: 65px;
    margin: 0 auto 18px;
}

.msal-home-strategy-item h3 {
    margin: 0 0 14px;
    color: #142434;
    font-size: 21px;
    font-weight: 700;
}

.msal-home-strategy-item p {
    margin: 0;
    color: #444444;
    font-size: 15px;
    line-height: 1.65;
}

/* Next Steps */

.msal-home-next {
    padding: 0 0 48px;
    background: #f7f7f7;
}

.msal-home-next-panel {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.msal-home-next-panel > .row {
    margin: 0;
}

.msal-home-next-panel > .row > div {
    padding: 0;
}

.msal-home-next-image {
    height: 100%;
    min-height: 390px;
}

.msal-home-next-image img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.msal-home-next-content {
    padding: 36px 40px;
}

.msal-home-next-content h2 {
    margin: 0 0 18px;
    color: #142434;
    font-size: 28px;
    font-weight: 700;
}

.msal-home-next-content p {
    margin: 0 0 18px;
    color: #444444;
    font-size: 16px;
    line-height: 1.6;
}

.msal-home-next-content ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.msal-home-next-content li {
    position: relative;
    padding: 7px 0 7px 24px;
    color: #142434;
    font-size: 16px;
}

.msal-home-next-content li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.msal-home-button {
    display: inline-block;
    min-width: 160px;
    padding: 13px 24px;
    color: #ffffff !important;
    background: #207534;
    text-align: center;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
}

.msal-home-button:hover,
.msal-home-button:focus {
    color: #ffffff !important;
    background: #175b28;
}

/* Clients */

.msal-home-clients {
    padding: 42px 0 50px;
    background: #ffffff;
}

.msal-home-client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.msal-home-client {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #eeeeee;
}

.msal-home-client img {
    display: block;
    width: 100%;
    height: auto;
}

/* Home responsive */

@media only screen and (max-width: 750px) {

    .msal-home-hero {
        min-height: 300px;
    }

    .msal-home-hero-content {
        padding: 58px 0 52px;
    }

    .msal-home-hero-content h1 {
        font-size: 32px;
    }

    .msal-home-hero-content p {
        font-size: 16px;
    }

    .msal-search-input,
    .msal-search input,
    .msal-home-search input,
    .msal-search-submit,
    .msal-home-search-submit {
        height: 48px;
        font-size: 14px;
    }

    .msal-search-clear,
    .msal-home-search-clear {
        height: 48px;
        line-height: 48px;
    }

    .msal-search-submit,
    .msal-home-search-submit {
        flex-basis: 100px;
    }

    .msal-home-testimonials {
        padding: 20px 0 8px;
    }

    .msal-home-testimonials .row,
    .msal-home-testimonials .col-md-6 {
        display: block;
    }

    .msal-home-testimonials blockquote {
        margin-bottom: 12px;
    }

    .msal-home-strategy {
        padding: 30px 0 18px;
    }

    .msal-home-section-heading {
        margin-bottom: 22px;
    }

    .msal-home-section-heading h2 {
        font-size: 23px;
    }

    .msal-home-strategy-item {
        height: auto;
        margin-bottom: 14px;
        padding: 24px 20px;
    }

    .msal-home-next {
        padding-bottom: 28px;
    }

    .msal-home-next-image,
    .msal-home-next-image img {
        min-height: 0;
        height: auto;
    }

    .msal-home-next-content {
        padding: 26px 22px;
    }

    .msal-home-next-content h2 {
        font-size: 23px;
    }

    .msal-home-button {
        width: 100%;
    }

    .msal-home-clients {
        padding: 30px 0;
    }

    .msal-home-client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .msal-home-client {
        min-height: 80px;
        padding: 5px;
    }
}

/* ==========================================================================
   About Us
   ========================================================================== */

.msal-about-hero {
    padding: 24px 0 20px;
    background: #042420;
    text-align: center;
}

.msal-about-hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.msal-about-hero-content h1 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.msal-about-hero-content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.msal-about-who {
    padding: 30px 0 58px;
    background: #ffffff;
}

.msal-about-search {
    width: 50%;
    max-width: 900px;
    margin: 0 auto 38px;
    padding: 0;
    background: #ffffff;
    border: 1px solid #dddddd;
}

.msal-about-heading h2 {
    margin: 0 0 16px;
    color: #142434;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.msal-about-who-row {
    align-items: center;
}

.msal-about-copy p {
    margin: 0 0 18px;
    color: #142434;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.msal-about-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 28px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.msal-about-features li {
    position: relative;
    padding-left: 22px;
    color: #142434;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.msal-about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #207534;
    font-weight: 700;
}

.msal-about-image {
    margin: 0 0 0 30px;
}

.msal-about-image img {
    display: block;
    width: 100%;
    height: auto;
}

.msal-about-contact {
    padding: 0 0 58px;
    background: #ffffff;
}

.msal-about-contact-panel {
    padding: 32px 38px;
    background: #f4f5f3;
    text-align: left;
}

.msal-about-contact-panel p {
    margin: 0 0 16px;
    color: #142434;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.msal-about-contact-panel .msal-home-button {
    margin-top: 8px;
}

@media (max-width: 767px) {

    .msal-about-hero {
        padding: 22px 0 20px;
    }

    .msal-about-hero-content h1 {
        font-size: 28px;
    }

    .msal-about-hero-content > p {
        font-size: 15px;
    }

    .msal-about-who {
        padding: 24px 0 44px;
    }

    .msal-about-search {
        width: 100%;
        margin-bottom: 30px;
    }

    .msal-about-heading h2 {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .msal-about-features {
        grid-template-columns: 1fr;
    }

    .msal-about-image {
        margin: 32px 0 0;
    }

    .msal-about-contact {
        padding-bottom: 44px;
    }

    .msal-about-contact-panel {
        padding: 28px 22px;
    }
}

/* ==========================================================================
   Privacy Policy
   ========================================================================== */

.msal-privacy-hero {
    padding: 24px 0 20px;
    background: #042420;
    text-align: center;
}

.msal-privacy-hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.msal-privacy-hero-content h1 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.msal-privacy-hero-content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.msal-privacy-content {
    padding: 34px 0 58px;
    background: #f7f7f7;
}

.msal-privacy-panel {
    max-width: 1100px;
    margin: 0 auto;
    padding: 34px 38px 40px;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    color: #444444;
    font-size: 16px;
    line-height: 1.65;
}

.msal-privacy-panel > h2:first-child {
    margin: 0 0 22px;
    color: #142434;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.msal-privacy-panel .form-heading {
    margin: 28px 0 12px;
}

.msal-privacy-panel .form-heading h2 {
    margin: 0;
    color: #142434;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.msal-privacy-panel p {
    margin: 0;
}

.msal-privacy-panel ul {
    margin: 0 0 0 22px;
    padding: 0;
}

.msal-privacy-panel li {
    margin: 0 0 5px;
}

@media (max-width: 767px) {

    .msal-privacy-hero {
        padding: 22px 0 20px;
    }

    .msal-privacy-hero-content h1 {
        font-size: 28px;
    }

    .msal-privacy-hero-content > p {
        font-size: 15px;
    }

    .msal-privacy-content {
        padding: 24px 0 44px;
    }

    .msal-privacy-panel {
        padding: 28px 22px 32px;
    }

    .msal-privacy-panel > h2:first-child {
        font-size: 22px;
    }

    .msal-privacy-panel .form-heading h2 {
        font-size: 20px;
    }
}
