
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
:root {
  --navy: #0c2d48;
  --navy-deep: #061a2b;
  --teal: #1a8a7d;
  --teal-light: #e8f6f4;
  --sand: #f6f4f0;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(12,45,72,.08);
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.7;
  font-size: 17px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

.site-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.logo { font-weight: 700; font-size: 1.2rem; color: var(--white); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: #5eead4; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nav-links a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links a.nav-active { color: #5eead4; font-weight: 700; }
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  padding: .65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .15s, background .15s;
}
.btn:hover { background: #157a6e; transform: translateY(-1px); }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #134e6f 50%, var(--teal) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.hero p { font-size: 1.05rem; opacity: .92; max-width: 36rem; }
.hero-meta { margin-top: 1.25rem; font-size: .85rem; opacity: .75; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
}
.card-img-link { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-deep); }
.card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.card:hover .card-img-link img { transform: scale(1.04); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,45,72,.12);
}
.card-body { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.card h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: .5rem;
}
.card h2 a { color: var(--navy); text-decoration: none; }
.card h2 a:hover { color: var(--teal); }
.card-meta { font-size: .8rem; color: var(--muted); margin-bottom: .35rem; }
.card-excerpt { font-size: .92rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.card-date { font-size: .8rem; color: var(--muted); }
.card-link {
  font-weight: 600;
  font-size: .88rem;
  color: var(--teal);
  text-decoration: none;
}

.article-wrap { padding: 0 0 4rem; }
.article-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
}
.article-header .cat { color: var(--teal); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.article-header h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  color: var(--navy);
  line-height: 1.25;
  margin: .5rem 0;
}
.article-header .date { color: var(--muted); font-size: .9rem; }
.article-author {
  color: var(--muted);
  font-size: .95rem;
  margin-top: .35rem;
}
.article-author strong { color: var(--navy); }

.article-hero {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-hero img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.card-img-wrap {
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.04); }

.prose {
  background: var(--white);
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.prose h2 { font-family: 'Libre Baskerville', Georgia, serif; color: var(--navy); font-size: 1.35rem; margin: 2rem 0 .75rem; }
.prose h3 { color: var(--navy); font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 1rem 0 1.25rem 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: #157a6e; }

.ad-slot {
  min-height: 90px;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
}
.ad-slot.hidden { display: none; }

.related-posts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.related-posts h3 { font-size: 1rem; color: var(--navy); margin-bottom: .75rem; }
.related-posts ul { list-style: none; margin: 0; padding: 0; }
.related-posts li { margin-bottom: .5rem; }
.related-posts a { font-weight: 500; }

.affiliate-note {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--sand);
  border-radius: 8px;
}

.cta-bar {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--teal-light), #fff);
  border: 1px solid #b8e0db;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  text-align: center;
}
.cta-bar h3 { font-family: 'Libre Baskerville', Georgia, serif; color: var(--navy); margin-bottom: .5rem; }
.cta-bar p { color: var(--muted); margin-bottom: 1rem; font-size: .95rem; }
.cta-bar .phone { font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.cta-bar .phone a { color: var(--navy); text-decoration: none; }

.footer-logo {
  height: 88px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 1rem;
}
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  padding: 2.5rem 0;
  margin-top: 2rem;
  font-size: .9rem;
}
.site-footer a { color: #5eead4; text-decoration: none; }

.article-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: #fff;
  padding: 2.5rem 0 2rem;
  margin-bottom: 0;
}
.article-header .cat {
  display: inline-block;
  background: rgba(94, 234, 212, .2);
  color: #99f6e4;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.article-header h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article-header .date { opacity: .75; font-size: .9rem; }
.article-hero { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-hero img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; }

.product-showcase {
  margin: 0 0 2.5rem;
  padding: 1.75rem;
  background: linear-gradient(180deg, #fff 0%, var(--teal-light) 100%);
  border-radius: var(--radius);
  border: 1px solid #c5ebe6;
}
.product-showcase-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: .5rem;
  text-align: center;
}
.product-showcase-sub {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.product-grid--featured { margin-top: 0; }
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(12,45,72,.06);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12,45,72,.12);
}
.product-card-img {
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #232f3e 0%, #37475a 100%);
}
.product-card-placeholder-label {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #ff9900;
}
.product-card-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.product-card-title a { color: inherit; text-decoration: none; }
.product-card-title a:hover { color: var(--teal); }
.product-card-note { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }
.product-card-btn {
  display: inline-block;
  text-align: center;
  background: #ff9900;
  color: #111 !important;
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  text-decoration: none !important;
}
.product-card-btn:hover { background: #e88b00; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
}
.prose th, .prose td {
  border: 1px solid var(--border);
  padding: .65rem .75rem;
  text-align: left;
}
.prose th { background: var(--teal-light); color: var(--navy); font-weight: 600; }
.prose blockquote {
  border-left: 4px solid var(--teal);
  margin: 1.5rem 0;
  padding: .75rem 1.25rem;
  background: var(--teal-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .logo-img { height: 58px; max-width: 180px; }
  .prose { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
