.directory-landing {
    --landing-surface: #fff;
    --landing-soft: #edf5f1;
    --landing-border: #dce7e1;
    --landing-text: #173c32;
    --landing-muted: #526b61;
    --landing-accent: #216348;
    max-width: 1100px;
    margin: 0 auto;
    /* Clear the fixed site header (about 76px) before the breadcrumb. */
    padding: 108px 20px 120px;
}

.landing-breadcrumb {
    font-size: 13px;
    color: var(--landing-muted);
    margin-bottom: 18px;
}

.landing-breadcrumb a {
    color: var(--landing-accent);
    text-decoration: none;
}

.landing-breadcrumb a:hover {
    text-decoration: underline;
}

.landing-head h1 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    color: var(--landing-text);
}

.landing-summary {
    margin: 0 0 28px;
    color: var(--landing-muted);
    font-size: 16px;
    max-width: 70ch;
}

.landing-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.landing-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
    border: 1px solid var(--landing-border);
    border-radius: 20px;
    overflow: hidden;
    background: var(--landing-surface);
    transition: box-shadow .18s ease, transform .18s ease;
}

.landing-card:hover {
    box-shadow: 0 8px 24px rgba(18, 57, 45, .1);
    transform: translateY(-2px);
}

.landing-card a {
    text-decoration: none;
}

.landing-card h2 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--landing-text);
}

.landing-card p {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--landing-muted);
}

.landing-verified {
    color: #1a7f5a;
    font-weight: 700;
}

.landing-meta {
    color: var(--landing-muted);
    font-size: 13px;
}

.landing-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    font-size: 14px;
}

.landing-pagination a {
    color: var(--landing-accent);
    font-weight: 600;
    text-decoration: none;
}

.landing-empty {
    padding: 26px;
    border: 1px dashed #c8d8d2;
    border-radius: 14px;
    color: var(--landing-muted);
}

@media (max-width: 700px) {
    .directory-landing {
        padding: 96px 16px 110px;
    }

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

@media (prefers-reduced-motion: reduce) {
    .landing-card {
        transition: none;
    }
}

/* Related searches: the internal links that keep these landing pages out of orphan status. */
.landing-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid #dce7e3;
}

.landing-related-group h2 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--landing-accent);
}

.landing-related-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.landing-related-group a {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid #dce7e3;
    border-radius: 999px;
    background: #f2f7f5;
    color: #2b5f55;
    font-size: .88rem;
    text-decoration: none;
}

.landing-related-group a:hover {
    border-color: var(--landing-accent);
}

[data-theme="dark"] .landing-related { border-top-color: #2d4139; }
[data-theme="dark"] .landing-related-group h2 { color: #8fd0b4; }
[data-theme="dark"] .landing-related-group a {
    background: #1e332c;
    border-color: #2d4139;
    color: #bfdccf;
}
[data-theme="dark"] .landing-related-group a:hover { border-color: #8fd0b4; }

/* Card hierarchy and contact action share the page's theme palette. */
.landing-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.landing-card-media { margin: -24px -24px 22px; aspect-ratio: 8 / 5; background: var(--landing-soft); }
.landing-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--landing-accent); background: linear-gradient(135deg, var(--landing-soft), var(--landing-surface)); font-size: 64px; font-weight: 700; }
.landing-card h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.landing-card h2 a { color: inherit; }
.landing-card h2 a:hover { text-decoration: underline; }
.landing-card p { line-height: 1.65; }
.landing-card .landing-description { margin-bottom: 20px; }
.landing-details { margin-top: auto; }
.landing-detail-label { display: block; margin-bottom: 3px; color: var(--landing-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.landing-card .landing-meta { font-size: 13px; }
.landing-verified { color: var(--landing-accent); }
.landing-card-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--landing-border); }
.landing-card .landing-contact { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 12px; box-sizing: border-box; border: 1px solid #187344; border-radius: 10px; background: #187344; color: #fff; font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; }
.landing-card .landing-contact:hover { background: #105732; border-color: #105732; color: #fff; }
.landing-contact svg { width: 20px; height: 20px; flex-shrink: 0; }
.directory-landing a:focus-visible { outline: 3px solid var(--landing-accent); outline-offset: 4px; }
.landing-head { color: var(--landing-muted); margin-bottom: 28px; }
[data-theme="dark"] .directory-landing { --landing-surface: #172d25; --landing-soft: #233e32; --landing-border: #355044; --landing-text: #edf6f0; --landing-muted: #b6cbbf; --landing-accent: #9bdfba; }
