/* ac-side-menu */
/* ──────────────────────────────────────────────────────────────────────────
   Side menu — one left-hand drawer at every screen size.
   The menu icon opens the drawer; the page behind it is dimmed. Category
   panels still slide in from the right inside the drawer, with Back.
   Loaded after header.css. The `html body .header-min` prefix outranks the
   legacy desktop/mobile header rules in header.css and dist/style.css.
   ────────────────────────────────────────────────────────────────────────── */
:root { --acsm-w: min(400px, 86vw); --acsm-bg: #0d0d12; --acsm-ease: cubic-bezier(.22, 1, .36, 1); }
/* Keep the floating badge out of the drawer; verification remains enabled.
   Closing the menu restores Google's badge without changing form behaviour. */
html body.ac-mobile-menu-open .grecaptcha-badge {
    visibility: hidden !important;
    pointer-events: none !important;
}
html body .header-min #navigation1 .navbar-contact > .navbar-british-company {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
    gap: 7px;
    box-sizing: border-box;
    height: 36px;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #e2e4e8;
    border-radius: 10px;
    background: #f5f6f7;
    color: #515660;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2 !important;
    letter-spacing: .01em;
    white-space: nowrap;
}
html body .header-min #navigation1 .navbar-british-company > svg {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
}
html body .header-min #navigation1 .navbar-british-company > span {
    display: block;
}
@media (max-width: 575px) {
    html body .header-min #navigation1 .navbar-contact > .navbar-british-company {
        gap: 5px;
        padding: 0 7px !important;
        font-size: 10px;
        letter-spacing: 0;
    }
    html body .header-min #navigation1 .navbar-british-company > span {
        max-width: 42px;
        white-space: normal;
    }
    html body .header-min #navigation1 .navbar-british-company > svg {
        flex-basis: 18px;
        width: 18px;
        height: 11px;
    }
}

/* ── Header bar: menu icon on the left, logo, contact icons on the right ── */
html body .header-min .navbar { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; }
html body .header-min .navbar-brand { order: 0; margin-right: 0 !important; }
html body .header-min .navbar-contact { order: 2; margin: 0 0 0 auto !important; display: flex !important; align-items: center !important; }
html body .header-min .navbar-menu-btn {
    order: -1; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
    gap: 5px !important; width: 36px !important; height: 36px !important; flex: 0 0 36px; padding: 0 !important; margin: 0 12px 0 0 !important;
    border: 0 !important; border-radius: 10px !important; background: rgba(0, 0, 0, .05) !important; cursor: pointer; transition: background .2s ease;
}
html body .header-min .navbar-menu-btn:hover { background: rgba(0, 0, 0, .1) !important; }
html body .header-min .navbar-menu-btn:focus-visible { outline: 2px solid #0055d4 !important; outline-offset: 2px; }
html body .header-min .navbar-menu-btn span { width: 18px !important; }
html body .header-min .navbar-menu-btn span.bar2 { width: 13px !important; }
html body .header-min .navbar-menu-btn:hover span.bar2 { width: 18px !important; }
@media (min-width: 992px) {
    html body .header-min .navbar-contact .navbar-whatsapp { display: none !important; }
}

/* ── Compact header contacts only; leave drawer/footer contacts and CTAs alone.
   The navigation ID outranks legacy !important icon fills (including
   .hasFullSlider), sizing and mobile surface rules without changing visibility. */
html body .header-min #navigation1 > .navbar-contact {
    flex-wrap: nowrap !important;
    align-self: center !important;
    flex-shrink: 0;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
}
html body .header-min #navigation1 > .navbar-contact > li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
html body .header-min #navigation1 > .navbar-contact > li > a {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e2e4e8 !important;
    border-radius: 10px !important;
    background: #f5f6f7 !important;
    color: #272a30 !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}
html body .header-min #navigation1 > .navbar-contact > .navbar-tell > a {
    width: auto !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
}
html body .header-min #navigation1 > .navbar-contact > .navbar-tell > a > span {
    display: block !important;
    font-variant-numeric: lining-nums tabular-nums;
}
html body .header-min #navigation1 > .navbar-contact > li > a > svg {
    display: block !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}
html body .header-min #navigation1 > .navbar-contact > .navbar-email > a > svg {
    height: auto !important;
}
html body .header-min #navigation1 > .navbar-contact > li > a:hover,
html body .header-min #navigation1 > .navbar-contact > li > a:focus-visible {
    background: #edf3fc !important;
    border-color: #b8cef0 !important;
    color: #0055d4 !important;
}
html body .header-min #navigation1 > .navbar-contact > li > a:focus-visible {
    outline: 2px solid #0055d4 !important;
    outline-offset: 2px !important;
}

/* ── Dimmed page behind the drawer (also the click-to-close target) ── */
html body .header-min .menubg {
    position: fixed !important; inset: 0 !important; top: 0 !important; width: 100% !important; height: 100vh !important; height: 100dvh !important;
    background: rgba(0, 0, 0, .5) !important; opacity: 0 !important; visibility: hidden !important; z-index: 10001 !important;
    transition: opacity .35s ease, visibility 0s linear .35s !important; cursor: pointer;
}
html body.ac-mobile-menu-open .header-min .menubg { opacity: 1 !important; visibility: visible !important; transition: opacity .35s ease, visibility 0s !important; }
html body.ac-mobile-menu-open { overflow: hidden !important; }
html body .menu-overlay { display: none !important; }

/* ── Drawer ── */
html body .header-min .navbar-menu-wrap {
    position: fixed !important; top: 0 !important; left: 0 !important; right: auto !important; bottom: 0 !important;
    width: var(--acsm-w) !important; max-width: none !important; height: 100vh !important; height: 100dvh !important;
    margin: 0 !important; padding: 0 !important; flex: none !important; align-self: auto !important;
    display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-items: stretch !important;
    background: var(--acsm-bg) !important; z-index: 10002 !important; overflow: hidden !important;
    opacity: 1 !important; visibility: hidden !important; pointer-events: none !important;
    /* Always transformed: category panels position against the drawer, not the viewport. */
    transform: translateX(-100%) !important; box-shadow: none !important;
    transition: transform .42s var(--acsm-ease), box-shadow .42s ease, visibility 0s linear .42s !important;
}
html body .header-min .navbar-menu-wrap.active {
    visibility: visible !important; pointer-events: auto !important; transform: translateX(0) !important;
    box-shadow: 24px 0 60px rgba(0, 0, 0, .35) !important;
    transition: transform .42s var(--acsm-ease), box-shadow .42s ease, visibility 0s !important;
}

/* Close button (top-right of the drawer) */
html body .header-min .navbar-menu-wrap .drawer-brand {
    position: absolute; top: 16px; left: 24px; z-index: 20001;
    display: flex; align-items: center; width: 56px; height: 40px;
}
html body .header-min .navbar-menu-wrap .drawer-brand svg {
    display: block !important; width: 40px !important; height: 22px !important;
    flex-shrink: 0; fill: #f6cd4a !important;
}
html body .header-min .navbar-menu-wrap.has-open-sub .drawer-brand {
    visibility: hidden !important; pointer-events: none !important;
}
html body .header-min .navbar-menu-wrap .drawer-brand:focus-visible {
    outline: 2px solid #f6cd4a; outline-offset: 4px; border-radius: 4px;
}
html body .header-min .navbar-menu-wrap .navbar-mobile-menu-close {
    position: absolute !important; top: 16px !important; right: 16px !important; left: auto !important;
    width: 40px !important; height: 40px !important; display: flex !important; align-items: center; justify-content: center;
    padding: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .16) !important;
    z-index: 20001 !important; visibility: hidden !important; pointer-events: none !important; cursor: pointer;
}
html body .header-min .navbar-menu-wrap.active .navbar-mobile-menu-close { visibility: visible !important; pointer-events: auto !important; }
html body .header-min .navbar-menu-wrap .navbar-mobile-menu-close svg { width: 16px; height: 16px; fill: #fff !important; }

/* Share spare space around the root promo between navigation and contacts.
   Fixed category panels still fill the drawer. */
html body .header-min .navbar-menu-wrap .navbar-menu {
    display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; width: 100% !important;
    margin: 0 !important; padding: 72px 24px 16px !important; overflow-y: auto !important; overflow-x: hidden !important; list-style: none !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu > li {
    display: block !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important;
    position: relative !important; border: 0 !important; opacity: 0 !important; transform: none !important;
    flex: 0 0 auto !important;
    transition: opacity .3s ease !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu > li.d-lg-none { display: block !important; }
html body .header-min .navbar-menu-wrap .navbar-menu > li::after { display: none !important; }
html body .header-min .navbar-menu-wrap.active .navbar-menu > li.show { opacity: 1 !important; transition-delay: calc(var(--mm-order, 0) * 35ms + 70ms) !important; }
html body .header-min .navbar-menu-wrap .navbar-menu > li > a {
    display: flex !important; align-items: center !important; height: auto !important; min-height: 50px !important;
    padding: 6px 48px 6px 0 !important; color: #fff !important; font-size: clamp(19px, 1.5vw + 12px, 23px) !important; font-weight: 600 !important;
    line-height: 1.2 !important; letter-spacing: -.02em !important; text-transform: none !important; text-decoration: none !important; background: none !important;
    transition: color .18s ease !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu > li > a::before { display: none !important; }
html body .header-min .navbar-menu-wrap .navbar-menu > li > a:hover,
html body .header-min .navbar-menu-wrap .navbar-menu > li > a:focus-visible { color: rgba(255, 255, 255, .65) !important; }
html body .header-min .navbar-menu-wrap .navbar-menu > li.gt-btn > a {
    display: inline-flex !important; min-height: 0 !important; margin: 10px 0 14px; padding: 10px 22px !important;
    background: #fff !important; color: var(--acsm-bg) !important; border-radius: 980px !important; font-size: 14px !important;
}

/* Ready-made sites: a compact root-list card, not a service/category link.
   Keeping it in the list preserves scrolling and the existing .show animation. */
html body .header-min #mobile-site-menu .navbar-menu > li.ac-store-promo,
html body .header-min #mobile-site-menu .navbar-menu .sub-menu > li.ac-store-promo {
    margin-top: 8px !important;
    padding: 12px !important;
    box-sizing: border-box;
    border: 1px solid rgba(246, 205, 74, .16) !important;
    border-radius: 14px;
    background: #1b1b22;
    font-family: "Outfit", sans-serif;
    text-align: left;
}
html body .header-min #mobile-site-menu .navbar-menu .sub-menu > li.ac-store-promo {
    width: auto !important;
    margin: 8px 24px 0 !important;
}
/* Keep a minimum service-to-promo gap even when no free height remains. */
html body .header-min #mobile-site-menu .navbar-menu > li:nth-last-child(2) {
    margin-bottom: 8px !important;
}
html body .header-min #mobile-site-menu .navbar-menu > li.ac-store-promo {
    margin-top: auto !important;
    margin-bottom: auto !important;
}
html body .header-min #mobile-site-menu .ac-store-promo__body {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    align-content: center;
    min-height: 116px;
}
html body .header-min #mobile-site-menu .ac-store-promo__preview {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: stretch;
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: #f5f5f7;
}
html body .header-min #mobile-site-menu .ac-store-promo__preview img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: top center;
}
html body .header-min #mobile-site-menu .ac-store-promo__label {
    display: block;
    grid-column: 2;
    color: #f6cd4a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
}
html body .header-min #mobile-site-menu .ac-store-promo__copy {
    grid-column: 2;
    margin: 4px 0 10px;
    padding: 0;
    color: #e1e1e6;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
}
html body .header-min #mobile-site-menu .ac-store-promo__body > .ac-store-promo__link {
    grid-column: 2;
    justify-self: start;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 1px solid #f6cd4a !important;
    border-radius: 7px !important;
    background: #f6cd4a !important;
    color: #19191f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal;
    transition: none !important;
}
html body .header-min #mobile-site-menu .ac-store-promo__link > span {
    transition: transform .18s ease;
}
html body .header-min #mobile-site-menu .ac-store-promo__link:hover > span {
    transform: translateX(3px);
}
@media (max-width: 359px) {
    html body .header-min #mobile-site-menu .ac-store-promo__body {
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 10px;
    }
    html body .header-min #mobile-site-menu .ac-store-promo__body > .ac-store-promo__link {
        gap: 6px;
        padding-inline: 8px !important;
        font-size: 12px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body .header-min #mobile-site-menu .ac-store-promo__link > span {
        transition: none;
    }
}
html body .header-min #mobile-site-menu .ac-store-promo__link::before,
html body .header-min #mobile-site-menu .ac-store-promo__link::after,
html body .header-min #mobile-site-menu .ac-store-promo > .open-sub {
    display: none !important;
}
html body .header-min #mobile-site-menu .ac-store-promo__body > .ac-store-promo__link:hover {
    background: #ffdb65 !important;
    border-color: #ffdb65 !important;
}
html body .header-min #mobile-site-menu .ac-store-promo__link:focus-visible {
    outline: 2px solid #f6cd4a !important;
    outline-offset: 4px;
}
/* Hide only the promo, never a root row containing a fixed category panel. */
html body .header-min #mobile-site-menu.has-open-sub .navbar-menu > li.ac-store-promo {
    display: none !important;
}

/* Unboxed category chevrons with generous invisible tap targets. */
html body .header-min .navbar-menu-wrap .open-sub {
    display: block !important; position: absolute !important; top: 25px !important; right: 0 !important; left: auto !important; transform: translateY(-50%) !important;
    width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 3px !important; appearance: none !important; cursor: pointer !important; z-index: 5 !important;
    background-color: transparent !important; border: 0 !important; box-shadow: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2d1da' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: center !important; background-size: 16px !important;
}
/* Override legacy pointer-focus rings without removing keyboard focus. */
html body .header-min #mobile-site-menu .open-sub:hover,
html body .header-min #mobile-site-menu .open-sub:focus,
html body .header-min #mobile-site-menu .open-sub:active {
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
html body .header-min #mobile-site-menu .open-sub:hover,
html body .header-min #mobile-site-menu .open-sub:focus-visible {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6cd4a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
}
html body .header-min #mobile-site-menu .open-sub:focus-visible {
    outline: 2px solid #f6cd4a !important;
    outline-offset: -4px;
}
html body .header-min .navbar-menu-wrap.has-open-sub .navbar-menu > li > .open-sub { visibility: hidden !important; pointer-events: none !important; }

/* Legacy desktop dropdown wrapper becomes a plain container. */
html body .header-min .navbar-menu-wrap .custom-dropdown {
    position: static !important; inset: auto !important; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important;
    opacity: 1 !important; visibility: visible !important; transform: none !important; overflow: visible !important; pointer-events: none !important; background: none !important;
}

/* Category panels: fill the drawer and enter from the right. */
html body .header-min .navbar-menu-wrap .navbar-menu > li .sub-menu {
    position: fixed !important; inset: 0 !important; width: 100% !important; max-width: none !important; height: 100% !important; min-height: 0 !important;
    margin: 0 !important; padding: 72px 0 32px !important; display: block !important; z-index: 19999 !important; background: var(--acsm-bg) !important;
    overflow-y: auto !important; overflow-x: hidden !important; list-style: none !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateX(100%) !important;
    transition: transform .46s var(--acsm-ease), opacity .3s ease, visibility 0s linear .46s !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu > li .sub-menu.active {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateX(0) !important;
    transition: transform .46s var(--acsm-ease), opacity .3s ease, visibility 0s !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu::before { display: none !important; }
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu li {
    display: block !important; width: auto !important; position: relative !important; margin: 0 !important; padding: 0 24px !important; border: 0 !important;
    opacity: 0 !important; transform: translateX(14px) !important; transition: opacity .3s ease, transform .42s var(--acsm-ease) !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu.active > li {
    opacity: 1 !important; transform: none !important; transition-delay: calc(var(--mm-order, 0) * 28ms + 100ms) !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu li a {
    display: flex !important; align-items: center !important; justify-content: space-between !important; min-height: 50px !important; padding: 8px 0 !important;
    color: #f5f5f7 !important; font-size: clamp(18px, 1.2vw + 12px, 21px) !important; font-weight: 600 !important; line-height: 1.2 !important;
    letter-spacing: -.02em !important; text-transform: none !important; text-decoration: none !important; opacity: 1 !important; border: 0 !important; background: none !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu li a:hover,
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu li a:focus-visible { color: rgba(255, 255, 255, .68) !important; }

/* Column groups inside a category are shown flat, not as another panel. */
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu .column-title > .open-sub { display: none !important; }
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu .column-title > .sub-menu {
    position: static !important; inset: auto !important; height: auto !important; padding: 0 !important; background: transparent !important; overflow: visible !important;
    opacity: 1 !important; visibility: inherit !important; pointer-events: inherit !important; transform: none !important; transition: none !important; display: block !important;
}
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu .column-title > .sub-menu > li { padding: 0 !important; opacity: 1 !important; transform: none !important; }
html body .header-min .navbar-menu-wrap .navbar-menu .sub-menu .column-title.menu-item-has-children > a::after {
    content: none !important;
    display: none !important;
}

/* Landing-page overview links only; the root category labels stay unchanged. */
html body .header-min #mobile-site-menu .navbar-menu .sub-menu li > a.ac-submenu-overview {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px;
    min-height: 0 !important;
    margin: 0 0 12px !important;
    padding: 12px 14px !important;
    border: 1px solid #34333a !important;
    border-radius: 10px;
    background: #1b1b21 !important;
    color: #f6cd4a !important;
}
html body .header-min #mobile-site-menu .ac-submenu-overview__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
}
html body .header-min #mobile-site-menu .ac-submenu-overview__subtitle {
    color: #c4c3cd;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
}
html body .header-min #mobile-site-menu .navbar-menu .sub-menu li > a.ac-submenu-overview::after {
    display: none !important;
}
html body .header-min #mobile-site-menu .navbar-menu .sub-menu li > a.ac-submenu-overview:hover,
html body .header-min #mobile-site-menu .navbar-menu .sub-menu li > a.ac-submenu-overview:focus-visible {
    background: #242329 !important;
    border-color: #716344 !important;
}
html body .header-min #mobile-site-menu .ac-submenu-overview:focus-visible {
    outline: 2px solid #f6cd4a !important;
    outline-offset: 3px;
}

