/*
Theme Name: All Things Dominican
Theme URI: https://allthingsdominican.com
Author: All Things Dominican
Author URI: https://allthingsdominican.com
Description: A warm, editorial magazine theme celebrating Dominican food, culture, travel and life on the island. Converted from a custom Horizons/React build into a native WordPress theme. Supports featured images, custom category art, sticky "featured story" posts, and a built-in newsletter signup.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: atd
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/

/* ==========================================================================
   Design tokens (mirrors the original site's HSL variable system)
   ========================================================================== */
:root {
  --background: 40 44% 97%;
  --foreground: 200 40% 12%;
  --card: 0 0% 100%;
  --card-foreground: 200 40% 12%;
  --primary: 217 71% 28%;
  --primary-foreground: 40 44% 98%;
  --secondary: 40 40% 92%;
  --secondary-foreground: 200 40% 12%;
  --muted: 40 30% 92%;
  --muted-foreground: 200 12% 42%;
  --dr-red: 353 78% 43%;
  --dr-gold: 42 96% 50%;
  --accent: 42 96% 50%;
  --accent-foreground: 200 45% 12%;
  --border: 40 20% 86%;
  --radius: 0.9rem;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow-x: clip;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.font-display { font-family: var(--font-display); }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.container { max-width: 90rem; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
.container-article { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }

/* ==========================================================================
   Buttons / pills
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.5rem; border-radius: 999px;
  font-weight: 700; border: 1px solid transparent; transition: transform .15s ease, border-color .15s ease;
  font-size: .95rem;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-outline { background: hsl(var(--card)); border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.btn-outline:hover { border-color: hsl(var(--primary) / .4); }
.btn-accent { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-accent:disabled { opacity: .7; cursor: default; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / .7);
  background: hsl(var(--background) / .85);
  backdrop-filter: blur(10px);
}
.site-header__row {
  max-width: 90rem; margin: 0 auto; padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-logo { display: flex; align-items: center; gap: .5rem; }
.site-logo__mark {
  width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 999px;
  overflow: hidden; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.site-logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.site-logo__text {
  font-family: var(--font-display); font-weight: 900; font-size: 1.125rem;
  color: hsl(var(--dr-red)); letter-spacing: -0.01em;
}
.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav a { font-size: .9rem; font-weight: 600; color: hsl(var(--muted-foreground)); transition: color .15s ease; }
.primary-nav a:hover, .primary-nav .current-cat a, .primary-nav .current-menu-item a { color: hsl(var(--primary)); }
.site-header__cta { display: none; }
.menu-toggle {
  background: none; border: 0; padding: .4rem; line-height: 0; color: hsl(var(--foreground));
}
.mobile-nav { display: none; border-top: 1px solid hsl(var(--border)); background: hsl(var(--background)); padding: 1rem 1.25rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav a { display: block; padding: .75rem .5rem; border-radius: .5rem; font-weight: 600; }
.mobile-nav a:hover { background: hsl(var(--muted)); }
.mobile-nav .btn { margin-top: .5rem; width: 100%; justify-content: center; }

@media (min-width: 1024px) {
  .primary-nav { display: flex; }
  .site-header__cta { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 1rem 1.25rem 4rem; }
.hero__grid {
  max-width: 64rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__copy { position: relative; overflow: hidden; border-radius: 2rem; padding: 1.5rem; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background)/.35), hsl(var(--background)/.7) 60%, hsl(var(--background)/.92));
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: .4rem 1rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
  color: hsl(var(--muted-foreground));
}
.hero__title {
  margin-top: 1.25rem; font-size: 2.4rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em;
}
.hero__title .accent-word { position: relative; display: inline-block; margin-left: .25rem; color: hsl(var(--primary)); }
.hero__title .accent-word svg { position: absolute; left: 0; bottom: -.5rem; height: .875rem; width: 100%; color: hsl(var(--dr-red)); }
.hero__subtitle { margin: 1.5rem auto 0; max-width: 34rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
.hero__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.hero__art { position: relative; margin: 2.5rem auto 0; max-width: 24rem; }
.hero__art-frame {
  overflow: hidden; border-radius: 2rem; border: 4px solid #fff;
  background: linear-gradient(135deg, hsl(var(--primary)/.1), hsl(var(--dr-red)/.1));
  padding: 1rem; box-shadow: 0 25px 50px -12px hsl(var(--primary)/.2);
}
.hero__art-frame img { aspect-ratio: 1/1; width: 100%; object-fit: contain; }
.hero__badge-slang {
  position: absolute; bottom: -2rem; left: -.5rem; max-width: 10.5rem; border-radius: 1rem;
  border-left: 4px solid hsl(var(--dr-red)); background: hsl(var(--card)); padding: .9rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}
.hero__badge-slang p:first-child { display: flex; align-items: center; gap: .3rem; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: hsl(var(--accent-foreground)); }
.hero__badge-slang p.slang-word { margin-top: .25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 900; color: hsl(var(--primary)); }
.hero__badge-slang p.slang-def { margin-top: .25rem; font-size: .7rem; line-height: 1.3; color: hsl(var(--muted-foreground)); }
.hero__badge-greeting {
  position: absolute; right: -.25rem; top: -.75rem; transform: rotate(3deg); border-radius: .75rem;
  background: hsl(var(--dr-red)); padding: .4rem 1rem; font-size: .75rem; font-weight: 700; color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.15);
}

@media (min-width: 768px) {
  .hero { padding: 2rem 1.25rem 6rem; }
  .hero__grid { max-width: 78rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
  .hero__copy { border-radius: 0; padding: 0; overflow: visible; display: flex; flex-direction: column; align-items: center; }
  .hero__bg { display: none; }
  .hero__title { font-size: 4rem; margin-top: 2rem; }
  .hero__art { margin: 0 0 0 auto; order: 2; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { overflow: hidden; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--primary)); padding: .75rem 0; }
.marquee__track { display: flex; width: max-content; animation: atd-marquee 32s linear infinite; }
.marquee__track span {
  margin: 0 1.5rem; display: flex; align-items: center; gap: 1.5rem; font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600; color: hsl(var(--primary-foreground)); white-space: nowrap;
}
.marquee__track span em { color: hsl(var(--accent)); font-style: normal; }
@keyframes atd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.tricolor-bar { display: flex; height: .375rem; width: 100%; }
.tricolor-bar span { flex: 1; }
.tricolor-bar span:nth-child(1) { background: hsl(var(--primary)); }
.tricolor-bar span:nth-child(2) { background: #fff; }
.tricolor-bar span:nth-child(3) { background: hsl(var(--dr-red)); }

/* ==========================================================================
   Sections & section labels
   ========================================================================== */
.section { padding: 4rem 1.25rem; }
.section--tinted { background: hsl(var(--secondary) / .5); }
.section-label { display: flex; flex-direction: column; gap: .5rem; }
.section-label__eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: hsl(var(--accent)); }
.section-label__title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 900; letter-spacing: -0.02em; }
@media (min-width: 768px) { .section { padding: 5rem 1.25rem; } .section-label__title { font-size: 2.25rem; } }

