/* ============================================
   Dog Calorie Tool — Global Styles (v2.0)
   Prefix: dct-
   Theme: Paw & Whisk — Playful Pet Nutrition
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Varela+Round&family=Overpass+Mono:wght@400;600&display=swap');

/* ---- CSS Variables (Animal Theme) ---- */
:root {
  --paw:   #E65100;
  --tail:  #FF9800;
  --fur:   #FFF8E1;
  --bark:  #BF360C;
  --whisk: #8BC34A;
  --paw-dark: #BF360C;
  --fur-alt: #F5E6C8;
  --surface: #FFFFFF;
  --text-light: #8D6E63;
  --border: #E0C097;
  --shadow: 0 6px 16px rgba(0,0,0,0.1);
  --shadow-hover: 0 10px 28px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
  --max-width: 1200px;
  --font-heading: 'Fredoka One', cursive;
  --font-body: 'Varela Round', sans-serif;
  --font-mono: 'Overpass Mono', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.dct-body {
  font-family: var(--font-body);
  color: var(--bark);
  background: var(--fur);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--paw); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--paw-dark); text-decoration: underline; }

/* ---- Container ---- */
.dct-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
.dct-h1 { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 400; line-height: 1.2; margin-bottom: 1rem; color: var(--bark); }
.dct-h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 400; line-height: 1.3; margin-bottom: 0.8rem; color: var(--bark); }
.dct-h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 400; line-height: 1.4; margin-bottom: 0.6rem; color: var(--bark); }
.dct-h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--bark); }
.dct-lead { font-size: 1.2rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; }
.dct-text { font-size: 1rem; color: var(--bark); line-height: 1.7; margin-bottom: 1rem; }
.dct-text-small { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* ---- Navigation ---- */
.dct-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,248,225,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.dct-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.dct-nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--paw);
  text-decoration: none;
}
.dct-nav-brand:hover { text-decoration: none; color: var(--paw-dark); }
.dct-nav-links { display: flex; gap: 32px; list-style: none; }
.dct-nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bark);
  text-decoration: none;
  position: relative;
  font-family: var(--font-body);
}
.dct-nav-links a:hover { color: var(--paw); text-decoration: none; }
.dct-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--paw);
  transition: var(--transition);
}
.dct-nav-links a:hover::after { width: 100%; }
.dct-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--bark); }

/* ---- Hero ---- */
.dct-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--fur) 0%, var(--fur-alt) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dct-hero::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M30,35 Q20,20 35,30 Q50,20 65,30 Q80,20 70,35 Q80,50 70,65 Q80,80 65,70 Q50,80 35,70 Q20,80 30,65 Q20,50 30,35Z' fill='%23E65100' opacity='0.06'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
}
.dct-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.dct-hero .dct-h1 { font-size: 3.2rem; margin-bottom: 1.2rem; }
.dct-hero .dct-lead { font-size: 1.25rem; margin-bottom: 2rem; }

/* ---- CTA Button (Playful) ---- */
.dct-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--paw);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(230,81,0,0.3);
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dct-cta-btn:hover {
  background: var(--paw-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,81,0,0.4);
  text-decoration: none;
  color: #fff;
}
.dct-cta-btn:active { transform: translateY(0); }
.dct-btn-secondary {
  background: var(--fur-alt);
  color: var(--bark);
  border: 2px solid var(--border);
  box-shadow: none;
}
.dct-btn-secondary:hover { background: var(--border); color: var(--bark); box-shadow: none; }

/* ---- Credential Bar (E-E-A-T) ---- */
.dct-credential-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--fur-alt);
  border-radius: var(--radius-md);
  margin: 32px 0;
  border: 1px solid var(--border);
}
.dct-credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--bark);
  font-weight: 600;
}
.dct-credential-icon {
  width: 36px; height: 36px;
  background: var(--paw);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- Cards ---- */
.dct-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0;
}
.dct-card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dct-card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---- Whole-card clickable ---- */
a.dct-article-card,
a.dct-tool-card,
a.dct-inline-tool {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.dct-article-card *,
a.dct-tool-card *,
a.dct-inline-tool * { pointer-events: none; }

.dct-article-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.dct-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.dct-article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.dct-article-card-content { padding: 24px; }
.dct-article-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.dct-article-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--bark);
}
.dct-article-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.dct-tool-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  text-align: center;
}
.dct-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--paw);
}
.dct-tool-icon {
  width: 56px;
  height: 56px;
  background: var(--fur-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.dct-tool-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--bark);
}
.dct-tool-card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- Inline Tool Card ---- */
a.dct-inline-tool {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--fur-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  transition: var(--transition);
}
a.dct-inline-tool:hover {
  background: #F5E0C0;
  border-color: var(--paw);
  text-decoration: none;
}
.dct-inline-tool-icon {
  width: 48px;
  height: 48px;
  background: var(--paw);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.dct-inline-tool-content { flex: 1; }
.dct-inline-tool-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--bark);
}
.dct-inline-tool-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}
.dct-inline-tool-arrow {
  font-size: 1.2rem;
  color: var(--paw);
  flex-shrink: 0;
}
.dct-inline-tool-privacy {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 6px;
  font-style: italic;
}

