/* =========================================
   BLOG ARTICLE PAGES
   ========================================= */

.article-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.95) 100%);
}

.article-hero__content {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  padding: 0 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.article-hero__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.article-hero__cat {
  font-family: var(--secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-hero__date {
  font-family: var(--secondary);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.article-hero__title {
  font-family: var(--secondary);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--text);
}

/* --- Article Body --- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.article p {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(240, 240, 240, 0.85);
  margin-bottom: 1.5rem;
}

.article h2 {
  font-family: var(--secondary);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
}

.article h3 {
  font-family: var(--secondary);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

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

.article em {
  font-style: italic;
  color: rgba(240, 240, 240, 0.85);
}

.article blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(240, 240, 240, 0.7);
}

.article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.article ul, .article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.article li {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(240, 240, 240, 0.85);
  margin-bottom: 0.5rem;
}

.article .closing-line {
  font-family: var(--secondary);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-top: 2rem;
}

/* --- Back link --- */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.article-back:hover {
  color: var(--accent);
}

.article-back svg {
  transition: transform 0.3s var(--ease);
}

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

/* --- Photo credit --- */
.article-credit {
  font-family: var(--body);
  font-size: 0.7rem;
  color: var(--text-faint);
  text-align: right;
  max-width: 900px;
  margin: -3rem auto 0;
  padding: 0.5rem 2rem;
}

/* --- Nav on article pages --- */
.nav--article {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
}

/* --- Post end CTA (Código 831) --- */
.post-end-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
  text-align: center;
  border-top: 1px solid var(--text-faint);
}

.post-end-cta__line {
  font-family: var(--secondary);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.post-end-cta__brand {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--accent);
  margin: 1.8rem 0 2.2rem;
}

.post-end-cta__btn {
  display: inline-block;
  font-family: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--accent);
  padding: 1rem 2.4rem;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.post-end-cta__btn:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .post-end-cta {
    padding: 3.5rem 1.5rem 3rem;
  }
}

/* --- Read more section --- */
.read-more {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.read-more__title {
  font-family: var(--secondary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.read-more__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.read-more__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: padding 0.3s var(--ease);
}

.read-more__item:hover {
  padding-left: 0.5rem;
}

.read-more__item-title {
  font-family: var(--secondary);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--text);
}

.read-more__item-cat {
  font-family: var(--secondary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  margin-left: 1rem;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .article-hero {
    height: 45vh;
    min-height: 300px;
  }

  .article-hero__content {
    bottom: 2rem;
    padding: 0 1.5rem;
  }

  .article {
    padding: 3rem 1.5rem 4rem;
  }

  .article p,
  .article li {
    font-size: 1rem;
  }

  .article-credit {
    padding: 0.5rem 1.5rem;
    margin-top: -2rem;
  }

  .read-more {
    padding: 0 1.5rem 3rem;
  }

  .read-more__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .read-more__item-cat {
    margin-left: 0;
  }
}