/* ==========================================================================
   Featured story
   ========================================================================== */
.featured-card {
  margin-top: 2rem; display: grid; overflow: hidden; border-radius: 2rem;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
}
.featured-card__media { position: relative; overflow: hidden; min-height: 220px; }
.featured-card__media img { height: 100%; min-height: 280px; width: 100%; object-fit: cover; transition: transform .7s ease; }
.featured-card:hover .featured-card__media img { transform: scale(1.05); }
.badge-category {
  position: absolute; left: 1.25rem; top: 1.25rem; border-radius: 999px; background: hsl(var(--accent));
  padding: .3rem .8rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: hsl(var(--accent-foreground));
}
.featured-card__body { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 1.75rem; }
.featured-card__title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; line-height: 1.15; }
.featured-card__excerpt { color: hsl(var(--muted-foreground)); }
.byline { margin-top: .25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.byline strong { font-weight: 600; color: hsl(var(--foreground)); }
.byline .readtime { display: inline-flex; align-items: center; gap: .3rem; }
.read-link { margin-top: .25rem; display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: hsl(var(--primary)); }
.read-link svg { transition: transform .15s ease; }
a:hover .read-link svg, .read-link:hover svg { transform: translate(2px,-2px); }

@media (min-width: 768px) {
  .featured-card { grid-template-columns: 1fr 1fr; }
  .featured-card__body { padding: 3rem; }
  .featured-card__title { font-size: 2.25rem; }
}

/* ==========================================================================
   Topic / category cards
   ========================================================================== */
.topics-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .topics-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .topics-grid { grid-template-columns: repeat(3, 1fr); } }

