/* The homeowners' site (genericpromos.com) and the advertisers' trial layouts, on top of advertise.css: the same
   white page, charcoal buttons, Outfit headings and plain greys. Brand colours come from /brand.css. */
.site-main { max-width: 1240px; margin: 0 auto; }
.site-hero { padding: 40px 24px 36px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; }
.site-hero-a { display: flex; flex-direction: column; gap: 18px; }
.site-hero h1, .page-head h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.site-hero-b { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.site-hero-b h2, .featured h2, .news h2, .about h2 { font-size: 26px; }
.page-head { padding: 40px 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.kicker { font: 600 18px Outfit, Inter, sans-serif; color: var(--steel, #8FA6BF); }

/* The county map: the advertise page's tiles, shaded by county, each county one link */
.county-map { height: min(620px, 72vh); width: auto; max-width: 100%; }
.cty rect { transition: fill .15s; } .cty { cursor: pointer; }
.cty.c1 rect { fill: #344054; } .cty.c2 rect { fill: #667085; } .cty.c3 rect { fill: #98A2B3; } .cty.c4 rect { fill: #C4CAD4; }
.cty:hover rect, .cty:focus rect { fill: var(--blue, #2F6FB3); }
.cty:focus { outline: none; } .cty:focus-visible .cname { text-decoration: underline; }
.cty .cname { font-size: 20px; fill: #101828; }
.county-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.county-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #D0D5DD; border-radius: 999px; text-decoration: none; font-weight: 600; color: #101828; }
.county-pill:hover { background: #F2F4F7; }
.others { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Business tiles and the filter buttons (static/js/site.js shows the buttons; without it every business shows) */
.featured { padding: 24px 24px 40px; display: flex; flex-direction: column; gap: 16px; }
.featured h2 a { color: inherit; text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 15px Inter, sans-serif; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #D0D5DD; background: #fff; color: #344054; cursor: pointer; }
.chip[aria-pressed="true"] { background: #101828; border-color: #101828; color: #fff; }
.biz-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.biz[hidden] { display: none; }
.biz a { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid #E4E7EC; border-radius: 12px; text-decoration: none; color: #101828; background: #fff; transition: box-shadow .15s, border-color .15s; }
.biz a:hover { border-color: #98A2B3; box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }
.biz-mark { display: flex; align-items: center; justify-content: flex-start; height: 64px; margin-bottom: 4px; }
.biz-mark img { max-height: 64px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.initials { width: 56px; height: 56px; border-radius: 12px; background: var(--navy, #15233F); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 20px Outfit, Inter, sans-serif; }
.biz-name { font: 600 19px Outfit, Inter, sans-serif; }
.biz-trade { font-size: 14px; color: #667085; }
.biz-offer { font-weight: 700; font-size: 17px; margin-top: auto; padding-top: 8px; }
.biz-ends { font-size: 13px; color: #667085; }
.none { font-size: 18px; color: #475467; padding: 28px; border: 1px dashed #D0D5DD; border-radius: 12px; text-align: center; }

/* The newsletter */
.news { margin: 8px 24px 48px; background: var(--fog, #EEF2F6); border-radius: 16px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; }
.news-a { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; } .news-a p { color: #475467; font-size: 17px; }
.news-form { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.news-soon { flex: 1 1 340px; font: 600 20px Outfit, Inter, sans-serif; color: #475467; }
.consent { line-height: 1.4; }

/* One business */
.crumb { padding: 24px 24px 0; } .crumb a { color: #475467; text-decoration: none; font-weight: 500; }
.listing { padding: 16px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.listing-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.listing-head h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; }
.biz-mark.big { height: 120px; margin: 0; } .biz-mark.big img { max-height: 120px; max-width: 220px; }
.biz-mark.big .initials { width: 96px; height: 96px; font-size: 34px; border-radius: 18px; }
.listing-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.deal { border: 2px dashed #98A2B3; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.deal h2 { font-size: 18px; color: #667085; font-family: Inter, sans-serif; font-weight: 600; letter-spacing: .02em; }
.deal h3 { font: 600 18px Outfit, Inter, sans-serif; margin: 12px 0 0; }
.deal-offer { font: 700 clamp(26px, 4vw, 34px) Outfit, Inter, sans-serif; line-height: 1.15; }
.extras { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.reach { display: flex; flex-direction: column; gap: 12px; }

/* Sponsors */
.collage { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.collage a, .collage-item { aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1px solid #E4E7EC; border-radius: 12px; text-decoration: none; color: #101828; background: #fff; text-align: center; }
.collage a:hover { border-color: #98A2B3; }
.collage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.collage-name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.join { margin-top: 8px; }

/* About */
.about { padding: 8px 24px 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; }
.about > div { display: flex; flex-direction: column; gap: 8px; } .about .county-list { justify-content: flex-start; }
.about p { font-size: 17px; color: #344054; }

/* The advertise contact page */
.more { margin-top: 6px; }

@media (max-width: 900px) {
  .site-hero { grid-template-columns: 1fr; padding: 28px 16px; }
  .county-map { height: auto; max-height: 460px; }
  .listing-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-head, .featured, .listing, .about { padding-left: 16px; padding-right: 16px; } .crumb { padding-left: 16px; }
  .news { margin: 8px 16px 40px; padding: 24px 18px; }
  .biz a { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px; }
  .biz-mark { grid-row: 1 / span 4; height: auto; margin: 0; align-items: flex-start; } .biz-mark img { max-width: 56px; }
  .biz a > :not(.biz-mark) { grid-column: 2; } .biz-offer { padding-top: 4px; }
 
}

/* The advertisers' trial layouts (public/mockups.py): a tag so a picture is never mistaken for the live page */
.mock-tag { position: fixed; right: 12px; bottom: 12px; z-index: 5; background: #B42318; color: #fff; font: 700 13px Inter, sans-serif; letter-spacing: .06em; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; }
.mock-tag a { color: #fff; margin-left: 8px; } .mock-tag a.on { text-decoration: none; opacity: .6; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 500; color: #101828; }
.steps li::before { content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%; background: #101828; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 16px Outfit, Inter, sans-serif; }
.steps.row { flex-direction: row; flex-wrap: wrap; gap: 16px 36px; }
.spaces { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.space { border: 1px solid #E4E7EC; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.space img { width: 44px; height: 44px; } .space b { font: 600 19px Outfit, Inter, sans-serif; color: var(--navy, #15233F); } .space p { color: #475467; font-size: 15px; }
.space a { margin-top: auto; font-weight: 600; }
.band { background: var(--navy, #15233F); color: #fff; padding: 36px 24px; }
.band h2 { color: #fff; font-size: 26px; margin-bottom: 14px; } .band .steps li { color: #fff; } .band .steps li::before { background: #fff; color: var(--navy, #15233F); }
.mock-section { padding: 36px 24px; max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.mock-section h2 { font-size: 28px; }
.mock-b-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 40px; align-items: center; padding: 28px 24px 36px; max-width: 1240px; margin: 0 auto; }
.mock-b-top .tilemap { max-height: 78vh; width: auto; max-width: 100%; }
.mock-b-card img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 32px rgba(16, 24, 40, .22); transform: rotate(-2deg); display: block; }
.mock-b-card figcaption { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #667085; text-align: center; }
.mock-b-text { display: flex; flex-direction: column; gap: 16px; } .mock-b-text h1 { font-size: clamp(44px, 6vw, 72px); line-height: .98; letter-spacing: -.025em; }
.mock-c-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding: 28px 24px 0; max-width: 1240px; margin: 0 auto; align-items: start; }
.mock-c-top .tilemap { max-height: 82vh; width: auto; max-width: 100%; }
.mock-c-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.mock-c-side h1 { font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.025em; }
.mock-c-side .claim-form { max-width: none; }
.mock-c-counties { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) {
  .mock-b-top, .mock-c-top { grid-template-columns: 1fr; padding: 20px 16px; }
  .mock-c-side { position: static; } .mock-b-top .tilemap, .mock-c-top .tilemap { max-height: 60vh; }
  .mock-b-text { order: -1; } .mock-c-side { order: -1; }
  .mock-section, .band { padding: 28px 16px; }
}

/* The soft-launch landing page */
.landing { max-width: 760px; margin: 0 auto; padding: 72px 24px 88px; display: flex; flex-direction: column; gap: 14px; }
.landing h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.landing .lede { font-size: clamp(19px, 2.4vw, 24px); color: #344054; }
.landing .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
@media (max-width: 640px) { .landing { padding: 40px 16px 56px; } }
