/**
 * 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
 */

/*
 * RBC Buildings: site-only styles (the engine's site.css is not edited per site).
 * The RBC logo is a wide wordmark, so it needs more width than the engine's default shield.
 */
.brand-mark{width:132px;height:auto}
.site-header.is-stuck .brand-mark{width:112px}
@media (max-width:960px){
  .brand-mark{width:108px}
  .site-header.is-stuck .brand-mark{width:96px}
}
@media (max-width:560px){
  .brand-mark{width:96px}
  .site-header.is-stuck .brand-mark{width:88px}
}

/* 404 number: large decorative text still has to reach 3:1 (axe) */
.notfound-code{color:#7a746a}


/* ---- Source marks, photo slots, city pages (ported from the Melton layer) ---- */
/* ==========================================================================
   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; }
.rbc-sources { border-top: 1px solid var(--line); background: var(--paper); }
.rbc-sources-h { font-size: 1.05rem; margin: 0 0 .4rem; }
.rbc-sources-intro { color: var(--muted); font-size: .9rem; margin: 0 0 .6rem; text-indent: 0; }
.rbc-sources-list { margin: 0; padding-left: 1.6rem; font-size: .88rem; color: var(--muted); columns: 2 22rem; column-gap: 2.5rem; }
.rbc-sources-list li { margin: 0 0 .35rem; break-inside: avoid; scroll-margin-top: 120px; }
.rbc-sources-list li:target { background: #fff5d6; border-radius: 4px; }
.rbc-sources-list a { color: var(--ink); overflow-wrap: anywhere; }

/* ---- Photo slots and editorial notes (staff-only until filled) ---- */
.rbc-slot { margin: 0; }
.rbc-slot:empty { display: none; }
.rbc-slot img { width: 100%; height: auto; display: block; border-radius: 16px; object-fit: cover; }
.rbc-slot figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.rbc-note { background: #fff8eb; color: #5c3a00; padding: .8rem 1rem; border-radius: 8px; font-size: .95rem; text-indent: 0; margin-top: 1.4rem; }
.rbc-bio { margin: .6rem 0 0; font-size: .88rem; text-align: left; }
.rbc-person figcaption .rbc-bio { color: var(--ink); }

/* ---- Link cards (About, Team) ---- */
.ab-next-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ab-next-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.4rem; border-radius: 16px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--accent); color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.ab-next-card strong { font-size: 1.15rem; }
.ab-next-card span { color: var(--muted); font-size: .95rem; }
.ab-next-card:hover, .ab-next-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }

/* ---- About ---- */
.ab-story-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .ab-story-grid:has(.rbc-slot:not(:empty)) { grid-template-columns: 1.35fr .75fr; } }
.ab-portrait { position: sticky; top: calc(var(--nav-off) + 1.5rem); }

.ab-tl { list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: 860px; position: relative; }
.ab-tl::before {
  content: ""; position: absolute; top: .4rem; bottom: .4rem; left: 7.2rem; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), .15));
}
.ab-tl-item { display: grid; grid-template-columns: 6.4rem 1fr; gap: 1.6rem; align-items: start; margin: 0 0 1.4rem; position: relative; }
.ab-tl-item::after {
  content: ""; position: absolute; left: calc(7.2rem - 6px); top: .55rem; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--accent); box-shadow: 0 0 0 4px var(--cream);
}
.ab-tl-when { text-align: right; font-weight: 800; font-size: 1.05rem; color: var(--ink); padding-top: .25rem; line-height: 1.25; }
.ab-tl-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06); margin-left: .8rem;
}
.ab-tl-card h3 { font-size: 1.12rem; margin: 0 0 .3rem; }
.ab-tl-card p { margin: 0; text-indent: 0; }
li.ab-tl-pending { display: block; margin-left: 8.8rem; }
li.ab-tl-pending::after { display: none; }
@media (max-width: 599.98px) {
  .ab-tl::before { left: .45rem; }
  .ab-tl-item { grid-template-columns: 1fr; gap: .3rem; padding-left: 1.8rem; }
  .ab-tl-item::after { left: 0; top: .3rem; }
  .ab-tl-when { text-align: left; }
  .ab-tl-card { margin-left: 0; }
  li.ab-tl-pending { margin-left: 1.8rem; }
}

.ab-family-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .ab-family-grid { grid-template-columns: 340px 1fr; } }
.ab-tonja { margin: 0; }
.ab-tonja img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 18px 40px rgba(0, 0, 0, .15); }
.ab-tonja figcaption { text-align: center; font-size: .9rem; color: var(--muted); margin-top: .6rem; }

.ab-trust-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ab-trust-grid li { background: var(--cream); border-radius: 14px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; border-left: 5px solid var(--accent); }
.ab-trust-grid strong { font-size: 1.05rem; }
.ab-trust-grid span { color: var(--ink); font-size: .95rem; }
.ab-photos-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.2rem; }
.ab-photos:not(:has(.rbc-slot:not(:empty))) { display: none; }

/* ---- Service Areas ---- */
.sa-cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.sa-card {
  display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 1rem 1.1rem 1.05rem; border-radius: 14px;
  background: var(--cp-accent); color: #1b1d22; text-decoration: none; border-bottom: 4px solid var(--cp-ink);
  transition: transform .2s, box-shadow .2s;
}
.sa-card strong { font-size: 1.25rem; }
.sa-card-county { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cp-ink); }
.sa-card-drive { font-size: .9rem; color: #33363d; }
.sa-card:hover, .sa-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .12); color: #1b1d22; }
.sa-map:not(:has(.rbc-slot:not(:empty))) { display: none; }
.sa-dir { margin-top: 2rem; columns: 3 250px; column-gap: 2rem; }
.sa-county { break-inside: avoid; margin: 0 0 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; }
.sa-county h3 { font-size: 1.02rem; margin: 0 0 .4rem; }
.sa-county ul { list-style: none; margin: 0; padding: 0; }
.sa-county li { display: flex; justify-content: space-between; gap: .8rem; padding: .22rem 0; border-bottom: 1px dotted var(--line); font-size: .95rem; }
.sa-county li:last-child { border-bottom: 0; }
.sa-county a { font-weight: 700; color: var(--accent-ink); }
.sa-mi { color: var(--muted); white-space: nowrap; font-size: .88rem; }

/* ---- 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(.rbc-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)); }
.cp-photos:not(:has(.rbc-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 .ab-next-card, .rm-respect .sa-card, .rm-respect .cp-help-card { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .rm-respect .ab-next-card:hover, .rm-respect .sa-card:hover, .rm-respect .cp-help-card:hover { transform: none; }
}


/* ---- City page photographs of finished RBC buildings ---- */
.rbc-pic{margin:0}
.rbc-pic img{display:block;width:100%;height:auto;border-radius:14px}
.rbc-pic figcaption{font-size:.88rem;color:var(--muted);padding:.5rem .2rem 0}
.cp-photos-grid .rbc-pic img{aspect-ratio:4/3;object-fit:cover}