/* Back button (top-left of the drawer while a category is open) */
html body .header-min .mmenu-back-btn {
    display: flex !important; align-items: center !important; gap: 10px !important; position: fixed !important; top: 16px !important; left: 16px !important;
    z-index: 10003 !important; padding: 8px 16px 8px 10px !important; max-width: calc(var(--acsm-w) - 90px);
    background: rgba(13, 13, 18, .92) !important; border: 1px solid rgba(255, 255, 255, .14) !important; border-radius: 980px !important; cursor: pointer !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transform: translateX(-8px) !important;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
}
html body .header-min .mmenu-back-btn.visible { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: none !important; }
html body .header-min .mmenu-back-btn .mmenu-back-icon {
    display: block !important; flex-shrink: 0; width: 26px !important; height: 26px !important; border-radius: 50% !important; background-color: rgba(255, 255, 255, .12) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: center !important; background-size: 12px !important;
}
html body .header-min .mmenu-back-btn .mmenu-back-label { color: #fff !important; font-size: 13px !important; font-weight: 600 !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }

/* Contacts + newsletter at the foot of the drawer */
html body .header-min .navbar-menu-wrap .navbar-menu-footer {
    display: block !important; flex: 0 0 auto !important; margin: 0 !important; padding: 0 0 env(safe-area-inset-bottom) !important;
    background: #111 !important; border-top: 1px solid rgba(255, 255, 255, .08) !important;
}
html body .header-min #mobile-site-menu .mmenu-contacts {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px 6px;
    padding: 2px 20px 0 !important;
}
html body .header-min #mobile-site-menu .mmenu-contact-row {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box;
    min-width: 0;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    gap: 7px !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #ededf1 !important;
    text-decoration: none !important;
}
html body .header-min #mobile-site-menu .mmenu-contact-call { order: 0; }
html body .header-min #mobile-site-menu .mmenu-contact-whatsapp { order: -1; }
html body .header-min #mobile-site-menu .mmenu-contact-email { order: 2; grid-column: 1 / -1; }
html body .header-min #mobile-site-menu .mmenu-contact-row .mmenu-cicon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 16px;
    width: 16px !important;
    height: 16px !important;
    background: none !important;
    border-radius: 0;
}
html body .header-min #mobile-site-menu .mmenu-cicon svg {
    width: 14px !important;
    height: 14px !important;
    color: #cfbf87 !important;
    fill: currentColor !important;
}
html body .header-min #mobile-site-menu .mmenu-contact-row .mmenu-ctext {
    display: block !important;
    min-width: 0;
}
html body .header-min #mobile-site-menu .mmenu-contact-row .mmenu-cvalue,
html body .header-min #mobile-site-menu .mmenu-contact-whatsapp .mmenu-clabel {
    display: block;
    color: inherit !important;
    font-family: "Outfit", sans-serif;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
}
html body .header-min #mobile-site-menu .mmenu-contact-row .mmenu-carrow,
html body .header-min #mobile-site-menu .mmenu-contact-call .mmenu-clabel,
html body .header-min #mobile-site-menu .mmenu-contact-email .mmenu-clabel,
html body .header-min #mobile-site-menu .mmenu-contact-whatsapp .mmenu-cvalue {
    display: none !important;
}
html body .header-min #mobile-site-menu .mmenu-contact-row:hover,
html body .header-min #mobile-site-menu .mmenu-contact-row:focus-visible {
    color: #f6cd4a !important;
    background: transparent !important;
}
html body .header-min #mobile-site-menu .mmenu-contact-row:focus-visible {
    outline: 2px solid #f6cd4a !important;
    outline-offset: 2px;
}
html body .header-min .navbar-menu-wrap .mmenu-newsletter { padding: 6px 20px 12px !important; }
html body .header-min .navbar-menu-wrap .mmenu-newsletter .footer_bottom_newslater::before { display: none !important; }
html body .header-min .navbar-menu-wrap .mmenu-newsletter .footer_bottom_newslater { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
html body .header-min .navbar-menu-wrap .mmenu-newsletter .footer_bottom_newslater form {
    display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: end !important; gap: 0 !important;
    width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important;
}
html body .header-min .navbar-menu-wrap .mmenu-newsletter .tnp-field-email { min-width: 0 !important; }
html body .header-min #mobile-site-menu .mmenu-newsletter .tnp-field-email label {
    display: block !important;
    color: #c4c3cd !important;
    font-family: "Outfit", sans-serif;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    margin: 0 0 4px !important;
}
html body .header-min .navbar-menu-wrap .mmenu-newsletter .tnp-field-button { width: auto !important; }
html body .header-min #mobile-site-menu .mmenu-newsletter .tnp-field { margin: 0 !important; padding: 0 !important; }
html body .header-min .navbar-menu-wrap .mmenu-newsletter :is(.tnp-email, .tnp-submit) { height: 36px !important; min-height: 0 !important; box-sizing: border-box !important; padding: 6px 10px !important; font-size: 12px !important; line-height: 1.4 !important; border-radius: 8px !important; letter-spacing: normal !important; }
html body .header-min #mobile-site-menu .mmenu-newsletter input.tnp-email {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid #3b3a43 !important;
    border-right: 0 !important;
    border-radius: 6px 0 0 6px !important;
    background: #19191f !important;
    color: #ededf1 !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 16px !important;
    box-shadow: none !important;
    appearance: none;
}
html body .header-min #mobile-site-menu .mmenu-newsletter .tnp-email::placeholder {
    color: #a7a5b2 !important;
    opacity: 1;
}
html body .header-min #mobile-site-menu .mmenu-newsletter .tnp-email:focus {
    outline: 2px solid #f6cd4a !important;
    outline-offset: -2px;
    background: #1e1e25 !important;
}
html body .header-min #mobile-site-menu .mmenu-newsletter .tnp-email:user-invalid,
html body .header-min #mobile-site-menu .mmenu-newsletter .tnp-email[aria-invalid="true"] {
    outline: 2px solid #e9a29c !important;
    outline-offset: -2px;
    border-color: #e9a29c !important;
}
html body .header-min #mobile-site-menu .mmenu-newsletter :is(.tnp-error, .tnp-message, [role="alert"]) {
    grid-column: 1 / -1;
    color: #e9a29c;
    font-size: 12px;
    line-height: 1.4;
}
html body .header-min .navbar-menu-wrap .mmenu-newsletter .tnp-submit { width: auto !important; white-space: nowrap !important; font-weight: 600 !important; }
html body:not(.wp-admin) .header-min #mobile-site-menu .mmenu-newsletter input.tnp-submit {
    margin: 0 !important;
    width: auto !important;
    height: 36px !important;
    min-height: 0 !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    border: 1px solid #f6cd4a !important;
    border-radius: 0 6px 6px 0 !important;
    background: #f6cd4a !important;
    color: #19191f !important;
    font-family: "Outfit", sans-serif !important;
    text-transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    cursor: pointer;
}
html body:not(.wp-admin) .header-min #mobile-site-menu .mmenu-newsletter input.tnp-submit:hover {
    background: #ffdb65 !important;
    border-color: #ffdb65 !important;
    color: #19191f !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
}
html body:not(.wp-admin) .header-min #mobile-site-menu .mmenu-newsletter input.tnp-submit:focus {
    box-shadow: none !important;
}
html body:not(.wp-admin) .header-min #mobile-site-menu .mmenu-newsletter input.tnp-submit:focus-visible {
    outline: 2px solid #f6cd4a !important;
    outline-offset: 3px;
}
html body:not(.wp-admin) .header-min #mobile-site-menu .mmenu-newsletter input.tnp-submit:active {
    background: #e4b93b !important;
    border-color: #e4b93b !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Intermediate heights: recover space from the root rhythm, not the content.
   Keep category panels untouched and their chevrons aligned to the root rows. */
@media (max-height: 780px) {
    html body .header-min #mobile-site-menu .navbar-menu { padding-bottom: 2px !important; }
    html body .header-min #mobile-site-menu .navbar-menu > li > a {
        min-height: 40px !important;
        font-size: 19px !important;
    }
    html body .header-min #mobile-site-menu .navbar-menu > li > .open-sub { top: 20px !important; }
    html body .header-min #mobile-site-menu .navbar-menu > li.gt-btn > a { margin: 6px 0 8px !important; }
}

/* Short screens: let the whole drawer scroll rather than clip contacts.
   The ordinary root list also keeps overflow:auto for larger menus/zoom. */
@media (max-height: 600px) {
    html body .header-min .navbar-menu-wrap:not(.has-open-sub) { overflow-y: auto !important; }
    html body .header-min .navbar-menu-wrap .navbar-menu { flex: 0 0 auto !important; overflow: visible !important; }
}

@media (prefers-reduced-motion: reduce) {
    html body .header-min :is(.navbar-menu-wrap, .navbar-menu-wrap .navbar-menu > li, .navbar-menu-wrap .sub-menu, .navbar-menu-wrap .sub-menu li, .mmenu-back-btn, .menubg) {
        transition-duration: .01ms !important; transition-delay: 0ms !important;
    }
}

/* ac-solution-grid */
/* Shared solution standard, taken from Adult SEO's actual divider grid.
 * Only explicitly opted-in solution sections are affected. */
