/* V32 visual refresh: match Doc's magazine-ad palette and typography. */
:root {
  --ink: #08294a;
  --muted: #52667b;
  --line: rgba(8, 41, 74, .13);
  --bg: #f5f9fc;
  --accent: #d71920;
  --accentDark: #a70e16;
  --warn: #d71920;
  --soft: #eef6fb;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(8, 41, 74, .075);
  --max: 1200px;
}
html, body { background: var(--bg); color: var(--ink); }
body { font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.container { max-width: var(--max); padding-left: 22px; padding-right: 22px; }
header { background: rgba(255,255,255,.97); border-bottom: 3px solid var(--accent); box-shadow: 0 4px 18px rgba(8,41,74,.06); }
.nav { min-height: 82px; padding: 10px 0; gap: 8px 16px; }
.brand { flex: 0 0 auto; gap: 12px; }
.brand img { width: 58px; }
.brandTitle b { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 22px; letter-spacing: -.35px; }
.brandTitle span { color: var(--muted); font-size: 11px; letter-spacing: .02em; }
nav { gap: 2px; }
nav a { color: var(--ink); font-size: 12px; font-weight: 700; padding: 7px 8px; border-radius: 7px; }
nav a:hover { background: #eff6fb; border-color: transparent; color: var(--accentDark); }
.ctaRow { gap: 7px; }
.btn { border-radius: 8px; padding: 10px 14px; font-size: 14px; box-shadow: 0 2px 7px rgba(8,41,74,.05); }
.btn:hover { box-shadow: 0 5px 14px rgba(8,41,74,.12); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accentDark); border-color: var(--accentDark); }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: #fff; border-color: rgba(8,41,74,.18); }
.menuBtn { border-radius: 8px; border-color: var(--line); }
.hero { padding-top: 30px; }
.heroBox { border: 1px solid rgba(8,41,74,.14); border-radius: 16px; box-shadow: 0 18px 44px rgba(8,41,74,.13); }
.heroImage { min-height: 285px; background-image: linear-gradient(90deg,rgba(5,31,57,.74),rgba(5,31,57,.24)),url('pool.jpg'); background-position: center 56%; }
.heroTag { margin: 22px; padding: 9px 15px; border-radius: 6px; background: var(--ink); border-left: 4px solid var(--accent); font-size: 13px; letter-spacing: .02em; }
.heroContent { padding: 30px 32px; gap: 28px; }
h1, .article h1 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.heroContent h1 { max-width: 18ch; margin-bottom: 15px; font-size: clamp(38px, 4.5vw, 56px); }
.heroContent h1:after { content: ""; display: block; width: 86px; height: 4px; margin-top: 17px; background: var(--accent); border-radius: 3px; }
.lead { color: #405870; font-size: 17px; line-height: 1.65; }
.quickCard { border: 1px solid rgba(8,41,74,.12); border-top: 4px solid #55b8e8; border-radius: 10px; background: #f4faff; padding: 20px; }
.quickCard h2 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.quickList li { border-color: rgba(8,41,74,.1); font-size: 14px; }
section { padding: 30px 0; }
.sectionTitle { margin-bottom: 17px; }
.sectionTitle h1, .sectionTitle h2, h2, h3 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.sectionTitle h1, .sectionTitle h2 { font-size: 29px; line-height: 1.18; }
.sectionTitle h2:after { content: ""; display: block; width: 42px; height: 3px; margin-top: 10px; background: var(--accent); }
.sectionTitle p { color: var(--muted); line-height: 1.6; }
.grid3, .grid2, .blogGrid { gap: 18px; }
.card { border: 1px solid rgba(8,41,74,.12); border-radius: 11px; box-shadow: 0 5px 18px rgba(8,41,74,.055); padding: 20px; transition: transform .16s ease, box-shadow .16s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(8,41,74,.10); }
.card h2, .card h3 { font-size: 20px; line-height: 1.25; }
.card p, .smallList { color: #4c6278; line-height: 1.65; }
.highlight { border: 1px solid rgba(8,41,74,.12); border-top: 4px solid var(--accent); background: linear-gradient(150deg,#fff,#f6fbff); }
.notice { border-color: rgba(215,25,32,.2); border-left: 4px solid var(--accent); border-radius: 8px; background: #fff7f7; }
.tableWrap { border-color: rgba(8,41,74,.14); border-radius: 10px; box-shadow: 0 5px 18px rgba(8,41,74,.06); }
table { font-size: 14px; }
th { background: var(--ink); color: #fff; font-size: 13px; }
th, td { padding: 14px; }
tr:nth-child(even) td { background: #f7fbfe; }
.price { color: var(--accentDark); }
.ctaBand { border-radius: 12px; border-left: 5px solid var(--accent); background: linear-gradient(115deg,#062746,#0a3c68); box-shadow: 0 12px 30px rgba(8,41,74,.15); }
.ctaBand h2 { color: #fff; }
.reviewCard::before { background: var(--accent); }
.blogCard .tag { color: var(--accentDark); background: rgba(215,25,32,.07); border-color: rgba(215,25,32,.18); }
.article .callout { border-color: rgba(215,25,32,.22); border-left: 4px solid var(--accent); border-radius: 9px; background: #fff8f8; }
.breadcrumb a, .links a { color: var(--accentDark); }
footer { margin-top: 22px; border-top: 4px solid var(--accent); padding: 30px 0 36px; background: #062746; color: rgba(255,255,255,.78); }
footer b, footer strong { color: #fff !important; }
footer .fine, footer .links a { color: rgba(255,255,255,.76); }
footer .links a:hover { color: #fff; }
footer .footerGrid { gap: 26px; }
.skip:focus { background: var(--accent); }
@media (max-width: 920px) {
  .container { padding-left: 18px; padding-right: 18px; }
  header { border-bottom-width: 2px; }
  .nav { min-height: 70px; }
  .brand img { width: 46px; }
  .brandTitle b { font-size: 20px; }
  .ctaRow { width: 100%; }
  .hero { padding-top: 18px; }
  .heroImage { min-height: 220px; }
  .heroContent { padding: 24px; gap: 20px; }
  .heroContent h1 { font-size: 40px; }
  .sectionTitle h1, .sectionTitle h2 { font-size: 26px; }
  .grid3, .grid2, .blogGrid { gap: 14px; }
}
@media (max-width: 520px) {
  .container { padding-left: 15px; padding-right: 15px; }
  .heroImage { min-height: 170px; }
  .heroTag { margin: 13px; font-size: 11px; }
  .heroContent { padding: 20px 17px; }
  .heroContent h1 { font-size: 34px; }
  .lead { font-size: 15px; }
  section { padding: 24px 0; }
  .card { padding: 17px; }
  .sectionTitle h1, .sectionTitle h2 { font-size: 24px; }
  th, td { padding: 10px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Homepage: let the ad's pool-and-golf photography lead the page. */
.heroBox { position: relative; min-height: 430px; }
.heroImage {
  min-height: 430px;
  position: relative;
  background-image: linear-gradient(90deg, rgba(4,31,56,.82) 0%, rgba(4,31,56,.66) 43%, rgba(4,31,56,.12) 100%), url('pool-hero.webp');
  background-position: center;
}
.heroTag {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.75);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}
.heroContent {
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  padding: 72px 34px 30px;
}
.heroContent h1 { color: #fff; }
.heroContent .lead, .heroContent .fine { color: rgba(255,255,255,.94); }
.heroContent .quickCard { background: rgba(255,255,255,.96); box-shadow: 0 12px 32px rgba(4,31,56,.18); }
.heroContent .quickCard h2 { color: var(--ink); }
.heroContent .quickList li { color: #405870; }
@media (max-width: 920px) {
  .heroBox { min-height: 0; }
  .heroImage { min-height: 260px; background-position: 58% center; }
  .heroContent { position: relative; inset: auto; background: #062746; padding: 25px; }
}
@media (max-width: 520px) {
  .heroImage { min-height: 205px; background-position: 56% center; }
  .heroTag { top: 12px; left: 12px; }
  .heroContent { padding: 21px 17px; }
}


/* V34 homepage hero: keep the pool photo clear and place all content below it. */
.hero#top .heroBox { position: relative; min-height: 0; overflow: hidden; }
.hero#top .heroImage {
  min-height: 270px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(180deg, rgba(4,31,56,.02) 42%, rgba(4,31,56,.34) 100%), url('pool-hero.webp');
  background-position: center 56%;
  background-size: cover;
}
.hero#top .heroTag {
  position: static;
  z-index: auto;
  margin: 18px;
  color: #fff;
  background: rgba(4,31,56,.88);
  border: 1px solid rgba(255,255,255,.42);
  border-left: 4px solid #d1a94f;
  border-radius: 7px;
}
.hero#top .heroContent {
  position: relative;
  inset: auto;
  z-index: auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 26px;
  padding: 30px 34px;
  background: #fff;
}
.hero#top .heroContent h1 { color: var(--ink); }
.hero#top .heroContent .lead,
.hero#top .heroContent .fine { color: var(--muted); }
.hero#top .heroContent .quickCard {
  position: relative;
  background: #f5f9fc;
  border: 1px solid rgba(8,41,74,.14);
  border-top: 4px solid #d1a94f;
  box-shadow: 0 8px 22px rgba(8,41,74,.08);
}
.hero#top .heroContent .quickCard h2 { color: var(--ink); }
.hero#top .heroContent .quickList li { color: #405870; }
@media (max-width: 920px) {
  .hero#top .heroImage { min-height: 230px; background-position: 58% center; }
  .hero#top .heroContent { position: relative; inset: auto; grid-template-columns: 1fr; padding: 25px; gap: 20px; }
}
@media (max-width: 520px) {
  .hero#top .heroImage { min-height: 190px; background-position: 56% center; }
  .hero#top .heroTag { margin: 12px; font-size: 11px; }
  .hero#top .heroContent { padding: 21px 17px; }
}
