@media (max-width: 640px) {
    main > section:not(.hero):not(.service-hero):not(.static-page-contact):not([style]),
    .service-page .imported-content > section {
        padding-top: clamp(22px, 6vw, 30px) !important;
        padding-bottom: clamp(22px, 6vw, 30px) !important;
    }

    .service-page .imported-content .section-heading,
    .service-page .imported-content .heading-section,
    .service-page .section-heading,
    .service-page .heading-section {
        margin-bottom: 16px !important;
    }

    .service-page .imported-content h1,
    .service-page .imported-content h2,
    .service-page .imported-content h3,
    .service-page .section-heading h2,
    .service-page .heading-section h2 {
        margin-bottom: 10px !important;
    }

    .service-page .imported-content h1 + p,
    .service-page .imported-content h2 + p,
    .service-page .imported-content h3 + p {
        margin-top: 0 !important;
    }

    .service-page .service-intro-grid + .service-intro-grid,
    .service-page .benefit-layout + .benefit-layout {
        margin-top: 16px !important;
    }

    .service-page .why-section .service-quote .form-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
    }

    .service-page .why-section .service-quote input,
    .service-page .why-section .service-quote select,
    .service-page .why-section .service-quote textarea {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        font-size: 16px;
    }

    main > .hero,
    main > .service-hero {
        min-height: 240px !important;
    }

    main > .hero .hero-content {
        padding-block: 42px !important;
    }

    main > .service-hero .service-hero-inner {
        padding-block: 30px 26px !important;
    }

    main > .service-hero .crumbs {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 900px) {
    .editorial-services-intro,
    .faq-intro,
    .contact-form-box,
    .service-page .service-image-wrap,
    .service-page .benefit-image,
    .service-page .contact-us .contact-info {
        position: static !important;
        top: auto !important;
    }
}

@media (min-width: 641px) {
    .service-page .section-heading:not(.why-section-heading),
    .service-page .section-head,
    .service-page .heading-section,
    .service-page .contents-editorial-intro,
    .service-page .coverage-heading,
    .service-page .region-heading,
    .service-page .stories-heading,
    .service-page .faq-intro {
        text-align: center !important;
    }

    .service-page .section-heading:not(.why-section-heading) h2,
    .service-page .section-head h2,
    .service-page .heading-section h2,
    .service-page .contents-editorial-intro h2,
    .service-page .coverage-heading h2,
    .service-page .region-heading h2,
    .service-page .stories-heading h2,
    .service-page .faq-intro h2 {
        text-align: center !important;
    }

    .service-page .section-heading:not(.why-section-heading) h2::after,
    .service-page .section-head h2::after,
    .service-page .heading-section h2::after {
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

.service-page .service-copy,
.service-page .benefit-copy {
    text-align: left !important;
}

.service-page .service-copy h2,
.service-page .benefit-copy h3,
.service-page .imported-content section h2 {
    text-align: left !important;
}

@media (max-width: 640px) {
    .intro-copy,
    .editorial-services-intro,
    .emergency-panel,
    .business-copy,
    .faq-intro,
    .coverage-heading,
    .stories-heading,
    .section-head {
        text-align: center !important;
    }

    .emergency-panel > div {
        width: 100%;
    }

    .emergency-panel > a {
        justify-self: center;
    }

    .service-page .section-heading,
    .service-page .section-head,
    .service-page .heading-section,
    .service-page .contents-editorial-intro,
    .service-page .coverage-heading,
    .service-page .region-heading,
    .service-page .stories-heading,
    .service-page .faq-intro,
    .service-page .why-section-heading,
    .service-page .section-heading h2,
    .service-page .section-head h2,
    .service-page .heading-section h2,
    .service-page .contents-editorial-intro h2,
    .service-page .coverage-heading h2,
    .service-page .region-heading h2,
    .service-page .stories-heading h2,
    .service-page .faq-intro h2,
    .service-page .why-section-heading h2,
    .service-page .service-copy h2,
    .service-page .benefit-copy h3,
    .service-page .imported-content section h2,
    .intro-copy h2,
    .editorial-services-intro h2,
    .emergency-panel h2,
    .business-copy h2,
    .faq-intro h2,
    .coverage-heading h2,
    .section-head h2 {
        text-align: center !important;
    }

    .service-page .section-heading h2::after,
    .service-page .section-head h2::after,
    .service-page .heading-section h2::after {
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

@media (max-width: 1250px) {
    header .nav-links {
        height: auto !important;
        max-height: calc(100vh - 78px) !important;
        max-height: calc(100svh - 78px) !important;
    }

    header .nav-links > a.nav-single {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 50px;
        padding: 14px 4px !important;
        border-bottom: 1px solid #edf0ed !important;
        font-size: .8rem !important;
        font-weight: 800;
    }

    header .nav-links > a.nav-single::after {
        display: none !important;
    }

    header .nav-dropdown summary {
        width: 100%;
        padding: 14px 4px !important;
        border-radius: 9px;
    }

    header .nav-dropdown summary::before {
        display: none !important;
    }

    header .nav-dropdown[open] > summary {
        background: #eef4ef !important;
        color: #305649 !important;
    }

    header .nav-dropdown:not([open]) > summary:hover {
        background: transparent !important;
    }

    header .nav-dropdown summary::after {
        width: 6px;
        height: 6px;
        margin-left: auto;
        border-color: #9a7b3e;
    }

    header .nav-dropdown:not([open]) > summary::after {
        transform: rotate(45deg) translateY(-2px) !important;
    }

    header .nav-dropdown[open] > summary::after {
        transform: rotate(225deg) translate(-1px, -1px) !important;
    }

    header .nav-dropdown[open] > .dropdown-menu {
        position: static !important;
        display: grid !important;
        min-width: 0 !important;
        margin: 0 0 10px !important;
        padding: 6px !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #f7f9f7 !important;
        box-shadow: none !important;
        animation: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    header .dropdown-menu::before {
        display: none !important;
    }

    header .dropdown-menu a {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border: 0 !important;
        border-radius: 7px !important;
        color: #35453d;
        font-size: .82rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        white-space: normal !important;
    }

    header .dropdown-menu a::before {
        display: grid !important;
        width: 25px !important;
        height: 25px !important;
        flex: 0 0 25px !important;
        place-items: center;
        border-radius: 7px !important;
        background: #edf4ef !important;
        color: #305649 !important;
        font-size: .78rem !important;
    }

    header .dropdown-menu a::after {
        display: none !important;
    }
}
