@media (max-width: 767px) {
    .headerBanner,
    .headerBannerImage {
        min-height: 205px;
        height: 205px;
    }

    .headerTitleArea {
        padding: 15px 14px 18px;
    }

    .headerTitleArea h1 {
        font-size: 26px;
    }

    .pageMain {
        padding: 16px 12px 24px;
    }

    .homeTileGrid {
        grid-template-columns: 1fr;
    }

    .serviceTileIcon {
        width: 52px;
        height: 52px;
    }

    .footerPillRow {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .homeTileGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footerPillRow {
        grid-template-columns: repeat(3, 1fr);
    }

    .serviceTileIcon {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .homeTileGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footerPillRow {
        grid-template-columns: repeat(3, 1fr);
    }

    .serviceTileIcon {
        width: 68px;
        height: 68px;
    }
}

/* 2026-06-14 phone header/footer correction */
@media (max-width: 767px) {
    .headerBanner,
    .headerBannerImage,
    .headerBannerFallback {
        min-height: 190px;
        height: 190px;
    }

    .headerTitleArea {
        padding: 16px 14px 18px;
    }

    .headerTitleArea h1 {
        font-size: 32px;
    }

    .headerTitleArea p {
        font-size: 18px;
    }

    .footerPillRow {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .footerPill {
        padding: 10px 6px;
    }

    .footerPill strong {
        font-size: 16px;
    }
}

/* 2026-06-14 mobile tile text tightening */
@media (max-width: 767px) {
    .pageMain {
        padding-left: 10px;
        padding-right: 10px;
    }

    .pageTile,
    .serviceTile {
        padding: 14px;
        border-radius: 14px;
    }

    .pageTile h2,
    .serviceTile h2 {
        font-size: 26px;
        line-height: 1.12;
        margin-bottom: 12px;
    }

    .pageTile p,
    .serviceTile p {
        font-size: 16px;
        line-height: 1.38;
        margin-bottom: 12px;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .serviceTileTop {
        gap: 10px;
        align-items: center;
    }

    .serviceTileIcon {
        width: 44px;
        height: 44px;
    }

    .serviceTileAction {
        font-size: 16px;
        padding: 7px 11px;
    }

    .pricingFinePrint,
    .policyBody p {
        font-size: 15px;
        line-height: 1.38;
    }
}

/* YD Yard Dogs alert responsive inset START */
@media (max-width: 767px) {
    .yd3AlertPageTile .yd3YardDogsChildPanel {
        box-sizing: border-box;
    }

    .yd3AlertPageTile .yd3YardDogsChildPanel > .yd3YardDogsControlSlat {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        background: var(--yd3RowBg);
        border-left-width: 0;
        border-right-width: 0;
    }

    .yd3AlertPageTile .yd3YardDogsChildPanel > .yd3YardDogsControlSlat > .yd3EventSummary {
        box-sizing: border-box;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .yd3AlertPageTile .yd3YardDogsChildPanel > .yd3Empty {
        box-sizing: border-box;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
/* YD Yard Dogs alert responsive inset END */

