/* Aldersbrook SEO Landing Pages v0.4.1
   SEO + UX locked template for Enfold + Aldersbrook child theme.
*/

html.ald-seo-lp-ready,
body#top.aldersbrook-seo-landing-page,
body.aldersbrook-seo-landing-page {
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    html.ald-seo-lp-ready,
    body#top.aldersbrook-seo-landing-page,
    body.aldersbrook-seo-landing-page {
        overflow-x: hidden;
    }
}

body#top.aldersbrook-seo-landing-page #wrap_all,
body.aldersbrook-seo-landing-page #wrap_all {
    overflow: hidden;
}

body#top.aldersbrook-seo-landing-page #main,
body.aldersbrook-seo-landing-page #main {
    padding-top: 0 !important;
}

body#top.aldersbrook-seo-landing-page #main .container_wrap,
body.aldersbrook-seo-landing-page #main .container_wrap,
body#top.aldersbrook-seo-landing-page #main .main_color,
body.aldersbrook-seo-landing-page #main .main_color {
    border-top: 0 !important;
}

body#top.aldersbrook-seo-landing-page #main .container,
body#top.aldersbrook-seo-landing-page #main .content,
body#top.aldersbrook-seo-landing-page #main .template-page,
body#top.aldersbrook-seo-landing-page #main .entry-content-wrapper,
body#top.aldersbrook-seo-landing-page #main .entry-content,
body#top.aldersbrook-seo-landing-page #main .post-entry,
body#top.aldersbrook-seo-landing-page #main .avia_textblock,
body#top.aldersbrook-seo-landing-page #main .av_textblock_section,
body.aldersbrook-seo-landing-page #main .container,
body.aldersbrook-seo-landing-page #main .content,
body.aldersbrook-seo-landing-page #main .template-page,
body.aldersbrook-seo-landing-page #main .entry-content-wrapper,
body.aldersbrook-seo-landing-page #main .entry-content,
body.aldersbrook-seo-landing-page #main .post-entry,
body.aldersbrook-seo-landing-page #main .avia_textblock,
body.aldersbrook-seo-landing-page #main .av_textblock_section {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

