/* =====================================
   TABLET / MOBILE
   UNDER 1200PX
   ===================================== */

@media (max-width: 1199.98px) {

    .wgm-quick-contact {
        padding: 36px 0;
    }


    .wgm-quick-contact-inner {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .wgm-quick-contact-title {
        white-space: normal;
    }


    .wgm-quick-contact-links {
        justify-content: flex-start;
    }


    .wgm-quick-contact-link:first-child {
        padding-left: 0;

        border-left: 0;
    }

    .wgm-section {
        padding-top: var(--wgm-section-space-tablet);
        padding-bottom: var(--wgm-section-space-tablet);
    }

    .wgm-section-top {
        padding-top: var(--wgm-section-space-tablet);
    }

    .wgm-section-bottom {
        padding-bottom: var(--wgm-section-space-tablet);
    }

    /* Header */

    .site-header {
        top: 0;
    }

    .site-header .navbar > .container {
        min-height: 78px;
    }

    .site-logo {
        max-width: 180px;
    }


    /* Burger */

    .wgm-menu-toggle {
        display: flex;
    }


    /* =====================================
       LEFT SLIDE-IN MENU
       ===================================== */

    .navbar-collapse {
        position: fixed;

        top: 0;
        left: 0;

        display: block !important;

        width: min(88vw, 390px);

        height: 100vh;
        height: 100dvh;

        padding: 92px 28px 40px;

        overflow-x: hidden;
        overflow-y: auto;

        background: var(--wgm-blue);

        box-shadow:
            15px 0 45px rgba(0,0,0,.18);

        transform: translateX(-105%);

        visibility: hidden;

        transition:
            transform .35s cubic-bezier(.4, 0, .2, 1),
            visibility .35s ease;

        z-index: 1100;
    }

    .navbar-collapse.menu-open {
        transform: translateX(0);
        visibility: visible;
    }


    /* =====================================
       MOBILE NAVIGATION
       ===================================== */

    .navbar-nav {
        display: flex;

        flex-direction: column;

        align-items: stretch !important;

        gap: 0;

        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 14px 0 !important;

        color: #fff !important;

        font-size: 15px;

        border-bottom:
            1px solid rgba(255,255,255,.12);
    }

    .navbar-nav > .nav-item > .nav-link::before {
        display: none;
    }


    /* =====================================
       MOBILE DROPDOWNS
       ===================================== */

    #mainNavigation
    .dropdown
    > .dropdown-menu {
        display: block !important;

        position: static !important;

        width: 100%;

        max-height: 0;

        margin: 0;

        padding-top: 0;
        padding-bottom: 0;

        opacity: 0;
        visibility: hidden;

        overflow: hidden;

        transform:
            translateY(-8px) !important;

        pointer-events: none !important;

        border-top-width: 0;

        transition:
            max-height .45s cubic-bezier(.4, 0, .2, 1),
            opacity .28s ease,
            transform .35s cubic-bezier(.4, 0, .2, 1),
            padding-top .35s ease,
            padding-bottom .35s ease,
            border-top-width .25s ease,
            visibility 0s linear .45s;
    }


    /* Mobile dropdown open */

    #mainNavigation
    .dropdown.mobile-dropdown-open
    > .dropdown-menu {
        max-height: 1400px;

        opacity: 1;
        visibility: visible;

        transform:
            translateY(0) !important;

        pointer-events: auto !important;

        border-top-width: 3px;

        transition:
            max-height .5s cubic-bezier(.4, 0, .2, 1),
            opacity .3s ease .05s,
            transform .4s cubic-bezier(.4, 0, .2, 1),
            padding-top .4s ease,
            padding-bottom .4s ease,
            border-top-width .25s ease,
            visibility 0s;
    }


    /* Mobile active parent */

    #mainNavigation
    .dropdown.mobile-dropdown-open
    > .dropdown-toggle {
        border-bottom-color:
            rgba(208,44,71,.85);
    }


    /* Mobile arrow */

    #mainNavigation
    .dropdown-toggle::after {
        margin-left: auto;

        transition:
            transform .35s cubic-bezier(.4, 0, .2, 1);
    }

    #mainNavigation
    .dropdown.mobile-dropdown-open
    > .dropdown-toggle::after {
        transform: rotate(180deg);
    }


    /* =====================================
       MOBILE MEGA MENU
       ===================================== */

    .mega-menu {
        position: relative;
    }

    .mega-menu > .dropdown-menu {
        background: #fff;

        padding-left: 18px;
        padding-right: 18px;

        border-top-style: solid;
        border-top-color: var(--wgm-red);

        box-shadow: none;
    }

    #mainNavigation
    .mega-menu.mobile-dropdown-open
    > .dropdown-menu {
        padding-top: 22px;
        padding-bottom: 22px;
    }


    /* Flatten Bootstrap grid */

    .mega-menu .dropdown-menu .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .mega-menu .dropdown-menu .row {
        display: block;
        margin: 0;
    }

    .mega-menu
    .dropdown-menu
    [class*="col-"] {
        width: 100%;

        padding-left: 0;
        padding-right: 0;
    }


    /* =====================================
       MOBILE MEGA INTRO
       ===================================== */

    .mega-intro {
        padding: 0 0 18px;

        margin-bottom: 10px;

        border-right: 0;

        border-bottom:
            1px solid var(--wgm-border);
    }

    .mega-label {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .mega-intro h3 {
        margin-bottom: 10px;

        font-size: 19px;
        line-height: 1.3;
    }

    .mega-intro p {
        margin-bottom: 12px;

        font-size: 13px;
        line-height: 1.6;
    }

    .mega-view-all {
        font-size: 13px;
    }


    /* =====================================
       MOBILE SERVICE LINKS
       ===================================== */

    .mega-link {
        padding:
            9px
            0
            9px
            16px;

        font-size: 13px;

        border-bottom:
            1px solid var(--wgm-border);
    }

    .mega-link:last-child {
        border-bottom: 0;
    }

    .mega-link::before {
        width: 5px;
        height: 5px;
    }


    /* =====================================
       EDUCATION MOBILE DROPDOWN
       ===================================== */

    .standard-dropdown {
        min-width: 0;

        background: #fff;

        border-top-style: solid;
        border-top-color: var(--wgm-red);

        box-shadow: none;
    }

    #mainNavigation
    .dropdown:not(.mega-menu).mobile-dropdown-open
    > .standard-dropdown {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .standard-dropdown .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
    }


    /* =====================================
       CONTACT BUTTON
       ===================================== */

    .navbar-nav .btn-wgm {
        width: 100%;

        justify-content: space-between;

        margin-top: 18px;

        padding: 13px 18px !important;

        border-bottom:
            1px solid var(--wgm-red);
    }


    /* =====================================
       HERO TABLET
       ===================================== */

    .home-hero {
        min-height: 680px;
        height: 85vh;
    }

    .home-hero-content {
        padding-top: 90px;
    }

    .wgm-about-intro {
        padding:
            110px
            0;
    }


    .wgm-about-content {
        padding-top: 42px;
        padding-left: 20px;
    }

    .wgm-services {
        padding:
            100px
            0
            105px;
    }


    .wgm-services-heading {
        margin-bottom:
            60px;
    }


    .wgm-service-main {
        grid-template-columns:
            45px
            minmax(0, 1fr)
            40px;

        min-height: 100px;
    }


    .wgm-services-visual {
        min-height: 470px;

        margin-left: 25px;
    }


    .wgm-services-image-content {
        padding:
            30px;
    }

    .wgm-sectors {
        padding:
            100px
            0
            105px;
    }


    .wgm-sectors-intro {
        margin-bottom: 50px;
    }


    .wgm-sector-card {
        height: 440px;
    }


    .wgm-sector-content {
        padding:
            28px;
    }

    .wgm-esg {
        padding:
            100px
            0
            105px;
    }


    .wgm-esg-main {
        min-height: 600px;
    }


    .wgm-esg-image {
        min-height: 600px;
    }


    .wgm-esg-content {
        padding:
            60px
            50px;
    }


    .wgm-esg-theme {
        padding:
            35px
            30px
            38px;
    }

    .wgm-contact {
        padding:
            100px
            0
            105px;
    }


    .wgm-contact-main {
        margin-top: 70px;
    }


    .wgm-contact-form-wrap {
        padding-left: 50px;
    }

    .wgm-projects {
        padding:
            100px
            0
            105px;
    }


    .wgm-projects-intro {
        max-width: 650px;

        padding-right: 0;
    }


    .wgm-projects-intro-copy {
        max-width: 500px;
    }


    .wgm-projects-grid {
        min-height: 540px;
    }


    .wgm-project-card-main {
        min-height: 540px;
    }


    .wgm-project-card-small {
        min-height: 263px;
    }

    .wgm-insights {
        padding:
            100px
            0
            105px;
    }


    .wgm-insights-intro {
        max-width: 620px;

        margin-bottom: 10px;

        padding-right: 0;
    }


    .wgm-insights-intro-copy {
        max-width: 500px;
    }


    .wgm-insight-featured {
        grid-template-columns:
            1.15fr
            .85fr;
    }


    .wgm-insights-secondary {
        margin-top: 35px;
    }


    .wgm-insight-small {
        grid-template-columns:
            110px
            minmax(0, 1fr);

        gap: 22px;
    }


    .wgm-insight-small-image {
        width: 110px;
        height: 145px;
    }

    .wgm-partners {
        padding:
            80px
            0
            85px;
    }


    .wgm-partners-header {
        gap: 55px;

        margin-bottom: 42px;
    }


    .wgm-partners-header-right {
        flex-basis: 300px;
    }


    .wgm-partner-item {
        padding:
            12px
            20px;
    }


    .wgm-partner-item img {
        max-width: 135px;
    }

}




@media (max-width: 991.98px) {

    .wgm-partners {
        padding:
            75px
            0
            80px;
    }


    .wgm-partners-header {
        gap: 45px;

        margin-bottom: 40px;
    }


    .wgm-partners-heading {
        font-size:
            clamp(
                42px,
                6vw,
                56px
            );
    }


    .wgm-partners-header-right {
        flex-basis: 280px;
    }


    .wgm-partners-rail {
        height: 130px;
    }


    .wgm-partner-logo {
        flex-basis: 220px;

        width: 220px;

        padding:
            18px
            28px;
    }


    .wgm-partner-logo img {
        max-width: 135px;
        max-height: 48px;
    }

    .wgm-about-intro {
        padding:
            90px
            0;
    }


    .wgm-about-heading-wrap {
        max-width: 700px;
    }


    .wgm-about-content {
        max-width: 760px;

        padding-top: 10px;
        padding-left: 0;
    }

    .wgm-testimonials {
        padding:
            95px
            0
            70px;
    }


     .wgm-testimonials {
        padding:
            65px
            0
            50px;
    }


    .wgm-testimonials-header {
        margin-bottom: 28px;
    }


    .wgm-testimonial {
        grid-template-columns:
            60px
            minmax(0, 1fr);

        gap: 20px;

        max-width: 850px;
    }


    .wgm-quote-mark {
        font-size: 88px;
    }


    .wgm-testimonial blockquote {
        font-size:
            clamp(
                27px,
                3.6vw,
                36px
            );

        line-height: 1.28;
    }


    .wgm-testimonial-progress {
        margin-top: 30px;
    }

    .wgm-services {
        padding:
            85px
            0
            90px;
    }


    .wgm-services-heading {
        margin-bottom:
            45px;
    }


    .wgm-service-main {
        min-height: 95px;
    }


    /*
     * Show supporting content underneath
     * each service on touch devices.
     */

    .wgm-service-mobile-content {
        display: block;

        padding:
            0
            0
            30px
            45px;
    }


    .wgm-service-mobile-image {
        width: 100%;
        height: 240px;

        margin-bottom: 20px;

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


    .wgm-service-mobile-content p {
        max-width: 650px;

        margin: 0;

        padding-right: 25px;

        font-size: 14px;
        line-height: 1.7;

        color:
            var(--wgm-muted);
    }

     .wgm-partners {
        padding:
            50px
            0
            55px;
    }


    .wgm-partners-header {
        margin-bottom: 28px;
    }


    .wgm-partner-item {
        height: 95px;

        padding:
            18px
            24px;
    }


    .wgm-partner-item img {
        max-width: 130px;
        max-height: 48px;
    }

    .wgm-sectors {
        padding:
            85px
            0
            90px;
    }


    .wgm-sectors-intro-copy {
        margin-top: 30px;

        padding-bottom: 0;
    }


    .wgm-sector-card {
        height: 420px;
    }


    /*
     * Don't depend on hover on tablets.
     */

    .wgm-sector-text {
        transform:
            translateY(0);
    }


    .wgm-sector-text p,
    .wgm-sector-link {
        opacity: 1;
    }

    .wgm-esg {
        padding:
            85px
            0
            90px;
    }


    .wgm-esg-main {
        min-height: 0;
    }


    .wgm-esg-image {
        min-height: 500px;
    }


    .wgm-esg-content {
        padding:
            60px
            45px
            65px;
    }

        .wgm-faqs {
        padding:
            90px
            0
            95px;
    }


    .wgm-faq-heading-wrap {
        position: static;

        max-width: 600px;

        margin-bottom: 20px;
    }


    .wgm-faq-intro {
        max-width: 500px;
    }

    .wgm-contact {
        padding:
            85px
            0
            90px;
    }


    .wgm-contact-main {
        margin-top: 60px;

        padding-top: 45px;
    }


    .wgm-contact-details {
        max-width: 600px;

        padding-right: 0;
    }


    .wgm-contact-form-wrap {
        margin-top: 20px;

        padding:
            50px
            0
            0;

        border-left: 0;

        border-top:
            1px solid rgba(255,255,255,.17);
    }

    .wgm-footer-brand {
        min-height: 190px;

        padding:
            42px
            0;
    }


    .wgm-footer-logo img {
        max-width: 350px;
        max-height: 110px;
    }


    .wgm-footer-content {
        padding:
            55px
            0
            60px;
    }

    .wgm-projects {
        padding:
            90px
            0
            95px;
    }


    .wgm-projects-grid {
        grid-template-columns:
            1fr;

        min-height: 0;
    }


    .wgm-project-card-main {
        min-height: 500px;
    }


    .wgm-projects-secondary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-template-rows: auto;
    }


    .wgm-project-card-small {
        min-height: 330px;
    }

    .wgm-insights {
        padding:
            90px
            0
            95px;
    }


    .wgm-insight-featured {
        grid-template-columns:
            1fr
            1fr;
    }


    .wgm-insight-featured-content {
        padding:
            40px
            35px;
    }


    .wgm-insights-secondary {
        grid-template-columns: 1fr;
    }


    .wgm-insight-small {
        grid-template-columns:
            170px
            minmax(0, 1fr);

        padding:
            28px
            0;
    }


    .wgm-insight-small + .wgm-insight-small {
        padding-left: 0;

        border-left: 0;

        border-top:
            1px solid var(--wgm-stone);
    }


    .wgm-insight-small-image {
        width: 170px;
        height: 145px;
    }

    .wgm-partners {
        padding:
            75px
            0
            80px;
    }


    .wgm-partners-header {
        align-items: flex-end;

        gap: 40px;

        margin-bottom: 40px;
    }


    .wgm-partners-heading {
        font-size:
            clamp(
                42px,
                6vw,
                56px
            );
    }


    .wgm-partners-header-right {
        flex:
            0
            0
            270px;
    }


    .wgm-partners-carousel-wrap {
        padding:
            25px
            0;
    }


    .wgm-partner-item {
        height: 82px;
    }


    .wgm-partner-item img {
        max-width: 125px;
        max-height: 48px;
    }
}







/* =====================================
   MOBILE
   UNDER 768PX
   ===================================== */

@media (max-width: 767.98px) {

    .wgm-partners {
        padding:
            65px
            0
            70px;
    }


    .wgm-partners-header {
        display: block;

        margin-bottom: 34px;
    }


    .wgm-partners-heading {
        font-size:
            clamp(
                38px,
                10vw,
                48px
            );
    }


    .wgm-partners-header-right {
        width: 100%;

        margin-top: 25px;

        padding-bottom: 0;
    }


    .wgm-partners-intro {
        max-width: 320px;

        font-size: 13px;
    }


    .wgm-partners-rail {
        height: 112px;
    }


    .wgm-partner-logo {
        flex-basis: 175px;

        width: 175px;

        padding:
            15px
            20px;
    }


    .wgm-partner-logo img {
        max-width: 120px;
        max-height: 44px;
    }
    body {
        font-size: 16px;
        line-height: 1.65;
    }


    .wgm-section {
        padding-top: var(--wgm-section-space-mobile);
        padding-bottom: var(--wgm-section-space-mobile);
    }

    .wgm-section-top {
        padding-top: var(--wgm-section-space-mobile);
    }

    .wgm-section-bottom {
        padding-bottom: var(--wgm-section-space-mobile);
    }


    .wgm-heading-xl {
        font-size: clamp(38px, 11vw, 50px);
    }


    .wgm-heading-lg {
        font-size: clamp(32px, 9vw, 42px);
    }


    .wgm-lead {
        font-size: 18px;
    }


    .wgm-eyebrow {
        margin-bottom: 18px;

        font-size: 11px;
    }


    .wgm-eyebrow::before {
        width: 28px;
    }


    .site-logo {
        max-width: 155px;
    }

    .navbar-collapse {
        width: 88vw;

        padding:
            88px
            22px
            35px;
    }


    /* Hero */

    .home-hero {
        min-height: 650px;
        height: 90vh;
    }

    .home-hero-bg {
        background-position: 58% center;
    }

    .home-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(13,29,42,.92) 0%,
                rgba(13,29,42,.76) 70%,
                rgba(13,29,42,.50) 100%
            );
    }

    .home-hero-content {
        padding-top: 80px;
    }

    .hero-eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .hero-eyebrow::before {
        width: 28px;
    }

    .home-hero h1 {
        font-size:
            clamp(42px, 12vw, 60px);
    }

    .hero-intro {
        margin-top: 22px;

        font-size: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;

        margin-top: 30px;
    }

    .wgm-about-intro {
        padding:
            70px
            0
            75px;
    }


    .wgm-about-heading {
        font-size:
            clamp(
                38px,
                10.5vw,
                48px
            );

        line-height: 1.08;
    }


    .wgm-about-content {
        padding-top: 0;
    }


    .wgm-about-lead {
        margin-bottom: 22px;

        font-size: 19px;
        line-height: 1.6;
    }


    .wgm-about-content
    > p:not(.wgm-about-lead) {
        font-size: 15px;
        line-height: 1.75;
    }


    .wgm-about-footer {
        align-items: flex-start;
        flex-direction: column;

        gap: 28px;

        margin-top: 34px;
        padding-top: 25px;
    }

    .wgm-testimonials {
        padding:
            55px
            0
            42px;
    }


    .wgm-testimonials-header {
        margin-bottom: 28px;
    }


    .wgm-testimonials-eyebrow {
        font-size: 10px;
    }


    .wgm-testimonials-eyebrow::before {
        width: 25px;
    }


    .wgm-testimonials-nav {
        gap: 7px;
    }


    .wgm-testimonial-arrow {
        width: 40px;
        height: 40px;

        font-size: 13px;
    }


    .wgm-testimonial {
        display: block;

        max-width: none;

        padding-top: 22px;
    }


    .wgm-quote-mark {
        height: 48px;

        margin: 0 0 4px;

        font-size: 80px;
        line-height: .7;
    }


    .wgm-testimonial blockquote {
        margin-bottom: 26px;

        font-size:
            clamp(
                24px,
                6.7vw,
                31px
            );

        line-height: 1.3;

        letter-spacing: -.025em;
    }


    .wgm-testimonial-meta {
        gap: 13px;
    }


    .wgm-testimonial-line {
        width: 30px;
    }


    .wgm-testimonial-progress {
        margin-top: 30px;
    }


    .wgm-testimonial-progress-track {
        width: 110px;
    }

    .wgm-services {
        padding:
            70px
            0
            75px;
    }


    .wgm-services-heading {
        margin-bottom:
            38px;

        font-size:
            clamp(
                38px,
                10vw,
                48px
            );
    }


    .wgm-service-main {
        grid-template-columns:
            34px
            minmax(0, 1fr)
            36px;

        gap: 10px;

        min-height: 82px;

        padding-right: 0;
    }


    .wgm-service-main h3 {
        font-size:
            clamp(
                21px,
                6vw,
                26px
            );
    }


    .wgm-service-number {
        font-size: 10px;
    }


    .wgm-service-arrow {
        width: 34px;
        height: 34px;
    }


    .wgm-service-mobile-content {
        padding:
            0
            0
            25px
            34px;
    }


    .wgm-service-mobile-image {
        height: 190px;

        margin-bottom: 17px;
    }


    .wgm-service-mobile-content p {
        padding-right: 0;

        font-size: 13px;
    }


    .wgm-services-footer {
        margin-top: 32px;
    }

     .wgm-partners {
        padding:
            45px
            0;
    }


    .wgm-partners-header {
        align-items: flex-end;

        gap: 20px;

        margin-bottom: 25px;
    }


    .wgm-partners-intro {
        max-width: 260px;

        font-size: 13px;
    }


    .wgm-partners-arrow {
        width: 34px;
        height: 34px;
    }


    .wgm-partner-item {
        height: 90px;

        padding:
            18px
            20px;
    }


    .wgm-partner-item img {
        max-width: 120px;
        max-height: 44px;
    }

    .wgm-sectors {
        padding:
            70px
            0
            75px;
    }


    .wgm-sectors-intro {
        margin-bottom: 35px;
    }


    .wgm-sectors-heading {
        font-size:
            clamp(
                38px,
                10vw,
                48px
            );
    }


    .wgm-sectors-intro-copy {
        margin-top: 25px;
    }


    .wgm-sectors-intro-copy p {
        font-size: 15px;
    }


    .wgm-sector-card {
        height: 390px;
    }


    .wgm-sector-content {
        padding:
            24px;
    }


    .wgm-sector-arrow {
        width: 38px;
        height: 38px;
    }


    .wgm-sector-text h3 {
        font-size:
            clamp(
                27px,
                8vw,
                34px
            );
    }


    .wgm-sector-text p {
        font-size: 13px;
        line-height: 1.6;
    }

    .wgm-esg {
        padding:
            70px
            0
            75px;
    }


    .wgm-esg-image {
        min-height: 360px;
    }


    .wgm-esg-image-label {
        left: 24px;
        bottom: 22px;
    }


    .wgm-esg-content {
        padding:
            45px
            28px
            50px;
    }


    .wgm-esg-heading {
        margin-bottom: 30px;

        font-size:
            clamp(
                36px,
                9.5vw,
                46px
            );
    }


    .wgm-esg-copy
    .wgm-esg-lead {
        font-size: 17px;
    }


    .wgm-esg-theme {
        padding:
            32px
            28px
            35px;
    }


    .wgm-esg-theme-number {
        margin-bottom: 20px;
    }

    .wgm-faqs {
        padding:
            70px
            0
            75px;
    }


    .wgm-faq-heading {
        margin-bottom: 22px;

        font-size:
            clamp(
                38px,
                10vw,
                48px
            );
    }


    .wgm-faq-intro {
        font-size: 14px;
    }


    .wgm-faq-accordion
    .accordion-button {
        min-height: 80px;

        padding:
            23px
            52px
            23px
            0;

        font-size: 18px;
    }


    .wgm-faq-accordion
    .accordion-button::before {
        right: 0;

        width: 34px;
        height: 34px;

        font-size: 27px;
    }


    .wgm-faq-accordion
    .accordion-body {
        padding:
            0
            45px
            26px
            0;
    }


    .wgm-faq-accordion
    .accordion-body p {
        font-size: 15px;
    }

    .wgm-contact {
        padding:
            70px
            0
            75px;
    }


    .wgm-contact-heading {
        font-size:
            clamp(
                44px,
                12vw,
                58px
            );

        line-height: 1.02;
    }


    .wgm-contact-main {
        margin-top: 45px;

        padding-top: 38px;
    }


    .wgm-contact-intro {
        margin-bottom: 35px;

        font-size: 16px;
    }


    .wgm-contact-form-wrap {
        padding-top: 40px;
    }


    .wgm-contact-form-heading {
        display: block;

        margin-bottom: 32px;
    }


    .wgm-contact-form-heading
    span:last-child {
        display: block;

        margin-top: 7px;
    }


    .wgm-contact-submit {
        justify-content: stretch;
    }


    .wgm-contact-submit-button {
        width: 100%;
    }

    .site-footer {
        padding-bottom: 25px;
    }


    .wgm-footer-brand {
        min-height: 150px;

        padding:
            35px
            0;
    }


    .wgm-footer-logo img {
        max-width: 250px;
        max-height: 85px;
    }


    .wgm-footer-content {
        padding:
            45px
            0
            50px;
    }


    .wgm-footer-title {
        margin-bottom: 18px;
    }


    .wgm-footer-professional {
        flex-wrap: wrap;

        gap:
            8px
            12px;

        padding:
            20px
            0;

        line-height: 1.6;
    }


    .wgm-footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 15px;

        padding-top: 22px;
    }

    .wgm-projects {
        padding:
            70px
            0
            75px;
    }


    .wgm-projects-heading {
        margin-bottom: 22px;

        font-size:
            clamp(
                40px,
                11vw,
                50px
            );
    }


    .wgm-projects-intro-copy {
        font-size: 14px;
    }


    .wgm-projects-grid,
    .wgm-projects-secondary {
        display: block;
    }


    .wgm-project-card-main,
    .wgm-project-card-small {
        min-height: 390px;

        margin-bottom: 14px;
    }


    .wgm-project-card:last-child {
        margin-bottom: 0;
    }


    .wgm-project-content,
    .wgm-project-card-main
    .wgm-project-content {
        padding: 25px;
    }


    .wgm-project-card h3,
    .wgm-project-card-main h3 {
        font-size: 23px;
    }


    .wgm-project-arrow {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

    .wgm-insights {
        padding:
            70px
            0
            75px;
    }


    .wgm-insights-heading {
        margin-bottom: 22px;

        font-size:
            clamp(
                40px,
                11vw,
                50px
            );
    }


    .wgm-insights-intro-copy {
        font-size: 14px;
    }


    .wgm-insight-featured {
        display: block;

        min-height: 0;
    }


    .wgm-insight-featured-image {
        min-height: 0;

        aspect-ratio: 16 / 10;
    }


    .wgm-insight-featured-content {
        min-height: 370px;

        padding:
            35px
            28px;
    }


    .wgm-insight-featured-content::before {
        display: none;
    }


    .wgm-insight-featured h3 {
        font-size:
            clamp(
                27px,
                8vw,
                34px
            );
    }


    .wgm-insights-secondary {
        margin-top: 30px;
    }


    .wgm-insight-small {
        grid-template-columns:
            120px
            minmax(0, 1fr);

        gap: 20px;

        padding:
            25px
            0;
    }


    .wgm-insight-small-image {
        width: 120px;
        height: 140px;
    }


    .wgm-insight-small h3 {
        font-size: 18px;
    }

    .wgm-partners {
        padding:
            65px
            0
            70px;
    }


    .wgm-partners-header {
        display: block;

        margin-bottom: 34px;
    }


    .wgm-partners-heading-content {
        width: 100%;
    }


    .wgm-partners-heading {
        max-width: 100%;

        font-size:
            clamp(
                38px,
                10vw,
                48px
            );
    }


    .wgm-partners-header-right {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;

        gap: 25px;

        width: 100%;

        margin-top: 28px;

        padding-bottom: 0;
    }


    .wgm-partners-intro {
        flex:
            1
            1
            auto;

        max-width: 320px;

        font-size: 13px;
    }


    .wgm-partners-controls {
        flex:
            0
            0
            auto;

        margin-top: 0;
    }


    .wgm-partners-arrow {
        flex-basis: 40px;

        width: 40px;
        min-width: 40px;
        max-width: 40px;

        height: 40px;
        min-height: 40px;
        max-height: 40px;
    }


    .wgm-partners-carousel-wrap {
        padding:
            22px
            0;
    }


    .wgm-partner-item {
        height: 78px;

        padding:
            10px
            15px;
    }


    .wgm-partner-item img {
        max-width: 120px;
        max-height: 45px;
    }

    .wgm-quick-contact {
        padding:
            34px
            0
            38px;
    }


    .wgm-quick-contact-inner {
        gap: 23px;
    }


    .wgm-quick-contact-title {
        max-width: 330px;

        font-size: 25px;

        line-height: 1.25;
    }


    .wgm-quick-contact-links {
        flex-direction: column;

        align-items: stretch;
    }


    .wgm-quick-contact-link,
    .wgm-quick-contact-link:first-child {
        width: 100%;

        padding:
            13px
            0;

        border-left: 0;

        border-top:
            1px solid
            rgba(255,255,255,.12);
    }


    .wgm-quick-contact-link strong {
        font-size: 13px;

        white-space: normal;
    }


    .wgm-quick-contact-cta {
        width: 100%;

        justify-content: space-between;

        margin:
            17px
            0
            0;

        padding:
            0
            18px;
    }


    /* Simplify drawing detail on mobile */

    .wgm-quick-contact-line-1 {
        right: -180px;
    }


    .wgm-quick-contact-line-2 {
        width: 55%;
    }


    .wgm-quick-contact-line-3,
    .wgm-quick-contact-node-2 {
        display: none;
    }

}