/* ---- Sections ---- */
.dct-section { padding: 80px 0; }
.dct-section-alt { background: var(--fur-alt); }
.dct-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ---- Article Layout ---- */
.dct-article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 120px 0 80px;
}
.dct-article-main { min-width: 0; }
.dct-article-sidebar { position: sticky; top: 100px; height: fit-content; }

/* ---- Article Content ---- */
.dct-article-content h2 { font-family: var(--font-heading); font-size: 1.8rem; margin: 2.5rem 0 1rem; color: var(--bark); }
.dct-article-content h3 { font-family: var(--font-heading); font-size: 1.4rem; margin: 2rem 0 0.8rem; color: var(--bark); }
.dct-article-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.2rem; color: var(--bark); }
.dct-article-content ul, .dct-article-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.dct-article-content li { margin-bottom: 0.6rem; font-size: 1.05rem; line-height: 1.7; }
.dct-article-content blockquote {
  border-left: 4px solid var(--paw);
  padding-left: 24px;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.1rem;
}
.dct-article-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

/* ---- Author Box ---- */
.dct-author-box {
  display: flex;
  gap: 24px;
  background: var(--fur-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 48px 0;
  border: 1px solid var(--border);
}
.dct-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dct-author-info { flex: 1; }
.dct-author-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 400; margin-bottom: 4px; }
.dct-author-bio { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ---- Footer ---- */
.dct-footer {
  background: var(--bark);
  color: #E0C097;
  padding: 60px 0 30px;
}
.dct-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.dct-footer-brand { font-family: var(--font-heading); font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.dct-footer-desc { font-size: 0.9rem; line-height: 1.6; color: #E0C097; }
.dct-footer-title { font-size: 0.85rem; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.dct-footer-links { list-style: none; }
.dct-footer-links li { margin-bottom: 10px; }
.dct-footer-links a { color: #E0C097; font-size: 0.9rem; text-decoration: none; }
.dct-footer-links a:hover { color: var(--tail); text-decoration: none; }
.dct-footer-bottom {
  border-top: 1px solid rgba(224,192,151,0.3);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #C0A080;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Breadcrumb ---- */

.dct-breadcrumb a { color: var(--text-light); text-decoration: none; }
.dct-breadcrumb a:hover { color: var(--paw); }
.dct-breadcrumb-sep { color: var(--border); font-weight: 600; }

/* ---- Ad Slots (.strip) ---- */
.strip {
  width: 100% !important;
  height: 250px;
  display: flex;
  margin: 1rem 0;
  grid-column: 1 / -1;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  position: relative;
}
.strip::before {
  content: "Promoted";
  position: absolute;
  top: 8px; left: 12px;
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ---- Forms / Inputs ---- */
.dct-form-group { margin-bottom: 20px; }
.dct-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bark);
}
.dct-form-input,
.dct-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--bark);
  transition: var(--transition);
}
.dct-form-input:focus,
.dct-form-select:focus {
  outline: none;
  border-color: var(--paw);
  box-shadow: 0 0 0 3px rgba(230,81,0,0.15);
}
.dct-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--paw);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.dct-btn:hover { background: var(--paw-dark); transform: translateY(-1px); }
.dct-btn-secondary {
  background: var(--fur-alt);
  color: var(--bark);
  border: 1px solid var(--border);
}
.dct-btn-secondary:hover { background: var(--border); }
.dct-btn-danger { background: #D32F2F; }
.dct-btn-danger:hover { background: #B71C1C; }

/* ---- Tool Page Specifics ---- */
.dct-tool-page { padding: 120px 0 80px; }
.dct-tool-header { text-align: center; margin-bottom: 48px; }
.dct-tool-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}
.dct-tool-results {
  background: var(--fur-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 24px;
  border: 1px solid var(--border);
}
.dct-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.dct-result-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.dct-result-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--paw);
  margin-bottom: 4px;
}
.dct-result-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.dct-chart-container {
  width: 100%;
  height: 300px;
  margin: 24px 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.dct-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.dct-history-table th,
.dct-history-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.dct-history-table th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--fur-alt);
}
.dct-history-table tr:hover { background: var(--fur-alt); }

/* ---- Compliance Pages ---- */
.dct-compliance-page { padding: 120px 0 80px; max-width: 800px; margin: 0 auto; }
.dct-compliance-page .dct-h1 { margin-bottom: 2rem; }
.dct-compliance-page h2 { font-family: var(--font-heading); font-size: 1.5rem; margin: 2rem 0 1rem; }
.dct-compliance-page p { margin-bottom: 1rem; line-height: 1.8; }
.dct-compliance-page ul { margin: 1rem 0 1.5rem 1.5rem; }
.dct-compliance-page li { margin-bottom: 0.5rem; }

/* ---- FAQ ---- */
.dct-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.dct-faq-question {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--bark);
}
.dct-faq-answer { font-size: 1rem; line-height: 1.7; color: var(--text-light); }