.topic-card { display: block; overflow: hidden; border-radius: 1.5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.topic-card__media { position: relative; height: 11rem; overflow: hidden; }
.topic-card__media img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s ease; }
.topic-card:hover .topic-card__media img { transform: scale(1.1); }
.topic-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 70%); }
.topic-card__label { position: absolute; bottom: .75rem; left: 1rem; z-index: 1; }
.topic-card__label p:first-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: #fff; }
.topic-card__label p:last-child { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.7); }
.topic-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem; }
.topic-card__foot p { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.topic-card__foot svg { flex-shrink: 0; color: hsl(var(--primary)); transition: transform .15s ease; }
.topic-card:hover .topic-card__foot svg { transform: translate(2px,-2px); }

/* ==========================================================================
   Article cards (grids)
   ========================================================================== */
.articles-grid { margin-top: 2.5rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card { display: flex; flex-direction: column; }
.article-card__media { overflow: hidden; border-radius: 1.25rem; border: 1px solid hsl(var(--border)); }
.article-card__media img { aspect-ratio: 3/2; width: 100%; object-fit: cover; transition: transform .7s ease; }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__cat { margin-top: 1rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: hsl(var(--primary)); }
.article-card__title { margin-top: .5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.35; transition: color .15s ease; }
.article-card:hover .article-card__title { color: hsl(var(--primary)); }
.article-card__excerpt { margin-top: .5rem; font-size: .9rem; color: hsl(var(--muted-foreground)); }

.empty-state { color: hsl(var(--muted-foreground)); }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { padding: 5rem 1.25rem; }
.newsletter__panel { position: relative; max-width: 56rem; margin: 0 auto; overflow: hidden; border-radius: 2rem; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.newsletter__panel::before { content: ""; position: absolute; right: -4rem; top: -4rem; height: 14rem; width: 14rem; border-radius: 999px; background: hsl(var(--accent)/.3); filter: blur(40px); }
.newsletter__panel::after { content: ""; position: absolute; left: -2.5rem; bottom: -5rem; height: 14rem; width: 14rem; border-radius: 999px; background: rgba(255,255,255,.1); filter: blur(40px); }
.newsletter__inner { position: relative; padding: 3.5rem 1.5rem; }
.newsletter__eyebrow { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; background: rgba(255,255,255,.15); padding: .4rem 1rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }
.newsletter__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 900; line-height: 1.2; }
.newsletter__desc { margin-top: 1rem; max-width: 34rem; color: rgba(255,255,255,.8); }
.newsletter-form { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.newsletter-form input {
  min-height: 3rem; flex: 1; border-radius: 1rem; border: 0; background: rgba(255,255,255,.95);
  padding: .75rem 1.25rem; color: hsl(var(--foreground)); outline: none; font-family: inherit; font-size: 1rem;
}
.newsletter-form input:focus { box-shadow: 0 0 0 2px hsl(var(--accent)); }
.newsletter-form button { flex-shrink: 0; }
.newsletter-success { margin-top: 2rem; display: flex; align-items: center; gap: .75rem; border-radius: 1rem; background: rgba(255,255,255,.15); padding: 1rem 1.25rem; }
.newsletter-success__icon { display: flex; height: 2.25rem; width: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.newsletter-error { margin-top: .75rem; font-size: .875rem; color: #fecaca; }
.newsletter-form[hidden] { display: none; }
.atd-spin { animation: atd-spin 0.8s linear infinite; }
@keyframes atd-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (min-width: 768px) {
  .newsletter__inner { padding: 5rem 4rem; }
  .newsletter__title { font-size: 3rem; }
  .newsletter-form { flex-direction: row; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 3rem 1.25rem; }
.site-footer__row { max-width: 90rem; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.site-footer__about { max-width: 24rem; }
.site-footer__about p { margin-top: 1rem; font-size: .9rem; color: hsl(var(--muted-foreground)); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer__cols h3 { font-size: .9rem; font-weight: 700; }
.site-footer__cols ul { margin-top: .75rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: hsl(var(--muted-foreground)); }
.site-footer__cols a:hover { color: hsl(var(--primary)); }
.site-footer__bottom { max-width: 90rem; margin: 2.5rem auto 0; border-top: 1px solid hsl(var(--border)); padding-top: 1.5rem; font-size: .9rem; color: hsl(var(--muted-foreground)); }

@media (min-width: 768px) {
  .site-footer__row { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .site-footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Category / archive header
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: 4rem 1.25rem; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { height: 100%; width: 100%; object-fit: cover; opacity: .25; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--background)), hsl(var(--background)/.8) 50%, hsl(var(--background)/.4)); }
.page-hero__inner { position: relative; max-width: 70rem; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 700; color: hsl(var(--primary)); }
.page-hero__tag { margin-top: 1rem; display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: hsl(var(--accent)); }
.page-hero__title { margin-top: .5rem; font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; letter-spacing: -0.02em; }
.page-hero__desc { margin-top: 1rem; max-width: 34rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .page-hero { padding: 5rem 1.25rem; } .page-hero__title { font-size: 3.75rem; } }

/* ==========================================================================
   Single article
   ========================================================================== */
.article-header { padding: 3rem 1.25rem; }
.article-header__meta { max-width: 48rem; margin: 0 auto; }
.article-title { margin-top: 1rem; font-family: var(--font-display); font-size: 2.25rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.article-cover { max-width: 56rem; margin: 2rem auto 0; overflow: hidden; border-radius: 2rem; border: 1px solid hsl(var(--border)); }
.article-cover img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.article-content { max-width: 48rem; margin: 2.5rem auto 0; padding: 0 1.25rem; font-size: 1.125rem; line-height: 1.75; color: hsl(var(--foreground)/.9); }
.article-content > * + * { margin-top: 1.5rem; }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { margin-top: 1.5rem; }
.article-content h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-top: 2.5rem; }
.article-content img { border-radius: 1rem; margin-top: 1.5rem; }
.article-content blockquote { border-left: 4px solid hsl(var(--dr-red)); padding-left: 1.25rem; font-style: italic; color: hsl(var(--muted-foreground)); }
.article-content a { color: hsl(var(--primary)); text-decoration: underline; }

@media (min-width: 768px) { .article-header { padding: 4rem 1.25rem; } .article-title { font-size: 3rem; } }

.related-section { border-top: 1px solid hsl(var(--border)); background: hsl(var(--secondary)/.4); padding: 4rem 1.25rem; }
.related-section h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.related-grid { margin-top: 2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } .related-section h2 { font-size: 1.875rem; } }

/* ==========================================================================
   Pagination / misc archive
   ========================================================================== */
.pagination { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border-radius: .75rem; border: 1px solid hsl(var(--border)); font-weight: 600; font-size: .9rem; }
.pagination .current { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }
.pagination a:hover { border-color: hsl(var(--primary)/.5); }

.wp-block-quote, blockquote.wp-block-quote { border-left: 4px solid hsl(var(--dr-red)); padding-left: 1.25rem; font-style: italic; }

/* ==========================================================================
   Scroll reveal helper (progressive enhancement via JS)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Comments (page.php only — matches original design, which has none on articles)
   ========================================================================== */
.comments-area { max-width: 48rem; margin: 0 auto; }
.comments-title { font-size: 1.5rem; font-weight: 800; }
.comment-list { margin-top: 1.5rem; }
.comment-list .comment { border-top: 1px solid hsl(var(--border)); padding: 1.25rem 0; }
.comment-list .comment-author { font-weight: 700; }
.comment-list .comment-metadata { font-size: .8rem; color: hsl(var(--muted-foreground)); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
  width: 100%; border-radius: .75rem; border: 1px solid hsl(var(--border)); padding: .75rem 1rem; font-family: inherit;
}
.comment-respond p { margin: .75rem 0; }

/* Alignment helpers used by WP core blocks in article content */
.alignwide { max-width: 100%; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
