/* Local landing pages. Brand tokens (--dls-*) are injected per site from profile.php. */

html:has(.dls-landing),
body:has(.dls-landing) {
    overflow-x: hidden;
}

.single-dls_landing .page-header,
.single-dls_landing .entry-title {
    display: none;
}

.single-dls_landing .site-main,
.single-dls_landing .page-content {
    max-width: none;
    padding: 0;
    margin: 0;
}

.dls-landing {
    --dls-text: #3a3a3a;
    --dls-muted: #6b6b6b;
    --dls-border: #e3e6ec;
    --dls-width: 1140px;
    font-family: var(--dls-font);
    color: var(--dls-text);
    font-size: 16px;
    line-height: 1.7;
    font-style: normal;
}

.dls-landing *:not(em):not(i) {
    font-style: normal;
}

/* Full-bleed bands inside the theme container. */
.dls-hero,
.dls-facts,
.dls-contact {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.dls-landing * {
    box-sizing: border-box;
}

.dls-wrap,
.dls-body {
    width: 100%;
    max-width: var(--dls-width);
    margin-inline: auto;
    padding-inline: 20px;
}

.dls-landing h1,
.dls-landing h2,
.dls-landing h3 {
    font-family: var(--dls-font);
    color: var(--dls-dark);
    line-height: 1.25;
    margin: 0 0 0.6em;
}

.dls-landing h2 {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding-bottom: 0.45em;
    position: relative;
}

.dls-landing h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--dls-accent);
}

.dls-landing a {
    color: var(--dls-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dls-landing a:hover {
    color: var(--dls-dark);
}

/* Hero */
.dls-hero {
    background: var(--dls-accent-soft);
    padding-block: 28px 56px;
    margin-bottom: 56px;
}

.dls-breadcrumb {
    font-size: 0.85rem;
    color: var(--dls-muted);
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dls-breadcrumb a {
    color: var(--dls-muted);
    text-decoration: none;
}

.dls-breadcrumb a:hover {
    color: var(--dls-accent);
}

.dls-breadcrumb [aria-current] {
    color: var(--dls-dark);
    font-weight: 600;
}

.dls-hero__eyebrow {
    margin: 0 0 8px;
    color: var(--dls-accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dls-hero__title {
    font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
    font-weight: 700;
    text-transform: uppercase;
    max-width: 22ch;
}

.dls-answer {
    max-width: 760px;
    font-size: 1.1rem;
    margin: 0 0 32px;
    color: var(--dls-text);
}

/* Buttons */
.dls-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dls-landing a.dls-btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid var(--dls-accent);
    border-radius: 0;
    background: var(--dls-accent);
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.dls-landing a.dls-btn:hover,
.dls-landing a.dls-btn:focus-visible {
    background: transparent;
    color: var(--dls-accent);
}

.dls-landing a.dls-btn--ghost {
    background: transparent;
    color: var(--dls-accent);
}

.dls-landing a.dls-btn--ghost:hover,
.dls-landing a.dls-btn--ghost:focus-visible {
    background: var(--dls-accent);
    color: #fff;
}

/* Editable body */
.dls-body {
    margin-bottom: 24px;
}

.dls-body h2 {
    margin-top: 48px;
}

.dls-body h2:first-child {
    margin-top: 0;
}

.dls-body p {
    max-width: 820px;
}

/* Coverage */
.dls-coverage,
.dls-facts,
.dls-faq {
    padding-block: 48px;
}

.dls-coverage__key {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 28px;
}

.dls-landing a.dls-city {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--dls-accent);
    color: var(--dls-accent);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.dls-landing a.dls-city:hover {
    background: var(--dls-accent);
    color: #fff;
}

.dls-coverage__all {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 4 180px;
    column-gap: 24px;
    font-size: 0.92rem;
    color: var(--dls-muted);
}

.dls-coverage__all li {
    break-inside: avoid;
    padding: 4px 0;
    border-bottom: 1px solid var(--dls-border);
}

/* How we work */
.dls-facts {
    background: var(--dls-accent-soft);
}

.dls-cards {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.dls-card {
    background: #fff;
    border-top: 3px solid var(--dls-accent);
    padding: 22px 20px;
    font-size: 0.95rem;
    line-height: 1.55;
}

/* FAQ */
.dls-faq__item {
    border-bottom: 1px solid var(--dls-border);
}

.dls-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 40px 18px 0;
    position: relative;
    font-weight: 600;
    color: var(--dls-dark);
}

.dls-faq__item summary::-webkit-details-marker {
    display: none;
}

.dls-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dls-accent);
}

.dls-faq__item[open] summary::after {
    content: "−";
}

.dls-faq__item p {
    margin: 0 0 18px;
    max-width: 820px;
}

/* Contact band */
.dls-contact {
    background: var(--dls-dark);
    color: #fff;
    padding-block: 56px;
    text-align: center;
}

.dls-landing .dls-contact h2 {
    color: #fff;
    display: inline-block;
}

.dls-landing .dls-contact h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.dls-contact address {
    font-style: normal;
    margin: 8px 0 28px;
    opacity: 0.85;
}

.dls-contact .dls-actions {
    justify-content: center;
}

.dls-landing .dls-contact a.dls-btn--ghost {
    color: #fff;
    border-color: #fff;
}

.dls-landing .dls-contact a.dls-btn--ghost:hover {
    background: #fff;
    color: var(--dls-dark);
}

@media (max-width: 600px) {
    .dls-hero {
        padding-block: 20px 40px;
        margin-bottom: 40px;
    }

    .dls-landing a.dls-btn {
        width: 100%;
        text-align: center;
    }

    .dls-coverage__all {
        columns: 2;
    }
}