html body:not(.wp-admin) section.ac-solution-grid {
    background: #fff !important;
    color: #1d1d1f;
    font-family: "Outfit", sans-serif;
    padding-block: clamp(64px, 8vw, 100px) !important;
    scroll-margin-top: 80px;
}
.ac-solution-grid > .container {
    width: 100%;
    max-width: 1200px !important;
    margin-inline: auto;
}
section.ac-solution-grid .ac-solution-grid__head {
    display: block !important;
    max-width: 900px;
    margin: 0 auto clamp(32px, 5vw, 56px) !important;
    text-align: center;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__head h2 {
    color: #1d1d1f;
    font-family: "Outfit", sans-serif !important;
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    margin: 0 0 clamp(2rem, 4vw, 3rem) !important;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__head :is(h2, p, .ac-solution-grid__intro, .ac-solution-grid__intro *):not(.header-min *):not(.footer *):not(form *):not(.bes-temp-intro):not(.caseStudy-list-intro) {
    text-align: center !important;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__intro,
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__intro :is(p, li) {
    color: #55565c;
    font-size: 17px !important;
    font-weight: 400;
    line-height: 1.65 !important;
    white-space: normal;
}
.ac-solution-grid .ac-solution-grid__intro p:last-child { margin-bottom: 0; }
section.ac-solution-grid .ac-solution-grid__items {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100%;
    max-height: none;
    border: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    transform: none !important;
}
section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="1"] { grid-template-columns: minmax(0, 1fr) !important; }
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items .ac-solution-grid__item :is(p, div, li) {
    color: #515154;
    font-size: .9rem !important;
    font-weight: 400;
    line-height: 1.65 !important;
    white-space: normal;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items .ac-solution-grid__item :is(h3, p, div, li, a):not(.header-min *):not(.footer *):not(form *):not(.bes-temp-intro):not(.caseStudy-list-intro) {
    text-align: left !important;
}
.ac-solution-grid .ac-solution-grid__item p:last-child { margin-bottom: 0; }
.ac-solution-grid .ac-solution-grid__item > a { display: inline-block; margin-top: 18px; text-decoration: underline; text-underline-offset: 3px; }
.ac-solution-grid .ac-solution-grid__item a:focus-visible { outline: 2px solid #0071e3; outline-offset: 4px; }
section.ac-solution-grid .ac-solution-grid__item::after { content: none !important; display: none !important; }
section.ac-solution-grid .ac-seo-slider__controls { display: none !important; }
@media (min-width: 768px) and (max-width: 991px) {
    section.ac-solution-grid .ac-solution-grid__items:not([data-solution-columns="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
    .ac-solution-grid > .container { padding-inline: 24px; }
    section.ac-solution-grid .ac-solution-grid__items[data-solution-columns] { grid-template-columns: minmax(0, 1fr) !important; }
}

/* The card hover the web design pages have.
 *
 * numbered-why.css gives these same .ac-seo-different__item cards a hover on
 * the web design template - a faint wash plus a 2px rule that wipes in from
 * the left - but it is scoped to .ac-numbered-why, which the solution grid
 * here does not carry. So the identical cards were inert on the SEO pages.
 *
 * Same declarations, same timing, pointed at .ac-solution-grid.
 *
 * The rule is absolutely positioned on the card's top edge, which is what
 * web design does - adult-seo-different.css gives it `position: absolute;
 * top: -1px; left: 0`. An earlier version of this comment claimed the
 * opposite and the rule was written as a flow block to match the claim.
 * Measured, that put the bar INSIDE the card's 32px padding: 535px wide on a
 * 600px card, starting 40px down and pushing the heading a further 16px
 * below where web design puts it. Side by side the two read as different
 * components.
 *
 * Absolute, top -1px, full width, no margin: the bar sits on the card's
 * border the way the reference does, and the heading starts where the
 * padding says it should. */
/* The !importants are not decoration. Two rules above hold this card down:
 * `...__item::before, ...__item::after { content: none !important; display:
 * none !important }`, which exists to suppress a counter the shared bundle
 * would otherwise draw here, and `background: transparent !important` on the
 * card. Re-declaring content and display puts this rule back without
 * disturbing the ::after the kill rule was written for. */

/* ac-cta-system */
/**
 * AC CTA system. Explicit audited inventory, NOT a universal button rule.
 * New components: ac-cta ac-cta--primary / ac-cta ac-cta--secondary.
 * Use ac-cta-surface--dark on a dark container, or --light on a nested light card.
 * Important declarations intentionally override legacy CMS colour/shape utilities.
 */
:root,
.ac-cta-surface--light {
    --ac-cta-font: "Outfit", sans-serif;
    --ac-cta-radius: 12px;
    --ac-cta-height: 48px;
    --ac-cta-primary-bg: #1d1d1f;
    --ac-cta-primary-fg: #fff;
    --ac-cta-primary-border: #1d1d1f;
    --ac-cta-primary-hover: #3a3a3c;
    --ac-cta-secondary-bg: #fff;
    --ac-cta-secondary-fg: #1d1d1f;
    --ac-cta-secondary-border: #e4e4e7;
    --ac-cta-secondary-hover: #f1f2f4;
    --ac-cta-focus: #3659ba;
}

/* Existing dark surfaces verified in theme templates. Inverse colour, same shape. */
:is(.ac-cta-surface--dark, .bg-black, .homeNew-templates-info, .awdb-cta-strip, .mmenu-newsletter) {
    --ac-cta-primary-bg: #f5f5f7;
    --ac-cta-primary-fg: #1d1d1f;
    --ac-cta-primary-border: #f5f5f7;
    --ac-cta-primary-hover: #e4e4e7;
    --ac-cta-secondary-bg: transparent;
    --ac-cta-secondary-fg: #f5f5f7;
    --ac-cta-secondary-border: #d4d4d8;
    --ac-cta-secondary-hover: #343438;
    --ac-cta-focus: #a9baff;
}
:is(.ac-cta-surface--light, .bg-white, .modal-content, .ac-product-card--light, .ec-card, .ec-callout) {
    --ac-cta-primary-bg: #1d1d1f;
    --ac-cta-primary-fg: #fff;
    --ac-cta-primary-border: #1d1d1f;
    --ac-cta-primary-hover: #3a3a3c;
    --ac-cta-secondary-bg: #fff;
    --ac-cta-secondary-fg: #1d1d1f;
    --ac-cta-secondary-border: #e4e4e7;
    --ac-cta-secondary-hover: #f1f2f4;
    --ac-cta-focus: #3659ba;
}

/* AC_CTA_INVENTORY_START */
html body:not(.wp-admin) :is(
    .ac-cta,
    a.btn:not(.btn-link):not(.text-underline):not(.plus-btn):not(.portfolio-single-actions__back):not([data-toggle="collapse"]):not([data-toggle="tab"]):not([role="tab"]),
    a.seo-hero-cta,
    a.ec-button,
    a.awdb-hero-banner__btn,
    a.awdb-cta-strip__btn,
    a.ac-mkt-barriers__cta,
    a.bes-temp-cta-btn,
    a.ac-tmpl-btn,
    a.ac-tmpl-card-preview,
    a.ac-featured-plugins__cta,
    a.wd-store-visit-btn,
    a.store-Home__cta-btn,
    a.seo-results-section__all-btn,
    a.poc-cta,
    a.gt-btn,
    .ac-hero-card-cta,
    .advertise-us > .btn-advertise,
    button.btn-price,
    button.btn-order,
    button.btn-confirmSelect,
    button#p_bynow,
    button.btn[data-toggle="modal"],
    button.cw-order-button,
    button.cw-modal__submit,
    .tnp-submit,
    #newsModal .wpcf7 input[type="submit"],
    #newsModal .wpcf7 button[type="submit"],
    form input[type="submit"],
    form button[type="submit"]
) {
    --ac-cta-bg: var(--ac-cta-primary-bg);
    --ac-cta-fg: var(--ac-cta-primary-fg);
    --ac-cta-border: var(--ac-cta-primary-border);
    --ac-cta-hover: var(--ac-cta-primary-hover);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: var(--ac-cta-height) !important;
    height: auto !important;
    max-width: 100%;
    padding: .7rem 1.35rem !important;
    border: 1px solid var(--ac-cta-border) !important;
    border-radius: var(--ac-cta-radius) !important;
    background: var(--ac-cta-bg) !important;
    color: var(--ac-cta-fg) !important;
    box-shadow: none !important;
    font-family: var(--ac-cta-font) !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    vertical-align: middle;
    gap: .5rem;
    transition: transform var(--ac-cta-duration, .2s) ease, opacity var(--ac-cta-duration, .2s) ease !important;
}
/* AC_CTA_INVENTORY_END */

/* Audited service-package exception: Copywriting's yellow pill is the reference.
 * Set the inventory's existing tokens on the actual package action, not on a
 * broad page/body/button selector. This survives late CTA loading without a
 * second competing set of important background/radius declarations. Form submit
 * buttons, carousel arrows, store products and all other CTAs stay unchanged.
 */
html body:not(.wp-admin) :is(
    .plans-outreach .poc-card__footer .poc-cta,
    #hosting-packages.ac-hosting-plans .pricing-package-new-content-footer .btn-price,
    .pricingPackage .pricing-package-content-footer .btn-price,
    .cw-packages .cw-card__footer .cw-order-button
) {
    --ac-cta-primary-bg: #f6cd4a;
    --ac-cta-primary-fg: #161616;
    --ac-cta-primary-border: #f6cd4a;
    --ac-cta-primary-hover: #f9d977;
    --ac-cta-radius: 999px;
    --ac-cta-focus: #916d00;
}

/* Deliberate second actions; do not infer roles from colour utilities or labels. */
html body:not(.wp-admin) :is(
    .ac-cta.ac-cta--secondary,
    a.ec-button--secondary,
    a.seo-hero-cta--secondary,
    a.awdb-hero-banner__btn--outline,
    a.ac-meeting-cta,
    a.bes-temp-cta-btn:not(:first-child),
    a.wd-store-visit-btn,
    .ac-hero-card-cta,
    a.ac-tmpl-card-preview
) {
    --ac-cta-bg: var(--ac-cta-secondary-bg) !important;
    --ac-cta-fg: var(--ac-cta-secondary-fg) !important;
    --ac-cta-border: var(--ac-cta-secondary-border) !important;
    --ac-cta-hover: var(--ac-cta-secondary-hover) !important;
}

/* State rules use the same explicit inventory via its unique computed tokens.
 * :where() keeps state specificity low; the inventory sets the shape above.
 * No pointer-events, disabled attributes, loading content or handlers are changed.
 */
html body:not(.wp-admin) :is(
    .ac-cta, a.btn:not(.btn-link):not(.text-underline):not(.plus-btn):not(.portfolio-single-actions__back):not([data-toggle="collapse"]):not([data-toggle="tab"]):not([role="tab"]),
    a.seo-hero-cta, a.ec-button, a.awdb-hero-banner__btn, a.awdb-cta-strip__btn,
    a.ac-mkt-barriers__cta, a.bes-temp-cta-btn, a.ac-tmpl-btn, a.ac-tmpl-card-preview, a.ac-featured-plugins__cta,
    a.wd-store-visit-btn, a.store-Home__cta-btn, a.seo-results-section__all-btn, a.poc-cta, a.gt-btn,
    .ac-hero-card-cta, .advertise-us > .btn-advertise, button.btn-price, button.btn-order, button.btn-confirmSelect, button#p_bynow,
    button.btn[data-toggle="modal"], button.cw-order-button, button.cw-modal__submit,
    .tnp-submit, #newsModal .wpcf7 input[type="submit"], #newsModal .wpcf7 button[type="submit"],
    form input[type="submit"], form button[type="submit"]
):where(:hover, :focus-visible) {
    background: var(--ac-cta-hover) !important;
    color: var(--ac-cta-fg) !important;
}
html body:not(.wp-admin) :is(
    .ac-cta, a.btn:not(.btn-link):not(.text-underline):not(.plus-btn):not(.portfolio-single-actions__back):not([data-toggle="collapse"]):not([data-toggle="tab"]):not([role="tab"]),
    a.seo-hero-cta, a.ec-button, a.awdb-hero-banner__btn, a.awdb-cta-strip__btn,
    a.ac-mkt-barriers__cta, a.bes-temp-cta-btn, a.ac-tmpl-btn, a.ac-tmpl-card-preview, a.ac-featured-plugins__cta,
    a.wd-store-visit-btn, a.store-Home__cta-btn, a.seo-results-section__all-btn, a.poc-cta, a.gt-btn,
    .ac-hero-card-cta, .advertise-us > .btn-advertise, button.btn-price, button.btn-order, button.btn-confirmSelect, button#p_bynow,
    button.btn[data-toggle="modal"], button.cw-order-button, button.cw-modal__submit,
    .tnp-submit, #newsModal .wpcf7 input[type="submit"], #newsModal .wpcf7 button[type="submit"],
    form input[type="submit"], form button[type="submit"]
):focus-visible {
    outline: 2px solid var(--ac-cta-focus) !important;
    outline-offset: 3px !important;
}
html body:not(.wp-admin) :is(.ac-cta, button.btn-price, button.btn-order, button.btn-confirmSelect, button#p_bynow, button.cw-order-button, button.cw-modal__submit, .tnp-submit, form input[type="submit"], form button[type="submit"]):disabled,
html body:not(.wp-admin) :is(.ac-cta, button.btn-price, button.btn-order, button.btn-confirmSelect, button#p_bynow, button.cw-order-button, button.cw-modal__submit, .tnp-submit, form input[type="submit"], form button[type="submit"])[aria-disabled="true"],
html body:not(.wp-admin) :is(.ac-cta, button.btn-price, button.btn-order, button.btn-confirmSelect, button#p_bynow, button.cw-order-button, button.cw-modal__submit, .tnp-submit, form input[type="submit"], form button[type="submit"]).disabled {
    opacity: .55 !important;
    cursor: not-allowed;
}
html body:not(.wp-admin) :is(.ac-cta, button.btn-order, button.cw-modal__submit, .tnp-submit, form input[type="submit"], form button[type="submit"])[aria-busy="true"] {
    cursor: progress;
}

/* Only verified decorative CTA arrows. Keep counts, form spinners and payment icons. */
html body:not(.wp-admin) :is(a.ec-button, a.awdb-cta-strip__btn, a.ac-mkt-barriers__cta, a.wd-store-visit-btn, a.bes-temp-cta-btn, a.ac-tmpl-btn, a.store-Home__cta-btn, a.seo-results-section__all-btn, a.ac-featured-plugins__cta, .ac-hero-card-cta) > :is(svg, span[aria-hidden="true"]),
html body:not(.wp-admin) .ac-cta__arrow {
    display: none !important;
}
html body:not(.wp-admin) :is(a.btn:not(.btn-link):not(.text-underline):not(.portfolio-single-actions__back), form button[type="submit"]):is(.btn-arrowRound, .btn-link-arrow)::after {
    display: none !important;
    content: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :root { --ac-cta-duration: 0s; }
    html body:not(.wp-admin) .ac-cta { transition: none !important; }
}

/* ac-faq */
/* Shared FAQ presentation only. Bootstrap collapse and native details retain
 * their own behaviour; campaign accordions, navigation and schema are untouched.
 * Higher specificity deliberately wins over dist/style.css's legacy FAQ rules.
 */
.ac-faq-section {
    --ac-faq-ink: #1d1d1f;
    --ac-faq-muted: #55565c;
    --ac-faq-line: #dedee3;
    --ac-faq-blue: #0071e3;
    /* Ink, not the yellow accent. The plus/minus is a control, and the design
       system reserves #1d1d1f for controls and emphasis; a yellow glyph on a
       #f5f5f7 panel also fell short of a readable contrast ratio. */
    --ac-faq-icon: #1d1d1f;
    color: var(--ac-faq-ink);
}
/* The legacy renderer is inside a padded .faq shell; native sections are not.
 * Remove only that FAQ shell's spacing so both use the Ecommerce section rhythm. */
body:not(.wp-admin) .faq.faq-seo:has(> .ac-faq-section--legacy) {
    padding: 0 !important;
    background: #f5f5f7 !important;
}
body:not(.wp-admin) .ac-faq-section {
    padding: clamp(64px, 7vw, 108px) 0 !important;
    background: #f5f5f7 !important;
}
body:not(.wp-admin) .ac-faq-section > .container {
    max-width: 1200px;
}
/* Editorial layout shared by Bootstrap and native-details FAQ renderers only. */
body:not(.wp-admin) .ac-faq-section > .ac-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(32px, 5vw, 76px);
}
body:not(.wp-admin) .ac-faq-section .ac-faq-heading {
    min-width: 0;
}
body:not(.wp-admin) .ac-faq-section .ec-heading {
    max-width: 790px;
    margin-bottom: 0;
}
.ac-faq-section .ac-faq-scroll {
    min-width: 0;
    overflow-wrap: anywhere;
    /* The list runs at its natural height. It used to be capped at 70vh with
       overflow-y: auto, which put a second scrollbar inside the page - the
       questions are an accordion, so the panel grows and shrinks as they are
       opened and a nested scroller made that awkward to use. */
    padding: 4px 4px 4px 4px;
}
.ac-faq-section .ac-faq-scroll:focus-visible {
    outline: 2px solid var(--ac-faq-blue);
    outline-offset: 4px;
}
.ac-faq-section .ac-faq-scroll :is(button, summary, a) {
    scroll-margin-block: 12px;
}
/* WOW tracks the window, not nested scrollers. Never hide FAQ content until
 * a window-scroll reveal; this also protects any older cached FAQ markup. */
.ac-faq-section .ac-faq .wow {
    visibility: visible !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}
body:not(.wp-admin) .ac-faq-section h2:not(.header-min *):not(.footer *):not(form *) {
    color: var(--ac-faq-ink);
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}
/* Match the exclusions in _sitewide-alignment.scss: its important global
 * centring rule otherwise wins even after removing text-center utilities. */
body:not(.wp-admin) .ac-faq-section :is(h2, .ec-heading, .ac-faq-intro, .ac-faq-intro *, .ec-heading .ec-copy, .ec-heading .ec-copy *):not(.header-min *):not(.footer *):not(form *):not(.bes-temp-intro):not(.caseStudy-list-intro) {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.ac-faq-section .ac-faq-intro {
    max-width: 790px;
}
.ac-faq-section .ac-faq {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--ac-faq-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.ac-faq-section .ac-faq > .card-accordion-faq,
.ac-faq-section .ac-faq > details {
    padding: 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--ac-faq-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.ac-faq-section .ac-faq .card-accordion-faq-header {
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.ac-faq-section .ac-faq .card-accordion-faq-header button,
.ac-faq-section .ac-faq summary {
    display: block;
    position: relative;
    width: 100%;
    min-height: 72px;
    padding: 24px 38px 24px 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ac-faq-ink) !important;
    font-family: inherit;
    font-size: 19px;
    font-weight: 600 !important;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    list-style: none;
    cursor: pointer;
    transition: none;
}
.ac-faq-section .ac-faq summary::-webkit-details-marker {
    display: none;
}
.ac-faq-section .ac-faq summary::marker {
    content: "";
}
.ac-faq-section .ac-faq .card-accordion-faq-header button::after,
.ac-faq-section .ac-faq summary::after {
    content: "+";
    position: absolute;
    top: 24px;
    right: 6px;
    width: 20px;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--ac-faq-icon);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
    transform: none;
    transition: none;
}
.ac-faq-section .ac-faq .card-accordion-faq-header button[aria-expanded="true"]::after,
.ac-faq-section .ac-faq details[open] > summary::after {
    content: "−";
}
.ac-faq-section .ac-faq .card-accordion-faq-body,
.ac-faq-section .ac-faq details > .ec-copy {
    max-width: 890px;
    padding: 0 0 26px;
    color: var(--ac-faq-muted);
    font-size: 17px;
    line-height: 1.7;
}
.ac-faq-section .ac-faq-intro,
.ac-faq-section .ac-faq-intro p,
.ac-faq-section .ac-faq .card-accordion-faq-body :is(p, li),
.ac-faq-section .ac-faq details > .ec-copy :is(p, li) {
    color: var(--ac-faq-muted);
    font-size: 17px;
    line-height: 1.7;
}
.ac-faq-section .ac-faq-intro,
.ac-faq-section .ec-heading .ec-copy {
    margin-top: 0;
}
.ac-faq-section .ac-faq-intro p:last-child,
.ac-faq-section .ec-heading .ec-copy p:last-child {
    margin-bottom: 0;
}
.ac-faq-section .ac-faq :is(ul, ol) {
    padding-left: 1.4em;
    margin-bottom: 1em;
}
.ac-faq-section .ac-faq ul > li { list-style: disc; }
.ac-faq-section .ac-faq ol > li { list-style: decimal; }
.ac-faq-section .ac-faq :is(p, ul, ol):last-child { margin-bottom: 0; }
.ac-faq-section .ac-faq a,
.ac-faq-section .ac-faq-intro a {
    color: var(--ac-faq-blue);
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.ac-faq-section .ac-faq :is(button, summary, a):focus-visible,
.ac-faq-section .ac-faq-intro a:focus-visible {
    outline: 2px solid var(--ac-faq-blue) !important;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    body:not(.wp-admin) .ac-faq-section > .ac-faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    body:not(.wp-admin) .ac-faq-section > .container {
        padding-inline: 24px;
    }
    body:not(.wp-admin) .ac-faq-section .ec-heading {
        margin-bottom: 0;
    }
}

/* ── Keep the FAQ heading in view while the questions scroll ─────────────────
   The list runs at its natural height now, so on a long FAQ the heading used
   to disappear off the top long before the questions ran out. The layout is
   already a two-column grid with align-items: start, so the heading only
   needs pinning. Single column below 768px, where a sticky heading would sit
   on top of the questions instead of beside them. */
@media (min-width: 768px) {
    body:not(.wp-admin) .ac-faq-section .ac-faq-heading {
        position: sticky;
        top: 104px;
        /* Stays its own height; the grid container is what it travels within. */
        align-self: start;
    }
}

/* ac-approach-buttons */
/* Match the homepage's compact contact actions without changing section layouts. */
body:not(.wp-admin) .ac-approach-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
body:not(.wp-admin) .ac-approach-actions a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.35rem !important;
    border: 1px solid #1d1d1f !important;
    border-radius: 12px !important;
    background: #1d1d1f !important;
    color: #fff !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none !important;
}
body:not(.wp-admin) .ac-approach-actions a.ac-contact-cta:hover {
    background: #3a3a3c !important;
    transform: translateY(-1px);
}
body:not(.wp-admin) .ac-approach-actions a.btn:focus-visible {
    outline: 2px solid #3659ba;
    outline-offset: 3px;
}
body:not(.wp-admin) .ac-approach-actions a.ac-meeting-cta {
    background: #f1f2f4 !important;
    border-color: #e4e4e7 !important;
    color: #1d1d1f !important;
}
body:not(.wp-admin) .ac-approach-actions a.btn::before,
body:not(.wp-admin) .ac-approach-actions a.btn::after {
    display: none !important;
}
body:not(.wp-admin) .ac-approach-actions a.ac-meeting-cta:hover {
    background: #e7e8eb !important;
    border-color: #d4d4d8 !important;
    transform: translateY(-1px);
}
body:not(.wp-admin) .ac-approach-actions--dark .ac-contact-cta {
    background: #fff !important;
    border-color: #fff !important;
    color: #1d1d1f !important;
}
body:not(.wp-admin) .ac-approach-actions--dark .ac-contact-cta:hover {
    background: #e7e8eb !important;
}
@media (max-width: 575px) {
    body:not(.wp-admin) .ac-approach-actions {
        gap: 12px;
    }
}
/* ac-testimonials-light */
/* Shared review split. File/handle retained for existing enqueue compatibility.
 * Deliberately scoped: case-study feedback, floating proof and hero badges are separate. */
body:not(.wp-admin) .ac-testimonials {
    --review-ink: #111;
    --review-paper: #fff;
    --review-muted: #626262;
    background: var(--review-paper);
    color: var(--review-ink);
    padding: clamp(32px, 4.5vw, 64px) 0;
}
body:not(.wp-admin) .ac-testimonials .ac-reviews__layout {
    display: grid;
    /* 30/70: the Trustpilot panel, then the quote. At 28% the heading
       "What our clients say" broke across two lines in the narrow column. */
    grid-template-columns: minmax(240px, 30%) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    min-height: 0;
    /* Match the Let's talk panel. That sits in .ec-wrap, which caps at
       1200px; this box only had its container's 83.5vw, so the two agreed up
       to about 1437px of viewport and the review box kept widening past it
       while the callout above stopped. Same cap, same centring, so they line
       up at every width. */
    max-width: 1200px;
    margin-inline: auto;
}
body:not(.wp-admin) .ac-testimonials .ac-reviews__proof {
    background: var(--review-ink);
    color: var(--review-paper);
    padding: clamp(24px, 2.2vw, 32px);
    border-radius: 13px 0 0 13px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}
html body:not(.wp-admin) .ac-testimonials .ac-reviews__proof h2.ac-reviews__title {
    color: var(--review-paper) !important;
    font-family: inherit;
    font-size: clamp(28px, 2.3vw, 34px) !important;
    font-weight: 600 !important;
    line-height: 1.16 !important;
    letter-spacing: -.035em;
    margin: 0 0 22px;
    text-align: left !important;
    /* Defensive against cached/global carousel-heading alignment scripts. */
    translate: none !important;
    transform: none !important;
    width: auto !important;
    max-width: 100%;
}
.ac-testimonials .ac-reviews__brand { display: flex; align-items: center; gap: 5px; font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.ac-testimonials .ac-reviews__brand svg { width: 30px; height: 30px; fill: #00b67a; }
.ac-testimonials .ac-reviews__stars { display: block; width: 180px; max-width: 100%; height: auto; margin: 12px 0; }
.ac-testimonials .ac-reviews__score { color: #fff; font-size: 16px; line-height: 1.7; margin: 0 0 8px; }
.ac-testimonials .ac-reviews__score strong { color: inherit; font-weight: 600; }
body:not(.wp-admin) .ac-testimonials .ac-reviews__link { display: inline-flex; align-items: center; gap: 20px; margin-top: 0; padding: 8px 0; color: #fff; font-size: 14px; text-decoration: none; border-bottom: 1px solid #777; }
.ac-testimonials .ac-reviews__link:hover { border-bottom-color: #fff; }
body:not(.wp-admin) .ac-testimonials .ac-reviews__content { min-width: 0; min-height: 0; background: #fff; padding: clamp(24px, 2.8vw, 40px); border-radius: 0 13px 13px 0; }
body:not(.wp-admin) .ac-testimonials .ac-testimonials__slider { padding: 0; margin: 0; min-height: 0; visibility: visible; }
/* Native scroll-snap track (assets/js/testimonials.js). The track scrolls
   sideways; JS sets its height to the review in view. */
.ac-testimonials .ac-reviews__track {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    transition: height .3s ease;
}
.ac-testimonials .ac-reviews__track::-webkit-scrollbar { display: none; }
.ac-testimonials .ac-reviews__track:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.ac-testimonials .ac-reviews__list { display: flex; align-items: flex-start; gap: 0; margin: 0; padding: 0; }
.ac-testimonials .ac-reviews__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
@media (prefers-reduced-motion: reduce) { .ac-testimonials .ac-reviews__track { transition: none; } }
body:not(.wp-admin) .ac-testimonials .mkt-tcard {
    background: transparent;
    color: #111;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    transform: none;
    opacity: 1;
}
body:not(.wp-admin) .ac-testimonials .mkt-tcard:hover { background: transparent; border: 0; box-shadow: none; transform: none; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__mark { position: static; display: block; color: #111; font-family: Georgia, serif; font-size: 68px; line-height: .8; height: 44px; margin: 0 0 8px; opacity: 1; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__quote,
body:not(.wp-admin) .ac-testimonials .mkt-tcard__quote * {
    color: #222 !important;
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    display: block;
    text-align: left;
}
.ac-testimonials .mkt-tcard__quote { margin: 0; overflow-wrap: anywhere; }
.ac-testimonials .mkt-tcard__quote p { margin: 0 0 1em; }
.ac-testimonials .mkt-tcard__quote > :last-child { margin-bottom: 0; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__quote a { display: inline; text-decoration: underline; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__quote strong { display: inline; font-weight: 600; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__quote em { display: inline; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__quote li { display: list-item; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__reviewer { display: flex; align-items: center; gap: 14px; border: 0; padding: 0; margin: 16px 0 0; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__name { color: #111 !important; font-size: 16px !important; font-weight: 600; margin: 0 0 3px !important; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__platform { color: #626262; font-size: 13px; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__avatar { display: grid; place-items: center; background: #111; color: #fff; border-radius: 50%; width: 44px; height: 44px; font-size: 14px; flex-shrink: 0; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__logo { width: 56px; height: 48px; object-fit: contain; background: transparent; border-radius: 0; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__stars { display: flex; gap: 3px; color: #111; font-size: 16px; margin: 0 0 12px; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__stars .is-filled { color: #111; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__stars .is-empty { color: #ccc; }
body:not(.wp-admin) .ac-testimonials .mkt-tcard__stars .is-partial { background: linear-gradient(90deg, #111 var(--star-fill), #ccc var(--star-fill)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.ac-testimonials .ac-reviews__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.ac-testimonials .ac-reviews__dots { display: flex; flex: 1; justify-content: flex-start; flex-wrap: nowrap; min-width: 0; gap: 6px; padding: 0; margin: 0; list-style: none; }
.ac-testimonials .ac-reviews__dots li { display: flex; flex: 0 1 auto; min-width: 0; padding: 0; margin: 0; }
.ac-testimonials .ac-reviews__dot { background: transparent; width: 25px; min-width: 0; height: 32px; border: 0; border-radius: 0; padding: 0; margin: 0; position: relative; cursor: pointer; }
/* #a1a1a6 on white is 3.1:1, the minimum for a control that shows which
   review you are on. The current one is also thicker, so the state is not
   carried by colour alone. */
.ac-testimonials .ac-reviews__dot::after { content: ''; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: #a1a1a6; transition: background .2s ease, height .2s ease, top .2s ease; }
.ac-testimonials .ac-reviews__dot.is-active::after { height: 3px; top: 14px; background: #111; }
.ac-testimonials .ac-reviews__arrows { display: flex; gap: 8px; margin: 0; padding: 0; flex-shrink: 0; }
.ac-testimonials .ac-reviews__arrow { display: grid; place-items: center; background: #fff; color: #111; border: 1px solid #d6d6d6; border-radius: 0; width: 44px; height: 44px; padding: 12px; cursor: pointer; }
.ac-testimonials .ac-reviews__arrow:hover:not(:disabled) { background: #f2f2f2; }
.ac-testimonials .ac-reviews__arrow:disabled { opacity: .3; cursor: default; }
.ac-testimonials .ac-reviews__arrow svg { width: 18px; height: 18px; fill: #111; }
.ac-testimonials .ac-reviews__arrow--prev svg { transform: scaleX(-1); }
.ac-testimonials button:focus-visible, .ac-testimonials a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
/* Progressive enhancement: no hidden reviews or inert controls if JS is unavailable. */
.ac-testimonials .ac-testimonials__slider:not(.is-initialized) .ac-reviews__list { display: block; }
.ac-testimonials .ac-testimonials__slider:not(.is-initialized) .ac-reviews__track { overflow: visible; }
.ac-testimonials .ac-testimonials__slider:not(.is-initialized) .mkt-tcard + .mkt-tcard { margin-top: 40px; }
.ac-testimonials .ac-testimonials__slider:not(.is-initialized) .ac-reviews__controls { display: none; }
body:not(.wp-admin) .ac-testimonials .mkt-testimonials__grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; max-width: none; margin: 0; gap: 40px; }
@media (max-width: 767px) {
    body:not(.wp-admin) .ac-testimonials .ac-reviews__layout { grid-template-columns: minmax(0, 1fr); }
    body:not(.wp-admin) .ac-testimonials .ac-reviews__proof { border-radius: 13px 13px 0 0; }
    body:not(.wp-admin) .ac-testimonials .ac-reviews__content { border-radius: 0 0 13px 13px; }
    html body:not(.wp-admin) .ac-testimonials .ac-reviews__proof h2.ac-reviews__title { margin-bottom: 20px; max-width: 260px; }
    .ac-testimonials .ac-reviews__controls { gap: 12px; }
    .ac-testimonials .ac-reviews__dot { width: 18px; }
    .ac-testimonials .ac-reviews__dots { gap: 4px; }
}

/* ac-slider-headings */
/* Slider section titles only; preserve the site's typography and card headings. */
body:not(.wp-admin) .ac-slider-title.ac-slider-title.ac-slider-title[data-ac-slider-title],
body:not(.wp-admin) .ac-slider-intro.ac-slider-intro.ac-slider-intro[data-ac-slider-title],
body:not(.wp-admin) .ac-slider-title[data-ac-slider-title] .ac-slider-title-text.ac-slider-title-text {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
body:not(.wp-admin) .ac-slider-title.ac-slider-title.ac-slider-title[data-ac-slider-title],
body:not(.wp-admin) .ac-slider-intro.ac-slider-intro.ac-slider-intro[data-ac-slider-title] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: min(100%, var(--ac-slider-title-available, 100%)) !important;
    padding-inline: 0 !important;
    translate: var(--ac-slider-title-offset, 0px) 0;
}

/* Campaigns also align before the shared script runs. */
body:not(.wp-admin) .ac-mkt-campaigns > .container.container-dynamic {
    width: 100%;
    max-width: none;
    padding-inline: clamp(16px, 4vw, 48px);
}
body:not(.wp-admin) #ac-mkt-campaigns-title {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
/* ac-seo-sector-gutter */
/* The four SEO sector pages: start every section on the page gutter.
 *
 * /adult-seo/escort-seo/, /porn-seo/, /ecommerce-seo/ and /webcam-seo/ -
 * rendered by template-parts/seo-detail/sector-page.php and identified by
 * the page-seo-types body class. They measured 1 of 10 headings on the
 * gutter, the worst ratio left on the site after the other families.
 *
 * Same approach and the same obstacles as marketing-section-gutter.css,
 * web-design-section-gutter.css and marketing-child-gutter.css. The header
 * blocks cap their own measure and centred the cap - 900px landing at 263,
 * 820px at 283 - so the caps stay and only the centring goes.
 *
 * Deliberately left centred: the hero, and the closing "Let's talk" band,
 * which is the same component centred on request on /adult-marketing/.
 */

/* Containers on the gutter.
 *
 * Most of these resolve to 83.5vw - 1190px at 1440, so a box at 118 - but
 * three were 1200px wide instead, putting them at 113, and two of those also
 * carried 24px of padding, so their content started at 137. Setting the
 * width makes every box land on the same gutter; max-width is left alone, so
 * they all still cap at 1200 above ~1437px together.
 *
 * Sections whose own max-width is narrower than 83.5vw are untouched by
 * this: the hero still caps at 780 and the closing band at 900, both still
 * centred, because their own cap binds first.
 *
 * Desktop only: below 768px that padding IS the gutter. */
@media (min-width: 768px) {
    html body.page-seo-types main section > .container.container-dynamic {
        width: 83.5vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Capped section headers: anchor them left, keep the measure. */
html body.page-seo-types.page-seo-types.page-seo-types :is(
    .ac-sde-head,
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-seo-featured__content,
    .ac-mkt-bespoke__copy,
    .ac-seo-problems__intro,
    .ac-seo-pain-points__intro
) {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html body.page-seo-types.page-seo-types.page-seo-types :is(
    .ac-sde-head,
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-seo-featured__content,
    .ac-mkt-bespoke__copy,
    .ac-seo-problems__intro,
    .ac-seo-pain-points__intro
) :is(h2, h3, p, .section-lead, .title-big, .ec-copy) {
    text-align: left !important;
}

/* The results carousel. Moving the track to the gutter brings its heading
   with it, because slider-headings.js aligns a slider heading to its first
   card and that head sat at 48px. padding-right is left alone so the cards
   still run off the right edge, and only one element per carousel is padded
   - padding a head and an inner track both stacks the two offsets. */
@media (min-width: 768px) {
    /* Three copies of the class: shared.css pins this head's inline padding
       to clamp(1rem, 4vw, 3rem) - 48px here - at (0,5,1) with !important.
       This is (0,5,2). */
    /* The swiper only. These results heads are centred by the block further
       down this file, and padding a centred block to the gutter carries its
       centre along with it - measured on /adult-seo/escort-seo/, the heading
       centred 32px right of its section. The cards still start on the gutter;
       the heading centres on the section. Same fault, same fix, as
       #adult-seo-results in marketing-child-gutter.css. */
    html body.page-seo-types.page-seo-types.page-seo-types [id$="-seo-results"] > .swiper {
        padding-left: calc((100% - 83.5vw) / 2) !important;
    }
}

/* The sections centred by an id.
 *
 * Each carries a rule of its own shape - `#why-choose.ac-webcam-seo-solution
 * .ac-seo-different__head :is(h2, p, ...)`, and `html body:not(.wp-admin)
 * #seo-detail-services.ac-webcam-seo-services .ac-seo-services__head :is(h2,
 * ...)` - so the rules above anchor the header blocks to the gutter but
 * leave the text centred inside them. An id beats any number of classes.
 *
 * FOUR copies of the body class, not three: the worst of those rules scores
 * (1,4,2) and is enqueued after this sheet, so matching it would still lose
 * on source order. This is (1,5,2).
 *
 * The per-sector ids are listed for all four kinds even where a section is
 * not on every one today; an absent id never matches, and listing them keeps
 * the four pages behaving the same as content is added. */
html body.page-seo-types.page-seo-types.page-seo-types.page-seo-types :is(
    #why-choose,
    #seo-detail-services,
    #seo-detail-platforms,
    #seo-detail-problems,
    #escort-seo-bespoke,
    #porn-seo-bespoke,
    #ecommerce-seo-bespoke,
    #webcam-seo-bespoke,
    #escort-seo-featured-case,
    #porn-seo-featured-case,
    #ecommerce-seo-featured-case,
    #webcam-seo-featured-case,
    #escort-seo-pain-points,
    #porn-seo-pain-points,
    #ecommerce-seo-pain-points,
    #webcam-seo-pain-points,
    #escort-seo-results,
    #porn-seo-results,
    #ecommerce-seo-results,
    #webcam-seo-results
) :is(h2, h3, .section-lead, .title-big, .store-Home__title, .store-Home__desc),
html body.page-seo-types.page-seo-types.page-seo-types.page-seo-types :is(
    #why-choose,
    #seo-detail-services,
    #seo-detail-platforms,
    #seo-detail-problems,
    #escort-seo-bespoke,
    #porn-seo-bespoke,
    #ecommerce-seo-bespoke,
    #webcam-seo-bespoke,
    #escort-seo-featured-case,
    #porn-seo-featured-case,
    #ecommerce-seo-featured-case,
    #webcam-seo-featured-case,
    #escort-seo-pain-points,
    #porn-seo-pain-points,
    #ecommerce-seo-pain-points,
    #webcam-seo-pain-points,
    #escort-seo-results,
    #porn-seo-results,
    #ecommerce-seo-results,
    #webcam-seo-results
) :is([class$="__head"], [class*="__head "], [class$="__copy"], [class*="__content"], [class*="__intro"], [class$="-head"]) > p {
    text-align: left !important;
}

/* --------------------------------------------------------------------------
 * The same four headers, centred on the sector pages too.
 *
 * Escort, porn, ecommerce and webcam SEO render the same four sections as the
 * Adult SEO parent, under their own ids. The rules above left-aligned them
 * along with every other sector header; these four come back out, so a child
 * page's solution grid, services list, bespoke block and results shelf read
 * the same way as the parent's.
 *
 * Not listed, and so still gutter-aligned: the platforms block
 * (`#seo-detail-platforms`), the problems and pain-points intros, and the
 * featured case study. Those are left-aligned on the parent as well.
 * ------------------------------------------------------------------------- */
html body.page-seo-types.page-seo-types.page-seo-types.page-seo-types :is(
    #why-choose,
    #seo-detail-services,
    #escort-seo-bespoke,
    #porn-seo-bespoke,
    #ecommerce-seo-bespoke,
    #webcam-seo-bespoke,
    #escort-seo-results,
    #porn-seo-results,
    #ecommerce-seo-results,
    #webcam-seo-results
) :is(
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-mkt-bespoke__copy,
    .store-Home__head-text
) {
    text-align: center !important;
}

html body.page-seo-types.page-seo-types.page-seo-types.page-seo-types :is(
    #why-choose,
    #seo-detail-services,
    #escort-seo-bespoke,
    #porn-seo-bespoke,
    #ecommerce-seo-bespoke,
    #webcam-seo-bespoke,
    #escort-seo-results,
    #porn-seo-results,
    #ecommerce-seo-results,
    #webcam-seo-results
) :is(
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-mkt-bespoke__copy,
    .store-Home__head-text
) :is(h2, h3, p, .section-lead, .title-big, .store-Home__title, .store-Home__desc) {
    text-align: center !important;
}

/*
 * The same second half on the sector pages: the rule above pins each head
 * block to the left margin with `margin-left: 0 !important`, so centring the
 * text alone leaves the block itself hugging the gutter.
 */
html body.page-seo-types.page-seo-types.page-seo-types.page-seo-types :is(
    #why-choose,
    #seo-detail-services,
    #escort-seo-bespoke,
    #porn-seo-bespoke,
    #ecommerce-seo-bespoke,
    #webcam-seo-bespoke,
    #escort-seo-results,
    #porn-seo-results,
    #ecommerce-seo-results,
    #webcam-seo-results
) :is(
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-mkt-bespoke__copy,
    .store-Home__head-text
) {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ac-marketing-child-gutter */
/* The four marketing child pages: start every section on the page gutter.
 *
 * /adult-seo/, /outreach/, /adult-marketing/pr/ and
 * /adult-marketing/content-writing/. They had the worst ratios on the site -
 * seven or eight of every nine to twelve headings centred - and they share
 * their section components without sharing a template, so header.php gives
 * all four one body class, .ac-marketing-child, rather than this file
 * repeating four template selectors in every rule.
 *
 * Same two obstacles as marketing-section-gutter.css and
 * web-design-section-gutter.css, and the same answers:
 *
 *   - shared.css centres every h1, h2, .title-big and .section-lead with
 *     !important at (0,4,2). The class is repeated three times to clear it.
 *   - slider-headings.js pulls a slider heading onto its first card, so the
 *     track moves and the heading follows rather than the other way round.
 *
 * Deliberately left centred: the hero, and the closing "Let's talk" band -
 * that band was centred on /adult-marketing/ on request, and these are the
 * same component. Headings inside filled panels keep the panel's padding;
 * the panel edge is what sits on the gutter.
 */

/* --------------------------------------------------------------------------
 * 1. Containers on the gutter, so a heading and the grid under it move
 *    together. Desktop only: below 768px the 15px is the whole gutter.
 * ------------------------------------------------------------------------ */
@media (min-width: 768px) {
    html body.ac-marketing-child main section > .container.container-dynamic {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --------------------------------------------------------------------------
 * 2. Capped section headers: anchor them to the gutter.
 *
 * Each of these caps its own measure and centred the cap - 900px landing at
 * 263, 820px at 303, 780px at 323. The caps stay; only the centring goes.
 * ------------------------------------------------------------------------ */
/* The solution, services and copywriting-solution heads are no longer in this
 * list: _sitewide-alignment.scss centres those four section types on every
 * page that has them, and anchoring them to the gutter here would fight it. */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    .ac-outreach-case__head,
    .ac-pr-head,
    .ac-seo-featured__content,
    .cw-section-head,
    .plans-outreach__head,
    .ac-mkt-bespoke__copy
) {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* --------------------------------------------------------------------------
 * 3. And left-align their text.
 * ------------------------------------------------------------------------ */
/* The block is aligned as well as its children now. Aligning only the
 * children left a header whose wrapper still computed centred while the
 * heading inside it computed left - which is the split the design audit
 * reports, and what made these sections read as half-finished. */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    .ac-outreach-case__head,
    .ac-pr-head,
    .ac-seo-featured__content,
    .cw-section-head,
    .plans-outreach__head,
    .ac-mkt-bespoke__copy,
    .ac-outreach-copy,
    .ac-seo-problems__intro,
    .ac-seo-pain-points__intro
),
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    .ac-outreach-case__head,
    .ac-pr-head,
    .ac-seo-featured__content,
    .cw-section-head,
    .plans-outreach__head,
    .ac-mkt-bespoke__copy,
    .ac-outreach-copy,
    .ac-seo-problems__intro,
    .ac-seo-pain-points__intro
) :is(h2, h3, p, .section-lead, .title-big, .ec-copy) {
    text-align: left !important;
}

/* --------------------------------------------------------------------------
 * 4. The two full-bleed carousels, moved to the gutter so the heading script
 *    brings their headings with them.
 *
 *    .seo-service-cards is a CLASS here, on a section that also carries
 *    .ac-web-services but not the #ac-web-services id the web-design sheet
 *    keys off, so it needs naming again.
 *
 *    Only one element per carousel is padded. Padding both the head and the
 *    inner .ac-unified-slider stacked the two offsets and pushed the track
 *    to 235px.
 *
 *    padding-right is left alone so the cards still run off the right edge.
 * ------------------------------------------------------------------------ */
@media (min-width: 768px) {
    html body.ac-marketing-child .seo-service-cards > .container.container-dynamic,
    html body.ac-marketing-child .seo-service-cards > .swiper,
    html body.ac-marketing-child .seo-service-cards .ac-web-services__carousel,
    /* The swiper only. #adult-seo-results' head is centred by the block near
     * the end of this file, and padding a centred block to the gutter moves
     * its centre with it: measured at 1440px the heading centred on x=744
     * against a section centre of x=713. The cards still start on the gutter;
     * the heading centres on the section, which is what centred means. */
    html body.ac-marketing-child #adult-seo-results > .swiper {
        padding-left: calc((100% - 83.5vw) / 2) !important;
    }
}

/* --------------------------------------------------------------------------
 * 5. The sections whose headings are centred by an id.
 *
 * Each of these carries a rule of its own shape - for example
 * `#why-adult-seo-is-different .ac-seo-different__head > h2 { text-align:
 * center }` at (1,1,1). An id beats any number of classes, so the rules
 * above anchored the header blocks to the gutter but left the text centred
 * inside them. Borrowing the same ids gets to (1,2,2).
 *
 * The list is explicit rather than a wildcard because the hero and the
 * closing "Let's talk" band stay centred, and so does anything inside a
 * filled panel. Only the section heading and the intro paragraph in its
 * header move; card contents are left as they are.
 *
 * Four copies of the class, not three. content-writing.css carries
 * `html body:not(.wp-admin) .cw-page :is(#copywriting-types, #blog-writing,
 * #website-writing) .cw-section-head :is(h2, ...)` at (1,4,2) AND is
 * enqueued after this sheet, so matching that score would still lose on
 * order. (1,5,2) does not.
 * ------------------------------------------------------------------------ */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #adult-seo-bespoke,
    #adult-seo-results,
    #adult-seo-services,
    #blog-writing,
    #copywriting-bespoke,
    #copywriting-types,
    #outreach-bespoke,
    #outreach-case-study,
    #outreach-packages,
    #pr-bespoke,
    #pr-problems,
    #website-writing,
    #why-adult-seo-is-different
) :is(h2, .section-lead, .title-big),
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #adult-seo-bespoke,
    #adult-seo-results,
    #adult-seo-services,
    #blog-writing,
    #copywriting-bespoke,
    #copywriting-types,
    #outreach-bespoke,
    #outreach-case-study,
    #outreach-packages,
    #pr-bespoke,
    #pr-problems,
    #website-writing,
    #why-adult-seo-is-different
) :is([class$="__head"], [class*="__head "], [class$="-head"], [class*="-head "], [class*="__copy"], [class*="__content"], [class*="__intro"]) > p {
    text-align: left !important;
}

/* --------------------------------------------------------------------------
 * 6. The last three, each needing its own answer.
 *
 * The packages heading is centred by `body:not(.wp-admin) #outreach-packages
 * #outreach-packages-title` - TWO ids, (2,1,1) - and no number of classes
 * reaches two ids. Naming the same heading id is the only way over it.
 *
 * The bespoke heading sits in an unnamed div that caps itself at 900px and
 * centres the cap, so it has no class to hook and is addressed through its
 * section instead.
 *
 * #pr-faq's container is not a direct child of its section, so rule 1 misses
 * it.
 * ------------------------------------------------------------------------ */
/* The block is in this list too. Aligning only its children left the wrapper
 * computing centred with the heading inside it left - the split the audit
 * reports. */
html body.ac-marketing-child #outreach-packages #outreach-packages-title,
html body.ac-marketing-child #outreach-packages .plans-outreach__head,
html body.ac-marketing-child #outreach-packages .plans-outreach__head > :is(h2, p) {
    text-align: left !important;
}

html body.ac-marketing-child :is(#outreach-bespoke, #outreach-planned) > .container > div {
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (min-width: 768px) {
    html body.ac-marketing-child #pr-faq .container.container-dynamic {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ---------------------------------------------------------------------------
 * Section banding on the copywriting page.
 *
 * Twelve sections with a run of three near the top and a run of four through
 * the middle - solution, blog, website and PR writing all white together.
 * Tinting three of them leaves no run longer than two, and it also separates
 * the three writing sections from each other, which previously ran into one
 * another with no edge.
 *
 * Scoped to the one template rather than .ac-marketing-child: the other three
 * pages in that class have their own section order and their own runs.
 * ------------------------------------------------------------------------- */
html body.page-tpl-content-writing :is(#copywriting-why, #blog-writing, #pr-writing) {
    background: #f5f5f7 !important;
}

/* --------------------------------------------------------------------------
 * Adult SEO's four section headers are centred, not gutter-aligned.
 *
 * The rules above pull every marketing-child section header out to the page
 * gutter. Adult SEO is the exception. Each of those four sections already
 * asks to be centred in its own stylesheet - `.ac-seo-services__head`,
 * `.ac-seo-different__head` and the rest all carry `text-align: center` - and
 * the gutter rules were winning over them, which is why the head block sat
 * centred while the heading inside it ran flush left.
 *
 * Written in the same shape as the rule it reverses so the two land at equal
 * specificity and source order decides. Copywriting, Digital PR and Outreach
 * are deliberately not listed: they keep the gutter alignment they have now.
 * ------------------------------------------------------------------------- */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #why-adult-seo-is-different,
    #adult-seo-services,
    #adult-seo-bespoke,
    #adult-seo-results
) :is(
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-mkt-bespoke__copy,
    .store-Home__head-text
) {
    text-align: center !important;
}

html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #why-adult-seo-is-different,
    #adult-seo-services,
    #adult-seo-bespoke,
    #adult-seo-results
) :is(
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-mkt-bespoke__copy,
    .store-Home__head-text
) :is(h2, h3, p, .section-lead, .title-big, .store-Home__title, .store-Home__desc) {
    text-align: center !important;
}

/*
 * The gutter rule has two halves: it centres the text inside the head block
 * and it pins the block itself to the left margin with
 * `margin-left: 0 !important`. Centring the text alone leaves the words
 * centred inside a block that still hugs the gutter - the Bespoke copy sat
 * 170px left of the section's centre line. This hands the block back too.
 */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #why-adult-seo-is-different,
    #adult-seo-services,
    #adult-seo-bespoke,
    #adult-seo-results
) :is(
    .ac-seo-different__head,
    .ac-seo-services__head,
    .ac-mkt-bespoke__copy,
    .store-Home__head-text
) {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ---------------------------------------------------------------------------
 * The same four section types, on the other three pages.
 *
 * The block above re-centres Adult SEO's solution, process, bespoke and
 * results headers, and its comment says Copywriting, Digital PR and Outreach
 * "keep the gutter alignment they have now". That was true when only Adult
 * SEO had been standardised. Measured across the four pages afterwards, the
 * same section type was answering differently depending on which page it was
 * on:
 *
 *   "We have the solution"            centred on all four        - agreed
 *   "How ... is planned / delivered"  centred on SEO and
 *                                     Outreach, LEFT on PR
 *   "Bespoke ..."                     centred on SEO,
 *                                     LEFT on PR and Outreach,
 *                                     and SPLIT on Copywriting -
 *                                     block centred, heading left
 *
 * Four headers, three pages, one rule each way. The ids are named rather than
 * matched by suffix because #outreach-packages and #pr-case-study are not one
 * of the four types and stay on the gutter.
 *
 * Written in the same shape as the rule it reverses - four copies of the
 * class, (1,4,2) - so the two land level and source order decides, exactly as
 * the Adult SEO block above does.
 * ------------------------------------------------------------------------- */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #outreach-bespoke,
    #outreach-case-study,
    #outreach-planned,
    #pr-delivery,
    #pr-bespoke,
    #copywriting-bespoke
) :is(
    .ac-outreach-center,
    .ac-outreach-case__head,
    .ac-pr-head,
    .ac-mkt-bespoke__copy,
    .ac-solution-grid__head
) {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* #outreach-planned is here for the box, not the text.
 *
 * Its heading already computed centre. What it did not do was centre on
 * anything: rule 6 below pins `#outreach-planned > .container > div` with
 * margin-left: 0, and the head caps itself at 900px, so the words centred
 * inside a 900px box pinned to the left of a 1200px container. Measured at
 * 1440px, the heading centred on x=563 while its own three cards centred on
 * x=713 - 150px adrift, which is what made a centred heading look uncentred.
 *
 * Centred text in a left-pinned box is the same fault as the case study
 * header had, and it is worth saying plainly: text-align alone never centres
 * anything that caps its own width. The margin has to come with it. */

html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child :is(
    #outreach-bespoke,
    #pr-delivery,
    #pr-bespoke,
    #copywriting-bespoke
) :is(h2, h3, p, .section-lead, .title-big, .ec-copy, .cw-body) {
    text-align: center !important;
}

/* The case study is scoped to its HEAD, not its section.
 *
 * Listing #outreach-case-study with the four above centred every h2, h3 and p
 * inside it - including the ones in the slide, where the headline, the label
 * and the caption sit beside a screenshot and belong on the left. The slide
 * title even carries `text-align: left !important` of its own, at (1,3,2),
 * and lost to the (1,4,2) above it.
 *
 * Only the header centres. */
html body.ac-marketing-child.ac-marketing-child.ac-marketing-child.ac-marketing-child #outreach-case-study .ac-outreach-case__head :is(h2, h3, p, .ec-copy) {
    text-align: center !important;
}

/* Why the case study head needs BOTH halves of that rule.
 *
 * Rule 2 above pins .ac-outreach-case__head with `margin-left: 0 !important`
 * and rule 5 left-aligns the h2 inside #outreach-case-study. outreach-page.css
 * centres the head's text but scores (1,3,2) and cannot reach either. Centred
 * text inside a 780px cap that is itself pinned left is what made this header
 * read as adrift: the words centred on x=503 while the slider under them
 * centres on 713.
 *
 * Both halves are here, at the same (1,4,2) as the rules they reverse, so
 * source order decides - and the header centres on the section, not on a
 * left-pinned box. The slide content below keeps its own left alignment:
 * the copy sits beside an image and centring it would break the pair. */

/* The copywriting bespoke heading has no header block to hold: its h2 is a
 * direct child of the section container, which already computes centred. Only
 * the heading was left, which is the split described above. The rule above
 * settles it; this keeps its action row with it. */
html body.ac-marketing-child #copywriting-bespoke .cw-actions,
html body.ac-marketing-child #outreach-bespoke .ac-outreach-center > div {
    justify-content: center;
    text-align: center;
}

/* ac-web-design-section-gutter */
/* The web-design family: start every section on the page gutter.
 *
 * Five sibling pages - adult, escort, porn, social and webcam web design -
 * plus their children, all built on .ac-ecommerce. Each had the same split:
 * of about twelve section headings, five or six were centred and the rest
 * left, with two more dragged out of line by their carousels.
 *
 * Same approach as marketing-section-gutter.css, and the same two obstacles,
 * so the comments there apply here too:
 *
 *   - shared.css centres every h1, h2, .title-big and .section-lead on the
 *     site with !important at (0,4,2). Repeating .ac-ecommerce three times
 *     clears it. slider-headings.css repeats .ac-slider-title the same way.
 *   - slider-headings.js pulls a slider's heading onto its own first card.
 *     Moving a heading alone is undone on the next frame, so the track moves
 *     and the heading follows.
 *
 * The hero stays centred, by choice. So do headings inside filled panels -
 * the Let's talk callout and the review block - where the inset is the
 * panel's own padding and the panel edge is what sits on the gutter.
 */

/* --------------------------------------------------------------------------
 * 1. Containers on the gutter.
 *
 * .ec-wrap is a .container-dynamic, 83.5vw with 15px of its own padding, so
 * its content started 15px inside the gutter. Dropping that padding puts
 * heading and grid together on the gutter, which is what the home page does.
 * Desktop only: below 768px the 15px is the whole gutter.
 * ------------------------------------------------------------------------ */
@media (min-width: 768px) {
    html body:not(.wp-admin) .ac-ecommerce section > .container.container-dynamic {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --------------------------------------------------------------------------
 * 2. Centred section headers to the left.
 *
 * .ec-heading caps itself at 790px and some sections centred that cap, which
 * is where 318px came from; the why section uses .ac-seo-different__head at
 * 900px and centred to 263px. The caps stay - they are the text measure -
 * and only the centring goes.
 * ------------------------------------------------------------------------ */
/* The .ec-heading and .ac-seo-different__head rules that used to sit here
 * pulled every section header to the gutter. They are gone: section header
 * alignment is now one decision per section type, in
 * assets/sass/base/_sitewide-alignment.scss, where the problems, solution,
 * CMS and process headers are set together rather than per family. The
 * showcase and FAQ headers below keep the gutter treatment, which is why
 * those two rules remain. */
html body:not(.wp-admin) .ac-ecommerce.ac-ecommerce.ac-ecommerce
    :is(.ac-showcase > .container, .ec-faq) :is(h2, h3, p, .ec-copy, .section-lead, .title-big) {
    text-align: left !important;
}

/* --------------------------------------------------------------------------
 * 3. The two full-bleed carousels.
 *
 * The services track sat at 57px and the add-ons track at 24px, and the
 * heading script followed each one out there - the add-ons heading ended up
 * at 24px, outside its own container and nearly touching the window. Putting
 * the track on the gutter puts the heading there with it.
 *
 * padding-right is left alone, so the cards still run off the right edge.
 * ------------------------------------------------------------------------ */
@media (min-width: 768px) {
    /* No .ac-ecommerce ancestor here: #ac-web-services is a direct child of
     * <main>, outside that wrapper, unlike every other section on the page. */
    html body:not(.wp-admin) :is(#ac-web-services, .ac-agency-addons) > .container.container-dynamic,
    html body:not(.wp-admin) :is(#ac-web-services, .ac-agency-addons) > .swiper,
    html body:not(.wp-admin) :is(#ac-web-services, .ac-agency-addons) .ac-web-services__carousel {
        padding-left: calc((100% - 83.5vw) / 2) !important;
    }
}

/* --------------------------------------------------------------------------
 * 4. The showcase section.
 *
 * Only on /adult-web-design/, and like #ac-web-services it sits outside the
 * .ac-ecommerce wrapper, so neither rule above reaches it: its container kept
 * its 15px and its heading stayed centred. Three copies of the class clear
 * the two shared.css rules that centre a .section-lead inside a container.
 * ------------------------------------------------------------------------ */
@media (min-width: 768px) {
    html body:not(.wp-admin) .ac-showcase > .container.container-dynamic {
        padding-left: 0;
        padding-right: 0;
    }
}

html body:not(.wp-admin) .ac-showcase.ac-showcase.ac-showcase > .container :is(h2, h3, p, .section-lead, .section-intro) {
    text-align: left !important;
}

/* --------------------------------------------------------------------------
 * 5. The dev-split section.
 *
 * .ac-devsplit is the single-section inner page used by the solo and studio
 * children and by the seven /web-design/* landing pages - 11 URLs. Same two
 * faults as everything above and the same two fixes: the container keeps its
 * 15px so the heading started at 133, and the heading is centred against a
 * page whose other heading is left.
 *
 * It also sits outside .ac-ecommerce, under <main>, so it needs its own rule
 * rather than the ones above.
 * ------------------------------------------------------------------------ */
@media (min-width: 768px) {
    html body:not(.wp-admin) .ac-devsplit > .container.container-dynamic {
        padding-left: 0;
        padding-right: 0;
    }
}

html body:not(.wp-admin) .ac-devsplit.ac-devsplit.ac-devsplit > .container :is(h2, h3, p, .ac-devsplit__heading, .section-lead) {
    text-align: left !important;
}

/* ac-slider-arrow-gutter */
/* Carousel prev arrow: park it beside the slider, not against the viewport.
 *
 * Every carousel's first card starts on the page gutter -
 * calc((100% - 83.5vw) / 2), 118px at 1440 - but the prev arrow was pinned
 * near the window edge instead:
 *
 *     .swiper-floting-btns .swiper-arrow-prev                    left: 25px
 *     .ac-unified-slider .ac-unified-arrow--prev                 left: clamp(1rem, 4vw, 4rem)
 *     .ac-home-store__slider... .ac-unified-arrow--prev          left: 2%
 *
 * which left ~90px of dead space between the arrow and the card it scrolls.
 * The arrow now sits in the gutter with its trailing edge 16px short of the
 * first card: gutter - 44px (the arrow) - 16px (the gap).
 *
 * Those three rules are in dist/shared*.css, which is webpack output and must
 * not be hand-edited - this sheet is enqueued after it, so plain selectors are
 * enough. The longest of them scores (0,4,0); every selector here carries
 * `html body:not(.wp-admin)` and so scores at least (0,3,2), and the one that
 * has to beat it scores (0,5,2). No !important needed.
 *
 * The NEXT arrow is deliberately left where it is. Slider tracks bleed off the
 * right on purpose, so the trailing arrow sits over cards rather than beside
 * them and has no gutter to align to.
 *
 * Two shapes of slider exist and `left` is resolved against whichever box the
 * arrow is positioned in, so one plain calc cannot serve both:
 *
 *   full-bleed  the arrow's box spans the window, so the gutter has to be
 *               measured inside it: (100% - 83.5vw) / 2 - 60px.
 *   container   the arrow's box IS the 83.5vw container, so its own left edge
 *               is already the gutter and the arrow belongs 60px outside it.
 *
 * max() of the two picks the right one without needing to know which is which:
 * in a full-bleed box the calc is positive and wins; in a container-width box
 * it collapses to -60px (or below, for a narrower box) and the -60px floor
 * wins. Either way the arrow ends 16px clear of the first card, and any
 * unusual box still gets "one arrow plus a gap outside the slider".
 *
 * Below 768px the arrows stay where they were - the gutter is too small there
 * to park anything in.
 */
@media (min-width: 768px) {
    html body:not(.wp-admin) .swiper-floting-btns .swiper-arrow-prev,
    html body:not(.wp-admin) .ac-unified-slider .ac-unified-arrow--prev,
    html body:not(.wp-admin) .ac-home-store__slider.ac-unified-slider .swiper-default-button .ac-unified-arrow--prev {
        left: max(calc((100% - 83.5vw) / 2 - 60px), -60px);
    }
}

/* Two tracks park their arrow pair in a box that is both narrower than the
 * track and offset from it: .swiper-default-button is absolutely positioned
 * with left: 0; right: 0, but also carries an explicit width, so it resolved
 * to 248px..1368px inside a 1425px track. `left` on the arrow then meant
 * something different there than everywhere else, and the arrow landed on top
 * of the first card instead of beside it.
 *
 * Letting the box size itself from left/right makes it span its own track, so
 * the rule above means the same thing in every slider. Harmless where the box
 * already spans the track (the home store) and where it is in normal flow
 * (the podcasts rail, which is position: static - left/right are ignored
 * there and width: auto is what it already computes to).
 */
@media (min-width: 768px) {
    html body:not(.wp-admin) .swiper > .swiper-default-button {
        /* What actually held the box at 1120px is a max-width on the
           carousel's own wrapper (.ac-web-services .swiper-default-button),
           not a width - so both have to be released. */
        width: auto !important;
        max-width: none !important;
        margin-left: 0;
        margin-right: 0;
    }
}

/* #product-features starts its cards at 24px while the rest of the page - its
 * own heading included - starts on the gutter. Padding the track moves the
 * cards, and the arrow follows from the rule above.
 */
@media (min-width: 768px) {
    html body:not(.wp-admin) #product-features .swiper {
        padding-left: calc((100% - 83.5vw) / 2) !important;
    }
}

/* ac-project-showcase-align */
/* The home "latest project" showcase: centre the list against the artwork.
 *
 * .lp-showcase is a two-column grid at >= 1024px and carried
 * `align-items: start`, so the numbered project list sat hard against the top
 * of the frame beside it. The frame is the taller of the two, so the list read
 * as top-heavy with a block of empty space under it.
 *
 * Centring the grid items puts the shorter column on the frame's centre line.
 * The rule lives in dist/shared.css (built from assets/sass/module/_home.scss,
 * ~line 1232) at (0,1,0); this is (0,2,2) and is enqueued later.
 *
 * Only .lp-showcase is touched. The other showcase, .ac-showcase on the escort
 * pages, already centres via Bootstrap's .align-items-center on its row.
 */
@media (min-width: 1024px) {
    html body:not(.wp-admin) .lp-showcase {
        align-items: center;
    }
}

/* ac-lets-talk-card */
/* The closing "Let's talk" block is a card on every page that has one.
 *
 * WHY
 * ---
 * Swept all 307 corpus pages for the shared CTA markup that
 * templates/common/approach-buttons.php renders (.ac-approach-actions) plus
 * the web design enquiry callout. 27 closing blocks, and they did not agree:
 *
 *   5 sector SEO pages   card - .ac-ma-prose__intro, radius 26, 1200px
 *  15 web design pages   card - .ec-callout, radius 26, 1200px
 *   4 marketing pages    BARE - heading, copy and buttons loose on the band
 *
 * The four are /adult-marketing/, /outreach/, /adult-marketing/pr/ and
 * /adult-marketing/content-writing/, and each was bare for its own reason.
 * Adult Marketing renders the SAME component as the SEO pages - the card rule
 * in seo-mission.css is just scoped to .ac-ma-seo-mission, a class
 * marketing-approach-prose.php only adds when ac_seo_mission_supported()
 * says so. The other three have markup of their own and never had a card
 * written for them at all.
 *
 * Deliberately NOT included:
 *
 *   #outreach-bespoke     a bespoke-campaign pitch that happens to carry the
 *                         same two buttons. #adult-seo-bespoke is bare too,
 *                         so bare is the consistent answer, not an omission.
 *   /about/, /adult-website-hosting/
 *                         these render a different component - a legacy
 *                         Bootstrap .row with a logo image beside the copy.
 *                         Giving that a card is a design decision about a
 *                         different layout, not this one.
 *
 * THE FILL
 * --------
 * A card on a band has to be the other tone or it vanishes into it. Rather
 * than hard-code which band each section lands on - these pages alternate by
 * position, so a section that moves changes tone - editorial-bands.css now
 * publishes --ac-band-card on every band: the colour a card must be to show
 * up on it. The card reads that and inverts itself, wherever it ends up.
 *
 * The measurements are read off the rendered Adult SEO card rather than
 * guessed: 26px radius, clamp(30px, 5vw, 64px) padding, a #dedee3 hairline,
 * the two-layer shadow below, and 1200px outer width.
 */

/* ── The card ───────────────────────────────────────────────────────────── */

/* The LAYOUT, not the intro.
 *
 * Adult SEO's block is a single column, so its .ac-ma-prose__intro is the
 * whole thing and carding it cards the block. Adult Marketing's is not:
 * measured, .ac-ma-prose__layout is a 467.5px + 632.5px grid with the intro
 * in the left column and .ac-ma-prose__steps in the right. Carding the intro
 * there produced a 468px card around half the content, which is why the
 * selector names the layout for this variant and the intro for the other. */

html body:not(.wp-admin) #seo-case-study #study-talk > .ac-study-container,
html body:not(.wp-admin) :is(#outreach-talk, #pr-talk, #copywriting-contact) > .container.container-dynamic,
html body:not(.wp-admin) #ac-contact-promotion.ac-ma-prose:not(.ac-ma-seo-mission) .ac-ma-prose__layout {
    box-sizing: border-box;
    max-width: 1200px;
    margin-inline: auto;
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid #dedee3;
    border-radius: 26px;
    background: var(--ac-band-card, #fff);
    box-shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 14px 36px rgba(29, 29, 31, .06);
}

/* Adult Marketing's section has to stop painting over its own band.
 *
 * The card was applying there all along - measured white, radius 26, 64px
 * padding, 1200px - and still invisible, because #ac-contact-promotion paints
 * itself white on top of a band that is tinted. White card, white ground.
 *
 * The band under it is #f5f5f7 and publishes --ac-band-card: #fff, which is
 * right; the section just has to get out of the way so that is what the card
 * sits on. Adult SEO solves the same problem from the other end, forcing the
 * section to the tint in seo-mission.css.
 *
 * A card that is the right colour for a band it is not actually on is worth
 * naming as its own mistake: the fill was correct and the ground was wrong. */
html body:not(.wp-admin) #ac-contact-promotion.ac-ma-prose:not(.ac-ma-seo-mission) {
    background: transparent !important;
}

/* The 900px cap inside the outreach block is for the copy's measure, not for
 * the card - without this it would cap the card too and leave it 300px short
 * of the width every other page's card has. */
html body:not(.wp-admin) #outreach-talk > .container.container-dynamic > .ac-outreach-center {
    max-width: none;
}

/* ── Phones ─────────────────────────────────────────────────────────────── */
/* The band's own side padding plus the card's would double the gutter, so the
 * card carries it and the section stops. */
@media (max-width: 767px) {
    html body:not(.wp-admin) #seo-case-study #study-talk > .ac-study-container,
html body:not(.wp-admin) :is(#outreach-talk, #pr-talk, #copywriting-contact) > .container.container-dynamic,
    html body:not(.wp-admin) #ac-contact-promotion.ac-ma-prose:not(.ac-ma-seo-mission) .ac-ma-prose__layout {
        padding: 28px 22px 32px;
        border-radius: 20px;
    }

    /* A card needs a gutter to be a card. .container-dynamic has no side
     * margin at this width, so on /outreach/ the card ran 0 to 375 on a
     * 390px screen - edge to edge, with its rounded corners off-screen.
     * 15px a side matches what the marketing one already had. */
    html body:not(.wp-admin) #seo-case-study #study-talk > .ac-study-container,
    html body:not(.wp-admin) :is(#outreach-talk, #pr-talk, #copywriting-contact) > .container.container-dynamic {
        width: auto;
        margin-inline: 15px;
    }
}

/* The intro column's own alignment is set in marketing-section-gutter.css,
 * where the rules that centred this block already live. Two files arguing
 * about one column is what this codebase has too much of already. */

/* ac-pf-hero-intro */
/* The standfirst under a .pf-hero heading, on /case-studies/ and /portfolio/.
 *
 * WHY A FILE RATHER THAN THE SCSS
 * -------------------------------
 * .pf-hero lives in assets/sass/base/_modernize.scss, and a webpack run
 * rewrites every file in dist/ - including the per-route bundles that purge.js
 * produces. Editing the SCSS means a full `npm run production` to see the
 * change, which cannot be run on a server. Component CSS added here is
 * concatenated at runtime by inc/combine-component-css.php instead.
 *
 * THE MEASUREMENTS
 * ----------------
 * Taken from .ac-matching-parent-hero__intro in marketing-parent-hero.css,
 * which is the standfirst the five marketing parent pages already use: 680px,
 * #6e6e73, 1.05rem, 1.68 line-height. Copying it rather than inventing a
 * second scale is the whole point - this is the site's small intro, not a new
 * one that happens to look similar.
 *
 * The heading on both pages is centred, so the standfirst is too: a centred
 * heading with a left-aligned paragraph under it is the split-align fault
 * tests/design-audit.js looks for. It caps its width and centres that cap on
 * the container, rather than relying on text-align alone, which never moves a
 * block that sets its own width.
 */
html body:not(.wp-admin) .pf-hero .pf-hero__intro,
html body:not(.wp-admin) .pf-hero .pf-hero__intro p {
    max-width: 680px;
    color: #6e6e73;
    font-size: 1.05rem;
    line-height: 1.68;
    text-align: center;
}
html body:not(.wp-admin) .pf-hero .pf-hero__intro {
    margin: 1.25rem auto 0;
}
/* Paragraphs inside sit flush; the wrapper owns the spacing above and below so
   a one-paragraph and a two-paragraph standfirst start at the same place. */
html body:not(.wp-admin) .pf-hero .pf-hero__intro p {
    margin: 0 auto;
}
html body:not(.wp-admin) .pf-hero .pf-hero__intro p + p {
    margin-top: .85rem;
}

@media (max-width: 767px) {
    html body:not(.wp-admin) .pf-hero .pf-hero__intro {
        margin-top: 1rem;
    }
    html body:not(.wp-admin) .pf-hero .pf-hero__intro,
    html body:not(.wp-admin) .pf-hero .pf-hero__intro p {
        font-size: 1rem;
        line-height: 1.62;
    }
}

/* ac-pf-archive-band */
/* The band under the hero on /case-studies/ and /portfolio/.
 *
 * WHY
 * ---
 * Both pages are two bands: a white .pf-hero, then the card grid - also
 * white. tests/design-audit.js (band-repeat) found the seam between them
 * missing on both, measured on dev at 1440:
 *
 *   /case-studies/   .pf-hero #fff  ->  .caseStudy-main   #fff
 *   /portfolio/      .pf-hero #fff  ->  .pf-grid-section  #fff
 *
 * The reference pages alternate from the hero down - /adult-marketing/ runs
 * #fff, #f5f5f7, #fff, #f5f5f7 with no repeat anywhere - so the band after
 * the hero is the tinted one. On /case-studies/ it does a second job: those
 * cards are white panels carrying a shadow, and a white panel on a white
 * band has only its shadow to stand on.
 *
 * SPACING
 * -------
 * A tint makes the band's own padding visible, and neither band had the
 * values for it. Measured before this change:
 *
 *   .caseStudy-main    0/0, with 32/48 coming from .caseStudy-list inside it
 *   .pf-grid-section   40/112  (SCSS: padding: 2.5rem 0 7rem)
 *
 * Both take the first-band values from docs/design-system.md - 96/64 on a
 * desktop, 72/56 on a phone (the hero/first-band tier in
 * mobile-section-rhythm.css). The two differ at the bottom because of what
 * is inside them: .caseStudy-list-col carries a 32px bottom margin that the
 * last row leaves behind, while .pf-grid is a grid whose gap stops at the
 * last row. So the case study band sets the difference and the portfolio
 * band sets the whole value; both land at 64.
 *
 * Not the /case-studies-category/ pages: those wrap a dark .bannerNew hero
 * inside .caseStudy-main and already alternate. The adjacency selector is
 * what keeps this off them.
 */

html body:not(.wp-admin) .pf-hero + .caseStudy-main,
html body:not(.wp-admin) .pf-hero + .pf-grid-section {
    /* !important only for .caseStudy-main, whose SCSS background is itself
     * !important; it goes when that SCSS is rebuilt with these values. */
    background: #f5f5f7 !important;
    padding-top: 96px;
}

/* 32px here + the last row's 32px card margin = 64. */
html body:not(.wp-admin) .pf-hero + .caseStudy-main { padding-bottom: 32px; }
html body:not(.wp-admin) .pf-hero + .pf-grid-section { padding-bottom: 64px; }

/* The grid brought its own top padding; the band holds it now. */
html body:not(.wp-admin) .pf-hero + .caseStudy-main .caseStudy-list {
    padding-top: 0;
}

@media (max-width: 767px) {
    html body:not(.wp-admin) .pf-hero + .caseStudy-main,
    html body:not(.wp-admin) .pf-hero + .pf-grid-section {
        padding-top: 72px;
    }
    html body:not(.wp-admin) .pf-hero + .caseStudy-main { padding-bottom: 24px; }
    html body:not(.wp-admin) .pf-hero + .pf-grid-section { padding-bottom: 56px; }
}

/* ac-news-list */
/* The news card's pills and foot, and the category bar's current entry.
 *
 * WHY
 * ---
 * Three changes the owner asked for on 2026-11-11, all on the pages that list
 * articles (/news/, /news-category/<term>/ and the home page slider):
 *
 *   - the categories were one pill holding a comma-separated list, so a card
 *     filed under three categories read
 *     "ADULT ENTERTAINMENT, ADULT EVENTS, GENERAL NEWS" in a single bubble
 *   - the date sat under the title and "Read more" under that, both flush
 *     left, with the gap between them growing with the card
 *   - the bar above the list never said which category you were reading
 *
 * The markup comes from templates/common/news-card.view.php and
 * templates/common/news-categories.view.php. The card itself is
 * assets/sass/component/_news-card.scss, which is not edited here: these are
 * the two new elements and the one state, and they fold into that file at the
 * next webpack build.
 */

/* ── The pills ─────────────────────────────────────────────────────────── */

html body:not(.wp-admin) .ac-news-card .ac-news-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: .9rem;
}

/* The pill keeps the type and colour it already had; the row holds the
 * spacing now, so the pill's own bottom margin goes. */
html body:not(.wp-admin) .ac-news-card .ac-news-card-categories .ac-news-card-category {
    margin-bottom: 0;
}

/* ── The foot: date left, link right ───────────────────────────────────── */

html body:not(.wp-admin) .ac-news-card .ac-news-card-foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    /* The card is a column; this pushes the row to the bottom whatever the
     * headline runs to, which is what the old margin-top: auto on the link
     * was doing before the two sat in a row. */
    margin-top: auto;
    padding-top: 1.25rem;
}

html body:not(.wp-admin) .ac-news-card .ac-news-card-foot .ac-news-card-date {
    margin-bottom: 0;
}

html body:not(.wp-admin) .ac-news-card .ac-news-card-foot .ac-news-card-read {
    margin-top: 0;
    margin-left: auto;   /* a card with no date keeps the link on the right */
    white-space: nowrap;
}

/* ── The category bar: where you are ───────────────────────────────────── */

html body:not(.wp-admin) .news-list-caagory a.is-current {
    color: #f6cd4a;      /* the colour the links already use on hover */
    font-weight: 600;
}

/* ── The bar on a phone: a button and the panel it opens ──────────────── */

/*
 * Below 768px the list collapses behind a "News categories" button. The two
 * were never one component: the button is in the flow and the panel was
 * positioned against the page, so they lined up with each other only by
 * accident. Measured on dev at 390px with the menu open:
 *
 *   button   -8 -> 398   (16px wider than the screen)   #1d1d1f   r980px
 *   panel    16 -> 276   (260 wide, aligned to nothing)  #000     r0 0 14 14
 *
 * The width came from the site-wide pill rule - .btn.bg-black sets
 * width: fit-content and border-radius: 980px - which is right for a pill and
 * wrong for a full-width bar, whose rounded ends then hung off both edges.
 *
 * templates/common/news-categories.view.php now wraps the pair in
 * .ac-news-cats. The wrapper carries the 16px gutter, the button fills it,
 * and the panel is positioned against the wrapper - so the two share one box
 * by construction rather than by matching numbers in two places.
 *
 * Scoped to .news-list: the single article page makes this same list a
 * static inset panel of its own (assets/css/news-single.css) and has no
 * button at all.
 */
@media (max-width: 767px) {
    html body:not(.wp-admin) .news-list .ac-news-cats {
        position: relative;
        padding: 0 16px;
        /*
         * The band starts 49px down and the fixed header is 56px tall, so the
         * bar's top 7px sat behind it. That was invisible while the bar was a
         * square full-bleed strip - the header simply covered its edge - and
         * is not once it has corners. 20px here puts it 13px clear.
         */
        margin-top: 20px;
    }

    /*
     * Three site-wide rules for dark pill buttons land on this one, and all
     * three are wrong for a bar that runs the width of the screen. Each is
     * !important where it is declared, so each needs saying again here:
     *
     *   .btn.bg-black        width: fit-content; border-radius: 980px
     *   .btn.bg-black:hover  transform: scale(1.04)
     *
     * A 980px radius on a 358px bar is a pill whose ends are cut off by the
     * screen, and 4% of growth on a full-width element is 7px off each edge -
     * measured on dev, the open bar ran -8 to 398 on a 390px screen while the
     * panel ran 16 to 276. A pill has room to grow; a bar does not.
     */
    html body:not(.wp-admin) .news-list .ac-news-cats .btn-newsCat {
        width: 100%;
        border-radius: 14px !important;
    }

    /*
     * The same hover rules darken it to #111. A phone has no hover, but a tap
     * leaves the state stuck, so the bar sat at #111 directly above a #1d1d1f
     * panel - two blacks, side by side, exactly while the menu is open. The
     * bar keeps its resting colour and size at this width.
     */
    html body:not(.wp-admin) .news-list .ac-news-cats .btn-newsCat:hover,
    html body:not(.wp-admin) .news-list .ac-news-cats .btn-newsCat:focus,
    html body:not(.wp-admin) .news-list .ac-news-cats .btn-newsCat.active {
        transform: none !important;
        background: #1d1d1f !important;
    }

    html body:not(.wp-admin) .news-list .ac-news-cats .news-list-caagory {
        /* Positioned against the wrapper, so it is exactly as wide as the
         * button whatever the screen. 8px of air reads as a menu belonging to
         * the button rather than growing out of it. */
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        width: auto;
        border-radius: 14px;
        /* One black for the pair: the button is #1d1d1f and Bootstrap's
         * .bg-black was painting the panel #000. */
        background: #1d1d1f !important;
        box-shadow: 0 6px 36px rgba(0, 0, 0, .18);
    }
}

/* ac-store-cards */
/* The add-on card copy across the store.
 *
 * WHY
 * ---
 * Measured on dev against /adult-marketing/ and /adult-web-design/
 * (2026-11-11). The store's card descriptions ran 13.6px on the category
 * pages (dist/shared-store.css sets .ac-plugin-card-desc to 0.85rem) and
 * 14px/21px on the landing, where the reference pages set their own card
 * copy at 14.4px/1.65 in #6e6e73.
 *
 * Card size, not body size. The store looked three pixels small against the
 * reference pages' 16.8px body text, but that is SECTION prose; comparing
 * card copy to it is comparing two different things. The only prose in the
 * store is the paragraph on the order flow, and that is 16.8px now
 * (assets/css/template-order-flow.css).
 *
 * This lives in its own file because template-order-flow.css is enqueued by
 * single-template.php alone, so a rule there never reaches the landing or
 * the category pages - which is where these cards mostly are.
 */

html body:not(.wp-admin) .ac-plugin-card-desc,
html body:not(.wp-admin) .showcase-plugin-col-innr-content p {
    font-size: 14.4px;
    line-height: 1.65;
    color: #6e6e73;
}

/* ac-admin-bar-offset */
/* The fixed header, for someone who is logged in.
 *
 * WHY
 * ---
 * The owner reported a gap between the header and the black news bar
 * (2026-11-11). There is none for a visitor: the bar's black starts at the
 * header's bottom edge, measured on dev at 1200, 1280, 1366, 1440, 1600 and
 * 1920. The gap only exists when you are signed in to wp-admin.
 *
 * WordPress pushes the whole document down by the admin bar's height
 * (`html { margin-top: 32px !important }`) and expects a fixed header to move
 * with it. `.header-min` is `position: fixed; top: 0` and nothing in this
 * theme has ever mentioned the admin bar, so the header stayed at the top of
 * the viewport while the page below it moved down. Measured on dev with the
 * admin bar simulated:
 *
 *            header        gap above the black bar   header hidden by the bar
 *   1440px   0 -> 56       20px                      yes, its lower 24px
 *    800px   0 -> 56       39px                      yes
 *
 * So the logo sat behind the admin bar and the band of grey under it read as
 * a gap. This is every page, not the news pages - the news bar is simply the
 * first thing that sits tight under the header, which is what made it
 * visible there first.
 *
 * The three bands are WordPress's own: the admin bar is 32px, 46px below
 * 783px, and below 601px it stops being fixed and scrolls away with the page,
 * so a fixed header belongs back at the top there.
 *
 * Logged out, `body.admin-bar` does not exist and none of this applies, which
 * is why it is safe to serve from the page cache.
 */

body.admin-bar .header-min {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header-min {
        top: 46px;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .header-min {
        top: 0;
    }

    /*
     * Below 601px WordPress stops fixing the admin bar - it scrolls away with
     * the page - so the header belongs back at the top of the viewport. But
     * the document is still pushed down 46px, and a fixed header does not move
     * with it, so the first band ended up 46px below the header that sits over
     * it. Measured on dev at 390px, signed in: the header ran 0 -> 56 and the
     * categories button began at 95, with 39px of nothing between them, and
     * the owner reported it twice.
     *
     * Taking the same 46px off the main element puts every page back where it
     * sits logged out. The admin bar still covers the header's own strip until
     * the first scroll - it is painted above everything - but it scrolls away
     * and nothing underneath has moved.
     */
    body.admin-bar #ac-main {
        margin-top: -46px;
    }
}

/* ac-package-cards */
/* Package cards: one surface instead of three stacked blocks.
 *
 * WHY
 * ---
 * The card is drawn by _package-consistency.scss and reads as three separate
 * objects rather than one card. Measured on /outreach/ at 1440px:
 *
 *   .poc-card         x=154-514, radius 20px, shadow 0 16px 38px
 *   .poc-card__head   x=165-503, radius 13px, background #f3f3f5
 *   .poc-card__footer x=155-513, background #15151b
 *
 * The head is inset 11px on each side with a second, smaller radius inside
 * the first - a panel floating inside a panel - and under it a near-black
 * footer runs edge to edge. Three fills, three corner radii and a heavy drop
 * shadow, against a site that otherwise draws cards as one surface with a
 * hairline edge.
 *
 * WHAT THIS CHANGES
 * -----------------
 * The head joins the card: no inset, no second radius, no fill, and a
 * hairline rule under it instead. The resting shadow goes and the border
 * carries the edge, with the shadow kept for hover so the lift still reads.
 * The dark footer and the yellow CTA stay - they are the brand, and they are
 * what makes the price findable.
 *
 * It also fixes the heading alignment. The carousel carries
 * `padding-left: clamp(14px, 3vw, 44px)`, which is 43px at this width, so the
 * cards started at x=154 under a heading at x=111. The padding is there for a
 * reason - the slider is overflow: hidden and would otherwise clip the hover
 * shadow - so rather than removing it, the same amount is pulled back as a
 * negative margin. The cards line up with the heading and still have room to
 * lift.
 *
 * WHY THIS IS CSS AND NOT SCSS
 * ----------------------------
 * The card's own rules live in assets/sass/component/_package-consistency.scss,
 * which is where this belongs. Editing it means a webpack build, and on this
 * branch a plain build replaces the purged per-route bundles with the full
 * ones - so a card restyle would land as a rebuild of every stylesheet in
 * dist/. This file is an override until the next real build, at which point
 * these declarations should move into the partial and this file should go.
 *
 * Applies wherever .poc-card renders: the Outreach packages and the Digital
 * PR packages, which share the component.
 */

/* ── The card itself ────────────────────────────────────────────────────── */
body:not(.wp-admin) .plans-outreach .poc-card,
body:not(.wp-admin) .ac-pr-page .poc-card {
    border: 1px solid #e3e3ea;
    border-radius: 18px;
    box-shadow: none;
}

body:not(.wp-admin) .plans-outreach .poc-card:hover,
body:not(.wp-admin) .ac-pr-page .poc-card:hover {
    border-color: #d2d2d8;
    box-shadow: 0 14px 32px rgba(12, 12, 20, .10);
}

/* ── The head joins the card ────────────────────────────────────────────── */
body:not(.wp-admin) .plans-outreach .poc-card__head,
body:not(.wp-admin) .ac-pr-page .poc-card__head {
    margin: 0;
    padding: 26px 24px 20px;
    border-bottom: 1px solid #ececf1;
    border-radius: 0;
    background: transparent;
}

/* The best-value card keeps its yellow edge and badge to stand out; with the
 * grey panel gone it no longer needs a fill of its own either. */
body:not(.wp-admin) .plans-outreach .plans-outreach__card.is-best-value .poc-card__head,
body:not(.wp-admin) .ac-pr-page .plans-outreach__card.is-best-value .poc-card__head {
    background: transparent;
}

/* ── Body and footer line up with the head's 24px gutter ────────────────── */
body:not(.wp-admin) .plans-outreach .poc-card__body,
body:not(.wp-admin) .ac-pr-page .poc-card__body {
    padding: 18px 24px 10px;
}

body:not(.wp-admin) .plans-outreach .poc-card__footer,
body:not(.wp-admin) .ac-pr-page .poc-card__footer {
    padding: 18px 24px 20px;
    border-radius: 0 0 17px 17px;
}

/* ── The badge stops pushing its card's divider down ────────────────────── */
/* In flow, "Best Value" added 40px to that card's head - measured 119px
 * against 79px on the other three - so the one divider that should look
 * deliberate sat lower than its neighbours across the row. Out of flow, every
 * head is the same height and the four dividers line up. The head is already
 * position: relative in _package-consistency.scss, so this needs no help. */
body:not(.wp-admin) .plans-outreach .poc-card__head .poc-badge,
body:not(.wp-admin) .ac-pr-page .poc-card__head .poc-badge {
    position: absolute;
    top: 18px;
    right: 20px;
    margin: 0;
}

/* Room for it, so a long plan name cannot run under the badge. */
body:not(.wp-admin) .plans-outreach .plans-outreach__card.is-best-value .poc-card__name,
body:not(.wp-admin) .ac-pr-page .plans-outreach__card.is-best-value .poc-card__name {
    padding-right: 96px;
}

/* ── The cards start where the heading starts ───────────────────────────── */
/* The slider is overflow: hidden, so its left padding is what gives the hover
 * lift room to bleed - and it is also what pushed the cards 43px past the
 * heading. Pulling the same amount back as a negative margin keeps the room
 * and moves the cards onto the gutter.
 *
 * 56px rather than the 16px the shadow needs, because the prev arrow lives
 * inside that padding too: at 16px it sat at x=101 over a card starting at
 * x=111. At 56px the arrow clears the card and sits in the page margin, where
 * the other carousels on this site put theirs. Checked at 768, 1024 and 1440:
 * the gutter is 63px at its narrowest, so the arrow still lands on the page. */
@media (min-width: 768px) {
    body:not(.wp-admin) #outreach-packages .ac-outreach-plans.ac-unified-slider {
        margin-left: -56px !important;
        padding-left: 56px !important;
    }
}

/* ac-mobile-section-rhythm */
/* Mobile band spacing: one scale instead of twenty-eight separate floors.
 *
 * WHY
 * ---
 * Every band on this site sets its own vertical padding, almost always as
 * `padding-block: clamp(<floor>, <n>vw, <ceiling>)`. On a desktop the vw term
 * wins and the page breathes. On a phone the viewport is too narrow for the
 * vw term to reach the floor, so every section falls back to its floor - and
 * those floors were written one component at a time, for a desktop-sized idea
 * of "a comfortable gap".
 *
 * Measured on dev at 390px across the home, marketing, SEO, web design, store
 * and contact families, these were the bands at 56px or more:
 *
 *   112/56   #marketing-services, #ac-web-services, the first services card
 *   110/56   the marketing, parent and banner heroes
 *   100/88   #marketing-platforms
 *    80/80   .homeNew-latestProject
 *    80/64   #adult-seo-results, #escort-seo-results
 *    72/72   .homeNew-latestNews, .ac-mkt-barriers, #adult-seo-podcasts
 *    64/64   eighteen more - most of the SEO and marketing sections
 *
 * So a phone showed 128px of empty space between two sections as a matter of
 * course, and 212px between the hero and the first band. That is most of a
 * screen height spent on nothing, repeated down the page.
 *
 * WHAT THIS DOES
 * --------------
 * Three tiers, below 768px only. Desktop is untouched - the clamps there are
 * doing their job and nothing in this file applies above the breakpoint.
 *
 *   hero / first band   110-112  ->  72 top, 56 bottom kept
 *   heavy bands          72-100  ->  56
 *   standard bands        64      ->  48
 *
 * Bands already lighter than 56px are deliberately absent: the FAQ and the
 * closing contact block measure 0/0 and get their spacing from the content
 * inside them, so a rule here would ADD space rather than remove it. That is
 * also why this is an explicit list rather than a rule on `#ac-main > *` -
 * there is no way in CSS to cap a padding you cannot read, and a blanket
 * value would have given those two sections a gap they never had.
 *
 * Adding a section? It only needs a line here if it measures 56px or more at
 * 390px. tests/design-audit.js (`band-inset`) flags a band whose content
 * starts under 40px from its top at 390px; it does not flag one that is too
 * loose, so the 56px+ list above is still measured by hand.
 *
 * The !important is the same tax the rest of this layer pays: most of these
 * floors are themselves !important in their own component file.
 */
@media (max-width: 767px) {

    /* Tier 1 - heroes and the band that sits directly under one.
     * The bottom padding is already 56px on all of these and stays. */
    html body:not(.wp-admin) :is(
        .ac-marketing-editorial-hero,
        #marketing-parent-hero,
        .banner.banner-new25,
        #marketing-services,
        #ac-web-services,
        .seo-service-cards.ac-marketing-services--first
    ) {
        padding-top: 72px !important;
    }

    /* Tier 2 - the heavy bands, 72px to 100px. */
    html body:not(.wp-admin) :is(
        #marketing-platforms,
        .homeNew-latestProject,
        .homeNew-latestNews,
        .ac-mkt-barriers,
        #adult-seo-results,
        #escort-seo-results,
        #adult-seo-podcasts
    ) {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }

    /* Tier 3 - the standard 64px band, which is most of the site. */
    html body:not(.wp-admin) :is(
        #home-welcome,
        .ac-mkt-audiences,
        .mkt-why.mkt-why--marketing-light,
        #marketing-campaigns,
        #adult-seo-problems,
        #adult-seo-pain-points,
        #adult-seo-services,
        #adult-seo-bespoke,
        #why-adult-seo-is-different,
        #seo-detail-problems,
        #seo-detail-platforms,
        #seo-detail-services,
        #escort-seo-pain-points,
        #escort-seo-bespoke,
        #why-choose,
        .ac-showcase,
        .wd-features-section.ac-agency-addons,
        .cw-section.cw-writing,
        #featured-plugins.ac-featured-plugins
    ),
    html body:not(.wp-admin).page-tpl-about #ac-main > .contact-promotion {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* ac-forms */
/* Forms: a visible focus state, and no iOS zoom on tap.
 *
 * Measured 2026-11-11 on /contact-us/: a focused field changed nothing -
 * outline none, border and shadow unchanged - so a keyboard user could not
 * see which field they were in (WCAG 2.4.7). The accent ring below is the
 * site's link/hover colour (#0071e3, docs/design-system.md).
 *
 * The contact form's inputs are 14.4px. Under 16px, iOS Safari zooms the
 * page in when a field is focused and leaves it zoomed. Phones get 16px.
 *
 * Which of the two input STYLES is canonical (pill on the contact page,
 * square in the enquiry modal) is an open decision - this file deliberately
 * styles neither, only the two faults common to both.
 */
html body:not(.wp-admin) :is(.wpcf7-form, form) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select):focus-visible {
    outline: 2px solid #0071e3 !important;
    outline-offset: 2px;
}

html body:not(.wp-admin) :is(.wpcf7-form, form) :is(input[type="checkbox"], input[type="radio"], [type="submit"], button):focus-visible {
    outline: 2px solid #0071e3 !important;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    html body:not(.wp-admin) .wpcf7-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) {
        font-size: 16px !important;
    }
}

/* One field style on every Contact Form 7 form: the pill (owner, 2026-11-11).
 *
 * Measured off the contact page, which already used it; the enquiry modal on
 * every other page used square 6px fields on #f6f6f7 and is brought onto it.
 *   input / select  radius 999px    textarea  radius 18px
 *   #f8f8fa, 1px rgba(20,19,26,.14), 15px padding, 14.4px / 300, #14131a
 * The phone field is a composite (assets/js/enquiry-modals.js): the pill is on
 * .ac-phone-field, and the picker and number inside it stay flat.
 * The newsletter signup (.tnp-subscription) has its own design and is not a
 * CF7 form, so it is untouched.
 */
html body:not(.wp-admin) .wpcf7-form :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], select):not(.ac-phone-number):not(.ac-country-picker),
html body:not(.wp-admin) .wpcf7-form .ac-phone-field {
    border-radius: 999px !important;
    background-color: #f8f8fa !important;
    border: 1px solid rgba(20, 19, 26, .14) !important;
    color: #14131a !important;
}
html body:not(.wp-admin) .wpcf7-form :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"]):not(.ac-phone-number) {
    padding: 15px 20px !important;
    font-weight: 300 !important;
}
html body:not(.wp-admin) .wpcf7-form textarea {
    border-radius: 18px !important;
    background-color: #f8f8fa !important;
    border: 1px solid rgba(20, 19, 26, .14) !important;
    color: #14131a !important;
    padding: 15px 20px !important;
    font-weight: 300 !important;
}
html body:not(.wp-admin) .wpcf7-form .ac-phone-field {
    overflow: hidden;
}
html body:not(.wp-admin) .wpcf7-form .ac-phone-field :is(.ac-phone-number, .ac-country-picker) {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* The news-submission modal set its own field tokens (_news-modal.scss) -
 * #f6f6f7, a third near-white a step off the enquiry system's #f8f8fa. One
 * field style means one set of values: */
html body:not(.wp-admin) #newsModal {
    --news-field: #f8f8fa;
    --news-border: rgba(20, 19, 26, .14);
    --news-ink: #14131a;
}

/* ac-imagery */
/* One image corner radius: 20px (owner, 2026-11-11).
 *
 * Images on this site are clipped by their card (overflow: hidden), so the
 * radius lives on the card, not the <img>. Measured before this file, the
 * clipping element and its radius:
 *
 *   .ac-product-card                   18px   home / explore cards
 *   .ac-mkt-campaigns ...__image       16px   marketing campaign image
 *   .ac-tmpl-card                      18px   store template card
 *   .ac-news-card                      16px   news cards
 *   .caseStudy-list-col .media         16px   case study cards
 *   .showcase-plugin-col-innr          12px   plugin card (and its media)
 *
 * Already 20px and untouched: the project showcase stage, portfolio cards,
 * the store hero cards and the news article image.
 *
 * New image components: 20px on the clipping element, aspect-ratio and
 * object-fit: cover on the wrapper (docs/design-system.md, Imagery).
 */
html body:not(.wp-admin) :is(
    .ac-product-card,
    .ac-mkt-campaigns .ac-product-card__image,
    .ac-tmpl-card,
    .ac-news-card,
    .caseStudy-list-col .media,
    .showcase-plugin-col-innr,
    .ac-plugin-card__media
) {
    border-radius: 20px !important;
}

/* ac-type-scale */
/* The page title, one size on every page.
 *
 * The owner's rule (2026-11-11): every page type matches the reference pages'
 * type scale - "match size". Measured on /adult-marketing/ and
 * /adult-web-design/ (docs/design-system.md):
 *
 *   h1  clamp(2.6rem, 5.5vw, 4rem)  -> 64px at 1440, 41.6px on a phone
 *       weight 700, letter-spacing -0.035em, line-height 1.06
 *
 * Before this, twelve template-level rules set the h1 between 43 and 88px on
 * desktop and 28 and 44px on a phone, at weights 600 to 800: news articles
 * 56, template details 51.2, the store 43.2, case studies 56, portfolio and
 * case-study archives 88, plugins 86, home / contact / news / client pages
 * 80, hosting 80, careers 60, legal pages 53.6.
 *
 * Section h2s already share one rule (51.2px / 32px, the global h2 rule in
 * the theme stylesheet); headings inside article text keep their reading
 * size - they are subheadings in a column of prose, not section headings.
 *
 * Every page has exactly one h1 and it is always inside #ac-main, so this
 * targets that and nothing else. The id outranks the template rules, several
 * of which are !important themselves. Alignment is left to each template.
 */
html body:not(.wp-admin) #ac-main h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.06 !important;
}

/* Section headings that a template rule pulls off the h2 scale. The global
 * h2 rule gives 51.2px / 32px; these are the ones that lost to a more
 * specific rule, found by design-audit `type-scale`:
 *   .news-subheading  "Latest News" under every article (118 pages): 40 / 28px
 */
html body:not(.wp-admin) #ac-main h2.news-subheading {
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
}

/* News article titles: 56px on desktop, 32px on a phone (owner, 2026-11-11:
 * "make it small", then "reduce font size slightly" on desktop).
 * At the page-title size (41.6px) an 83-character headline ran six lines -
 * ~265px of the first screen before a word of the article. Article titles
 * are sentences, not the short names the page-title size was measured on. */
html body:not(.wp-admin) #ac-main #ac-news-article .ac-news-hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.5rem) !important;
}
@media (max-width: 767px) {
    html body:not(.wp-admin) #ac-main #ac-news-article .ac-news-hero h1 {
        font-size: 2rem !important;
        line-height: 1.12 !important;
    }
}

/* Title alignment (owner, 2026-11-11). A title on its own is centred on its
 * section; a title BESIDE an image reads from its column edge, so it is left-
 * aligned on desktop. On a phone the image stacks below and the title is on
 * its own again, so it centres. News articles centre their whole header
 * (news-single.css); the store template page keeps its left-aligned title
 * beside the gallery.
 *
 * Contact: the title column sits beside the hero image at 992px and up. */
@media (min-width: 992px) {
    html body:not(.wp-admin).page-tpl-contact #ac-main .intro-main.order-lg-1,
    html body:not(.wp-admin).page-tpl-contact #ac-main .intro-main.order-lg-1 :is(h1, p) {
        text-align: left !important;
    }
}

/* Homepage hero: #home-titles pins its headings left so "Explore our
 * platforms" sits left of its "View more" link (design rule 14). The hero
 * title above it is on its own and centres, with its intro. */
html body:not(.wp-admin) #home-titles .intro-main > [class*="col-"] :is(h1, p) {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Careers: the title column carried padding-right: 112px from when it sat on
 * the left of a two-column banner, which pushed the now-centred title 48px
 * left of the page centre. A centred block takes symmetric padding. */
html body:not(.wp-admin).page-tpl-carrer #ac-main .bannerNew-content.mx-auto {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* ac-band-spacing */
/* Desktop band spacing for sections that set their own, off the scale.
 *
 * The desktop counterpart of mobile-section-rhythm.css. The reference bands
 * (`.ac-ecommerce .ec-section`, docs/design-system.md) run
 * `padding-block: clamp(64px, 7vw, 108px)` - 100px at 1440 - and a band
 * that starts its content much closer reads as cramped next to them.
 *
 * tests/design-audit.js (`band-inset`) found these on every web design page
 * (2026-11-11), measured from band edge to first visible content at 1440:
 *
 *   .ac-showcase          64px   SCSS: padding 64px 0 80px
 *   .ac-agency-addons     48px   SCSS: padding-top 0 !important, and a
 *                                Bootstrap .pt-5 on the inner container
 *                                standing in for it (removed from the markup)
 *   SEO featured case     88px   #adult-seo-featured-case, #escort-seo-featured-case
 *   .cw-writing           16px   Content Writing's blog/website writing bands
 *   #outreach-packages    72px
 *   #featured-plugins     48px   the store's Bootstrap .py-5
 *   About's closing block 48px   .contact-promotion on About only - on the
 *                                Marketing pages the same block takes its
 *                                space from the card inside it
 *
 * Desktop only: phones get the standard tier in mobile-section-rhythm.css.
 * The !important outranks the SCSS rule, which is itself !important; it goes
 * when that SCSS is rebuilt with these values.
 */
@media (min-width: 768px) {
    html body:not(.wp-admin) :is(
        .ac-showcase,
        .wd-features-section.ac-agency-addons,
        [id$="-seo-featured-case"],
        .cw-section.cw-writing,
        #outreach-packages,
        #featured-plugins.ac-featured-plugins
    ),
    html body:not(.wp-admin).page-tpl-about #ac-main > .contact-promotion {
        padding-top: clamp(64px, 7vw, 108px) !important;
        padding-bottom: clamp(64px, 7vw, 108px) !important;
    }
}

/* ac-text-cell */
/* The text cell - the site's default "card" (docs/design-system.md).
 *
 * ONE definition. Until 2026-11-11 the same component was written three
 * times - adult-seo-different.css (the base), numbered-why.css (a full copy
 * in !important, to "outrank the legacy service-surface rule") and
 * solution-grid.css (a third copy for .ac-solution-grid__item) - plus page
 * overrides, each layer beating the last. Every class that renders as a text
 * cell (.ec-card, .mkt-why-item, .ac-why-grid__item ... all carry
 * .ac-seo-different__item, or are .ac-solution-grid__item) now gets it here.
 *
 * Verified with tests/component-styles.mjs: computed box, ::before, heading
 * and paragraph of all 491 cell instances on 26 pages at 1440 / 834 / 390 and
 * hovered, before vs after. Standardised on purpose: the hover bar wipes in
 * with scaleX (two of the three copies did; the base grew its width) -
 * the same picture at rest and on hover.
 *
 * Each lattice is scoped to its own breakpoint: 3 columns from 992px, 2
 * columns 768-991px, and on a phone either a swipeable row (why / different
 * families) or a stacked list (solution grid). ORDER MATTERS below: the
 * solution grid's 2- and 1-column variants sit after the desktop lattice and
 * before tablet and phone, reproducing the cascade the three copies had.
 *
 * The !important is the cost of beating legacy rules in the SCSS build
 * (dist/), which cannot change until it is rebuilt; the duplicates that used
 * it too are gone.
 */

/* ── The cell ──────────────────────────────────────────────────────────── */
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item) {
    display: block !important;
    position: relative;
    min-width: 0;
    min-height: 235px;
    margin: 0 !important;
    padding: 40px 32px 44px !important;
    border: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, .12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow-wrap: anywhere;
}

/* The hover bar: 2px of accent along the top edge, wiping in from the left,
   and a faint wash. */
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item)::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0071e3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item):hover {
    background: rgba(0, 0, 0, .025) !important;
}
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item):hover::before {
    transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
    html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item)::before {
        transition: none;
    }
}

/* ── Type ──────────────────────────────────────────────────────────────────
   Sizes apply to every cell. Colour does not apply inside
   .mkt-why--marketing-light: Adult Marketing's why section sets its card
   text to #000 in marketing-why.css, where every other page uses #1d1d1f /
   #515154. Kept as it was - an open question for the owner, not something a
   refactor should decide (docs/roadmap.md). */
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item) :is(h3, .ac-why-card__title) {
    display: block;
    margin: 0 0 10px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    text-align: left !important;
}
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item) :is(p, .ec-copy, .ac-sde-body, .mkt-why-item__text, .ac-why-card__text) {
    font-size: .9rem !important;
    line-height: 1.65 !important;
    text-align: left !important;
}

/* Colour separately: not inside .mkt-why--marketing-light (see above). */
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item):not(.mkt-why--marketing-light *) :is(h3, .ac-why-card__title) {
    color: #1d1d1f !important;
}
html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item):not(.mkt-why--marketing-light *) :is(p, .ec-copy, .ac-sde-body, .mkt-why-item__text, .ac-why-card__text) {
    color: #515154 !important;
}

/* ── Desktop: three columns, rules between the cells ──────────────────── */
@media (min-width: 992px) {
    html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item):nth-child(n + 4) {
        border-top: 1px solid rgba(0, 0, 0, .12) !important;
    }
    html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items > .ac-solution-grid__item):is(:nth-child(3n), :last-child) {
        border-right: 0 !important;
    }
}

/* ── Solution grid: two- and one-column variants ──────────────────────────
   After the desktop lattice (they must win over it at equal specificity),
   before tablet and phone (which must win over them). */
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="2"] > .ac-solution-grid__item {
    border-top: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, .12) !important;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="2"] > .ac-solution-grid__item:nth-child(n + 3) {
    border-top: 1px solid rgba(0, 0, 0, .12) !important;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="2"] > .ac-solution-grid__item:is(:nth-child(2n), :last-child) {
    border-right: 0 !important;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="1"] > .ac-solution-grid__item {
    border-right: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, .12) !important;
}
html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns="1"] > .ac-solution-grid__item:first-child {
    border-top: 0 !important;
}

/* ── Tablet: two columns ───────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 991px) {
    html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items:not([data-solution-columns="1"]) > .ac-solution-grid__item):nth-child(n) {
        border-top: 0 !important;
        border-right: 1px solid rgba(0, 0, 0, .12) !important;
    }
    html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items:not([data-solution-columns="1"]) > .ac-solution-grid__item):nth-child(n + 3) {
        border-top: 1px solid rgba(0, 0, 0, .12) !important;
    }
    html body:not(.wp-admin) :is(.ac-seo-different .ac-seo-different__item, section.ac-solution-grid .ac-solution-grid__items:not([data-solution-columns="1"]) > .ac-solution-grid__item):is(:nth-child(2n), :last-child) {
        border-right: 0 !important;
    }
}

/* ── Phone ─────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Why / different families: a swipeable row, rules between the cells. */
    /* The doubled class lifts these above the base cell rule. */
    html body:not(.wp-admin) .ac-seo-different .ac-seo-different__item.ac-seo-different__item:nth-child(n) {
        min-height: 0;
        padding: 32px 24px 36px !important;
        border-top: 0 !important;
        border-right: 1px solid rgba(0, 0, 0, .12) !important;
    }
    html body:not(.wp-admin) .ac-seo-different .ac-seo-different__item.ac-seo-different__item:last-child {
        border-right: 0 !important;
    }
    /* Solution grid: a stacked list, rules between the rows. */
    html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns] > .ac-solution-grid__item:nth-child(n) {
        min-height: 0;
        padding: 28px 0 !important;
        border-right: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, .12) !important;
    }
    html body:not(.wp-admin) section.ac-solution-grid .ac-solution-grid__items[data-solution-columns] > .ac-solution-grid__item:first-child {
        border-top: 0 !important;
    }
}

