/* =========================================================
   MAGAZINE — denso, com destaque em overlay e grelha de 3 colunas
   ========================================================= */

.tpl-magazine { --wrap: 1200px; --measure: 46rem; --measure-hero: 66rem; }

.tpl-magazine .nav { border-bottom: 2px solid var(--text); }
.tpl-magazine .nav__link {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.tpl-magazine .hero--plain { border-bottom: 0; }
.tpl-magazine .hero--plain .hero__inner { padding-block: 2.5rem 1rem; }
.tpl-magazine .hero__title {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.tpl-magazine .hero__eyebrow { color: var(--accent); opacity: 1; font-weight: 600; }

.tpl-magazine .lead {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(66vh, 620px);
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.tpl-magazine .lead__media { position: absolute; inset: 0; display: block; }
.tpl-magazine .lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tpl-magazine .lead:hover .lead__media img { transform: scale(1.02); }
.tpl-magazine .lead__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0) 30%, rgba(8, 10, 14, .82) 100%);
}
.tpl-magazine .lead__body {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  max-width: 46rem;
}
.tpl-magazine .lead__title { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3.1rem); line-height: 1.05; }
.tpl-magazine .lead__title a:hover { opacity: .85; }
.tpl-magazine .lead__body .eyebrow { color: #fff; opacity: .8; }
.tpl-magazine .lead__sub { margin-top: .8rem; font-size: 1.05rem; opacity: .88; max-width: 52ch; }
.tpl-magazine .lead__body .meta { color: rgba(255, 255, 255, .78); margin-top: .9rem; }

.tpl-magazine .card-style-soft { background: transparent; border-top: 2px solid var(--text); border-radius: 0; }
.tpl-magazine .card-style-soft .card__body { padding-inline: 0; }
.tpl-magazine .card { border-radius: 0; }
.tpl-magazine .card:hover { transform: none; box-shadow: none; }
.tpl-magazine .card__media img { border-radius: 0; aspect-ratio: 4 / 3; }
.tpl-magazine .card__title { font-size: 1.22rem; line-height: 1.2; }
.tpl-magazine .card__title a:hover { color: var(--accent); }
.tpl-magazine .card__excerpt { font-size: .9rem; }

.tpl-magazine .section-head h2 { font-size: .95rem; letter-spacing: .16em; }

.tpl-magazine .post__title { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1.02; }
.tpl-magazine .post__hero img { border-radius: 0; }
.tpl-magazine .prose h2 { border-top: 2px solid var(--text); padding-top: .8rem; }

.tpl-magazine .footer { background: var(--bg); border-top: 2px solid var(--text); }
.tpl-magazine .footer__title { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
