/**
 * PROPRIETARY SOFTWARE NOTICE
 *
 * Copyright (c) Pro Star CMS Development. All rights reserved.
 *
 * This website, its source code, database structure, administrative system,
 * content management system, visual editor, assistant, and all related
 * components, documentation, and methods (the "Software") were designed and
 * developed by Pro Star CMS Development and are its exclusive proprietary and
 * confidential property. The Software is protected by United States copyright
 * law, trade secret law, and other applicable intellectual property laws.
 *
 * No license or other right is granted by access to, possession of, or display
 * of this source code, whether express or implied, by estoppel or otherwise.
 * Except as permitted in a written agreement signed by Pro Star CMS Development,
 * no person may copy, modify, adapt, translate, distribute, publish, sublicense,
 * disclose, decompile, reverse engineer, extract, reuse, or reproduce any portion
 * of the Software, or create derivative works from it, in whole or in part.
 *
 * Review of this code is limited to personnel authorized in writing, and only as
 * necessary to perform approved hosting, maintenance, security, or support
 * services. Any unauthorized use or disclosure may result in civil liability and
 * criminal prosecution to the fullest extent permitted by law.
 *
 * This notice must not be removed, altered, or obscured.
 *
 * For questions, requests for authorization, or technical information, contact
 * Chad Sanders directly:
 *
 * Pro Star Web Design
 * Chad Sanders
 * Phone: 256-550-1988
 */

/* Service area directory and town pages (07 #36, #127, #160). Ported from the
   starter kit site.css on 12/04/2026 and linked only by templates/pages/
   service-area.php and city.php, so site.css stays untouched. */

   Pages added 2026-09-26: About, Service Areas, city pages
   ========================================================================== */