/* ac-editorial-bands */
/* The two band colours, for the four shared components that are not
 * .ec-section and carry backgrounds of their own.
 *
 * inc/editorial-bands.php puts .ac-band-tint or .ac-band-plain on the
 * services slider, the project showcase, the add-ons carousel and the review
 * split, but only on the thirteen shared editorial pages. Each of those has
 * its own background that has to be overridden for its turn in the sequence
 * to show:
 *
 *   review split   #fff from testimonials-light.css at (0,2,1)
 *   add-ons        #f3f3f6 - a near-miss of the tint, which is also why two
 *                  adjacent greys did not read as one band but as a seam
 *   showcase       .bg-white, a Bootstrap utility, so !important
 *
 * !important alone was not enough for two of them:
 *
 *   adult-web-design-services-first.css
 *     body:not(.wp-admin) :is(#ac-web-services, #product-features)
 *       .ac-web-services--first { background: #fff !important }
 *
 * scores (1,2,1), because an id inside :is() gives the whole selector id
 * weight, and the add-ons carousel loses to a compound family rule in
 * dist/shared-services.css. So these borrow id weight of their own from
 * #ac-main - the <main> element wrapping all four - and repeat the band
 * class, reaching (1,3,2).
 */
html body:not(.wp-admin) #ac-main .ac-band-tint.ac-band-tint {
    background: #f5f5f7 !important;
}
html body:not(.wp-admin) #ac-main .ac-band-plain.ac-band-plain {
    background: #fff !important;
}