body#top.aldersbrook-seo-landing-page #main .content,
body.aldersbrook-seo-landing-page #main .content {
    border-left: 0 !important;
    border-right: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page {
    --ald-seo-ink: var(--aldersbrook-color-ink, #0d3c45);
    --ald-seo-primary: var(--aldersbrook-color-primary, #13a090);
    --ald-seo-action: var(--aldersbrook-color-action, #0c7e72);
    --ald-seo-ivory: var(--aldersbrook-color-ivory, #f6f1e8);
    --ald-seo-mint: var(--aldersbrook-color-mint, #ddf4f1);
    --ald-seo-line: rgba(13, 60, 69, 0.12);
    --ald-seo-shadow: 0 18px 45px rgba(13, 60, 69, 0.08);
    background: var(--ald-seo-ivory);
    box-sizing: border-box;
    color: var(--ald-seo-ink);
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    right: 50%;
    width: 100vw !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page *,
#top #main .ae-shell-page--landing.ald-seo-theme-page *::before,
#top #main .ae-shell-page--landing.ald-seo-theme-page *::after {
    box-sizing: border-box;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-shell-section {
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
    padding: clamp(2.45rem, 4.4vw, 4.25rem) clamp(1rem, 4vw, 3rem);
    position: relative;
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-shell-section > * {
    margin-left: auto;
    margin-right: auto;
    max-width: min(1120px, calc(100vw - 2rem));
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-shell-section[id] {
    scroll-margin-top: 7.25rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-section--tight {
    padding-bottom: clamp(2rem, 3.5vw, 3.25rem);
    padding-top: clamp(2rem, 3.5vw, 3.25rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-hero-section {
    padding-top: clamp(5.4rem, 8vw, 6.35rem) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-shell-section:nth-of-type(odd) {
    background: rgba(246, 241, 232, 0.92);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-shell-section:nth-of-type(even),
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-check-section {
    background: rgba(255, 255, 255, 0.46);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-why-section,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-location-section,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-form-section {
    background: rgba(221, 244, 241, 0.42) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ae-card,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faqs details,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-media-panel {
    border-radius: 14px;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-grid,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-location-grid,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-grid {
    align-items: start;
    gap: clamp(1rem, 2.2vw, 1.8rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card {
    min-height: 100%;
    padding: clamp(1.35rem, 2.8vw, 2rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 0.35em;
    max-width: 16.5ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ae-lead,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card > p,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-section-heading p,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-location-grid p,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-intro p {
    line-height: 1.62;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ae-lead {
    max-width: 58ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card {
    background: var(--ald-seo-mint);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card h2 {
    font-size: clamp(1.55rem, 2.65vw, 2.12rem);
    line-height: 1.17;
    max-width: 18ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-stat-grid {
    gap: 0.55rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-stat-grid .ae-shell-stat {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 60, 69, 0.08);
    box-shadow: none;
    padding: 0.65rem 0.7rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-photo-strip-section {
    padding-top: 0 !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-photo-strip {
    gap: clamp(0.7rem, 1.5vw, 1rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-media-panel {
    box-shadow: var(--ald-seo-shadow);
    min-height: clamp(10.75rem, 16vw, 13.5rem);
    overflow: hidden;
}


/* Compact trust strip. Google review proof appears on every SEO page; Hitched only appears on wedding pages. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-section {
    padding-bottom: clamp(0.75rem, 1.6vw, 1.25rem) !important;
    padding-top: clamp(0.75rem, 1.6vw, 1.25rem) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-section + .ald-seo-gallery-preview-section {
    padding-top: clamp(0.85rem, 1.8vw, 1.45rem) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-strip {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 60, 69, 0.1);
    box-shadow: 0 12px 30px rgba(13, 60, 69, 0.055);
    display: grid;
    gap: clamp(0.85rem, 1.8vw, 1.3rem);
    grid-template-columns: 1fr;
    padding: clamp(0.78rem, 1.8vw, 1.08rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-items {
    align-items: stretch;
    display: grid;
    gap: clamp(0.75rem, 1.45vw, 1.05rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip {
    align-items: center;
    background: rgba(221, 244, 241, 0.64);
    border: 1px solid rgba(19, 160, 144, 0.16);
    border-radius: 12px;
    color: var(--ald-seo-ink) !important;
    display: flex;
    gap: 0.7rem;
    min-height: 4rem;
    padding: 0.68rem 0.78rem;
    text-decoration: none !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page a.ald-seo-trust-chip:hover {
    background: rgba(221, 244, 241, 0.94);
    border-color: rgba(19, 160, 144, 0.34);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip--google {
    background: rgba(246, 241, 232, 0.72);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip--hitched {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(201, 116, 86, 0.2);
    grid-column: span 1;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip--hitched img {
    background: #fff;
    border: 1px solid rgba(13, 60, 69, 0.1);
    border-radius: 8px;
    display: block;
    height: auto;
    max-height: 2.6rem;
    object-fit: contain;
    padding: 0.22rem;
    width: 5.6rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip strong,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip em {
    display: block;
    font-style: normal;
    line-height: 1.2;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip strong {
    font-size: 0.93rem;
    font-weight: 800;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip em {
    color: rgba(13, 60, 69, 0.72);
    font-size: 0.78rem;
    margin-top: 0.12rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-icon {
    align-items: center;
    background: var(--ald-seo-primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 900;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-actions .button {
    white-space: nowrap;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-preview-section {
    padding-top: clamp(1.1rem, 2.4vw, 2rem) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-preview-head {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-preview-copy {
    max-width: 46rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-preview-copy h2 {
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
    line-height: 1.13;
    margin-bottom: 0.25rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-preview-copy p {
    color: rgba(13, 60, 69, 0.78);
    line-height: 1.55;
    margin-bottom: 0;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery {
    gap: clamp(0.7rem, 1.5vw, 1rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card {
    border-radius: 14px;
    box-shadow: var(--ald-seo-shadow);
    isolation: isolate;
    margin: 0;
    min-height: clamp(12rem, 17vw, 14.4rem);
    overflow: hidden;
    position: relative;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card::before {
    background: linear-gradient(180deg, rgba(13, 60, 69, 0.05), rgba(13, 60, 69, 0.72));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card a,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card button,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card img {
    display: block;
    height: 100%;
    min-height: inherit;
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card img {
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 220ms ease;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card:hover img,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card:focus-within img {
    transform: scale(1.045);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card figcaption {
    bottom: 0;
    color: #fff;
    display: grid;
    gap: 0.2rem;
    left: 0;
    padding: clamp(1rem, 2vw, 1.25rem);
    position: absolute;
    right: 0;
    z-index: 2;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card figcaption .ae-shell-kicker,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card figcaption strong,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card figcaption p {
    color: #fff;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card figcaption strong {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.12;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card figcaption p {
    font-size: 0.91rem;
    line-height: 1.42;
    margin-bottom: 0;
    max-width: 32ch;
    opacity: 0.9;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-section-heading {
    margin-bottom: clamp(1.1rem, 2.2vw, 1.65rem);
    max-width: 58rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-section-heading--center {
    text-align: center;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-section-heading--center p,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-pricing-cta .ae-lead,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-cta .ae-lead {
    margin-left: auto;
    margin-right: auto;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-grid,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-card-grid {
    gap: clamp(1rem, 2vw, 1.45rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-card,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-info-card {
    border: 1px solid rgba(13, 60, 69, 0.09);
    box-shadow: 0 12px 28px rgba(13, 60, 69, 0.05);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-photo {
    border-radius: 12px;
    margin: 0 0 0.25rem;
    overflow: hidden;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-photo img {
    display: block;
    height: clamp(9.5rem, 15vw, 11.75rem);
    object-fit: cover;
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-info-card {
    padding: clamp(1.15rem, 2.4vw, 1.6rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-info-card h3 {
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    line-height: 1.22;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-info-card p {
    line-height: 1.6;
    margin-bottom: 0;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-local-links,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-related {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-local-links a,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-related a {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(13, 60, 69, 0.14);
    border-radius: 999px;
    color: var(--ald-seo-ink) !important;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.66rem 0.85rem;
    text-decoration: none !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-local-links a:hover,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-related a:hover {
    background: #fff;
    border-color: var(--ald-seo-primary);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-pricing-cta,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-cta {
    padding: clamp(1.6rem, 3vw, 2.3rem);
    text-align: center;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-pricing-cta h2,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-cta h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 28ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-pricing-cta .ae-lead,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-cta .ae-lead {
    max-width: 72ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-pricing-cta .ae-shell-actions,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-cta .ae-shell-actions {
    justify-content: center;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-grid {
    grid-template-columns: minmax(0, 1fr);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-intro {
    max-width: 34rem;
    padding-top: 0.25rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-intro h2 {
    max-width: 16ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-intro .ae-shell-actions {
    align-items: flex-start;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-form-shell {
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-form-card {
    background:
        radial-gradient(circle at top right, rgba(19, 160, 144, 0.12), transparent 42%),
        rgba(221, 244, 241, 0.82);
    border: 1px solid rgba(13, 60, 69, 0.12);
    box-shadow: var(--ald-seo-shadow);
    padding: clamp(0.9rem, 2vw, 1.4rem);
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-multistep {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 60, 69, 0.1);
    border-radius: 14px;
    color: var(--ald-seo-ink);
    padding: clamp(1.15rem, 2.7vw, 1.85rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-head {
    margin-bottom: 1.05rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-head h3,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-title h4 {
    color: var(--ald-seo-ink);
    line-height: 1.08;
    margin-bottom: 0.45rem;
    margin-top: 0;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-head h3 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-title h4 {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-head p,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-title p {
    color: rgba(13, 60, 69, 0.78);
    line-height: 1.58;
    margin-bottom: 0;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 1.05rem;
    padding: 0;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress li {
    align-items: center;
    background: rgba(246, 241, 232, 0.78);
    border: 1px solid rgba(13, 60, 69, 0.1);
    border-radius: 999px;
    display: flex;
    gap: 0.45rem;
    padding: 0.46rem 0.56rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress span {
    align-items: center;
    background: rgba(13, 60, 69, 0.1);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 800;
    height: 1.55rem;
    justify-content: center;
    width: 1.55rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress strong {
    font-size: 0.82rem;
    line-height: 1;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress li.is-active {
    background: rgba(221, 244, 241, 0.95);
    border-color: rgba(19, 160, 144, 0.42);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress li.is-active span {
    background: var(--ald-seo-primary);
    color: #fff;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress li.is-complete span {
    background: var(--ald-seo-ink);
    color: #fff;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-alert {
    background: #fff7ed;
    border: 1px solid rgba(234, 88, 12, 0.25);
    border-radius: 12px;
    color: #7c2d12;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-multistep.is-enhanced .ald-seo-step-panel {
    display: none;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-multistep.is-enhanced .ald-seo-step-panel.is-active {
    display: block;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-title {
    margin-bottom: 0.9rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-form-grid {
    display: grid;
    gap: 0.9rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field-wide {
    grid-column: 1 / -1;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field label {
    color: var(--ald-seo-ink);
    display: block;
    font-size: 0.81rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 0.34rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field input,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field select,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field textarea {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(13, 60, 69, 0.16) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--ald-seo-ink) !important;
    font-size: 0.95rem !important;
    min-height: 2.75rem;
    padding: 0.7rem 0.8rem !important;
    width: 100% !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field textarea {
    min-height: 6rem;
    resize: vertical;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field input:focus,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field select:focus,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-field textarea:focus {
    border-color: var(--ald-seo-primary) !important;
    outline: 3px solid rgba(19, 160, 144, 0.16) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions-split {
    justify-content: space-between;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions .button,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions button {
    cursor: pointer;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faq-grid {
    align-items: start;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faq-intro h2 {
    max-width: 14ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faqs {
    display: grid;
    gap: 0.65rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faqs details {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(13, 60, 69, 0.1);
    padding: 0.9rem 1.05rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faqs summary {
    color: var(--ald-seo-ink);
    cursor: pointer;
    font-weight: 700;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faqs details p {
    margin-bottom: 0;
    margin-top: 0.65rem;
}

@media only screen and (min-width: 768px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ae-shell-grid--halves,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-grid,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ae-shell-grid--thirds,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-card-grid,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-photo-strip,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-faq-grid {
        grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    }
}

@media only screen and (min-width: 992px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-viewing-grid {
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    }
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page > .ae-shell-section {
        padding-bottom: 2.15rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 2.15rem;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-hero-section {
        padding-top: 5rem !important;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card h1 {
        font-size: clamp(2rem, 9.2vw, 2.7rem);
        max-width: 15ch;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-actions,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ae-shell-actions {
        align-items: stretch;
        flex-direction: column;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .button {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-preview-head {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card {
        min-height: 13.5rem;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-section-heading--center {
        text-align: left;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-form-grid,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-progress {
        grid-template-columns: 1fr;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions-split {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions .button,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-step-actions button {
        justify-content: center;
        width: 100%;
    }
}


/* v0.2.0 CTA journey cleanup: distinguish viewing vs booking without breaking the page flow. */
/* v0.2.1 smart gallery preview: page-aware images without turning SEO pages into gallery pages. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-path-helper {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(13, 60, 69, 0.1);
    border-radius: 999px;
    color: rgba(13, 60, 69, 0.82);
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 48rem;
    padding: 0.65rem 0.9rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-actions {
    border-top: 1px solid rgba(13, 60, 69, 0.09);
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.9rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-room-actions .button {
    min-height: 2.35rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-section {
    background: rgba(255, 255, 255, 0.5) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-strip {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(221, 244, 241, 0.46));
    border: 1px solid rgba(13, 60, 69, 0.1);
    box-shadow: 0 14px 34px rgba(13, 60, 69, 0.055);
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.5rem);
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(1.15rem, 2.2vw, 1.55rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-copy h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.12;
    margin-bottom: 0.35rem;
    max-width: 24ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-copy p {
    color: rgba(13, 60, 69, 0.78);
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 68ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-actions {
    justify-content: flex-end;
    min-width: max-content;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-path-note {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(13, 60, 69, 0.1);
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-path-note strong {
    color: var(--ald-seo-ink);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-path-note span {
    color: rgba(13, 60, 69, 0.76);
    line-height: 1.5;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-path-grid {
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.4rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-path-card {
    border: 1px solid rgba(13, 60, 69, 0.1);
    box-shadow: var(--ald-seo-shadow);
    padding: clamp(1.25rem, 2.7vw, 1.8rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-path-card h2 {
    font-size: clamp(1.45rem, 2.45vw, 2rem);
    line-height: 1.12;
    margin-bottom: 0.4rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-path-card p {
    line-height: 1.56;
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-path-helper {
        border-radius: 14px;
        display: block;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-strip {
        grid-template-columns: 1fr;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-next-step-actions {
        min-width: 0;
        width: 100%;
    }
}

/* v0.2.3 smart gallery lightbox: custom-only lightbox with full relevant gallery browsing. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card .ald-seo-lightbox-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    cursor: zoom-in;
    font: inherit;
    margin: 0;
    outline-offset: -4px;
    padding: 0;
    position: relative;
    text-align: left;
    text-decoration: none;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card .ald-seo-lightbox-trigger:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-open-cue {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 60, 69, 0.12);
    border-radius: 999px;
    color: #0d3c45;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    opacity: 0;
    padding: 0.42rem 0.62rem;
    position: absolute;
    right: 0.75rem;
    text-transform: uppercase;
    top: 0.75rem;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 3;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card:hover .ald-seo-gallery-open-cue,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-smart-gallery-card:focus-within .ald-seo-gallery-open-cue {
    opacity: 1;
    transform: translateY(0);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-lightbox-data {
    display: none !important;
}

body.ald-seo-lightbox-open {
    overflow: hidden;
}

.ald-seo-lightbox {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    position: fixed;
    z-index: 999999;
}

.ald-seo-lightbox.is-open {
    display: flex;
}

.ald-seo-lightbox__backdrop {
    background: rgba(8, 31, 37, 0.82);
    inset: 0;
    position: absolute;
}

.ald-seo-lightbox__panel {
    background: #f7f3ea;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    max-height: min(86vh, 860px);
    max-width: min(92vw, 1120px);
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
}

.ald-seo-lightbox__figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    margin: 0;
    max-height: min(86vh, 860px);
}

.ald-seo-lightbox__image {
    background: #0d3c45;
    display: block;
    height: min(68vh, 660px);
    object-fit: contain;
    width: 100%;
}

.ald-seo-lightbox__caption {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(221, 244, 241, 0.76));
    color: #0d3c45;
    display: grid;
    gap: 0.25rem;
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.5vw, 1.65rem);
}

.ald-seo-lightbox__count {
    color: #007c70;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ald-seo-lightbox__title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.15;
}

.ald-seo-lightbox__text {
    color: rgba(13, 60, 69, 0.78);
    margin: 0;
    max-width: 62rem;
}

.ald-seo-lightbox__close,
.ald-seo-lightbox__nav {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 60, 69, 0.12);
    border-radius: 999px;
    color: #0d3c45;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
    position: absolute;
    z-index: 3;
}

.ald-seo-lightbox__close:hover,
.ald-seo-lightbox__nav:hover,
.ald-seo-lightbox__close:focus-visible,
.ald-seo-lightbox__nav:focus-visible {
    background: #007c70;
    color: #fff;
    outline: none;
}

.ald-seo-lightbox__close {
    font-size: 1.7rem;
    right: 1rem;
    top: 1rem;
}

.ald-seo-lightbox__nav {
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.ald-seo-lightbox__nav--prev {
    left: 1rem;
}

.ald-seo-lightbox__nav--next {
    right: 1rem;
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-gallery-open-cue {
        opacity: 1;
        transform: none;
    }

    .ald-seo-lightbox {
        padding: 0.75rem;
    }

    .ald-seo-lightbox__panel {
        border-radius: 18px;
        max-height: 88vh;
    }

    .ald-seo-lightbox__image {
        height: 58vh;
    }

    .ald-seo-lightbox__nav {
        bottom: 1rem;
        top: auto;
        transform: none;
    }

    .ald-seo-lightbox__nav--prev {
        left: 1rem;
    }

    .ald-seo-lightbox__nav--next {
        right: 1rem;
    }
}

/* v0.3.0: keep single-room SEO pages elegant without forcing an empty second column. */
.ald-seo-room-grid--single {
  grid-template-columns: minmax(0, 0.78fr) !important;
  justify-content: center;
}
.ald-seo-room-grid--single .ald-seo-room-card {
  max-width: 780px;
  width: 100%;
}
@media (max-width: 767px) {
  .ald-seo-room-grid--single {
    grid-template-columns: 1fr !important;
  }
}

/* v0.3.2 trust strip layout guardrails. */
@media only screen and (max-width: 1024px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-strip {
        grid-template-columns: 1fr;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-actions {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-items {
        grid-template-columns: 1fr;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip {
        min-height: 0;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-chip--hitched img {
        width: 5rem;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* v0.3.3 trust strip refinements. */
#top #main .ae-shell-page--landing.ald-seo-theme-page a.ald-seo-trust-chip--viewing:focus-visible,
#top #main .ae-shell-page--landing.ald-seo-theme-page a.ald-seo-trust-chip--hitched:focus-visible,
#top #main .ae-shell-page--landing.ald-seo-theme-page a.ald-seo-trust-chip--google:focus-visible {
    outline: 3px solid rgba(19, 160, 144, 0.32);
    outline-offset: 3px;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-google-reviews-slot {
    border-top: 1px solid rgba(13, 60, 69, 0.09);
    grid-column: 1 / -1;
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-google-reviews-slot:empty {
    display: none;
}


/* v0.3.4: Trust strip breathing room. CTA buttons are intentionally kept out of the proof strip. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-strip {
    grid-template-columns: 1fr !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-items {
    gap: clamp(0.85rem, 1.6vw, 1.15rem) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-actions {
    display: none !important;
}

@media only screen and (max-width: 900px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-trust-items {
        grid-template-columns: 1fr;
    }
}

/* v0.3.5 final CTA/socket alignment with the live Aldersbrook page shells. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section {
    padding-bottom: clamp(3.25rem, 7vw, 5.75rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section .ald-seo-final-cta {
    background:
        radial-gradient(circle at top center, rgba(19, 160, 144, 0.2), transparent 42%),
        linear-gradient(180deg, rgba(221, 244, 241, 0.86), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(13, 60, 69, 0.12);
    box-shadow: 0 24px 58px rgba(13, 60, 69, 0.08);
    margin-left: auto;
    margin-right: auto;
    max-width: 1060px;
    padding: clamp(2rem, 5vw, 3.8rem) clamp(1.25rem, 4.5vw, 4.5rem);
    text-align: center;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section .ald-seo-final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: 0.08em;
    line-height: 1.16;
    margin-left: auto;
    margin-right: auto;
    max-width: 19ch;
    text-transform: uppercase;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section .ald-seo-final-cta .ae-lead {
    color: rgba(13, 60, 69, 0.82);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.68;
    margin-left: auto;
    margin-right: auto;
    max-width: 72ch;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section .ald-seo-final-cta .ae-shell-actions {
    justify-content: center;
    margin-top: clamp(1.25rem, 2.4vw, 1.9rem);
    text-align: center;
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section .ald-seo-final-cta .ae-shell-actions {
        align-items: stretch;
        flex-direction: column;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-final-section .ald-seo-final-cta .ae-shell-actions .button {
        justify-content: center;
        width: 100%;
    }
}


/* v0.3.6: final socket/footer spacing. Keep the final CTA inside a proper Aldersbrook-style inset so it never feels glued to the browser or footer edge. */
#top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-final-section {
    padding-left: clamp(1.5rem, 6vw, 6rem) !important;
    padding-right: clamp(1.5rem, 6vw, 6rem) !important;
    padding-bottom: clamp(6rem, 10vw, 8.5rem) !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-final-section > .ald-seo-final-cta {
    max-width: min(1120px, calc(100vw - clamp(3rem, 12vw, 12rem))) !important;
    width: 100% !important;
}

body#top.aldersbrook-seo-landing-page #footer,
body#top.aldersbrook-seo-landing-page #socket,
body.aldersbrook-seo-landing-page #footer,
body.aldersbrook-seo-landing-page #socket {
    clear: both;
    position: relative;
    z-index: 2;
}

@media only screen and (max-width: 900px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-final-section {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 5.25rem !important;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-final-section > .ald-seo-final-cta {
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 480px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page > .ald-seo-final-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* v0.4.1 smart hero image upgrade: one page-aware confidence image in the hero, without returning to a heavy full-width image hero. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card.ald-seo-hero-media-card {
    background: rgba(221, 244, 241, 0.82);
    border: 1px solid rgba(19, 160, 144, 0.18);
    box-shadow: 0 18px 45px rgba(13, 60, 69, 0.075);
    display: grid;
    gap: 0;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    overflow: hidden;
    padding: 0 !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image {
    background: rgba(13, 60, 69, 0.08);
    border-radius: 14px 14px 0 0;
    margin: 0;
    min-height: clamp(13rem, 22vw, 18rem);
    overflow: hidden;
    position: relative;
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image img {
    display: block;
    height: clamp(13rem, 22vw, 18rem);
    object-fit: cover;
    transform: scale(1.001);
    width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image::after {
    background: linear-gradient(180deg, rgba(13, 60, 69, 0) 25%, rgba(13, 60, 69, 0.72) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image figcaption {
    bottom: 0;
    color: #fff;
    display: grid;
    gap: 0.18rem;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    z-index: 2;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image figcaption .ae-shell-kicker {
    color: rgba(255, 255, 255, 0.78);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image figcaption strong {
    color: #fff;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    letter-spacing: -0.01em;
    line-height: 1.16;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-media-content {
    padding: clamp(1rem, 2vw, 1.45rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-media-content > p {
    line-height: 1.55;
    margin-bottom: 0.65rem;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card.ald-seo-hero-media-card h2 {
    font-size: clamp(1.38rem, 2.35vw, 1.9rem);
    line-height: 1.13;
    max-width: 18ch;
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image,
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image img {
        height: auto;
        min-height: 12.5rem;
    }

    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image img {
        aspect-ratio: 16 / 10;
    }
}


/* v0.4.2 hero layout polish: keep the image, remove internal overlay labels, and stop the left card being stretched to match the media stack. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-grid {
    align-items: start !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card {
    align-self: start !important;
    min-height: 0 !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card.ald-seo-hero-media-card {
    align-self: start !important;
    min-height: 0 !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image {
    border-radius: 14px 14px 0 0;
    min-height: clamp(11rem, 19vw, 15.5rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image img {
    height: clamp(11rem, 19vw, 15.5rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image::after,
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-image figcaption {
    display: none !important;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-media-content {
    padding: clamp(1.1rem, 2vw, 1.55rem);
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-media-content .ald-seo-stat-grid {
    margin-top: 0.85rem;
}


/* v0.4.3 hero quick facts moved into the left decision card to balance the split hero. */
#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ald-seo-hero-stat-grid {
    gap: 0.65rem;
    margin-top: clamp(0.9rem, 1.8vw, 1.25rem);
    max-width: 100%;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ald-seo-hero-stat-grid .ae-shell-stat {
    background: rgba(221, 244, 241, 0.52);
    border: 1px solid rgba(19, 160, 144, 0.16);
    box-shadow: none;
    min-width: 0;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ald-seo-hero-stat-grid .ae-shell-stat strong {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: -0.035em;
    line-height: 0.95;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ald-seo-hero-stat-grid .ae-shell-stat span {
    line-height: 1.22;
}

#top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-decision-card.ald-seo-hero-media-card .ald-seo-hero-media-content .ald-seo-stat-grid {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ald-seo-hero-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 480px) {
    #top #main .ae-shell-page--landing.ald-seo-theme-page .ald-seo-hero-card .ald-seo-hero-stat-grid {
        grid-template-columns: 1fr;
    }
}
