/* ============================================
   ARTICLE PAGES — blog posts generated by tools/build_content.py
   Shares the dark inner-page hero used across the site (ip-hero).
   ============================================ */

.ip-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
  background: #10151D;
}

.ip-hero__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(164, 131, 42, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(164, 131, 42, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #10151D 0%, #161C26 50%, #10151D 100%);
}

.ip-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.ip-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 3rem 1.5rem;
}

.ip-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.ip-hero__breadcrumb a,
.ip-hero__breadcrumb span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ip-hero__breadcrumb a:hover { color: #C9A84C; }
.ip-hero__breadcrumb .ip-hero__breadcrumb-current { color: rgba(255, 255, 255, 0.85); }

.ip-hero h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
}

.article-meta {
  margin-top: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C9A84C;
}

.article-meta a { color: inherit; text-decoration: none; }
.article-meta a:hover { color: #FFFFFF; }
.article-meta__sep { margin: 0 0.6rem; opacity: 0.6; }

/* --- Body --- */
.article {
  background: #FFFFFF;
  padding: 5rem 1.5rem 4rem;
}

.article__body {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.08rem;
  line-height: 1.9;
  color: #333231;
}

.article__body p { margin: 0 0 1.4rem; }

.article__body h2,
.article__body h3,
.article__body h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #10151D;
  line-height: 1.4;
  margin: 2.6rem 0 1.2rem;
}

.article__body h2 { font-size: 1.25rem; }
.article__body h3 { font-size: 1.1rem; }
.article__body h4 { font-size: 1rem; }

.article__body a {
  color: #7B6118;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__body a:hover { color: #10151D; }

.article__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: 3px;
}

.article__body figure { margin: 2.2rem 0; }
.article__body figure img { margin: 0 auto; }

.article__body figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  color: #53504C;
}

.article__body blockquote {
  margin: 2.4rem 0;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: 3px solid #A4832A;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.6;
  color: #10151D;
}

.article__body ul,
.article__body ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.article__body li { margin-bottom: 0.5rem; }

.article__body .checklist ul { list-style: none; padding-left: 0; }
.article__body .checklist li { position: relative; padding-left: 1.8rem; }
.article__body .checklist li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid #A4832A;
  border-bottom: 2px solid #A4832A;
  transform: rotate(-45deg);
}

.article__body .dropcap {
  float: left;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 4.2rem;
  line-height: 0.85;
  padding: 0.35rem 0.6rem 0 0;
  color: #A4832A;
}

.article__body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  margin: 2rem 0;
}

/* --- Footer of the article: tags, share, prev/next --- */
.article__footer {
  max-width: 720px;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid #E8E4DA;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.article__tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #53504C;
  background: #F5F3EE;
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
}

.article__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #53504C;
}

.article__share a {
  color: #7B6118;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.article__share a:hover { border-bottom-color: #7B6118; }

.article-nav {
  background: #F5F3EE;
  padding: 4rem 1.5rem;
}

.article-nav__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .article-nav__inner { grid-template-columns: 1fr 1fr; }
}

.article-nav__link {
  display: block;
  padding: 1.8rem 2rem;
  background: #FFFFFF;
  border: 1px solid #E8E4DA;
  border-radius: 3px;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.article-nav__link:hover { border-color: #A4832A; transform: translateY(-2px); }
.article-nav__link--next { text-align: right; }

.article-nav__label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7B6118;
}

.article-nav__title {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  color: #10151D;
}

.article-nav__all {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1rem;
}