/* The FAQ section paints itself grey - `body:not(.wp-admin) .ac-faq-section
 * { background: #f5f5f7 !important }` at (0,2,1) - so it ignored its turn and
 * landed next to another grey wherever the sequence gave it white. Here it
 * takes the band like every other section: the tint comes from .ec-tint, and
 * without it the section is clear.
 *
 * Scoped to .ec-section so only the editorial FAQ is affected; the FAQ on
 * every other template keeps its own background.
 */
/* White, not transparent. This rule exists to stop faq.css painting the
 * section grey on its own account so the sequencer can decide - but
 * transparent only meant "show whatever is behind", which on social, webcam
 * and ecommerce web design is the #fbfbfb body rather than a band. The plain
 * turn is white; this says so. The tinted variant below is unchanged. */
html body:not(.wp-admin) #ac-main .ec-section.ac-faq-section {
    background: #fff !important;
}
html body:not(.wp-admin) #ac-main .ec-section.ec-tint.ac-faq-section {
    background: #f5f5f7 !important;
}

/* --------------------------------------------------------------------------
 * The Adult SEO family's band sequence.
 *
 * These pages are not on the sequencer above - ac_band_on() gates it to the
 * thirteen shared editorial pages, and every section on adult-seo.php paints
 * its own background from its own stylesheet. Measured in render order on
 * /adult-seo/, the sequence was already alternating from the hero except in
 * one place:
 *
 *   hero            W
 *   service cards   W  <- two whites running together
 *   why you need    W
 *   pain points     G
 *   solution grid   W
 *   featured case   G   (#f3f3f6, a near-miss of the tint)
 *   services        W
 *   bespoke         G
 *   results         W
 *   podcasts        G
 *   testimonials    W
 *   FAQs            G
 *   let's talk      W
 *
 * So one section takes the tint and the whole page alternates from the hero,
 * which is white. This is deliberately not a port of the sequencer: wiring
 * thirteen self-painting sections through ac_band_take() is a refactor, not
 * a colour fix. If sections are ever added or reordered here, that refactor
 * is the durable answer - this rule would need revisiting by hand.
 *
 * Scoped to the SEO pages by body class. adult-web-design-services-first.css
 * paints this same component white at (1,2,1) for #marketing-services and
 * the web design pages, which keep it.
 * ------------------------------------------------------------------------- */