/* ---- 404 ---- */
.dct-404 { text-align: center; padding: 160px 0 100px; }
.dct-404-icon { font-size: 5rem; margin-bottom: 24px; }
.dct-404 .dct-h1 { font-size: 3rem; margin-bottom: 1rem; }

/* ---- Sitemap Page ---- */
.dct-sitemap-section { margin-bottom: 40px; }
.dct-sitemap-list { list-style: none; }
.dct-sitemap-list li { margin-bottom: 10px; }
.dct-sitemap-list a { font-size: 1rem; color: var(--bark); text-decoration: none; }
.dct-sitemap-list a:hover { color: var(--paw); text-decoration: underline; }

/* ---- Toast ---- */
.dct-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--whisk);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  z-index: 2000;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  font-weight: 600;
}
.dct-toast.show { opacity: 1; transform: translateY(0); }

/* ---- Paw Decorations ---- */
.dct-paw-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 100 100'%3E%3Cpath d='M30,35 Q20,20 35,30 Q50,20 65,30 Q80,20 70,35 Q80,50 70,65 Q80,80 65,70 Q50,80 35,70 Q20,80 30,65 Q20,50 30,35Z' fill='%23E65100' opacity='0.04'/%3E%3C/svg%3E");
}
.dct-paw-divider {
  text-align: center;
  margin: 48px 0;
  position: relative;
}
.dct-paw-divider::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.dct-paw-divider::after {
  content: "🐾";
  position: relative;
  background: var(--fur);
  padding: 0 16px;
  font-size: 1.2rem;
}

/* ---- Post Footer (3-column) ---- */

/* ---- Post Page ---- */
.dct-post-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.dct-post-header {
  margin: 32px 0 24px;
}
.dct-post-header h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--bark);
}
.dct-post-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.dct-post-meta span {
  display: inline-block;
}
.dct-category-badge {
  display: inline-block;
  background: var(--fur-alt);
  color: var(--paw);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dct-article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.dct-article-tags span,
.dct-article-tags a {
  display: inline-block;
  background: var(--fur-alt);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
}
.dct-article-tags a:hover {
  background: var(--border);
  color: var(--bark);
}

/* ---- Breadcrumb fix ---- */
.dct-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding: 0.75rem 1.5rem;
}

/* ---- Author Box fixes ---- */
.dct-author-title {
  font-size: 0.9rem;
  color: var(--paw);
  font-weight: 600;
  margin-bottom: 8px;
}
.dct-author-location {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 8px 0;
}
.dct-author-bio-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--paw);
}
.dct-author-bio-link:hover {
  color: var(--paw-dark);
}
.dct-author-avatar-fallback {
  display: none;
}

.dct-post-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .dct-post-footer { grid-template-columns: 1fr; }
}
.dct-related-articles h3,
.dct-recommended-tools h3,
.dct-post-ad h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.dct-related-list,
.dct-tool-rec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dct-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.dct-related-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--paw);
}
.dct-related-card * { pointer-events: none; }
.dct-related-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--paw);
  font-family: var(--font-heading);
}
.dct-related-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .dct-article-layout { grid-template-columns: 1fr; }
  .dct-article-sidebar { position: static; }
  .dct-footer-grid { grid-template-columns: 1fr 1fr; }
  .dct-post-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .dct-nav-links {
    display: none !important;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-hover);
    z-index: 999;
  }
  .dct-nav-links.active { display: flex !important; }
  .dct-nav-links li { width: 100%; list-style: none; }
  .dct-nav-links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--fur-alt);
    text-decoration: none;
    color: inherit;
  }
  .dct-nav-links a:last-child { border-bottom: none; }
  .dct-nav-toggle { display: block; }
  .dct-h1 { font-size: 2rem; }
  .dct-hero .dct-h1 { font-size: 2.2rem; }
  .dct-card-grid,
  .dct-card-grid-2,
  .dct-card-grid-3 { grid-template-columns: 1fr; }
  .dct-form-row { grid-template-columns: 1fr; }
  .dct-result-grid { grid-template-columns: 1fr; }
  .dct-footer-grid { grid-template-columns: 1fr; }
  .dct-author-box { flex-direction: column; text-align: center; }
  .dct-author-avatar { margin: 0 auto; }
  .dct-credential-bar { flex-direction: column; gap: 16px; }
  .dct-post-footer { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dct-container { padding: 0 16px; }
  .dct-hero { padding: 120px 0 60px; }
  .dct-section { padding: 60px 0; }
  .dct-tool-panel { padding: 24px; }
}

/* ---- Old Article Compatibility (kept for safety) ---- */
.dct-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,248,225,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.dct-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.dct-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--paw);
  text-decoration: none;
}
.dct-menu-btn { display: none; }
.dct-mobile-nav { display: none; }
