html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Base badge */
.badge {
    --badge-bg: #eef2f6;
    --badge-fg: #1f2937;
    --badge-bd: transparent;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .5rem;
    border-radius: .5rem;
    font-size: .8125rem;
    line-height: 1;
    font-weight: 600;
    background: var(--badge-bg);
    color: var(--badge-fg);
    border: 1px solid var(--badge-bd);
    white-space: nowrap;
}

/* Pill shape (chips) */
.badge--pill {
    border-radius: 9999px;
}

/* Outline variant */
.badge--outline {
    background: transparent;
    border-color: var(--badge-bg);
    color: var(--badge-bg);
}

/* Close �x� button inside the badge (for removable chips) */
.badge__close {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    font-size: 14px;
    cursor: pointer;
    color: currentColor;
    opacity: .7;
}

    .badge__close:hover {
        opacity: 1;
    }

/* Color themes (tweak to match your brand) */
.badge--primary {
    --badge-bg: #e6f0ff;
    --badge-fg: #0b5ed7;
    --badge-bd: #cfe0ff;
}

.badge--secondary {
    --badge-bg: #ede9fe;
    --badge-fg: #6d28d9;
    --badge-bd: #dbd6fd;
}

.badge--success {
    --badge-bg: #e8f6ef;
    --badge-fg: #1b7f4b;
    --badge-bd: #cfead9;
}

.badge--warning {
    --badge-bg: #fff4e5;
    --badge-fg: #a15c00;
    --badge-bd: #ffe3bf;
}

.badge--danger {
    --badge-bg: #ffebee;
    --badge-fg: #c62828;
    --badge-bd: #f8c7cc;
}

.badge--info {
    --badge-bg: #e5f6ff;
    --badge-fg: #0369a1;
    --badge-bd: #cdefff;
}

.badge--light {
    --badge-bg: #f3f4f6;
    --badge-fg: #111827;
    --badge-bd: #e5e7eb;
}

.badge--dark {
    --badge-bg: #1f2937;
    --badge-fg: #f9fafb;
    --badge-bd: #111827;
}

/* �� Restoration landing pages (water damage funnel) �� */
.restoration-lp-page {
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .restoration-lp-page {
        padding-bottom: 5.5rem;
    }
}

.restoration-lp--hero-phone {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

    .restoration-lp--hero-phone a {
        color: inherit;
        text-decoration: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    }

        .restoration-lp--hero-phone a:hover {
            border-bottom-color: #fff;
        }

.breatcam-section .restoration-lp--hero-phone a {
    color: #fff;
}

.restoration-lp--trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 1.25rem !important;
}

.restoration-lp--cta-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}

.restoration-lp--secondary-cta {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    color: inherit;
    opacity: 0.92;
}

    .restoration-lp--secondary-cta:hover {
        opacity: 1;
    }

.restoration-lp--cross-nav {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

    .restoration-lp--cross-nav a {
        font-weight: 600;
        text-decoration: none;
        color: #0b5ed7;
    }

        .restoration-lp--cross-nav a:hover {
            text-decoration: underline;
        }

.restoration-lp--sticky-cta {
    display: none;
}

@media (max-width: 991.98px) {
    .restoration-lp--sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        padding: 0.75rem 1rem;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.12);
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }

        .restoration-lp--sticky-cta .hendrio-button-alt,
        .restoration-lp--sticky-cta .hendrio-button {
            flex: 1;
            max-width: 100%;
        }

            .restoration-lp--sticky-cta .hendrio-button-alt a,
            .restoration-lp--sticky-cta .hendrio-button a {
                display: block;
                text-align: center;
                width: 100%;
            }
}

.restoration-lp--urgency {
    border-left: 4px solid #c62828;
    padding: 0.75rem 1rem;
    background: #fff8f8;
    border-radius: 0 0.35rem 0.35rem 0;
    margin-top: 1rem;
}