html body:not(.wp-admin).page-tpl-adult-seo #ac-main .seo-service-cards.ac-marketing-services--first,
html body:not(.wp-admin).page-seo-types #ac-main .seo-service-cards.ac-marketing-services--first {
    background: #f5f5f7 !important;
}

/* Let's talk moved above the FAQ, so the two swap tones as well as places.
 *
 * The contact block takes the tint (seo-mission.css, with its card inverted
 * to white so it still reads as a card) and the FAQ takes the white it now
 * needs. The FAQ paints itself `#f5f5f7 !important` from faq.css at (0,2,1),
 * the same obstacle the .ec-section rule above deals with for the editorial
 * pages; this is that override for the Adult SEO template's FAQ. */
html body:not(.wp-admin).page-tpl-adult-seo #ac-main .faq-seo,
html body:not(.wp-admin).page-tpl-adult-seo #ac-main .faq-seo .ac-faq-section {
    background: #fff !important;
}

/* --------------------------------------------------------------------------
 * The sector SEO pages and Adult Marketing alternate by position.
 *
 * These pages were drifting: escort SEO ran W W T W W T W T T T W T W, with a
 * run of three greys in the middle, and the other three sectors and Adult
 * Marketing each broke somewhere different. Every band paints itself, so the
 * sequence depends on which sections a page happens to render - and the
 * section set differs per page.
 *
 * The sequencer in inc/editorial-bands.php is the proper answer and this is
 * not it. But it works by each section taking a slot as it renders, which
 * means touching ten emitters and then neutralising the background rule on
 * ten shared components - faq, testimonials, store-Home, mkt-bespoke - every
 * one of which is used by pages outside this set. That is a wide blast radius
 * for a seam between two sections.
 *
 * On these five pages it is not needed, because of something that is not true
 * of the editorial pages: every band is a direct child of #ac-main, in render
 * order, with nothing else among them. Measured - 13 children and 13 bands on
 * escort SEO, 10 and 10 on the other four. So position alone is enough, and
 * :nth-child says it in two rules.
 *
 * Deliberately not applied to:
 *
 *   outreach          #outreach-packages is #f3f3f6, a third grey, and the
 *                     children and bands do not match one to one
 *   adult hosting     a near-black hero and more #f3f3f6 sections; forcing
 *                     two tones over it would wreck the page
 *   portfolio,        two bands each, hero plus one content wrapper. Tinting
 *   case studies,     the content half is not what those pages want
 *   porn web design
 *
 * The !important is doing real work here: each band still carries its own
 * background rule and those are not being removed, for the blast-radius
 * reason above. If the sections ever move onto the sequencer, this goes.
 * ------------------------------------------------------------------------- */