/* =====================================
   SMALL MOBILE
   ===================================== */

@media (max-width: 479.98px) {

    .wgm-testimonials {
        padding:
            48px
            0
            38px;
    }


    .wgm-testimonials-header {
        gap: 12px;
    }


    .wgm-testimonial-arrow {
        width: 38px;
        height: 38px;
    }


    .wgm-testimonial blockquote {
        font-size:
            clamp(
                23px,
                6.5vw,
                28px
            );
    }


    .wgm-testimonial-meta div span {
        font-size: 12px;
    }

    .wgm-partners-header {
        align-items: flex-start;
    }


    .wgm-partners-intro {
        display: none;
    }


    .wgm-partner-item {
        height: 82px;
    }

    .wgm-sector-card {
        height: 365px;
    }


    .wgm-sector-content {
        padding:
            21px;
    }


    .wgm-sector-category {
        font-size: 10px;
    }

    .wgm-footer-logo img {
        max-width: 210px;
    }


    .wgm-footer-contact-link {
        font-size: 18px;
    }

    .wgm-project-card-main,
    .wgm-project-card-small {
        min-height: 340px;
    }


    .wgm-project-services {
        font-size: 11px;
    }


    .wgm-project-bottom {
        gap: 15px;
    }

    .wgm-insight-featured-content {
        min-height: 340px;

        padding:
            30px
            24px;
    }


    .wgm-insight-small {
        grid-template-columns:
            95px
            minmax(0, 1fr);

        gap: 17px;
    }


    .wgm-insight-small-image {
        width: 95px;
        height: 120px;
    }


    .wgm-insight-small h3 {
        margin-bottom: 14px;

        font-size: 16px;
    }


    .wgm-insights-link-small {
        font-size: 12px;
    }

    .wgm-partners {
        padding:
            60px
            0
            65px;
    }


    .wgm-partners-header-right {
        align-items: center;

        gap: 15px;

        margin-top: 24px;
    }


    .wgm-partners-intro {
        font-size: 12px;
        line-height: 1.6;
    }


    .wgm-partners-controls {
        gap: 6px;
    }


    .wgm-partners-arrow {
        flex-basis: 38px;

        width: 38px;
        min-width: 38px;
        max-width: 38px;

        height: 38px;
        min-height: 38px;
        max-height: 38px;
    }


    .wgm-partner-item {
        height: 72px;

        padding:
            8px
            12px;
    }


    .wgm-partner-item img {
        max-width: 110px;
        max-height: 42px;
    }

}