/* Plumber ad LP only: /city/issue/pro — sections use .about-section like About page */
.plb-ad {
    --plb-ad-bg: #eef2f6;
    --plb-ad-card: #ffffff;
    --plb-ad-text: #0f172a;
    --plb-ad-muted: #64748b;
    --plb-ad-cta: #0f766e;
    background: transparent;
    padding: 0 0 5.5rem;
}

@media (min-width: 992px) {
    .plb-ad {
        padding-bottom: 2rem;
    }
}

/*
 * About page uses one .about-section (textured bg) then .counter-section (light #F5F7FD).
 * This LP stacks several blocks: keep the photo texture on the first band only; alternate
 * the rest like the counter area so it doesn’t look like four duplicate hero strips.
 */
.plb-ad .about-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

.plb-ad .about-section:not(:first-of-type) {
    background-image: none;
    background-color: #f5f7fd;
}

.plb-ad .about-section:first-of-type {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .plb-ad .about-section:first-of-type {
        padding-top: 6.25rem;
        padding-bottom: 5.5rem;
    }
}

@media (max-width: 767.98px) {
    .plb-ad .about-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .plb-ad .about-section:first-of-type {
        padding-top: 3rem;
        padding-bottom: 3.25rem;
    }
}

@media (min-width: 992px) {
    .plb-ad__cta-wrap {
        position: sticky;
        top: 6.5rem;
        padding: 1.35rem 1.5rem;
        background: #f8fafc;
        border-radius: 0.85rem;
        border: 1px solid #e2e8f0;
    }
}

@media (min-width: 1200px) {
    .plb-ad__cta-wrap {
        padding: 1.5rem 1.75rem;
    }
}

.plb-ad__hero {
    background: var(--plb-ad-card);
    border-radius: 1rem;
    padding: 1.35rem 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 10px 28px rgba(15, 23, 42, 0.07);
}

@media (min-width: 768px) {
    .plb-ad__hero {
        padding: 1.75rem 1.75rem 2rem;
    }
}

@media (min-width: 1200px) {
    .plb-ad__hero {
        padding: 2rem 2.25rem 2.25rem;
    }
}

.plb-ad__brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.plb-ad__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 0.75rem;
    background: #f1f5f9;
    flex-shrink: 0;
}

.plb-ad__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--plb-ad-muted);
    margin: 0 0 0.35rem;
}