html body:not(.wp-admin):is(.page-seo-types, .page-tpl-adult-marketing) #ac-main > :nth-child(odd) {
    background: #fff !important;    --ac-band-card: #f5f5f7;
}

html body:not(.wp-admin):is(.page-seo-types, .page-tpl-adult-marketing) #ac-main > :nth-child(even) {
    background: #f5f5f7 !important;    --ac-band-card: #fff;
}

/* --------------------------------------------------------------------------
 * The homepage.
 *
 * Same idea as the block above, one level down. The homepage's bands are not
 * children of #ac-main - the whole page sits inside #home-titles, and
 * #ac-main has two children, the page and the yellow marquee. The five
 * full-bleed bands are the children of #home-titles, and front-page.php
 * renders all five unconditionally (lines 71, 237, 439, 506, 573), so
 * position is stable here in the way it is on the sector pages.
 *
 * Measured on dev at 1440px and 390px before this rule, in order:
 *
 *   .bg-white.py-5          #fff
 *   .bg-gray                #f5f5f7   (wraps several sections; one band)
 *   .homeNew-latestProject  #fff
 *   #home-welcome           #fff      <- no seam against the band above it
 *   .homeNew-latestNews     transparent, so the #fbfbfb body showed through
 *
 * Two faults, both at the bottom of the page: latest projects and the
 * welcome block ran together as one 3,225px white run, and latest news then
 * sat on a near-white that read as a fourth shade rather than a band.
 * Alternating from the hero gives W G W G W and fixes both at once.
 *
 * #home-welcome paints itself `#fff !important` at (1,0,1) in
 * home-welcome.css, so this needs id weight of its own to land: #home-titles
 * supplies it, and the selector scores (1,3,2).
 * ------------------------------------------------------------------------- */
