/* ============================================================
   FL Pets — Shared Article Stylesheet
   Matches design tokens from main site (index.html)
   ============================================================ */

:root {
  --amber:      #e8961e;
  --amber-dark: #c47d12;
  --forest:     #2c5f2e;
  --forest-dark:#1e4220;
  --ink:        #1a1a17;
  --muted:      #6b6560;
  --sand:       #f7f4ef;
  --warm-white: #ffffff;
  --rule:       #e4dfd8;
  --nav-h:      68px;
  --max-prose:  720px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--amber-dark); }

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700&display=swap');

/* ── Site Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: var(--forest);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.site-nav .brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-white);
  text-decoration: none;
  letter-spacing: .02em;
}

.site-nav .brand span { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}

.nav-links a:hover { color: var(--amber); }

/* ── Article Hero ── */
.article-hero {
  margin-top: var(--nav-h);
  background: var(--forest);
  color: var(--warm-white);
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.article-hero .category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto .75rem;
}

.article-hero .byline {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
}

/* ── Article Hero Image ── */
.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* ── Main Article Body ── */
.article-body {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* Drop cap on first paragraph */
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  float: left;
  margin: .05em .15em 0 0;
  color: var(--forest);
}

.article-body p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  margin: 2.5rem 0 .75rem;
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 .5rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: .5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-body blockquote {
  border-left: 4px solid var(--amber);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--sand);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--forest-dark);
  line-height: 1.65;
}

.article-body hr {
  border: none;
  border-top: 2px solid var(--rule);
  margin: 2.5rem 0;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest);
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  margin: 2.5rem 0;
  line-height: 1.5;
}

/* Callout box */
.callout {
  background: var(--sand);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.callout strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: .5rem;
}

/* Sources / footnotes */
.sources {
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--rule);
}

.sources h3 {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .75rem;
}

.sources ol {
  margin: 0 0 0 1.25rem;
}

.sources li {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: .5rem;
}

.sources a {
  color: var(--forest);
}

/* ── Article Footer / Back Link ── */
.article-footer {
  background: var(--sand);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 2px solid var(--rule);
}

.article-footer p {
  font-size: .9375rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--warm-white);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--warm-white);
}

.btn-outline-forest {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline-forest:hover {
  background: var(--forest);
  color: var(--warm-white);
}

/* ── Site Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 2rem;
  font-size: .8125rem;
}

.site-footer a { color: var(--amber); text-decoration: none; }
.site-footer a:hover { color: var(--amber-dark); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .article-hero { padding: 2.5rem 1.25rem 2rem; }
  .article-body { padding: 2rem 1.25rem 3rem; }
  .article-body > p:first-of-type::first-letter { font-size: 2.5rem; }
  .pull-quote { font-size: 1.05rem; padding: 1.25rem 1rem; }
}
