/* =========================================
   BLOG — Article Styles
   Magazine-quality editorial layout
   Colors: cream bg (#F0EDE7), brown text (#473D36)
   ========================================= */

/* --- Article Hero --- */
.article-hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}

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

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,28,25,0.1) 0%,
    rgba(30,28,25,0.3) 50%,
    rgba(30,28,25,0.85) 100%
  );
}

.article-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 6vw;
  max-width: 900px;
}

.article-hero__category {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fresh-barley, #7F7E59);
  margin-bottom: 1.2rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(127,126,89,0.4);
}

.article-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: #F0EDE8;
  margin: 0 0 1.5rem;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Mulish', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(240,237,232,0.6);
}

.article-hero__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(240,237,232,0.4);
}

/* --- Article Body --- */
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 5rem 2rem 1rem;
}

.article-body + .article-body {
  padding-top: 0;
}

.article-body p {
  font-family: 'Mulish', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ashen-cedar, #473D36);
  margin-bottom: 1.8rem;
}

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--ashen-cedar, #473D36);
  margin: 3.5rem 0 1.5rem;
  line-height: 1.2;
}

.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ashen-cedar, #473D36);
  margin: 2.5rem 0 1rem;
}

.article-body a {
  color: var(--fresh-barley, #7F7E59);
  text-decoration: none;
  border-bottom: 1px solid rgba(127,126,89,0.3);
  transition: border-color 0.3s;
}

.article-body a:hover {
  border-color: var(--fresh-barley, #7F7E59);
}

.article-body strong {
  font-weight: 700;
  color: var(--ashen-cedar, #473D36);
}

/* --- Drop Cap --- */
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 0.8;
  padding: 0.1rem 0.6rem 0 0;
  color: var(--fresh-barley, #7F7E59);
}

/* --- Pull Quote --- */
.article-pullquote {
  max-width: 740px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.article-pullquote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--fresh-barley, #7F7E59);
}

.article-pullquote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--fresh-barley, #7F7E59);
}

.article-pullquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--ashen-cedar, #473D36);
  margin: 0;
}

/* --- Image Grid --- */
.article-images {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.article-images--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.article-images--trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.article-images--full {
  max-width: 100vw;
  padding: 0;
  margin: 3rem 0;
}

.article-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.article-images--full img {
  aspect-ratio: 21/9;
  max-height: 500px;
}

.article-images__caption {
  font-family: 'Mulish', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(71,61,54,0.45);
  text-align: center;
  margin-top: 0.8rem;
  grid-column: 1 / -1;
}

/* --- Info Box --- */
.article-infobox {
  max-width: 740px;
  margin: 3rem auto;
  padding: 2.5rem 2.5rem;
  background: rgba(71,61,54,0.04);
  border-left: 2px solid var(--fresh-barley, #7F7E59);
}

.article-infobox__title {
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fresh-barley, #7F7E59);
  margin-bottom: 1rem;
}

.article-infobox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-infobox li {
  font-family: 'Mulish', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(71,61,54,0.8);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.article-infobox li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--fresh-barley, #7F7E59);
}

/* --- Tags --- */
.article-tags {
  max-width: 740px;
  margin: 3rem auto 0;
  padding: 2rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid rgba(71,61,54,0.1);
}

.article-tags__label {
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(71,61,54,0.45);
  width: 100%;
  margin-bottom: 0.5rem;
}

.article-tags a {
  font-family: 'Mulish', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(71,61,54,0.55);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(71,61,54,0.15);
  transition: all 0.3s;
}

.article-tags a:hover {
  color: var(--fresh-barley, #7F7E59);
  border-color: rgba(127,126,89,0.4);
}

/* --- Related Articles --- */
.article-related {
  padding: 5rem 6vw;
}

.article-related__label {
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fresh-barley, #7F7E59);
  text-align: center;
  margin-bottom: 3rem;
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-related__card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
}

.article-related__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-related__card:hover img {
  transform: scale(1.05);
}

.article-related__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,28,25,0.8) 0%, transparent 60%);
}

.article-related__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.article-related__card-cat {
  font-family: 'Mulish', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fresh-barley, #7F7E59);
  margin-bottom: 0.5rem;
}

.article-related__card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  color: #F0EDE8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .article-hero {
    height: 70vh;
  }
  .article-hero__content {
    padding: 2.5rem 5vw;
  }
  .article-body {
    padding: 3rem 1.5rem 1rem;
  }
  .article-images--duo,
  .article-images--trio {
    grid-template-columns: 1fr;
  }
  .article-images {
    padding: 0 1.5rem;
  }
  .article-related__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .article-related__card {
    aspect-ratio: 16/9;
  }
  .article-pullquote {
    padding: 2rem 1rem;
  }
  .article-infobox {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    padding: 2rem 1.5rem;
  }
}
