/* FairfaxLocal.com — clean local guide aesthetic */
:root {
  --navy: #1b2a4a;
  --navy-deep: #121e36;
  --gold: #d9a441;
  --gold-soft: #f5e8cf;
  --cream: #faf7f0;
  --ink: #2b2b2b;
  --muted: #6b7280;
  --line: #e8e2d5;
  --green: #2f7d4f;
  --radius: 12px;
  --max: 1120px;
  --font: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--font);
  font-size: 1.5rem;
  letter-spacing: .5px;
  color: #fff;
  text-decoration: none;
}
.brand span { color: var(--gold); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .93rem;
}
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #2a3d66 100%);
  color: #fff;
  padding: 72px 20px 64px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 12px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.hero .tagline { margin-top: 18px; }
.pill {
  display: inline-block;
  border: 1px solid rgba(217,164,65,.6);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .85rem;
  letter-spacing: .4px;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 48px 20px; }
.section-title {
  font-family: var(--font);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 400;
}
.section-sub { color: var(--muted); margin-bottom: 28px; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(27,42,74,.12); }
.card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card-kicker {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.card h3 { font-family: var(--font); font-weight: 400; font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.card p { color: var(--muted); font-size: .94rem; flex: 1; }
.card-cta { margin-top: 14px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.dog-badge {
  display: inline-block;
  background: #e7f3ea;
  color: var(--green);
  font-size: .74rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 10px;
  align-self: flex-start;
}

/* ---------- article ---------- */
.article-hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 20px 48px;
}
.article-hero .wrap { padding: 0; }
.article-hero h1 { font-family: var(--font); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 12px; line-height: 1.25; }
.article-hero p { color: rgba(255,255,255,.75); max-width: 680px; }
.article-img { width: 100%; height: auto; border-radius: 14px; margin: 0 0 8px; display: block; box-shadow: 0 8px 24px rgba(31,58,95,.12); }
.hero-img { width: 100%; max-width: 860px; height: auto; border-radius: 14px; margin: 32px auto 0; display: block; box-shadow: 0 8px 24px rgba(31,58,95,.15); }
.article-body { max-width: 760px; margin: 0 auto; padding: 44px 20px 64px; }
.article-body h2 { font-family: var(--font); color: var(--navy); font-weight: 400; font-size: 1.45rem; margin: 36px 0 12px; }
.article-body p, .article-body li { color: #3a3a3a; margin-bottom: 12px; }
.article-body ul { padding-left: 22px; }
.listing {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 18px 0;
}
.listing h3 { font-family: var(--font); color: var(--navy); font-weight: 400; font-size: 1.2rem; margin-bottom: 6px; }
.listing .meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.listing p { margin-bottom: 6px; font-size: .95rem; }
.cta-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 40px 0 8px;
}
.cta-box h3 { font-family: var(--font); font-weight: 400; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 16px; }
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
}
.btn:hover { filter: brightness(1.06); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 40px 20px; font-size: .9rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--gold); text-decoration: none; }

/* ---------- misc ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.ad-slot {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
  padding: 18px;
  margin: 32px 0;
  background: #fff;
}
@media (max-width: 640px) {
  .nav { display: none; }
  .wrap { padding: 32px 16px; }
}

/* ---------- fun dog elements ---------- */
:root{
  --paw: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><ellipse cx='50' cy='68' rx='20' ry='16'/><ellipse cx='25' cy='44' rx='7.5' ry='11'/><ellipse cx='41' cy='33' rx='7.5' ry='11'/><ellipse cx='59' cy='33' rx='7.5' ry='11'/><ellipse cx='75' cy='44' rx='7.5' ry='11'/></svg>");
  --paw-faint: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23e8a838' fill-opacity='0.07'><ellipse cx='50' cy='68' rx='20' ry='16'/><ellipse cx='25' cy='44' rx='7.5' ry='11'/><ellipse cx='41' cy='33' rx='7.5' ry='11'/><ellipse cx='59' cy='33' rx='7.5' ry='11'/><ellipse cx='75' cy='44' rx='7.5' ry='11'/></svg>");
}
.paw-ico{display:inline-block;width:1em;height:1em;background:currentColor;-webkit-mask:var(--paw) no-repeat center/contain;mask:var(--paw) no-repeat center/contain;vertical-align:-0.12em;}

