/* ============================================================
   PORTAL — page-specific styles
============================================================ */

/* ── Active nav link ── */
.nav-link--current {
  font-weight: 600;
}

/* ── CTAs — borda mais fina ── */
.btn { border-width: 4px; }

/* ============================================================
   HERO
============================================================ */
.portal-hero {
  background: var(--red);
  min-height: clamp(180px, 22.6vw, 326px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.portal-hero-title {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: clamp(72px, 14.2vw, 205px);
  letter-spacing: clamp(-4px, -0.71vw, -10.25px);
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
  user-select: none;
}

/* ============================================================
   BODY
============================================================ */
.portal-body {
  background: var(--cream);
  padding: clamp(40px, 6.3vw, 91px) clamp(20px, 2.1vw, 30px) clamp(60px, 8vw, 120px);
}

.portal-divider {
  border: none;
  border-top: 1px solid rgba(49, 27, 23, 0.15);
  margin-bottom: clamp(14px, 1.7vw, 24px);
}

/* ============================================================
   3-COLUMN GRID
============================================================ */
.portal-columns {
  display: grid;
  grid-template-columns: 515fr 374fr 398fr;
  column-gap: clamp(20px, 3.4vw, 48px);
  align-items: start;
}

.portal-col-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--red);
  margin-bottom: clamp(14px, 1.7vw, 24px);
  white-space: nowrap;
}

/* ============================================================
   TEXTOS COLUMN
============================================================ */
.portal-photo-large {
  width: 100%;
  aspect-ratio: 515 / 783;
  overflow: hidden;
  background: var(--dark);
}

/* Featured photo overlay */
.portal-photo-featured {
  position: relative;
}

.portal-featured-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(16px, 2vw, 28px);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88) 60%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 1.4vw, 20px);
}

.portal-featured-text {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.7vw, 10px);
}

.portal-featured-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 24px);
  line-height: 1.2;
  color: var(--cream);
}

.portal-featured-desc {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(11px, 1.1vw, 16px);
  line-height: 1.4;
  color: var(--cream);
}

.portal-photo-large img,
.portal-photo-sm img,
.portal-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portal-caption {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.3;
  color: var(--dark);
  margin: clamp(10px, 1.1vw, 16px) 0;
}

.portal-subsection-header {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vw, 16px);
  margin-top: clamp(20px, 2.4vw, 34px);
}

.portal-photo-pair {
  display: flex;
  gap: clamp(8px, 1.1vw, 16px);
  margin-top: clamp(12px, 1.4vw, 20px);
}

.portal-photo-sm {
  width: 100%;
  aspect-ratio: 250 / 388;
  overflow: hidden;
  background: var(--dark);
}

/* ============================================================
   ENTREVISTAS COLUMN
============================================================ */
.portal-articles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}

.portal-article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.1vw, 16px);
}

.portal-article-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 32px);
  line-height: 1.15;
  color: var(--dark);
  transition: opacity 0.15s;
  cursor: pointer;
}

.portal-article-title:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-position: from-font;
}

.portal-article-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1.5;
  color: var(--red);
}

/* ============================================================
   VÍDEOS / MEDIA COLUMN
============================================================ */
.portal-media-group {
  display: flex;
  flex-direction: column;
}

.portal-media-group--sep {
  border-top: 1px solid rgba(49, 27, 23, 0.15);
  padding-top: clamp(14px, 1.7vw, 24px);
  margin-top: clamp(14px, 1.7vw, 24px);
}

.portal-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 48px);
}

.portal-card-thumb {
  width: 100%;
  aspect-ratio: 398 / 281;
  overflow: hidden;
  background: var(--dark);
  margin-bottom: clamp(6px, 0.7vw, 10px);
}

.portal-card-meta {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(12px, 1.1vw, 16px);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: clamp(6px, 0.7vw, 10px);
}

.portal-card-meta span { flex: 1; }

.portal-photo-sm-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vw, 12px);
}

.portal-photo-sm-wrap .portal-photo-sm {
  flex: none;
  width: 100%;
}

.portal-flip-caption {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.5;
  color: var(--dark);
  opacity: 0.7;
}

.portal-flip-caption--link {
  text-decoration: none;
  cursor: pointer;
}

.portal-flip-caption--link:hover,
.portal-photo-sm-wrap--linked:hover .portal-flip-caption--link {
  text-decoration: underline;
  text-underline-position: from-font;
}

.portal-yt-more {
  display: inline-block;
  margin-top: clamp(14px, 1.7vw, 24px);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(12px, 1.1vw, 16px);
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.15s;
}

.portal-yt-more:hover {
  text-decoration: underline;
  text-underline-position: from-font;
  opacity: 0.75;
}

.portal-yt-loading {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--dark);
  opacity: 0.5;
}

.portal-card-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(13px, 1.5vw, 22px);
  line-height: 1.15;
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.15s;
}
.portal-card-title:hover { opacity: 0.7; text-decoration: underline; text-underline-position: from-font; }
.portal-card-thumb { display: block; cursor: pointer; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 640px) {
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .portal-columns {
    grid-template-columns: 1fr;
    row-gap: clamp(40px, 6vw, 60px);
  }

  .portal-photo-large {
    aspect-ratio: 4 / 3;
  }

  .portal-photo-featured {
    aspect-ratio: 1 / 1;
  }

  .portal-photo-featured img {
    object-position: center 20%;
  }

  .portal-photo-pair {
    display: none;
  }

  .portal-col[aria-label="Vídeos"] {
    display: none;
  }
}

@media (max-width: 600px) {
  .portal-hero-title {
    font-size: clamp(52px, 18vw, 80px);
  }
}
