/* ac-reveal */
/* Scroll-in reveal for `.wow` elements.
 *
 * assets/js-raw/main.js adds `.animated` when a `.wow` element enters the
 * viewport. These are the only rules from animate.css (57 KB, 2,759 lines)
 * the site ever used: a census of all 302 pages (tests/library-census.mjs,
 * 2026-11-11) found `fadeInUp` on 177 pages and nothing else; `fadeIn` is kept
 * for the eight legacy templates that name it. Values are animate.css 3.x's.
 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation-name: fadeInUp; }

@keyframes fadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
.fadeIn { animation-name: fadeIn; }

/* Motion is decoration here; content must never wait on it. */
@media (prefers-reduced-motion: reduce) {
    .animated { animation: none !important; }
}

/* ac-marketing-bespoke */
/* Exact Adult Marketing opt-in; values mirror the established Escort split. */
.ac-mkt-bespoke { background: #f5f5f7; color: #1d1d1f; padding-block: clamp(64px, 7vw, 108px); }
.ac-mkt-bespoke .ac-mkt-bespoke__layout { max-width: 1200px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(30px, 6vw, 85px); }
.ac-mkt-bespoke h2 { margin: 0 0 22px; color: #1d1d1f; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.13; text-align: left; }
.ac-mkt-bespoke .ac-mkt-bespoke__body, .ac-mkt-bespoke .ac-mkt-bespoke__body p { color: #55565c; font-size: 17px; line-height: 1.7; text-align: left; }
.ac-mkt-bespoke .ac-mkt-bespoke__body > :last-child { margin-bottom: 0; }
.ac-mkt-bespoke .ac-mkt-bespoke__body a { color: #0071e3; text-decoration: underline; }
.ac-mkt-bespoke__actions { display: flex; flex-wrap: wrap; margin-top: 42px; }
.ac-mkt-bespoke__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.18; border-radius: 24px; overflow: hidden; background: #ebebef; margin: 0; }
.ac-mkt-bespoke__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ac-mkt-bespoke__image--fallback img { width: 34%; height: auto; }
/* The legacy theme centres headings with !important; override only this split. */
html body:not(.wp-admin) #marketing-bespoke :is(h2, .ac-mkt-bespoke__body, p) { text-align: left !important; }
@media (max-width: 767px) {
    .ac-mkt-bespoke .ac-mkt-bespoke__layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
}

/* ac-why-grid-balance */
/*
 * Four cards are two rows of two, never three and a lone fourth.
 *
 * .mkt-why__grid is one column, then two from 640px, then three from 1024px
 * (assets/sass/base/_modernize.scss). Three columns is right for three, five
 * or six cards. With exactly four it leaves the fourth alone under the left
 * column, which is what /about/ has been doing.
 *
 * Four is the only count worth a rule: there is no balanced split of seven, so
 * nothing to ask for, while four has one. Same rule as #adult-seo-services and
 * the sector grids in webcam-seo-services.css, which were the other two places
 * the site got this wrong.
 *
 * Matched on the card count with :has() rather than a data attribute, because
 * these grids are rendered by six different templates and none of them emits
 * one. :has() is already relied on in marketing-approach.css.
 *
 * Same 1024px breakpoint the three-column rule uses, so no new breakpoint for
 * tests/breakpoint-lint.mjs. Below it the grid is already two columns, which is
 * already 2 x 2.
 *
 * tests/design-audit.js check 13, `orphan-card`, catches the next one.
 */

@media (min-width: 1024px) {
    .mkt-why__grid:has(> :nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ac-marketing-approach */
/* Marketing opt-in only. Escort's ec-split/ec-problem values, not a new theme. */
html body:not(.wp-admin) :is(#ac-contact-promotion, #adult-seo-approach, .ac-marketing-approach).ac-marketing-approach {
    background: #fff !important;
    color: #1d1d1f;
    padding-block: clamp(64px, 7vw, 108px) !important;
    text-align: left;
}
.ac-marketing-approach :is(h2, h3, .section-lead, .mkt-why__head, .ppc-approach__intro, .ac-ma-title) { text-align: left !important; }
/* Legacy global :not chains centre these headings and contact CMS paragraphs.
 * Explicit target inventory + marker keeps that override inside this opt-in. */
html body:not(.wp-admin) :is(#ac-contact-promotion, #adult-seo-approach, .ac-marketing-approach).ac-marketing-approach :is(h2, h3, .section-lead, .ac-ma-title, .cms-new, .cms-new p, .cms-new strong, .ac-ma-body, .ac-ma-body p) {
    text-align: left !important; margin-inline: 0 !important;
}
.ac-marketing-approach :is(h2, .section-lead, .ac-ma-title) {
    color: #1d1d1f !important; font-size: clamp(32px, 3.4vw, 48px) !important;
    line-height: 1.13 !important; font-weight: 600 !important; letter-spacing: -.035em;
    margin: 0 0 22px !important;
}
.ac-marketing-approach .section-lead strong { font-weight: inherit; }
.ac-marketing-approach :is(.mkt-why__head, .ppc-approach__intro) { max-width: none; margin: 0; }
.ac-marketing-approach :is(.mkt-why__eyebrow, .ppc-approach__eyebrow) { color: #55565c; }
.ac-marketing-approach :is(.ppc-approach__desc, #why-choose-intro) { color: #55565c; font-size: 17px; line-height: 1.7; }
.ac-marketing-approach.ac-ma-cards > .container,
.ac-marketing-approach.ac-ma-pr > .container,
.ac-marketing-approach .ppc-approach__inner {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: min-content min-content 1fr;
    gap: 0 clamp(36px, 7vw, 100px); align-items: start; max-width: 1200px;
}
.ac-marketing-approach.ppc-approach > .container { max-width: 1200px; }
.ac-marketing-approach :is(.mkt-why__grid, .ppc-approach__steps, .ac-why-grid) {
    display: block !important; margin: 0; padding: 0;
    border-top: 1px solid #dedee3; grid-column: 2; grid-row: 1 / span 3;
}
.ac-marketing-approach :is(.mkt-why-item, .pas-card, .ac-why-grid__item) {
    padding: 25px 0 28px !important; margin: 0 !important; min-height: 0;
    background: transparent !important; border: 0; border-bottom: 1px solid #dedee3;
    box-shadow: none; border-radius: 0; text-align: left;
}
.ac-marketing-approach :is(.mkt-why-item__num, .pas-card__num, .ac-why-card__num) { display: none; }
.ac-marketing-approach :is(.mkt-why-item__title, .pas-card__title, .ac-why-card__title) {
    font-size: 21px !important; font-weight: 700 !important; line-height: 1.25;
    letter-spacing: -.02em; color: #1d1d1f !important; margin: 0 0 12px !important;
}
.ac-marketing-approach :is(.mkt-why-item__text, .pas-card__text, .ac-why-card__text, .ac-ma-body, .cms-new),
.ac-marketing-approach :is(.mkt-why-item__text, .pas-card__text, .ac-why-card__text, .ac-ma-body, .cms-new) p {
    color: #55565c !important; font-size: 16px !important; line-height: 1.7 !important;
    font-weight: 400; text-align: left !important;
}
.ac-marketing-approach :is(.mkt-why-item__text, .ac-why-card__text, .ac-ma-body, .cms-new) > :last-child { margin-bottom: 0; }
.ac-marketing-approach .ac-why-card {
    display: block; width: 100%; min-height: 0; padding: 0 !important; margin: 0;
    background: transparent !important; color: #1d1d1f; border: 0; border-radius: 0;
    box-shadow: none; text-align: left; transform: none !important; text-decoration: none;
}
.ac-marketing-approach .ac-why-card__icon { margin-bottom: 12px; }
.ac-marketing-approach .ac-why-card__icon img { max-width: 32px; max-height: 32px; }
.ac-marketing-approach :is(.mkt-why-item, .pas-card, .ac-why-card)::before,
.ac-marketing-approach :is(.mkt-why-item, .pas-card, .ac-why-card)::after { display: none; }
.ac-marketing-approach a.ac-why-card:hover .ac-why-card__title { text-decoration: underline; text-underline-offset: 3px; }
.ac-marketing-approach a.ac-why-card:focus-visible { outline: 2px solid #3659ba; outline-offset: 5px; }
.ac-marketing-approach.ac-ma-cards > .container > :last-child:not(.mkt-why__grid) { grid-column: 1; grid-row: 2; }
.ac-marketing-approach .ac-approach-actions { justify-content: flex-start; margin-top: 28px; }
/* Existing mission/contact approach: retain its selected image and all actions.
 * Existing prose is one divided row, not fabricated multi-step copy. */
.contact-promotion:has(.ac-ma-contact) { padding-block: 0 !important; background: #fff; }
.container:has(> .ac-ma-contact) { max-width: 1200px; padding-bottom: 0 !important; }
.ac-marketing-approach.ac-ma-contact {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: min-content min-content 1fr;
    gap: 0 clamp(36px, 7vw, 100px); align-items: start !important; margin-inline: 0;
}
.ac-ma-contact > .col-12 { display: contents; }
.ac-ma-contact .section-lead { grid-column: 1; grid-row: 1; padding: 0 !important; }
.ac-ma-contact .cms-new { grid-column: 2; grid-row: 1 / span 3; border-block: 1px solid #dedee3; padding: 25px 0 28px; }
.ac-ma-contact .ac-approach-actions { grid-column: 1; grid-row: 2; margin-top: 6px; }
.ac-ma-contact picture { grid-column: 1; grid-row: 3; margin-top: 28px; min-width: 0; }
.ac-ma-contact picture img { display: block; width: 100%; height: auto; border-radius: 24px; }
/* SEO's existing containers/linked cards retain their source order and CMS. */
.ac-marketing-approach.ac-ma-seo {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: min-content min-content 1fr;
    gap: 0 clamp(36px, 7vw, 100px);
    padding-inline: max(15px, calc((100% - 1170px) / 2));
}
.ac-ma-seo > .pt-md-5 { display: none; }
.ac-ma-seo > .container { width: 100%; max-width: none; padding-inline: 0 !important; margin: 0; }
.ac-ma-seo > #why-choose-us { grid-column: 1; grid-row: 1; }
.ac-ma-seo .ac-why-header { margin: 0; padding: 0; }
.ac-ma-seo > .container:has(.ac-why-grid) { grid-column: 2; grid-row: 1 / span 3; }
.ac-ma-seo > .container:has(#why-choose-intro) { grid-column: 1; grid-row: 2; }
.ac-ma-seo > .container:has(.ac-approach-actions) { grid-column: 1; grid-row: 3; }
.ac-marketing-approach.ac-ma-pr > .container { padding-block: 0 !important; }
.ac-ma-pr .ac-ma-title { grid-column: 1; grid-row: 1; }
.ac-ma-pr .ac-ma-body { grid-column: 2; grid-row: 1 / span 3; border-block: 1px solid #dedee3; padding: 25px 0 28px; }
.ac-ma-pr .ac-ma-actions { grid-column: 1; grid-row: 2; }
/* Preserve editable steps and render the section's selected image when present. */
html body:not(.wp-admin) .contact-promotion:has(.ac-ma-prose) { padding-block: 0 !important; background: #fff !important; }
.container:has(> .ac-ma-prose) { max-width: 1200px; padding-bottom: 0 !important; }
.ac-ma-prose__layout {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 7vw, 100px); align-items: start; max-width: 1200px;
}
.ac-ma-prose__layout--image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}
.ac-ma-prose__intro, .ac-ma-prose__media { min-width: 0; }
.ac-ma-prose__image {
    display: block; width: 100%; max-width: 100%; height: auto;
}
.ac-ma-prose__layout--image > .ac-ma-prose__steps { grid-column: 1 / -1; }
.ac-ma-prose__layout--single { grid-template-columns: minmax(0, 1fr); }
.ac-marketing-approach .ac-ma-prose__body,
.ac-marketing-approach .ac-ma-prose__body p {
    font-size: 17px !important; line-height: 1.7 !important; color: #55565c;
    font-weight: 400; text-align: left !important;
}
.ac-ma-prose__body > :last-child { margin-bottom: 0; }
.ac-ma-prose__steps { border-top: 1px solid #dedee3; }
.ac-ma-step { padding: 25px 0 28px; border-bottom: 1px solid #dedee3; }
.ac-marketing-approach .ac-ma-step h3 {
    margin: 0 0 12px !important; color: #1d1d1f !important;
    font-size: 21px !important; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.ac-ma-step__body, .ac-ma-step__body p { color: #55565c; font-size: 16px; line-height: 1.7; }
.ac-ma-step__body > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .ac-ma-prose__layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .ac-marketing-approach.ac-ma-cards > .container,
    .ac-marketing-approach.ac-ma-pr > .container,
    .ac-marketing-approach .ppc-approach__inner,
    .ac-marketing-approach.ac-ma-contact,
    .ac-marketing-approach.ac-ma-seo { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 30px; }
    .ac-marketing-approach :is(.mkt-why__grid, .ppc-approach__steps),
    .ac-ma-cards.ac-marketing-approach > .container > :last-child:not(.mkt-why__grid),
    .ac-ma-seo > .container,
    .ac-ma-contact :is(.section-lead, .cms-new, picture, .ac-approach-actions),
    .ac-ma-pr :is(.ac-ma-title, .ac-ma-body, .ac-ma-actions) { grid-column: 1 !important; grid-row: auto !important; }
    .ac-ma-contact .section-lead { order: 0; }
    .ac-ma-contact .cms-new { order: 1; }
    .ac-ma-contact .ac-approach-actions { order: 2; }
    .ac-ma-contact picture { order: 3; margin-top: 0; }
}

/* ac-adult-seo-different */
.ac-seo-different {
    background: #fff;
    color: #1d1d1f;
    padding: clamp(64px, 8vw, 100px) 0;
    scroll-margin-top: 80px;
}
.ac-seo-different > .container {
    max-width: 1200px;
}
.ac-seo-different__head {
    max-width: 900px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}
#why-adult-seo-is-different .ac-seo-different__head > h2,
#why-adult-seo-is-different .ac-seo-different__head > p {
    text-align: center !important;
}
.ac-seo-different h2 {
    margin: 0 0 24px;
    color: #1d1d1f;
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.07;
}
.ac-seo-different__head p {
    margin: 0;
    color: #55565c;
    font-size: 17px;
    line-height: 1.65;
    white-space: pre-line;
}
.ac-seo-different__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.ac-seo-different__number {
    display: block;
    margin-bottom: 18px;
    color: #1d1d1f;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}
.ac-seo-different__item p {
    margin: 0;
    white-space: pre-line;
}
@media (max-width: 991px) {
    .ac-seo-different__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ac-seo-different__grid { grid-template-columns: minmax(0, 1fr); }
}
/* ac-numbered-why */
/* Explicitly opted-in Why families only. Base: adult-seo-different.css.
   No service, process, approach, pricing, result or general card selectors. */
/* Also outranks the legacy five-class service-surface !important rule. */
html body:not(.wp-admin) .ac-numbered-why.ac-seo-different[data-why-adapted]:is(.ec-section, .ac-sde-section, .mkt-why, .ac-web-why) {
    padding: clamp(64px, 8vw, 100px) 0 !important;
    background: #fff !important;
    color: #1d1d1f;
}
body .ac-numbered-why.ac-seo-different > .container { max-width: 1200px; }
body .ac-numbered-why.ac-seo-different .ac-seo-different__head {
    max-width: 900px;
    margin: 0 auto clamp(32px, 5vw, 56px) !important;
    padding: 0 !important;
    text-align: center !important;
    translate: none !important;
    transform: none !important;
    visibility: visible !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__head :is(h2, .section-lead, .title-big) {
    margin: 0 0 24px !important;
    color: #1d1d1f !important;
    /* The site's section h2 scale (51.2px at 1440, 32px on a phone), not a
       larger one of its own: at 57.6px this was the one heading on the
       reference pages off the scale (design-audit type-scale, 2026-11-11). */
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    font-weight: 700 !important;
    letter-spacing: -.04em !important;
    line-height: 1.07 !important;
    text-align: center !important;
    max-width: 100% !important;
    width: auto !important;
    translate: none !important;
    transform: none !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__head strong { font-weight: 700; }
html body .ac-numbered-why.ac-seo-different .ac-seo-different__head :is(.ec-copy, .ac-sde-body, .ac-why-header__intro, p:not(.section-lead)) {
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    color: #55565c !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    text-align: center !important;
    translate: none !important;
    transform: none !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__item {
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    overflow: visible;
    text-align: left !important;
}
html body:not(.wp-admin) .ac-numbered-why :is(.ac-seo-different__number, .ec-number, .ac-sde-number, .mkt-why-item__num, .ac-why-card__num) {
    display: none !important;
    position: static !important;
    margin: 0 0 18px !important;
    color: #1d1d1f !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__item :is(.ec-copy, .ac-sde-body, .mkt-why-item__text, .ac-why-card__text, p) {
    margin: 0 !important;
}
body .ac-numbered-why.ac-seo-different .ac-why-card {
    display: block !important;
    position: static;
    height: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    color: #1d1d1f !important;
}
body .ac-numbered-why.ac-seo-different .ac-why-card::before,
body .ac-numbered-why.ac-seo-different .ac-why-card::after { display: none; }
body .ac-numbered-why.ac-seo-different .ac-seo-slider__controls[hidden] { display: none !important; }
body .ac-numbered-why.ac-seo-different .ac-seo-slider__controls:not([hidden]) { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
body .ac-numbered-why.ac-seo-different .ac-seo-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    background: #f5f5f7;
    color: #1d1d1f;
    cursor: pointer;
}
body .ac-numbered-why.ac-seo-different .ac-seo-slider__arrow:disabled { opacity: .35; cursor: default; }
body .ac-numbered-why.ac-seo-different :is(a, button, [tabindex]):focus-visible { outline: 2px solid #0071e3 !important; outline-offset: 4px; }
@media (max-width: 991px) {
    body .ac-numbered-why.ac-seo-different .ac-seo-different__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
    body .ac-numbered-why.ac-seo-different .ac-seo-different__grid {
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: 86%;
        gap: 16px !important;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    body .ac-numbered-why.ac-seo-different .ac-seo-different__grid::-webkit-scrollbar { display: none; }
    body .ac-numbered-why.ac-seo-different .ac-seo-different__item:nth-child(n) { scroll-snap-align: start; }
}

/* ac-adult-web-design-services-first */
/* Explicitly allowlisted services-first parents only.
 * Keep existing cards and carousel geometry. */
/* One image format for every opted-in first-fold carousel.
 * Reserve room for two-line titles so text cannot resize the artwork. */
body:not(.wp-admin) .ac-fold-card-type {
    --fold-card-width: min(86vw, 335px);
    --fold-card-copy-height: 182px;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .swiper-slide.explore-product {
    width: var(--fold-card-width) !important;
    height: auto !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card {
    display: grid !important;
    grid-template-rows: var(--fold-card-copy-height) auto;
    height: auto !important;
    min-height: 0 !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card__image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 19 / 17;
    position: relative;
    padding: 0 !important;
    display: block !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (min-width: 768px) {
    body:not(.wp-admin) .ac-fold-card-type {
        --fold-card-width: 380px;
        --fold-card-copy-height: 186px;
    }
}

/* Opt-in is on the first carousel only, including homepage Explore platforms.
 * Homepage trial: transfer 32px from copy space to artwork without taller cards. */
body:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card {
    grid-template-rows: calc(var(--fold-card-copy-height) - 32px) auto;
}
body:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__image {
    aspect-ratio: auto;
    height: calc(var(--fold-card-width) * 17 / 19 + 32px) !important;
}

/* Opt-in is on the first carousel only, including homepage Explore platforms.
 * Match the homepage card type; leave padding, artwork, tones and sizing intact. */
/* Use the PPC case-study spacing, without its typography or pill styling. */
body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__body {
    padding: 36px 32px 32px !important;
    gap: 0 !important;
    justify-content: flex-start !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__tag {
    margin: 0 0 17.6px !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__title {
    margin: 0 !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__cta {
    margin: 10.4px 0 0 !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__body {
    align-items: flex-start !important;
    text-align: left !important;
}

body:not(.wp-admin) .ac-fold-card-type :is(.ac-product-card__tag, .ac-product-card__title, .ac-product-card__cta) {
    font-family: inherit !important;
    font-style: normal !important;
    text-align: left !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__tag {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none;
}

@media (min-width: 768px) {
    body:not(.wp-admin) .ac-fold-card-type .ac-product-card__title {
        font-size: 22px !important;
    }
}

/* Marketing/SEO share the same fold without changing their carousel IDs. */
/* Homepage Explore uses the same text whitespace and blue action as Web Design. */
body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__body {
    padding: 2.25rem 2rem 1.5rem !important;
}

body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__tag {
    margin-bottom: .6rem !important;
}

body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__cta {
    margin-top: .85rem !important;
    color: #0071e3 !important;
}

@media (min-width: 768px) {
    body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__body {
        padding: 2.75rem 3rem 1.75rem !important;
    }
}

/* Full-bleed artwork must meet the outer edge, not sit inside a dark hairline.
 * Keep keyboard focus outlines; only the decorative card border is removed. */
body:not(.wp-admin) .ac-fold-card-type .ac-product-card {
    border: 0 !important;
    overflow: hidden;
    isolation: isolate;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card {
    border-radius: 26px;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__image {
    display: block;
    padding: 0;
    overflow: hidden;
}

/* Platform parents use a different template: match the reference fold gutters
 * and card whitespace without changing their established carousel dimensions. */
body:not(.wp-admin) #product-features.ac-web-services--first .ac-web-services__carousel {
    padding-inline: clamp(1rem, 4vw, 4rem) !important;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__body {
    padding: 2.25rem 2rem 1.5rem !important;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__tag {
    margin-bottom: .6rem;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__cta {
    margin-top: .85rem;
}

@media (min-width: 768px) {
    body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__body {
        padding: 2.75rem 3rem 1.75rem !important;
    }
}

.ac-marketing-editorial-hero {
    background: #fff;
    padding: clamp(110px, 14vw, 160px) 0 clamp(56px, 8vw, 96px);
    text-align: center;
}
body:has(.ac-marketing-editorial-hero) #marketing-platforms {
    background: #fff !important;
}
.ac-marketing-editorial-hero > .container {
    max-width: 780px;
}
.ac-marketing-editorial-hero h1 {
    margin: 0 auto 1.25rem;
    color: #1d1d1f;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.06;
    text-align: center;
}
.ac-marketing-editorial-hero__intro,
.ac-marketing-editorial-hero__intro p {
    max-width: 680px;
    margin: 0 auto .75rem;
    color: #6e6e73;
    font-size: 1.05rem;
    line-height: 1.68;
    text-align: center;
}
.ac-marketing-editorial-hero__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.ac-marketing-editorial-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: .7rem 1.35rem;
    border: 1px solid #1d1d1f;
    border-radius: 12px;
    background: #1d1d1f;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
.ac-marketing-editorial-hero__button:hover {
    background: #3a3a3c;
    color: #fff;
}
.ac-marketing-editorial-hero__button--secondary {
    background: transparent;
    border-color: #e4e4e7;
    color: #1d1d1f;
}
.ac-marketing-editorial-hero__button--secondary:hover {
    background: #e7e8eb;
    color: #1d1d1f;
}
.ac-marketing-editorial-hero__button:focus-visible {
    outline: 2px solid #3659ba;
    outline-offset: 3px;
}
body:not(.wp-admin) .ac-marketing-editorial-hero + #marketing-services {
    padding-top: 0 !important;
}
body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first {
    padding: 96px 0 64px !important;
    background: #fff !important;
    scroll-margin-top: 80px;
}

body:not(.wp-admin) .ac-marketing-services--first .ac-product-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

body:not(.wp-admin) .ac-marketing-services--first > .ac-web-services__head {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 4vw, 4rem);
    margin-bottom: 32px !important;
    box-sizing: border-box;
}

body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first .section-lead,
body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first .section-intro,
body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first .section-intro > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body:not(.wp-admin) .ac-marketing-services--first h1.section-lead {
    color: #1d1d1f;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

body:not(.wp-admin) .ac-marketing-services--first .section-intro {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: none;
    color: #6e6e73;
    font-size: 1rem;
    line-height: 1.5;
}

body:not(.wp-admin) .ac-marketing-services--first .section-intro > :first-child {
    margin-top: 0 !important;
}

body:not(.wp-admin) .ac-marketing-services--first .section-intro > :last-child {
    margin-bottom: 0 !important;
}

body:not(.wp-admin) .ac-marketing-services--first .ac-web-services__carousel {
    margin-top: 0 !important;
}

body:not(.wp-admin) .ac-marketing-services--first .ac-web-services__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 48px 0 0;
    padding-inline: 16px;
}

/* Keep CMS button classes, but use the approved fold's light treatments. */
body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid #1d1d1f !important;
    border-radius: 980px;
    background: #1d1d1f !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta--secondary {
    background: #f0f0f2 !important;
    border-color: #e8e8eb !important;
    color: #1d1d1f !important;
}

body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta--primary:hover {
    background: #3a3a3c !important;
}

body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta--secondary:hover {
    background: #e5e5e8 !important;
}

body:not(.wp-admin):has(.ac-marketing-services--first) .ac-reviews-float {
    display: none !important;
}

@media (max-width: 767px) {
    body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first {
        padding-top: 112px !important;
        padding-bottom: 56px !important;
    }

    body:not(.wp-admin) .ac-marketing-services--first > .ac-web-services__head {
        margin-bottom: 28px !important;
    }

    body:not(.wp-admin) .ac-marketing-services--first .ac-web-services__actions {
        margin-top: 40px;
    }
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-product-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first {
    padding: 96px 0 64px !important;
    background: #fff !important;
    scroll-margin-top: 80px;
}

/* Match the carousel's existing gutter before shared alignment JS runs. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first > .ac-web-services__head {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 4vw, 4rem);
    margin-bottom: 32px !important;
    box-sizing: border-box;
}

/* Override _sitewide-alignment.scss, including its !important centring. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-lead,
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro,
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first h1.section-lead {
    color: #1d1d1f;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro {
    /* Cancel inherited intro spacing; the heading and head own these gaps. */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: none;
    color: #6e6e73;
    font-size: 1rem;
    line-height: 1.5;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro > :first-child {
    margin-top: 0 !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro > :last-child {
    margin-bottom: 0 !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-web-services__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    margin-bottom: 0;
    padding-inline: 16px;
}

/* Retain the two existing light-hero button treatments outside the old hero. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-web-services__carousel {
    margin-top: 0 !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--outline {
    background: #1d1d1f !important;
    border-color: #1d1d1f !important;
    color: #fff !important;
    backdrop-filter: none;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--filled {
    background: #f0f0f2 !important;
    border-color: #e8e8eb !important;
    color: #1d1d1f !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--outline:hover {
    background: #3a3a3c !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--filled:hover {
    background: #e5e5e8 !important;
}

/* The removed hero previously suppressed the same sitewide review floater. */
body:not(.wp-admin):has(:is(#ac-web-services, #product-features).ac-web-services--first) .ac-reviews-float {
    display: none !important;
}

@media (max-width: 767px) {
    body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first {
        padding-top: 112px !important;
        padding-bottom: 56px !important;
    }

    body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first > .ac-web-services__head {
        margin-bottom: 28px !important;
    }

    body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-web-services__actions {
        margin-top: 40px;
    }
}

/* ac-marketing-slider */
/* Shared Marketing/SEO cards match Explore Marketing; retain CMS-selected tones. */
.mkt-services .mkt-services__carousel {
    --service-card-width: 309px;
    --service-card-height: 450px;
}
.mkt-services .mkt-services__carousel,
.seo-service-cards .seo-service-cards__slider {
    padding-bottom: 20px;
}
.mkt-services .mkt-services__carousel .swiper-slide.explore-product,
.mkt-services .mkt-services__carousel.store-offer .swiper-slide.explore-product,
.seo-service-cards .seo-service-cards__slider.store-offer .swiper-slide.explore-product {
    width: var(--service-card-width, 320px) !important;
    height: auto;
}
.mkt-services .mkt-services__carousel .ac-product-card,
.seo-service-cards .seo-service-cards__slider .ac-product-card {
    height: var(--service-card-height, 440px);
    border: 0;
    border-radius: 20px;
}
.mkt-services .mkt-services__carousel .ac-product-card:hover,
.mkt-services .mkt-services__carousel .ac-product-card:focus,
.seo-service-cards .seo-service-cards__slider .ac-product-card:hover,
.seo-service-cards .seo-service-cards__slider .ac-product-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
}
.mkt-services .mkt-services__carousel .ac-product-card__body,
.seo-service-cards .seo-service-cards__slider .ac-product-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 0;
    padding: 28px 28px 20px;
    text-align: left;
}
.mkt-services .mkt-services__carousel .ac-product-card__tag,
.seo-service-cards .seo-service-cards__slider .ac-product-card__tag {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .1em;
}
.mkt-services .mkt-services__carousel .ac-product-card__title,
.seo-service-cards .seo-service-cards__slider .ac-product-card__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: normal;
    text-align: left;
}
.mkt-services .mkt-services__carousel .ac-product-card__cta,
.seo-service-cards .seo-service-cards__slider .ac-product-card__cta {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
    gap: 4px;
}
.mkt-services .mkt-services__carousel .ac-product-card__image,
.seo-service-cards .seo-service-cards__slider .ac-product-card__image {
    display: block;
    min-height: 0;
    flex: 1;
}
.mkt-services .mkt-services__carousel .ac-product-card__image img,
.seo-service-cards .seo-service-cards__slider .ac-product-card__image img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}
.mkt-services .mkt-services__carousel .swiper-default-button,
.seo-service-cards .seo-service-cards__slider .swiper-default-button {
    margin: 0;
    max-width: none;
}
@media (min-width: 576px) {
    .mkt-services .mkt-services__carousel .swiper-slide.explore-product,
    .mkt-services .mkt-services__carousel.store-offer .swiper-slide.explore-product,
    .seo-service-cards .seo-service-cards__slider.store-offer .swiper-slide.explore-product {
        width: var(--service-card-width, 360px) !important;
    }
}
@media (min-width: 768px) {
    .mkt-services .mkt-services__carousel {
        --service-card-width: 400px;
        --service-card-height: 500px;
    }
    .mkt-services .mkt-services__carousel .ac-product-card,
    .seo-service-cards .seo-service-cards__slider .ac-product-card {
        height: var(--service-card-height, 480px);
    }
    .mkt-services .mkt-services__carousel .ac-product-card__title,
    .seo-service-cards .seo-service-cards__slider .ac-product-card__title {
        font-size: 28px;
    }
}
@media (min-width: 992px) {
    .mkt-services .mkt-services__carousel .swiper-slide.explore-product,
    .mkt-services .mkt-services__carousel.store-offer .swiper-slide.explore-product,
    .seo-service-cards .seo-service-cards__slider.store-offer .swiper-slide.explore-product {
        width: var(--service-card-width, 400px) !important;
    }
}
/* ac-marketing-why */
/* White background and black content for Marketing, PPC and Outreach feature grids. */
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light {
    background: #fff;
    color: #000;
}
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why__title,
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why__eyebrow,
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why-item__num,
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why-item__title,
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why-item__text,
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why-item__text * {
    color: #000 !important;
}
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why-item {
    border-top-color: rgba(0, 0, 0, .12);
    border-right-color: rgba(0, 0, 0, .12);
}
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why__eyebrow {
    border-color: rgba(0, 0, 0, .12);
}
/* The hover rule that wipes in from the left is the same component the web
 * design pages use - .ac-seo-different__item, adapted at runtime - and there
 * it is #0071e3, set by adult-seo-different.css. Here it was black, so the
 * identical card gave a different answer on Marketing, PPC and Outreach than
 * on /adult-web-design/. Measured on dev: ::before background rgb(0, 0, 0)
 * here against rgb(0, 113, 227) there. One colour, both places. */
body:not(.wp-admin) .mkt-why.mkt-why--marketing-light .mkt-why-item::before {
    background: #0071e3;
}
/* ac-marketing-barriers */
.ac-mkt-barriers {
    background: #f5f5f7;
    color: #1d1d1f;
    padding: clamp(72px, 9vw, 120px) 0;
}
.ac-mkt-barriers__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(48px, 7vw, 110px);
    max-width: 1160px;
    margin: 0 auto;
}
.ac-mkt-barriers__intro {
    max-width: 535px;
}
.ac-mkt-barriers h2 {
    margin: 0 0 22px;
    color: #1d1d1f;
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.07;
}
.ac-mkt-barriers__intro p {
    max-width: 490px;
    margin: 0;
    color: #55565c;
    font-size: 17px;
    line-height: 1.65;
}
.ac-mkt-barriers__cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 48px;
    margin-top: 28px;
    border-radius: 50px;
    padding: 12px 20px;
    background: #1d1d1f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.ac-mkt-barriers__cta:hover {
    background: #343438;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.ac-mkt-barriers__cta:focus-visible {
    outline: 3px solid #0071e3;
    outline-offset: 3px;
}
.ac-mkt-barriers__reasons {
    border-top: 1px solid #ceced3;
}
.ac-mkt-barriers__reason {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 22px;
    border-bottom: 1px solid #ceced3;
    padding: 27px 0 30px;
}
.ac-mkt-barriers__number {
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.7;
}
.ac-mkt-barriers__reason h3 {
    margin: 0 0 8px;
    color: #1d1d1f;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}
.ac-mkt-barriers__reason p {
    max-width: 440px;
    margin: 0;
    color: #55565c;
    font-size: 15px;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .ac-mkt-barriers__layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .ac-mkt-barriers__intro { max-width: 650px; }
}
@media (max-width: 575px) {
    .ac-mkt-barriers__reason {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 14px;
        padding: 24px 0;
    }
    .ac-mkt-barriers__intro p { font-size: 16px; }
}
/* ac-marketing-campaigns */
.ac-mkt-campaigns {
    background: #fff;
    padding: clamp(64px, 8vw, 100px) 0;
    scroll-margin-top: 80px;
}
.ac-mkt-campaigns h2 {
    margin: 0 0 16px;
    color: #1d1d1f;
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.07;
    text-align: left;
}
.ac-mkt-campaigns #ac-mkt-campaigns-title {
    margin-bottom: clamp(12px, 1.5vw, 18px) !important;
}
body:not(.wp-admin) #marketing-campaigns .ac-mkt-campaigns__intro {
    margin: 0 0 28px !important;
    max-width: none;
    color: #6e6e73;
    font-size: 1.05rem;
    line-height: 1.65;
    text-align: left !important;
}
.ac-mkt-campaigns__slider {
    padding: 8px clamp(16px, 4vw, 48px) 12px;
}
.ac-mkt-campaigns .swiper-slide.explore-product {
    width: min(86vw, 360px) !important;
    height: auto;
}
.ac-mkt-campaigns .ac-product-card {
    height: 520px;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 16px;
    background: #fff !important;
    color: #0d0d0d;
    overflow: hidden;
    box-shadow: 0 6px 36px rgba(0, 0, 0, .10), 0 1px 6px rgba(0, 0, 0, .05);
}
.ac-mkt-campaigns .ac-product-card:hover,
.ac-mkt-campaigns .ac-product-card:focus {
    color: #0d0d0d;
    box-shadow: 0 6px 36px rgba(0, 0, 0, .10), 0 1px 6px rgba(0, 0, 0, .05);
}
.ac-mkt-campaigns .ac-product-card__body {
    order: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 auto;
    min-width: 0;
    padding: 24px clamp(16px, 5vw, 28px) 28px;
    background: #fff;
    text-align: left;
}
.ac-mkt-campaigns .ac-product-card__tag {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0 0 14px;
    padding: 4px 12px;
    border: none;
    border-radius: 100px;
    background: rgba(0, 85, 212, .09);
    color: #0055d4 !important;
    font-size: 10.88px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}
.ac-mkt-campaigns h3.ac-product-card__title {
    margin: 0 0 12px;
    color: #0d0d0d !important;
    font-size: 19.2px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
}
.ac-mkt-campaigns__excerpt {
    margin: 0 0 20px;
    color: #6e6e73;
    opacity: 1;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: anywhere;
}
.ac-mkt-campaigns .ac-product-card__cta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 6px;
    margin-top: auto;
    color: #0055d4 !important;
    font-size: 13.12px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.5;
}
.ac-mkt-campaigns .ac-product-card__image {
    /* Keep artwork in flow, above the unchanged body markup. Let it yield
       space to complete copy on narrow phones without losing the thumbnail. */
    order: 0;
    position: relative !important;
    inset: auto !important;
    display: block;
    flex: 0 1 200px;
    width: 100%;
    height: 200px !important;
    min-height: 120px;
    padding: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.ac-mkt-campaigns .ac-product-card__image img {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
}
.ac-mkt-campaigns .ac-mkt-campaigns__image--fallback {
    background: #e9e9ee;
    padding: 44px;
}
.ac-mkt-campaigns .ac-mkt-campaigns__image--fallback img {
    height: 100%;
    object-fit: contain !important;
}
@media (max-width: 575px) {
    /* Compact only the info panel; slide width and 520px card stay unchanged. */
    .ac-mkt-campaigns .ac-product-card__body {
        padding: 16px 16px 18px;
    }
    .ac-mkt-campaigns .ac-product-card__tag {
        margin-bottom: 10px;
    }
    .ac-mkt-campaigns h3.ac-product-card__title {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .ac-mkt-campaigns__excerpt {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.6;
    }
}
.ac-mkt-campaigns .ac-unified-arrow {
    padding: 0;
}
.ac-mkt-campaigns .ac-unified-arrow svg {
    display: block;
    width: 16px;
    height: 16px;
}
@media (max-width: 767px) {
    .ac-mkt-campaigns .swiper-default-button {
        display: flex !important;
        position: relative;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 24px;
    }
    .ac-mkt-campaigns .ac-unified-arrow {
        position: static;
        transform: none;
        background: #e5e5ea;
    }
    .ac-mkt-campaigns .swiper-button-disabled {
        opacity: .35;
    }
}
/* ac-marketing-audiences */
.ac-mkt-audiences {
    background: #f3f3f6;
    color: #1d1d1f;
    padding: clamp(64px, 8vw, 100px) 0;
}
.ac-mkt-audiences > .container {
    max-width: 1200px;
}
.ac-mkt-audiences h2 {
    margin: 0 0 clamp(32px, 5vw, 56px);
    color: #1d1d1f;
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.07;
    text-align: left;
}
.ac-mkt-audiences__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.ac-mkt-audiences__item {
    min-width: 0;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(29, 29, 31, .08);
    border-radius: 20px;
    background: #fff;
    overflow-wrap: anywhere;
}
.ac-mkt-audiences__number {
    display: block;
    margin-bottom: 24px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}
.ac-mkt-audiences__item h3 {
    margin: 0 0 14px;
    color: #1d1d1f;
    font-size: clamp(21px, 2.5vw, 26px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
    text-align: left;
}
.ac-mkt-audiences__item p {
    margin: 0;
    color: #55565c;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-line;
    text-align: left;
}
.ac-mkt-audiences__controls {
    display: none;
}
.ac-mkt-audiences__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e5e5ea;
    color: #1d1d1f;
    line-height: 1;
    cursor: pointer;
}
.ac-mkt-audiences__arrow svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}
.ac-mkt-audiences__arrow:disabled {
    opacity: .35;
    cursor: default;
}
.ac-mkt-audiences__arrow:focus-visible,
.ac-mkt-audiences__grid:focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 3px;
}
/* Main SEO extends the existing phone carousel; Marketing keeps its grid. */
.ac-mkt-audiences--seo-slider .ac-mkt-audiences__controls:not([hidden]) {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .ac-mkt-audiences--seo-slider .ac-mkt-audiences__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 48px) / 3);
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .ac-mkt-audiences--seo-slider .ac-mkt-audiences__grid::-webkit-scrollbar { display: none; }
    .ac-mkt-audiences--seo-slider .ac-mkt-audiences__item { scroll-snap-align: start; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .ac-mkt-audiences--seo-slider .ac-mkt-audiences__grid { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 991px) {
    .ac-mkt-audiences__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ac-mkt-audiences__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 86%;
        gap: 16px;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .ac-mkt-audiences__grid::-webkit-scrollbar { display: none; }
    .ac-mkt-audiences__item { scroll-snap-align: start; }
    .ac-mkt-audiences__controls:not([hidden]) {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 20px;
    }
}
/* ac-marketing-section-gutter */
/* /adult-marketing/ only: start every section heading at the page gutter.
 *
 * Before this file the page had nine section headings starting at nine
 * different places - 491, 57, 500, 148, 272, 48, 403, 165 and 128 at a 1440
 * viewport - because each component made its own decision: some centred their
 * heading, two ran their container full bleed to match a carousel, and one
 * capped its header at 900px and centred the cap.
 *
 * The gutter is not a measured pixel value. .container-dynamic is 83.5vw,
 * centred, with 15px of its own padding, so the same expression reproduces it
 * and the sections stay in step at every width instead of agreeing only at
 * the width this was measured at.
 */

/* Resolved at each point of use, so 100% is the using element's own
 * containing block rather than the body's.
 *
 * The target is the home page's gutter, which is the OUTER edge of a
 * .container-dynamic - 118px at 1440 - not its padded content edge. Home's
 * hero and its store slider both start there because .ac-home-store carries
 * padding-left: 0. Every container on this page still had its default 15px,
 * which is why the sections landed at 133 and read as inset against home. */
html body.page-tpl-adult-marketing {
    --ac-mkt-gutter: calc((100% - 83.5vw) / 2);
}

/* The editorial hero is deliberately not in any rule in this file. It stays
 * centred - that is the design, and it was left centred on purpose when
 * everything below it moved to the gutter. */

/* ---------------------------------------------------------------------------
 * Centred headings -> left.
 *
 * margin-left goes to 0 but max-width is left alone: these header blocks cap
 * their own measure (650px on the barriers intro, 900px on the why head) and
 * dropping the cap would let the paragraphs run the full 1160px.
 * ------------------------------------------------------------------------- */
/* The body class is repeated to clear one 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 }
 *
 * which is what centres every heading on the site. It scores (0,4,2), so the
 * obvious `html body.page-tpl-adult-marketing .ac-mkt-audiences h2` at (0,2,3)
 * loses to it however late it is in the cascade. Three copies of the body
 * class take these to (0,5,2) and over it. slider-headings.css repeats
 * .ac-slider-title three times for the same reason, so this is the idiom
 * already in use here rather than a new trick. */
/* .ac-mkt-barriers is in this scope list because .ac-mkt-barriers__intro is in
 * the target list below it and was never reachable without it: the intro
 * lives inside .ac-mkt-barriers, not inside .ac-mkt-audiences or .mkt-why, so
 * the selector named a target it could not match. The margin rule under this
 * one pinned the block to the gutter all the same, which left centred text in
 * a 535px box pinned left - measured at 1440px, centring on x=397 while the
 * section centres on x=712. Left was the intent; this is where it says so. */
html body.page-tpl-adult-marketing.page-tpl-adult-marketing.page-tpl-adult-marketing :is(
    .ac-mkt-audiences,
    .ac-mkt-barriers,
    .mkt-why
) :is(h1, h2, h3, p, .section-lead, .title-big, .ac-mkt-barriers__intro) {
    text-align: left !important;
}

/* Repeated for the same reason, against a different rule. The why section is
 * adapted at runtime - a script adds .ac-seo-different and data-why-adapted -
 * so .mkt-why__head is also .ac-seo-different__head and picks up
 *
 *   body .ac-numbered-why.ac-seo-different .ac-seo-different__head
 *       { margin: 0 auto clamp(32px, 5vw, 56px) !important }
 *
 * from numbered-why.css at (0,3,1). That auto margin is what centred the
 * header's 900px cap at 263px instead of the gutter. The cap itself stays. */
html body.page-tpl-adult-marketing.page-tpl-adult-marketing.page-tpl-adult-marketing :is(
    .ac-mkt-barriers__intro,
    .ac-mkt-audiences__intro
) {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* ...and .mkt-why__head is centred instead.
 *
 * "Why Choose AC for Adult Marketing?" is the "Why choose our bespoke CMS"
 * section type, one of the four that were standardised as centred in review.
 * It was the last page still answering differently: measured at 1440px it sat
 * at 113-1013, a 900px cap pinned to the gutter, while the same section type
 * centres at 263-1163 on Adult SEO and every web design page.
 *
 * Found by the head-centring check rather than by eye. The scope rule above
 * still governs the cards inside this section; only its header moves. */
html body.page-tpl-adult-marketing.page-tpl-adult-marketing.page-tpl-adult-marketing .mkt-why__head,
html body.page-tpl-adult-marketing.page-tpl-adult-marketing.page-tpl-adult-marketing .mkt-why__head :is(h2, h3, p, .ec-copy) {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Platforms is deliberately NOT in the lists above.
 *
 * Its own design is centred: _modernize.scss gives .mkt-platforms__head
 * `text-align: center` and .mkt-platforms__row `justify-content: center`, and
 * the eleven tiles wrap into centred rows beneath it. Pulling only the
 * heading to the gutter produced the split this file exists to remove -
 * measured on dev at 1440px, the head computed text-align left at x=111 above
 * a row with justify-content center whose last tile ended at x=1046, so the
 * title sat over nothing in particular.
 *
 * Nothing is added here to centre it. The component stylesheet already does,
 * and the fix is to stop overriding that. */

/* ---------------------------------------------------------------------------
 * The two carousel sections.
 *
 * assets/js/slider-headings.js exists to pull a slider's heading onto the left
 * edge of its own first card - "not a guessed page gutter", as its first line
 * says - so moving these headings alone would just be undone on the next
 * frame, and would leave the heading indented away from the cards it labels.
 * Moving the track's left inset to the gutter instead makes the two positions
 * the same one, and the script then has nothing to correct.
 *
 * padding-right is deliberately left as it was: the cards still run off the
 * right edge, which is what makes these sections read as carousels.
 *
 * Mobile keeps the existing clamp. At 390px the gutter is 47px a side, which
 * would take a third of the screen away from a single card, and the headings
 * there already line up at 15-16px without help.
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
    html body.page-tpl-adult-marketing #marketing-services > .container.container-dynamic,
    html body.page-tpl-adult-marketing #marketing-services .mkt-services__carousel,
    html body.page-tpl-adult-marketing #marketing-services .ac-web-services__carousel,
    html body.page-tpl-adult-marketing #marketing-campaigns > .container.container-dynamic,
    html body.page-tpl-adult-marketing #marketing-campaigns .ac-mkt-campaigns__slider {
        padding-left: var(--ac-mkt-gutter) !important;
    }
}

/* ---------------------------------------------------------------------------
 * The standard containers.
 *
 * .container-dynamic is 83.5vw with 15px of its own padding, so its content
 * starts 15px inside the gutter. Home's slider container zeroes that padding
 * and starts flush on the gutter instead; these do the same, so a heading and
 * the grid under it move together rather than the heading alone.
 *
 * Below 768px the 15px is the whole gutter - 83.5vw leaves almost nothing on a
 * phone - so this is desktop only, and the mobile headings already line up.
 *
 * Careful with this list: :is() takes the specificity of its most specific
 * argument, so #marketing-platforms gives the whole rule an ID's weight.
 * Anything added here becomes very hard to override later, and anything that
 * should keep its padding has to be left out rather than reset further down.
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
    html body.page-tpl-adult-marketing :is(
        .ac-mkt-audiences,
        .ac-mkt-barriers,
        .mkt-why,
        #marketing-platforms
    ) > .container.container-dynamic {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Both split sections cap their grid - 1160px on the barriers, 1200px on
     * the closing band - and the cap is narrower than the container from
     * about 1400px up. Pinned flush left they left a hole on the right: 431px
     * and 391px of nothing at 1920. Centring the cap is what the barriers
     * grid did before this file touched it, and it costs 15px of gutter at
     * 1440 to save those few hundred pixels at the widths people actually
     * have. Capped grids get centred; capped TEXT blocks like .mkt-why__head
     * stay on the gutter, because a left-aligned heading that stops short of
     * the right edge is just a line of text, not a hole. */
    html body.page-tpl-adult-marketing :is(.ac-mkt-barriers__layout, .ac-ma-prose__layout) {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* The closing band is the one section not built on .container-dynamic - it
     * uses .container-new, capped at 1200px, so it centred 5px off the gutter
     * the others sit on. Matching the measure here rather than editing
     * .container-new, which the whole site uses. */
    html body.page-tpl-adult-marketing .contact-promotion > .container.container-new {
        width: 83.5vw;
        max-width: none;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ---------------------------------------------------------------------------
 * The two split sections: barriers, and the closing band.
 *
 * Both put a heading, a paragraph and a button in a left column beside a
 * numbered list. This centred the text within that column while the column
 * itself started on the gutter.
 *
 * Left now, for two reasons. The closing band below became a card and went
 * left to sit beside its steps, and these two are the same shape on the same
 * page - one centred in its column and one left is the inconsistency this
 * file exists to remove. And the block was already being pulled left by the
 * scope rule near the top, which named .ac-mkt-barriers__intro as a target,
 * so the block computed left while its heading computed centre: the
 * split-align the audit reports, on this page, from these two rules
 * disagreeing.
 *
 * .ac-marketing-approach sets text-align: left !important on its headings at
 * (0,2,0), so the repeated body class stays - it is what gets this over the
 * rules it has to beat, whichever way it points.
 * ------------------------------------------------------------------------- */
html body.page-tpl-adult-marketing.page-tpl-adult-marketing.page-tpl-adult-marketing .ac-mkt-barriers__intro,
html body.page-tpl-adult-marketing.page-tpl-adult-marketing.page-tpl-adult-marketing .ac-mkt-barriers__intro :is(h2, h3, p, .ac-mkt-barriers__cta) {
    text-align: left !important;
}

/* The closing band needs an id rather than more class copies. marketing-approach.css
 * carries
 *
 *   html body:not(.wp-admin) :is(#ac-contact-promotion, #adult-seo-approach,
 *       .ac-marketing-approach).ac-marketing-approach :is(h2, h3, ...)
 *       { text-align: left !important }
 *
 * and an id inside :is() gives the whole selector an id's weight - (1,3,2) -
 * so no number of class repeats reaches it. Borrowing the same id gets to
 * (1,4,2). */
/* Left, now that this block is a card.
 *
 * These two rules centred the closing band, which was right when it was a
 * bare full-width block - that is what was asked for. lets-talk-card.css has
 * since given it the same card the SEO and web design pages have, and
 * measured, .ac-ma-prose__layout is a 467.5px + 632.5px grid: the intro in
 * the left column, .ac-ma-prose__steps in the right. Centred paragraphs in a
 * 468px column beside a column of left-aligned steps read as a mistake, and
 * the Adult SEO card this is being matched to is left for the same reason.
 *
 * Changed here rather than overridden from the card file: that rule carried
 * !important, and answering it with another !important is how this layer got
 * the way it is. */
html body.page-tpl-adult-marketing #ac-contact-promotion.ac-marketing-approach .ac-ma-prose__intro,
html body.page-tpl-adult-marketing #ac-contact-promotion.ac-marketing-approach .ac-ma-prose__intro :is(h2, h3, p, .ac-ma-prose__body) {
    text-align: left !important;
}

/* The buttons are a flex row, so text-align does not reach them - they need
 * the main axis set instead. */
html body.page-tpl-adult-marketing #ac-contact-promotion.ac-marketing-approach .ac-ma-prose__intro .btns {
    justify-content: flex-start !important;
}

/* The review block keeps its container's default 15px padding, which makes it
 * 1160px wide - the same as the FAQ below it. It is left out of the
 * zero-padding list above for that reason, rather than reset here: that list
 * carries an ID's specificity and cannot be undone by a later rule. The cost
 * is that these two panels sit 15px inside the gutter the headings use. */

/* ---------------------------------------------------------------------------
 * The strip above the hero.
 *
 * The hero itself was already #fff; the grey at the top of the page is the
 * fixed 56px header, which is #f6f6f6 sitewide. Against a white hero that
 * 9-point difference shows as a seam right under the bar.
 *
 * The header keeps its own separator either way - box-shadow: 0 1px 0
 * rgba(0,0,0,.08) - so it still reads as a bar once it is white, and it still
 * separates itself from the grey sections it scrolls over further down.
 *
 * Page-scoped like the rest of this file. Moving it sitewide means dropping
 * the body-class prefix, nothing more.
 * ------------------------------------------------------------------------- */
html body.page-tpl-adult-marketing :is(header, .header-min) {
    background: #fff;
}

/* ---------------------------------------------------------------------------
 * Section banding.
 *
 * The page ended on four white sections in a row - mkt-why, campaigns,
 * platforms and the reviews - so the bottom half read as one continuous slab
 * with no edges between the blocks.
 *
 * Alternating every section would mean flipping five of eight and fighting
 * components that set their own background deliberately. Tinting two is
 * enough: no run is longer than two after this.
 *
 * The tint is #f5f5f7, which is what the newsletter panel and --ec-surface
 * already use. The audiences section was on #f3f3f6 - a different grey three
 * points away, close enough to look like a mistake rather than a choice -
 * and is brought onto the same one.
 * ------------------------------------------------------------------------- */
html body.page-tpl-adult-marketing :is(#marketing-campaigns, .mkt-testimonials, .ac-mkt-audiences) {
    background: #f5f5f7 !important;
}