.plb-ad__title {
    font-size: 1.3125rem;
    font-weight: 800;
    line-height: 1.28;
    color: var(--plb-ad-text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

@media (min-width: 400px) {
    .plb-ad__title {
        font-size: 1.4375rem;
    }
}

@media (min-width: 992px) {
    .plb-ad__title {
        font-size: 1.6875rem;
    }
}

@media (min-width: 1200px) {
    .plb-ad__title {
        font-size: 1.875rem;
    }
}

.plb-ad__subtitle {
    font-size: 0.9375rem;
    color: var(--plb-ad-muted);
    margin: 0;
    line-height: 1.45;
}

    .plb-ad__subtitle strong {
        color: var(--plb-ad-text);
    }

.plb-ad__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    padding: 0.6rem 0.85rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.plb-ad__stars .bi-star-fill,
.plb-ad__stars .bi-star-half {
    color: #f59e0b;
}

.plb-ad__stars .bi-star {
    color: #cbd5e1;
}

.plb-ad__social-meta {
    font-size: 0.8125rem;
    color: var(--plb-ad-muted);
}

.plb-ad__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

    .plb-ad__bullets li {
        display: flex;
        gap: 0.5rem;
        align-items: flex-start;
        font-size: 0.875rem;
        line-height: 1.4;
        color: var(--plb-ad-text);
        margin-bottom: 0.45rem;
    }

        .plb-ad__bullets li i {
            color: var(--plb-ad-cta);
            flex-shrink: 0;
            margin-top: 0.12rem;
        }

.plb-ad__bullets--secondary {
    margin-top: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 1.2rem;
}

    .plb-ad__bullets--secondary li i {
        color: var(--plb-ad-muted);
    }

.plb-ad__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.35rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #14b8a6 0%, var(--plb-ad-cta) 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.38);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

    .plb-ad__cta:hover {
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 22px rgba(15, 118, 110, 0.45);
    }

    .plb-ad__cta:focus-visible {
        outline: 3px solid #5eead4;
        outline-offset: 2px;
    }

.plb-ad__cta-label {
    font-size: 1.0625rem;
}

.plb-ad__cta-phone {
    font-size: 1.125rem;
    margin-top: 0.1rem;
    font-variant-numeric: tabular-nums;
    opacity: 0.96;
}

.plb-ad__fineprint {
    font-size: 0.6875rem;
    color: var(--plb-ad-muted);
    text-align: center;
    margin: 0.65rem 0 0;
    line-height: 1.45;
}

@media (min-width: 992px) {
    .plb-ad__fineprint {
        text-align: left;
    }
}

.plb-ad__panel {
    margin-top: 0;
    background: var(--plb-ad-card);
    border-radius: 1rem;
    padding: 1.2rem 1.15rem 0.15rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .plb-ad__panel {
        padding: 1.35rem 1.5rem 0.2rem;
    }
}

@media (min-width: 1200px) {
    .plb-ad__panel {
        padding: 1.5rem 2rem 0.25rem;
    }
}

.plb-ad__panel-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: var(--plb-ad-text);
}

.plb-ad__accordion .accordion-item {
    border-color: #e2e8f0;
}

.plb-ad__accordion .accordion-button {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.7rem 0;
}

    .plb-ad__accordion .accordion-button:not(.collapsed) {
        color: var(--plb-ad-cta);
        background: transparent;
        box-shadow: none;
    }

.plb-ad__accordion .accordion-body {
    padding: 0 0 0.9rem;
    font-size: 0.875rem;
    color: var(--plb-ad-muted);
}

.plb-ad__prose {
    white-space: pre-wrap;
}

.plb-ad__service-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--plb-ad-text);
}

    .plb-ad__service-list li {
        margin-bottom: 0.3rem;
    }

@media (min-width: 768px) {
    .plb-ad__service-list {
        columns: 2;
        column-gap: 2.5rem;
        padding-left: 0;
        list-style-position: inside;
    }

        .plb-ad__service-list li {
            break-inside: avoid;
        }
}

.plb-ad__restore {
    margin-top: 0;
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.plb-ad__restore-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #92400e;
}

.plb-ad__restore-text {
    font-size: 0.75rem;
    color: #a16207;
    margin: 0 0 0.9rem;
    line-height: 1.45;
}

.plb-ad__restore-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.plb-ad__restore-logo {
    border-radius: 0.45rem;
    object-fit: contain;
}

.plb-ad__restore-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.plb-ad__restore-call {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #d97706;
    color: #92400e !important;
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none !important;
    text-align: center;
}

.plb-ad__restore-site {
    font-size: 0.75rem;
    font-weight: 600;
    color: #b45309;
}

.plb-ad__footer {
    text-align: center;
    margin-top: 0;
    padding-bottom: 0.5rem;
}

.plb-ad__compare {
    font-size: 0.8125rem;
    color: var(--plb-ad-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

    .plb-ad__compare:hover {
        color: var(--plb-ad-text);
    }

@media (max-width: 991.98px) {
    .plb-ad__sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        padding: 0.6rem 0;
        padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(10px);
        box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
    }

    .plb-ad__sticky-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        flex-wrap: wrap;
        width: 100%;
        min-height: 2.95rem;
        border-radius: 0.65rem;
        background: var(--plb-ad-cta) !important;
        color: #fff !important;
        font-weight: 800;
        font-size: 0.9375rem;
        text-decoration: none !important;
    }

    .plb-ad__sticky-num {
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        opacity: 0.95;
    }
}

/* Restoration company brand video + gallery on service landing */
.restoration-brand-video .ratio iframe {
    border: 0;
    border-radius: 0.35rem;
}