/* paw on the logo */
.brand::before{content:"";display:inline-block;width:.95em;height:.95em;margin-right:.35em;background:var(--gold);-webkit-mask:var(--paw) no-repeat center/contain;mask:var(--paw) no-repeat center/contain;vertical-align:-0.08em;}

/* faint paw pattern layered over the navy hero gradient */
.hero{background-image:var(--paw-faint), linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #2a3d66 100%);background-size:130px, cover;}

/* paw-print divider trail between sections */
.paw-divider{display:flex;justify-content:center;align-items:center;gap:18px;margin:46px 0 6px;color:var(--teal);}
.paw-divider .paw-ico{width:26px;height:26px;opacity:.4;}
.paw-divider .paw-ico:nth-child(odd){transform:rotate(-14deg);}
.paw-divider .paw-ico:nth-child(even){transform:rotate(14deg);}
.paw-divider .paw-ico:nth-child(3){color:var(--gold);opacity:.95;}
.paw-divider:hover .paw-ico{animation:paw-bounce .55s ease;}
.paw-divider:hover .paw-ico:nth-child(2){animation-delay:.07s;}
.paw-divider:hover .paw-ico:nth-child(3){animation-delay:.14s;}
.paw-divider:hover .paw-ico:nth-child(4){animation-delay:.21s;}
.paw-divider:hover .paw-ico:nth-child(5){animation-delay:.28s;}
@keyframes paw-bounce{0%,100%{translate:0 0;}40%{translate:0 -9px;}}

/* aquatic paw divider — paw prints along the shoreline */
.paw-divider.aqua{position:relative;color:#3d9dc4;padding-bottom:16px;}
.paw-divider.aqua::after{content:"";position:absolute;left:8%;right:8%;bottom:0;height:12px;opacity:.55;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 6 Q 15 1, 30 6 T 60 6 T 90 6 T 120 6' fill='none' stroke='%233d9dc4' stroke-width='2.5' stroke-linecap='round'/></svg>") repeat-x center/contain;}
.paw-divider.aqua .paw-ico:nth-child(3){color:#1f7a9e;opacity:.95;}
.paw-divider.aqua:hover .paw-ico{animation:paw-bob 1.1s ease-in-out infinite;}
.paw-divider.aqua:hover .paw-ico:nth-child(2){animation-delay:.12s;}
.paw-divider.aqua:hover .paw-ico:nth-child(3){animation-delay:.24s;}
.paw-divider.aqua:hover .paw-ico:nth-child(4){animation-delay:.36s;}
.paw-divider.aqua:hover .paw-ico:nth-child(5){animation-delay:.48s;}
@keyframes paw-bob{0%,100%{translate:0 0;}50%{translate:0 -5px;}}

/* paw bullets in article lists */
.article-body ul{list-style:none;padding-left:0;}
.article-body ul li{position:relative;padding-left:30px;}
.article-body ul li::before{content:"";position:absolute;left:2px;top:5px;width:16px;height:16px;background:var(--teal);opacity:.8;-webkit-mask:var(--paw) no-repeat center/contain;mask:var(--paw) no-repeat center/contain;}

/* paw on the dog-friendly badge */
.dog-badge::before{content:"";display:inline-block;width:1em;height:1em;margin-right:.35em;background:currentColor;-webkit-mask:var(--paw) no-repeat center/contain;mask:var(--paw) no-repeat center/contain;vertical-align:-0.12em;}

/* paw in the footer sign-off */
.site-footer .footer-inner > div:last-child::before{content:"";display:inline-block;width:1em;height:1em;margin-right:.4em;background:var(--gold);-webkit-mask:var(--paw) no-repeat center/contain;mask:var(--paw) no-repeat center/contain;vertical-align:-0.12em;opacity:.9;}

/* ---------- related guides (internal linking) ---------- */
.related-box{background:#f6f3ec;border:1px solid #e4ddcc;border-radius:12px;padding:20px 24px;margin:40px 0 8px;}
.related-box h3{font-family:var(--font);color:var(--navy);font-weight:400;font-size:1.15rem;margin:0 0 8px;}
.related-box p{margin:0;}
.related-box a{color:var(--teal);text-decoration:none;}
.related-box a:hover{text-decoration:underline;}

/* ---------- listing outbound links ---------- */
.listing .site-link{margin-top:6px;}
.listing .site-link a{color:var(--teal);font-size:.92rem;text-decoration:none;}
.listing .site-link a:hover{text-decoration:underline;}
