/* local.css — the "<category> in <city>" landing pages. Layered on provider.css,
   which already supplies the palette, header, footer and button styles. */

.lp { max-width: 1120px; margin: 0 auto; padding: 18px 16px 64px; }

.crumbs { font-size: 13px; color: var(--mut, #64748b); margin: 6px 0 18px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; opacity: .5; }

.lp-head h1 { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; margin: 0 0 10px; }
.lp-head .lede { font-size: 16px; line-height: 1.65; margin: 0 0 14px; max-width: 78ch; }
.lp-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.lp-stats .stat {
    background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0);
    border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
}
.lp-stats .stat b { color: var(--accent, #2563eb); }

.lp section { margin-bottom: 34px; }
.lp h2 { font-size: clamp(19px, 2.6vw, 23px); margin: 0 0 14px; }

/* Provider list — the page's primary content. */
.plist { display: grid; gap: 12px; }
.pcard {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0);
    border-radius: 14px; padding: 14px 16px; text-decoration: none; color: inherit;
    transition: box-shadow .15s ease, transform .15s ease;
}
.pcard:hover { box-shadow: 0 6px 20px rgba(15, 23, 42, .08); transform: translateY(-1px); }
.pcard .pnum {
    flex: 0 0 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
    background: var(--accent, #2563eb); color: #fff; font-weight: 800; font-size: 13px;
}
.pcard .pbody { flex: 1; min-width: 0; }
.pcard h3 { margin: 0 0 4px; font-size: 16px; }
.pcard .pmeta { font-size: 13px; color: var(--mut, #64748b); display: flex; flex-wrap: wrap; gap: 10px; }
.pcard .pmeta .star { color: #f59e0b; font-weight: 700; }
.pcard .ptag { font-size: 13px; margin: 5px 0 0; }
.pcard .pv { font-size: 11px; font-weight: 800; color: #059669; letter-spacing: .3px; }

/* Item grid with prices — the comparison surface. */
.igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.icard {
    background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0);
    border-radius: 12px; padding: 12px; text-decoration: none; color: inherit;
}
.icard:hover { border-color: var(--accent, #2563eb); }
.icard .it { font-weight: 600; font-size: 14px; line-height: 1.35; margin: 0 0 6px; }
.icard .ip { font-weight: 800; color: var(--accent, #2563eb); font-size: 15px; }
.icard .iu { font-size: 12px; color: var(--mut, #64748b); font-weight: 500; }

/* Prose block. Deliberately readable width — this is real copy, not filler. */
.lp-write { max-width: 78ch; }
.lp-write p { line-height: 1.7; margin: 0 0 12px; }
.lp-write h3 { font-size: 16px; margin: 18px 0 8px; }

/* FAQ — matches the FAQPage schema emitted alongside it. */
.faq details {
    border: 1px solid var(--line, #e2e8f0); border-radius: 12px;
    padding: 12px 16px; margin-bottom: 8px; background: var(--card, #fff);
}
.faq summary { font-weight: 650; cursor: pointer; font-size: 15px; }
.faq p { margin: 10px 0 0; line-height: 1.65; color: var(--mut, #475569); }

/* Internal-link clusters. These give the category hubs their crawl depth. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
    background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0);
    border-radius: 999px; padding: 7px 14px; font-size: 13px;
    text-decoration: none; color: inherit;
}
.chips a:hover { border-color: var(--accent, #2563eb); color: var(--accent, #2563eb); }

.lp-cta {
    background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0);
    border-radius: 16px; padding: 24px; text-align: center;
}
.lp-cta h2 { margin-bottom: 8px; }
.lp-cta .btn { margin-top: 14px; }

@media (max-width: 560px) {
    .pcard { padding: 12px; gap: 10px; }
    .igrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
