/* ==========================================================================
   v3-brand Editorial Article Stylesheet (Cocoon Child Theme Ready)
   Pairs seamlessly with v3-brand-base.css.
   - Exact PetFoodPro font stack
   - Zero AI boxes (no conclusion boxes, no pros/cons color boxes, no STEP badges)
   - Crisp typographic hierarchy, clean tables, photo captions, primary-source citations
   ========================================================================== */

.art-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.art-breadcrumb {
  padding: 18px 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.art-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.art-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--border-medium);
}

.art-breadcrumb a:hover {
  color: var(--accent);
}

.art-header {
  padding: 28px 0 28px;
  border-bottom: 1px solid var(--border-hairline);
}

.art-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.art-cat {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.art-h1 {
  margin: 0 0 22px;
  font-size: clamp(1.48rem, 2.7vw, 1.96rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-strong);
}

.art-lead {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 2.05;
  color: var(--ink-body);
}

.art-lead:last-child {
  margin-bottom: 0;
}

.art-lead-list {
  margin: 0 0 24px;
  padding-left: 1.35em;
  font-size: 0.96rem;
  line-height: 1.95;
  color: var(--ink-body);
}

.art-lead-list li {
  margin-bottom: 10px;
}

.art-lead-list li:last-child {
  margin-bottom: 0;
}

/* PetFoodPro-inspired Readability Accents (Markers & Text Color — Zero AI Boxes) */
.hl-marker {
  background: linear-gradient(transparent 58%, #fff099 58%);
  font-weight: 700;
  color: var(--ink-strong);
  padding: 0 2px;
}

.txt-accent {
  color: #c2411f;
  font-weight: 700;
}

.txt-voice {
  font-style: normal;
  color: #b5441c;
  font-weight: 600;
}

.txt-brand {
  color: var(--accent);
  font-weight: 700;
}

.art-eyecatch {
  margin: 28px 0 36px;
}

.art-eyecatch img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.art-eyecatch figcaption,
.art-figure figcaption {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Quiet Editorial Table of Contents (NO colored boxes) */
.art-toc {
  margin: 0 0 42px;
  padding: 22px 24px;
  border-top: 1.5px solid var(--ink-strong);
  border-bottom: 1px solid var(--border-medium);
  background: var(--bg-subtle);
}

.art-toc__title {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-strong);
}

.art-toc ol {
  margin: 0;
  padding-left: 20px;
}

.art-toc li {
  margin-bottom: 7px;
  font-size: 0.88rem;
  line-height: 1.65;
}

.art-toc a {
  color: var(--ink-body);
}

.art-toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Article Body Prose (PetFoodPro Generous Line-Height & Paragraph Rhythm) */
.art-body {
  padding-bottom: 56px;
}

.art-body h2 {
  margin: 64px 0 24px;
  padding: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.52;
  color: var(--ink-strong);
  border-bottom: 2px solid var(--accent);
}

.art-body h3 {
  margin: 38px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink-strong);
}

.art-body p {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 2.05;
  letter-spacing: 0.02em;
  color: var(--ink-body);
}

.art-body strong {
  color: var(--ink-strong);
  font-weight: 700;
}

.art-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.art-body a:hover {
  opacity: 0.78;
}

.art-body ul,
.art-body ol {
  margin: 0 0 30px;
  padding-left: 22px;
}

.art-body li {
  margin-bottom: 14px;
  font-size: 0.97rem;
  line-height: 1.95;
}

.art-figure {
  margin: 26px 0 30px;
}

.art-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

/* Clean Editorial Table */
.art-table-scroll {
  margin: 24px 0 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.art-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.88rem;
  background: var(--bg-card);
}

.art-table-scroll th,
.art-table-scroll td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
  vertical-align: top;
  line-height: 1.68;
}

.art-table-scroll thead th {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  border-top: 1.5px solid var(--ink-strong);
  border-bottom: 1px solid var(--border-medium);
  background: var(--bg-subtle);
}

/* Quiet Editorial Note / Callout (hairline border only — zero heavy AI color blocks) */
.art-note {
  margin: 26px 0 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--bg-subtle);
  font-size: 0.91rem;
  line-height: 1.85;
}

.art-note p:last-child {
  margin-bottom: 0;
}

/* Official Reference / Subtle Editorial Link Row */
.art-official-row {
  margin: 20px 0 28px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.art-official-row__label {
  font-size: 0.88rem;
  color: var(--ink-strong);
  font-weight: 600;
}

.art-official-row__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: none !important;
}

.art-official-row__link:hover {
  background: var(--accent);
  color: #ffffff !important;
  opacity: 1;
}

/* Related Pyramid Navigation & Primary Source Citations */
.art-related,
.art-sources {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-medium);
}

.art-related__title,
.art-sources__title {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.art-related ul,
.art-sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.art-related li,
.art-sources li {
  border-bottom: 1px solid var(--border-hairline);
  padding: 10px 0;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
}

.art-disclosure {
  margin-top: 32px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .art-wrap {
    padding: 0 18px;
  }

  .art-header {
    padding: 20px 0 22px;
  }

  .art-body h2 {
    margin-top: 42px;
    font-size: 1.18rem;
  }

  .art-body h3 {
    font-size: 1.02rem;
  }

  .art-toc {
    padding: 18px 18px;
  }
}
