/* ==========================================================================
   ARTICLE PAGE STYLES
   ========================================================================== */

/* Hero
   -------------------------------------------------------------------------- */
.article-hero {
  position: relative;
  height: clamp(360px, 55vw, 580px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.article-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 30, 16, 0.15) 0%,
    rgba(15, 30, 16, 0.55) 55%,
    rgba(15, 30, 16, 0.82) 100%
  );
}

.article-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 860px;
}

.article-hero__category {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-300);
  margin-bottom: var(--space-4);
}

.article-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 500;
  color: var(--cream-50);
  line-height: 1.1;
  margin: 0 0 var(--space-5);
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(249, 242, 234, 0.65);
}

.article-hero__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Article body
   -------------------------------------------------------------------------- */
.article-body {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--off-white);
}

.article-body__inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-lead {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 2.2vw, var(--text-2xl));
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-700);
  margin: 0 0 var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
}

.article-body__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 2.8vw, var(--text-3xl));
  font-weight: 500;
  color: var(--text-900);
  margin: var(--space-12) 0 var(--space-5);
  line-height: 1.2;
}

.article-body__inner h2:first-of-type {
  margin-top: 0;
}

.article-body__inner h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-800);
  margin: var(--space-8) 0 var(--space-3);
}

.article-body__inner p {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
}

.article-body__inner ul {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-6);
}

.article-body__inner li {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.article-body__inner strong {
  font-weight: 600;
  color: var(--text-700);
}

.article-body__inner a {
  color: var(--green-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body__inner a:hover {
  color: var(--green-600);
}

/* CTA bar
   -------------------------------------------------------------------------- */
.article-cta {
  background: var(--green-700);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.article-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.article-cta__text {
  flex: 1;
  min-width: 0;
}

.article-cta__heading {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 500;
  color: var(--cream-100);
  margin: var(--space-3) 0 var(--space-4);
  line-height: 1.15;
}

.article-cta__body {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(249, 242, 234, 0.72);
  margin: 0;
  line-height: 1.6;
}

.article-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}

.article-cta__phone {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream-100);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  justify-content: center;
}

.article-cta__phone:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Back link
   -------------------------------------------------------------------------- */
.article-back {
  background: var(--cream-100);
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.article-back__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--green-600);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.18s ease;
}

.article-back__link:hover {
  gap: var(--space-3);
  color: var(--green-700);
}

.article-back__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.article-back__link:hover svg {
  transform: translateX(-3px);
}

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .article-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-cta__actions {
    width: 100%;
  }

  .article-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .article-body__inner {
    padding: 0;
  }
}