/* =====================================
   REDUCED MOTION
   ===================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =========================================================
   INTERNAL BUILDING SURVEYING PAGE
   ========================================================= */

@media (max-width: 1199.98px) {
    .wgm-page-hero {
        min-height: 0;
        height: auto;
    }
    .wgm-page-hero-content {
        padding-top: 140px;
        padding-bottom: 65px;
    }
    .wgm-service-directory-list { column-gap: 40px; }
    .wgm-profile-content { padding: 50px; }
}

@media (max-width: 991.98px) {
    .wgm-page-hero-content {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    .wgm-editorial-intro,
    .wgm-service-directory,
    .wgm-insights--compact { padding: var(--wgm-section-space-tablet) 0; }
    .wgm-editorial-intro-content { padding: 0; }
    .wgm-service-directory-header { margin-bottom: 45px; }
    .wgm-service-directory-list { grid-template-columns: 1fr; }
    .wgm-service-directory-list > li:nth-child(2) { border-top: 0; }
    .wgm-service-directory-item { min-height: 68px; }
    .wgm-development-note { margin-right: 0; }
    .wgm-insights-compact-grid { gap: 22px; }
}

@media (max-width: 767.98px) {
    .wgm-page-hero-content { padding-top: 118px; padding-bottom: 55px; }
    .wgm-breadcrumb { margin-bottom: 24px; }
    .wgm-page-hero h1 { font-size: clamp(43px, 12vw, 58px); }
    .wgm-page-hero-intro { font-size: 16px; }
    .wgm-editorial-intro,
    .wgm-service-directory,
    .wgm-insights--compact { padding: var(--wgm-section-space-mobile) 0; }
    .wgm-editorial-intro-heading,
    .wgm-service-directory-header h2,
    .wgm-compact-section-header h2 { font-size: clamp(38px, 11vw, 50px); }
    .wgm-editorial-intro-lead { font-size: 19px; }
    .wgm-editorial-audience { gap: 8px 10px; }
    .wgm-service-directory-header { display: block; }
    .wgm-service-directory-header h2 { margin-bottom: 18px; }
    .wgm-service-directory-header > p:last-child { margin: 0; }
    .wgm-service-directory-item { grid-template-columns: 36px 1fr 34px; gap: 10px; }
    .wgm-service-directory-item:hover,
    .wgm-service-directory-item:focus-visible,
    .wgm-service-directory-item.active { padding-left: 8px; }
    .wgm-service-directory-name { font-size: 17px; }
    .wgm-profile { padding: 55px 0; }
    .wgm-profile-placeholder { min-height: 235px; }
    .wgm-profile-content { padding: 42px 30px; }
    .wgm-compact-section-header { display: block; margin-bottom: 38px; }
    .wgm-compact-section-header .wgm-development-note { margin-top: 18px; text-align: left; }
    .wgm-insights-compact-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (prefers-reduced-motion: reduce) {
    .wgm-service-directory-item { transition: none !important; }
}
