/* ============================================
   DREAM HOME — Editorial Overrides
   Base: article-shared.css
   Prefix: drm-
   Accent: Forest green #3D7A4A
   ============================================ */

:root {
  --art-accent: #3D7A4A;
  --art-accent-dark: #2E5E38;
  --art-accent-glow: rgba(61, 122, 74, 0.4);
  --art-accent-subtle: rgba(61, 122, 74, 0.06);
  --art-link: #2d6a3f;
  --art-link-hover: #3D7A4A;
  --art-link-underline: #3D7A4A;
  --art-ornament: #3D7A4A;
  --art-subtitle-color: #7DB88A;
  --art-hero-accent-line: #7DB88A;
}


/* ── Hero overrides ── */
.art-hero__media img {
  object-position: center 40%;
  animation: drmHeroKB 30s ease-out forwards;
}

@keyframes drmHeroKB {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.art-hero__overlay {
  background:
    linear-gradient(180deg,
      rgba(10, 20, 12, 0.1) 0%,
      rgba(10, 20, 12, 0) 20%,
      rgba(10, 20, 12, 0.3) 55%,
      rgba(10, 20, 12, 0.85) 80%,
      rgba(10, 20, 12, 1) 100%
    );
}

.art-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(61, 122, 74, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.art-hero__category {
  background: rgba(61, 122, 74, 0.85);
  color: #fff;
}

/* ── Tighten intro → first section gap ── */
.art-intro + .art-section {
  padding-top: var(--space-md);
}


/* ============================================
   DRM-DIALOGUE — Adrian's interview quotes
   Left-border with dash + attribution
   ============================================ */
.drm-dialogue {
  max-width: 680px;
  margin: var(--space-xl) auto;
  padding: var(--space-md) var(--space-xl) var(--space-md) calc(var(--space-xl) + 4px);
  border-left: 4px solid var(--art-accent);
  border-radius: 0 var(--radius-lg, 8px) var(--radius-lg, 8px) 0;
  background: linear-gradient(135deg, rgba(61, 122, 74, 0.05) 0%, rgba(61, 122, 74, 0.01) 100%);
}

.drm-dialogue__line {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-primary, #1a1a2e);
  margin: 0;
}

.drm-dialogue__line::before {
  content: '\2014\00a0';
  color: var(--art-accent);
  font-weight: 700;
}

.drm-dialogue__attr {
  display: block;
  margin-top: var(--space-md);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ============================================
   DRM-STAT — Price comparison
   Two big numbers side by side
   ============================================ */
.drm-stat {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  max-width: 680px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) var(--space-xl);
}

.drm-stat__item {
  text-align: center;
}

.drm-stat__number {
  display: block;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--art-accent);
}

.drm-stat__label {
  display: block;
  margin-top: var(--space-xs);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, #888);
  line-height: 1.4;
}

.drm-stat__vs {
  display: flex;
  align-items: center;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text-muted, #888);
}


/* ============================================
   DRM-PERKS — Municipality incentives list
   Icon list with green checkmarks
   ============================================ */
.drm-perks {
  max-width: 680px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg) var(--space-xl);
  background: var(--art-accent-subtle);
  border-radius: var(--radius-xl, 12px);
}

.drm-perks__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--color-text-primary, #1a1a2e);
  margin: 0 0 var(--space-md);
}

.drm-perks__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drm-perks__list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: var(--space-sm);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base, 1rem);
  line-height: 1.6;
  color: var(--color-text-primary, #1a1a2e);
}

.drm-perks__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--art-accent);
  font-weight: 700;
  font-size: 1.1em;
}


/* ============================================
   DRM-FACT — Highlighted statistic callout
   ============================================ */
.drm-fact {
  max-width: 680px;
  margin: var(--space-xl) auto;
  padding: var(--space-md) var(--space-xl) var(--space-md) calc(var(--space-xl) + 4px);
  border-left: 4px solid var(--art-accent);
  border-radius: 0 var(--radius-lg, 8px) var(--radius-lg, 8px) 0;
  background: linear-gradient(135deg, rgba(61, 122, 74, 0.06) 0%, rgba(61, 122, 74, 0.02) 100%);
}

.drm-fact__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base, 1rem);
  line-height: 1.7;
  color: var(--color-text-primary, #1a1a2e);
  margin: 0;
}

.drm-fact__text strong {
  color: var(--art-accent);
}


/* ============================================
   DRM-SPLIT — Image + text side by side
   ============================================ */
.drm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 900px;
  margin: var(--space-xl) auto;
}

.drm-split--reverse {
  direction: rtl;
}

.drm-split--reverse > * {
  direction: ltr;
}

.drm-split__fig {
  margin: 0;
}

.drm-split__img-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl, 12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.drm-split__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.drm-split figcaption {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-muted, #888);
  font-style: italic;
  margin-top: var(--space-xs);
}

.drm-split__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.9;
  color: var(--color-text-secondary, #4a4a4a);
}

.drm-split__text p {
  margin: 0 0 var(--space-md);
}

.drm-split__text p:last-child {
  margin-bottom: 0;
}


/* ── Responsive — Tablet (768px) ── */
@media (max-width: 768px) {
  .art-hero__media img {
    object-position: center 45%;
  }

  .drm-split,
  .drm-split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    max-width: 600px;
  }

  .drm-stat {
    gap: var(--space-lg);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .art-hero__media img {
    animation: none;
    transform: none;
  }
}