/* ---- Source marks and source lists ---- */
.src-ref { font-size: .68em; line-height: 0; margin-left: .15em; white-space: nowrap; font-weight: 600; }
.src-ref a { color: var(--muted); text-decoration: none; padding: 0 .08em; }
.src-ref a:hover, .src-ref a:focus-visible { color: var(--accent-ink); text-decoration: underline; }
.ps-sources { border-top: 1px solid var(--line); background: var(--paper); }
.ps-sources-h { font-size: 1.05rem; margin: 0 0 .4rem; }
.ps-sources-intro { color: var(--muted); font-size: .9rem; margin: 0 0 .6rem; text-indent: 0; }
.ps-sources-list { margin: 0; padding-left: 1.6rem; font-size: .88rem; color: var(--muted); columns: 2 22rem; column-gap: 2.5rem; }
.ps-sources-list li { margin: 0 0 .35rem; break-inside: avoid; scroll-margin-top: 120px; }
.ps-sources-list li:target { background: #fff5d6; border-radius: 4px; }
.ps-sources-list a { color: var(--ink); overflow-wrap: anywhere; }

/* ---- Photo slots and editorial notes (staff-only until filled) ---- */
/* ---- City pages: each town has its own pastel accent (--cp-accent) and ink (--cp-ink) ---- */
.cp-hero { background: var(--cp-accent); color: #1b1d22; padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.cp-hero::after {
  content: ""; position: absolute; right: -8rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); pointer-events: none;
}
.cp-hero-inner { position: relative; z-index: 1; }
.cp-hero-inner > * { max-width: 900px; }
.cp-hero h1 { color: #1b1d22; font-size: clamp(1.8rem, 4.4vw, 2.9rem); line-height: 1.12; margin: .3rem 0 .8rem; }
.cp-hero .lede { color: #2a2d33; font-size: 1.15rem; max-width: 46rem; }
.cp-eyebrow { display: inline-block; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--cp-ink); margin: 0; }
.cp-office-note { font-size: .9rem; color: #33363d; margin: 1rem 0 0; text-indent: 0; }
.cp-btn-ghost { background: #fff; color: #1b1d22; border: 2px solid var(--cp-ink); }
.cp-btn-ghost:hover, .cp-btn-ghost:focus-visible { background: var(--cp-ink); color: #fff; }
.cp .cp-h { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1rem; }
.cp .cp-h::after, .cp .prose h2::after { content: ""; display: block; width: 3.2rem; height: 4px; border-radius: 4px; background: var(--cp-ink); margin-top: .45rem; }

.cp-opening-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .cp-opening--photo .cp-opening-grid:has(.ps-slot:not(:empty)) { grid-template-columns: 1.3fr .9fr; } }

.cp-route-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .cp-route-grid { grid-template-columns: 1.4fr .8fr; } }
.cp-drive {
  background: var(--cp-accent); border-radius: 18px; padding: 1.4rem 1.5rem; color: #1b1d22;
  border-top: 6px solid var(--cp-ink); box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
}
.cp-drive p { text-indent: 0; margin: 0 0 .7rem; }
.cp-drive-kicker { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; color: var(--cp-ink); }
.cp-drive-big { font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.cp-drive-phones a { font-weight: 800; font-size: 1.15rem; color: #1b1d22; }
.cp-drive-phones span { display: block; font-size: .92rem; }
.cp-drive-phones span a { font-size: .95rem; }
.cp-drive-note { font-size: .9rem; margin: 0; }
.cp-drive .src-ref a { color: #3a3d44; }

.cp-facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cp-facts--strip .cp-facts-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cp-facts--strip li { border-left: 5px solid var(--cp-ink); background: var(--paper); padding: .8rem 1rem; border-radius: 0 10px 10px 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .05); }
.cp-facts--cards .cp-facts-list { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cp-facts--cards li { background: var(--cp-accent); border-radius: 16px; padding: 1.2rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start; color: #1b1d22; }
.cp-num { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--cp-ink); border: 2px solid var(--cp-ink); }
.cp-facts-list p { margin: 0; text-indent: 0; }
.cp-facts--cards .src-ref a { color: #3a3d44; }

.cp-qa-note { color: var(--muted); font-size: .9rem; margin: -.4rem 0 1.2rem; text-indent: 0; }
.cp-qa-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cp-q { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--cp-ink); border-radius: 14px; padding: 1.2rem 1.3rem; }
.cp-q h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
.cp-q p { text-indent: 0; margin: 0 0 .6rem; }
.cp-qa-details { display: grid; gap: .7rem; max-width: 900px; }
.cp-qa-details details { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--cp-ink); border-radius: 10px; }
.cp-qa-details summary { cursor: pointer; padding: .95rem 1.1rem; font-weight: 700; font-size: 1.04rem; list-style-position: inside; }
.cp-qa-details summary:focus-visible { outline: 3px solid var(--cp-ink); outline-offset: 2px; }
.cp-qa-a { padding: 0 1.1rem 1rem; }
.cp-qa-a p { text-indent: 0; margin: 0 0 .5rem; }
.cp-more { font-weight: 700; color: var(--accent-ink); }

.cp-help { background: var(--cream); }
.cp-help-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cp-help-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.15rem 1.25rem; border-radius: 14px; text-decoration: none;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-bottom: 4px solid var(--cp-ink);
  transition: transform .2s, box-shadow .2s;
}
.cp-help-card strong { font-size: 1.08rem; }
.cp-help-card span { color: var(--muted); font-size: .95rem; }
.cp-help-card:hover, .cp-help-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .1); color: var(--ink); }
.cp-photos-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* MCC: the kit hid this section unless it held a .ps-slot, which also hid real
   photographs (.ps-pic). Hide it only when it holds neither. */
.cp-photos:not(:has(.ps-pic, .ps-slot:not(:empty))) { display: none; }

.cp-cta { background: var(--cp-accent); }
.cp-cta-inner { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.cp-cta h2 { margin: 0 0 .3rem; color: #1b1d22; }
.cp-cta p { margin: 0; text-indent: 0; color: #2a2d33; }

.rm-respect .cp-help-card { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .rm-respect .cp-help-card:hover { transform: none; }
}



/* ---- City page photographs of the business's own finished work ---- */
.ps-pic{margin:0}
.ps-pic img{display:block;width:100%;height:auto;border-radius:14px}
.ps-pic figcaption{font-size:.88rem;color:var(--muted);padding:.5rem .2rem 0}
.cp-photos-grid .ps-pic img{aspect-ratio:4/3;object-fit:cover}

/* Service-area directory: every town in the radius, grouped by county.
   Columns rather than one long list, because sixty towns in a single column
   push the rest of the page off the screen. Used by service-area.php. */
.county-cols{display:grid;gap:2rem 2.5rem;margin-top:2.5rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr))}
.county-col h3{margin:0 0 .6rem;font-size:1.05rem;letter-spacing:.01em;padding-bottom:.45rem;border-bottom:2px solid var(--accent)}
.county-towns{list-style:none;margin:0;padding:0}
.county-towns li{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;padding:.4rem 0;border-bottom:1px solid var(--line)}
.county-towns li:last-child{border-bottom:0}
.county-towns a{text-decoration:none;font-weight:600}
.county-towns a:hover,.county-towns a:focus-visible{text-decoration:underline}
.county-towns b{font-weight:500;font-size:.86rem;color:var(--muted);white-space:nowrap}
/* Measured drive on a town card, above the summary. */
.card-meta{margin:.15rem 0 .5rem;font-size:.86rem;color:var(--muted)}

/* MCC additions: county panels carry a pin, a town count and fixed dark ink (07 #127). */
.county-col{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:1rem 1.1rem 1.1rem;color:var(--ink)}
.county-col h3{display:flex;align-items:center;gap:.45rem;color:var(--ink)}
.county-col h3 svg{width:18px;height:18px;flex:none;fill:var(--accent-ink)}
.county-col h3 .county-n{margin-left:auto;font-size:.78rem;font-weight:600;color:var(--muted);white-space:nowrap}
.county-towns a{color:var(--ink);display:inline-flex;align-items:center;gap:.3rem}
.county-towns a svg{width:12px;height:12px;fill:var(--accent-ink)}
.county-towns .county-base{font-size:.8rem;color:var(--muted);font-weight:500}
.cp-drive-note{text-indent:0}