/* Horizontal “Some of our work” strip + VenoBox lightbox */
.restoration-work-gallery__frame {
    position: relative;
    margin: 0 -0.25rem;
}

/* Scrollbar hidden — use chevrons, trackpad, touch, Shift+wheel, or keyboard */
.restoration-work-gallery__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2.75rem;
    scrollbar-width: none;
    padding: 0.25rem 2.75rem 0.5rem;
    outline: none;
}

.restoration-work-gallery__scroller:focus-visible {
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.35);
    border-radius: 0.35rem;
}

.restoration-work-gallery__scroller::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.restoration-work-gallery__strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.85rem;
}

.restoration-work-gallery__card {
    flex: 0 0 auto;
    width: clamp(168px, 38vw, 260px);
    scroll-snap-align: start;
    margin: 0;
}

.restoration-work-gallery__veno {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 0.45rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.restoration-work-gallery__veno:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(13, 110, 253, 0.2);
    transform: translateY(-2px);
}

.restoration-work-gallery__veno:focus-visible {
    outline: 2px solid rgba(13, 110, 253, 0.65);
    outline-offset: 3px;
}

.restoration-work-gallery__thumbWrap {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e9ecef;
    overflow: hidden;
}

.restoration-work-gallery__thumbWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
    transition: transform 0.35s ease;
}

.restoration-work-gallery__veno:hover .restoration-work-gallery__thumbWrap img {
    transform: scale(1.04);
}

.restoration-work-gallery__chev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.18);
    color: #0d6efd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.restoration-work-gallery__chev:hover:not(:disabled) {
    background: #fff;
}

.restoration-work-gallery__chev:disabled {
    opacity: 0.35;
    cursor: default;
}

.restoration-work-gallery__chev--left {
    left: 0.15rem;
}

.restoration-work-gallery__chev--right {
    right: 0.15rem;
}

.restoration-work-gallery__chev::before {
    content: "";
    display: block;
    width: 0.55rem;
    height: 0.55rem;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.restoration-work-gallery__chev--left::before {
    transform: rotate(45deg);
    margin-left: 0.15rem;
}

.restoration-work-gallery__chev--right::before {
    transform: rotate(-135deg);
    margin-right: 0.15rem;
}

@media (max-width: 575.98px) {
    .restoration-work-gallery__scroller {
        scroll-padding-inline: 0.65rem;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .restoration-work-gallery__chev {
        width: 2rem;
        height: 2rem;
    }
}

/* Logged-in editor quick links on public pages */
.site-admin-quickbar {
    height: 30px;
    box-sizing: border-box;
    background: #10102e;
    border-bottom: 1px solid rgba(218, 36, 43, 0.35);
    position: relative;
    z-index: 1000;
}

.site-admin-quickbar-inner {
    height: 30px;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    font-family: 'Poppins', system-ui, sans-serif;
}

.site-admin-quickbar-inner a {
    color: #e8eaf0;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-admin-quickbar-inner a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-admin-quickbar-sep {
    color: rgba(232, 234, 240, 0.45);
    user-select: none;
    flex-shrink: 0;
}

.site-admin-quickbar-label {
    color: rgba(232, 234, 240, 0.75);
    font-size: 11px;
    white-space: nowrap;
}

.site-admin-quickbar-site-form {
    margin: 0;
}

.site-admin-quickbar-select {
    width: auto;
    min-width: 8.5rem;
    max-width: min(42vw, 16rem);
    height: 22px;
    padding: 0 1.5rem 0 0.35rem;
    font-size: 11px;
    line-height: 1.2;
    color: #e8eaf0;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e8eaf0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    background-size: 10px 10px;
    appearance: none;
}

.site-admin-quickbar-select:focus {
    border-color: rgba(218, 36, 43, 0.6);
    box-shadow: 0 0 0 1px rgba(218, 36, 43, 0.35);
    outline: none;
}

.site-admin-quickbar-select option {
    color: #10102e;
    background: #fff;
}