html body:not(.wp-admin) #home-titles > :nth-child(odd) {
    background: #fff !important;    --ac-band-card: #f5f5f7;
}

html body:not(.wp-admin) #home-titles > :nth-child(even) {
    background: #f5f5f7 !important;    --ac-band-card: #fff;
}

/* --------------------------------------------------------------------------
 * Outreach, Content Writing and Digital PR.
 *
 * The three marketing inner pages, which were never brought onto the same
 * footing as the rest. Measured on local in render order:
 *
 *   outreach          hero W, why W           <- repeat, and the one the
 *                     packages #f3f3f6           audit has been reporting
 *   content writing   hero W, types W         <- repeat
 *                     why G, problems G       <- repeat
 *                     pr-writing G, bespoke G <- repeat
 *   digital PR        intro W, why W          <- repeat
 *                     packages #f3f3f6
 *                     problems, case study, reviews and faq all unpainted,
 *                     so the body showed through four times
 *
 * Eight faults between three pages, all the same fault: each section paints
 * itself, nobody counts, and #f3f3f6 is a third tone a few points off the
 * tint that reads as a smudge rather than a band.
 *
 * WHY :nth-of-type AND NOT :nth-child
 * -----------------------------------
 * The sector pages could use :nth-child because their bands are the only
 * children of #ac-main. These three are not that tidy - they carry an
 * enquiry modal and, on Content Writing, a <noscript>, none of which draw
 * anything but all of which :nth-child counts. Measured: 12 children for 11
 * bands on outreach, 14 for 12 on Content Writing. Counting sections instead
 * skips exactly the elements that are not bands, and needs no list of
 * exceptions that would go stale.
 *
 * That is also why templates/adult-outreach.php now opens its FAQ with
 * <section> rather than <div>: it was the one band on these pages that was
 * not a section, and leaving it out of the count would have given the
 * closing block the FAQ's own colour.
 *
 * The wrapper differs per page - outreach puts its bands straight in
 * #ac-main, the other two wrap them in .cw-page and .ac-pr-page - so all
 * three wrappers are named here.
 *
 * As above, the !important is load-bearing: every one of these sections
 * still carries its own background rule, and those are not being removed.
 * ------------------------------------------------------------------------- */
html body:not(.wp-admin).page-tpl-adult-outreach #ac-main > section:nth-of-type(odd),
html body:not(.wp-admin) #ac-main .cw-page > section:nth-of-type(odd),
html body:not(.wp-admin) #ac-main .ac-pr-page > section:nth-of-type(odd) {
    background: #fff !important;    --ac-band-card: #f5f5f7;
}

html body:not(.wp-admin).page-tpl-adult-outreach #ac-main > section:nth-of-type(even),
html body:not(.wp-admin) #ac-main .cw-page > section:nth-of-type(even),
html body:not(.wp-admin) #ac-main .ac-pr-page > section:nth-of-type(even) {
    background: #f5f5f7 !important;    --ac-band-card: #fff;
}

/* The FAQ inside a positioned band shows the band's tone.
 *
 * The position rules above paint each band's outer element, but the FAQ's
 * inner .ac-faq-section paints itself `#f5f5f7 !important` (faq.css, 0,2,1)
 * and covers it. So on Adult Marketing, Digital PR, Outreach and the three
 * sector SEO pages the FAQ read grey wherever its turn was white - straight
 * after the grey reviews band, with no seam between them (design-audit
 * band-repeat, confirmed by screenshot, 2026-11-11).
 *
 * Transparent rather than white: the band behind it IS painted here, by the
 * rules above, so the FAQ takes whichever tone its position gives. The
 * descendant combinator means this never clears a band's own colour - only
 * an FAQ nested inside one. Adult SEO keeps its explicit rule above.
 */
html body:not(.wp-admin):is(.page-seo-types, .page-tpl-adult-marketing) #ac-main > * .ac-faq-section,
html body:not(.wp-admin).page-tpl-adult-outreach #ac-main > section .ac-faq-section,
html body:not(.wp-admin) #ac-main .cw-page > section .ac-faq-section,
html body:not(.wp-admin) #ac-main .ac-pr-page > section .ac-faq-section,
/* Same fault one band down on the sector SEO pages: the closing block's
   wrapper takes its tone by position, its inner #ac-contact-promotion
   painted white over it. Its card reads --ac-band-card from the wrapper. */
html body:not(.wp-admin).page-seo-types #ac-main > * #ac-contact-promotion {
    background: transparent !important;
}

/* --------------------------------------------------------------------------
 * The plain turn paints white, instead of painting nothing.
 *
 * The sequencer gives each .ec-section either .ec-tint or nothing, and
 * ecommerce-page.css paints the tint #f5f5f7. Nothing paints the other turn,
 * so a plain band showed whatever was behind it: #fff on escort and porn web
 * design, where the wrapper is white, and the #fbfbfb body on social, webcam
 * and ecommerce, where it is not.
 *
 * Measured on local, the sequence was alternating correctly on all five -
 * the sections were taking their turns - but half of them were drawing no
 * band at all, so the pages read as grey, nothing, grey, nothing. Eleven of
 * the twelve band repeats the audit reports are this one thing:
 *
 *   social web design     4      ecommerce web design  1
 *   webcam web design     2      escort web design     3
 *   porn web design       1
 *
 * Saying the plain colour out loud is the whole fix. The tinted sections are
 * untouched, and a section carrying its own background is not matched here.
 *
 * No !important: the point is to supply a colour where there is none, not to
 * win an argument with a section that has one.
 * ------------------------------------------------------------------------- */
html body:not(.wp-admin) #ac-main .ac-ecommerce .ec-section:not(.ec-tint) {
    background: #fff;
}

/* --------------------------------------------------------------------------
 * --ac-band-card: the colour a card must be to show up ON this band.
 *
 * Added to every band rule above. A card that sits on a band has to be the
 * other tone or it disappears into it - web design has said so for a while
 * (`.ec-section.ec-tint .ec-callout { background: #fff }`) and the Adult SEO
 * Let's talk card says it again in the other direction.
 *
 * Saying it once per band instead means the card never has to know which
 * band it landed on, and a section that moves takes the right card colour
 * with it. The fallback is white, which is correct on the untinted bands
 * that do not publish the property.
 * ------------------------------------------------------------------------- */
html body:not(.wp-admin) #ac-main .ec-section.ec-tint {
    --ac-band-card: #fff;
}

html body:not(.wp-admin) #ac-main .ec-section:not(.ec-tint) {
    --ac-band-card: #f5f5f7;
}

/* ac-footer-brand */
/* Footer brand block: the logo and the tagline above the link columns.
 *
 * Four things were off, all visible in the same glance:
 *
 * 1. Dead space. .footer-new_dec23__inner carried 96px of padding-top and the
 *    container inside it another 24px, so the logo began 120px below the
 *    newsletter panel.
 * 2. The logo rendered at 50x27. Against a 52px tagline it read as a stray
 *    mark rather than the brand.
 * 3. The logo was left and the tagline centred, because the sitewide rule in
 *    shared.css
 *
 *      body:not(.wp-admin) :is(h1, h2, .title-big, .section-lead)
 *        :not(.header-min *):not(.footer *):not(form *) { text-align: center !important }
 *
 *    catches .title-big, and its :not(.footer *) escape does not apply here -
 *    this footer's class is footer-new_dec23, not footer. So the two
 *    disagreed with each other.
 * 4. The logo started at 133px against the link columns' 118px.
 *
 * Both are now centred, at every width. That settles (3) by agreeing with the
 * sitewide rule rather than fighting it, and makes (4) moot.
 *
 * Every value corrected here is set with !important in shared.css
 *
 *     .footer-new_dec23__inner                     padding-top: 96px !important
 *     .footer-new_dec23__inner .navbar-brand img   width: 50px !important
 *     .footer-new_dec23__inner .title-big          font-size: 52px !important
 *
 * so the replacements carry !important too.
 */
html body:not(.wp-admin) .footer-new_dec23__inner {
    padding-top: 56px !important;
}
@media (max-width: 767px) {
    html body:not(.wp-admin) .footer-new_dec23__inner {
        padding-top: 40px !important;
    }
}
html body:not(.wp-admin) .footer-new_dec23__inner > .container {
    padding-top: 0;
}

/* The brand column. The link grid below it stays left-aligned - only this
   block centres - so the centring is scoped to the column, not inherited. */
html body:not(.wp-admin) .footer-new_dec23__inner .row > .col-12 {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    /* .mb-5 on this column is a Bootstrap utility, so !important. */
    margin-bottom: 40px !important;
}

/* A logo with enough presence to carry the line under it. 42x23 in the
   markup, so 88px wide keeps the artwork's proportions exactly.

   The anchor is a flex container that shrinks to its logo, so text-align on
   the column does not move it - it centres on its own margins instead.

   Both margins need !important. dist/shared.css and dist/header.css each
   carry `.navbar-brand { margin-right: 0 !important }` for the header's
   logo, and that beat the auto here while margin-left: auto still applied -
   which pushed the logo to the right edge rather than leaving it left. */
html body:not(.wp-admin) .footer-new_dec23__inner .navbar-brand {
    display: block;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px;
    padding: 0;
}
html body:not(.wp-admin) .footer-new_dec23__inner .navbar-brand img {
    width: 88px !important;
    height: auto !important;
}

/* The tagline: centred under the logo and sized to sit with it rather than
   shout over it. shared.css caps this block at 680px and auto-margins it,
   which is exactly what centring wants, so those are left alone. */
html body:not(.wp-admin) .footer-new_dec23__inner .title-big.title-big.title-big {
    text-align: center !important;
    font-size: clamp(26px, 2.6vw, 38px) !important;
    line-height: 1.15;
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
 * Mobile.
 *
 * At 26px the tagline was close to filling the line on a 390px screen, and
 * the column headings were 11px with 14px links - small enough to be awkward
 * as touch targets, never mind to read. Both go up a step.
 * ------------------------------------------------------------------------ */
@media (max-width: 767px) {
    html body:not(.wp-admin) .footer-new_dec23__inner .row > .col-12 {
        margin-bottom: 32px !important;
    }
    html body:not(.wp-admin) .footer-new_dec23__inner .navbar-brand {
        margin-bottom: 14px;
    }
    html body:not(.wp-admin) .footer-new_dec23__inner .navbar-brand img {
        width: 74px !important;
    }
    html body:not(.wp-admin) .footer-new_dec23__inner .title-big.title-big.title-big {
        font-size: 22px !important;
    }

    /* Column headings and their links. */
    html body:not(.wp-admin) .footer-new_dec23__accor > .h6,
    html body:not(.wp-admin) .footer-new_dec23__accor > .h6 > a {
        font-size: 14px !important;
    }
    html body:not(.wp-admin) .footer-new_dec23__accor___col ul li a {
        font-size: 16px !important;
        line-height: 1.6;
    }
}

/* ac-newsletter-callout */
/* The footer newsletter: a centred panel.
 *
 * It began as a full-width #f5f5f7 stripe, was rebuilt as a two-column
 * callout borrowed from .ec-callout - words left, form right - and is now a
 * centred stack, which is the shape it was asked for. The two-column version
 * left the panel about 400px tall with the heading and the form each sitting
 * alone on one side and a lot of empty space under both; stacking the three
 * pieces on one centre line and capping the text removes that without
 * changing any markup.
 *
 * The panel itself still matches the Let's talk callout: 26px radius,
 * #f5f5f7, and a width of 83.5vw less the container's 15px of padding on each
 * side, so it lines up with the page gutter.
 *
 * Written as a component stylesheet rather than in _modernize.scss because
 * the sass needs a webpack build plus a full-site crawl for the CSS purge,
 * and the component sheets are concatenated at runtime. It loads after
 * dist/shared*.css, so it only needs to match the specificity of the rules it
 * replaces, not beat them.
 */

/* The band loses its tint - the panel carries it now, the way the callout
 * sits on the page background rather than being a stripe across it. */
html body:not(.wp-admin) .footer-newlatter {
    background: #fff;
    padding-block: clamp(56px, 7vw, 96px) !important;
}

/* The .col-lg-7 wrapper is the panel. Vertical padding is tighter than the
 * callout's clamp(30px, 5vw, 64px): with the content stacked there is no tall
 * column to match, and the old value was most of the dead space. */
html body:not(.wp-admin) .footer-newlatter > .col-lg-7 {
    box-sizing: border-box;
    width: calc(83.5vw - 30px);
    max-width: none;
    margin-inline: auto;
    padding: clamp(34px, 4vw, 54px) clamp(24px, 4vw, 56px);
    border-radius: 26px;
    background: #f5f5f7;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 0;
}

/* Three children in a fixed order - heading, tagline, form - but the heading
 * and tagline are a <div> on some templates and a <p> on others, so they are
 * placed by position rather than by tag. Capping the text keeps the heading
 * breaking where it reads well instead of running the full panel width. */
html body:not(.wp-admin) .footer-newlatter > .col-lg-7 > :nth-child(1),
html body:not(.wp-admin) .footer-newlatter > .col-lg-7 > :nth-child(2) {
    width: 100%;
    max-width: 640px;
}
html body:not(.wp-admin) .footer-newlatter > .col-lg-7 > .footer_bottom_newslater {
    width: clamp(290px, 34vw, 460px);
    margin: 24px 0 0;
}

/* Centred, which is what the markup's own .text-center asks for. */
html body:not(.wp-admin) .footer-newlatter > .col-lg-7 :is(.title-big, .color-gray, p) {
    text-align: center !important;
}

html body:not(.wp-admin) .footer-newlatter .title-big {
    margin-bottom: 12px !important;
    font-size: clamp(28px, 3vw, 40px) !important;
    line-height: 1.15 !important;
    letter-spacing: -.035em;
}

html body:not(.wp-admin) .footer-newlatter :is(.color-gray, .color-gray p, > .col-lg-7 > p) {
    margin-bottom: 0 !important;
    color: #55565c !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

@media (max-width: 767px) {
    html body:not(.wp-admin) .footer-newlatter > .col-lg-7 {
        width: calc(100% - 32px);
        border-radius: 20px;
    }
    html body:not(.wp-admin) .footer-newlatter > .col-lg-7 > .footer_bottom_newslater {
        width: 100%;
    }
}

/* The email field.
 *
 * Its ::placeholder was white at 0.5 opacity - a leftover from when this
 * input sat on a dark panel - so on the white pill the field read as empty
 * with no hint of what goes in it. Nothing in the markup changed; the colour
 * had simply stopped matching its background a redesign ago. */
html body:not(.wp-admin) .footer-newlatter input[type="email"] {
    padding-left: 22px !important;
}

html body:not(.wp-admin) .footer-newlatter input[type="email"]::placeholder {
    color: #86868b;
    opacity: 1;
}

/* One highlight style for the heading, on every page.
 *
 * The yellow box already existed in shared.css, but only as
 * `.footer-newlatter .text-yellow`. The home page and the fallback hard-code
 * <span class="text-yellow"> in footer.php; every editorial page builds its
 * heading from the newsletter_title ACF field, and all of those were saved
 * with <span class="text-blue"> - so the same line rendered as a yellow box
 * on one page and blue text on the next. Matching both classes here settles
 * it without touching the saved content, which matters because that content
 * is in the database and would not travel with a deploy.
 *
 * white-space: nowrap is what puts the phrase on its own line when it has to.
 * The heading wrapped mid-phrase on a phone - "Boring inbox? We can fix /
 * that." - which split the highlight across two boxes. Keeping the phrase
 * unbreakable means the browser moves the whole thing down together when it
 * no longer fits, and leaves it on one line when it does, so no breakpoint
 * has to guess where that happens.
 *
 * shared.css sets the colour with !important at (0,2,0); this is (0,4,2).
 */
html body:not(.wp-admin) .footer-newlatter .title-big :is(.text-yellow, .text-blue, mark) {
    color: #1d1d1f !important;
    background: #f6cd4a;
    padding: 0 .18em;
    border-radius: .12em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    white-space: nowrap;
}

/* ac-card-artwork-transfer */
/*
 * Approved 32px copy-to-artwork transfer. Explicit text-above-image families
 * only: never target all Swipers. #home-titles already has the approved trial
 * in adult-web-design-services-first.css and is intentionally not repeated.
 *
 * Keep the previous total height. Intrinsic copy size may reserve more than
 * the target row for longer CMS titles/tags: artwork takes the remaining space
 * rather than clipping text or increasing the card/slide height.
 */
body:not(.wp-admin) :is(#ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card {
    --ac-artwork-transfer: 32px;
    height: calc(var(--fold-card-copy-height) + var(--fold-card-width) * 17 / 19) !important;
    grid-template-rows: minmax(min-content, calc(var(--fold-card-copy-height) - var(--ac-artwork-transfer))) minmax(0, 1fr);
}
body:not(.wp-admin) :is(#ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__body {
    padding-bottom: 16px !important;
}
body:not(.wp-admin) :is(#ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card__image {
    height: 100% !important; min-height: 0 !important; aspect-ratio: auto;
}

/* Original, non-fold product-feature slider. Its old copy row is 124px and
 * total card height is already 440/480px. Keep that total, widths, artwork fit,
 * positioning, links and navigation; do not include the add-on carousel.
 */
body:not(.wp-admin) #product-features .ac-feature-slider--apple-compact:not(.ac-fold-card-type) .ac-product-card:has(> .ac-product-card__image) {
    --ac-artwork-transfer: 32px;
    display: grid;
    grid-template-rows: minmax(min-content, calc(124px - var(--ac-artwork-transfer))) minmax(0, 1fr);
}
body:not(.wp-admin) #product-features .ac-feature-slider--apple-compact:not(.ac-fold-card-type) .ac-product-card:has(> .ac-product-card__image) > .ac-product-card__body {
    min-height: 0; padding-top: 16px; padding-bottom: 12px;
}
body:not(.wp-admin) #product-features .ac-feature-slider--apple-compact:not(.ac-fold-card-type) .ac-product-card > .ac-product-card__image {
    height: 100% !important; min-height: 0; aspect-ratio: auto;
}

/* Porn/Escort parent add-ons use the fold-sized, fixed-copy variant. Unlike
 * their content-fitted child catalogue cards, these have 63–67px spare below
 * the copy, so the same 32px transfer is appropriate. Retain the existing total
 * height, 1px border and cover/top artwork rules from ecommerce-page.css.
 */
body:not(.wp-admin) .ac-specialist .ac-agency-addons .ac-product-card {
    --ac-artwork-transfer: 32px;
    grid-template-rows: minmax(min-content, calc(var(--ac-addon-copy) - var(--ac-artwork-transfer))) minmax(0, 1fr);
}

