/* ============================================================
   Nuestra.TV / Updates / Update detail / Our Story
   ============================================================ */

/* ---------- Nuestra.TV hero ---------- */
.ntv-hero {
  display: grid;
  background: var(--navy-hero);
  position: relative;
}
.ntv-hero .ntv-photo {
  position: relative;
  border-radius: 0 0 400px 0;
  overflow: hidden;
  min-height: 540px;
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px var(--pad-x) 60px;
}
.ntv-hero .ntv-photo .ntv-tag {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.ntv-hero .ntv-photo .ntv-logo { width: 300px; margin-bottom: 30px; }
.ntv-hero .ntv-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.ntv-hero .btn-navy {
  background: var(--navy-hero);
  color: var(--light);
}
.ntv-hero .btn-outline-light {
  border: 3px solid var(--light);
  color: var(--light);
}
.ntv-hero .btn-outline-light:hover { background: var(--light); color: var(--navy-hero); }
.ntv-hero .ntv-intro {
  padding: 60px var(--pad-x) 70px;
  display: grid;
  align-content: center;
}
.ntv-hero .ntv-intro p {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--light);
  max-width: 420px;
}
@media (min-width: 900px) {
  .ntv-hero { grid-template-columns: 58% 42%; min-height: 800px; }
  .ntv-hero .ntv-photo { padding: 60px 68px 90px; }
  .ntv-hero .ntv-photo .ntv-tag { font-size: 25px; }
  .ntv-hero .ntv-photo .ntv-logo { width: 380px; margin-bottom: 44px; }
  .ntv-hero .ntv-intro p { font-size: 30px; line-height: 1.15; }
}

/* ---------- Feature rows (Nuestra.TV / Updates) ---------- */
.feature-row {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}
.feature-row .fr-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.feature-row .fr-photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 8px;
  object-fit: cover;
}
.feature-row--rev .fr-photo img { border-radius: 50% 50% 8px 50%; }
.feature-row h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.feature-row .fr-lead {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.feature-row .fr-body {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 34px;
}
.feature-row--deep { background: var(--navy-deep); }
.feature-row--deep h2, .feature-row--deep .fr-title { color: var(--light); }
.feature-row--deep .fr-lead, .feature-row--deep .fr-body { color: var(--teal-light); }
.feature-row--dark { background: var(--navy-hero); }
.feature-row--dark h2 { color: var(--light); }
.feature-row--dark .fr-lead, .feature-row--dark .fr-body { color: var(--teal-light); }
.feature-row--light { background: var(--light); }
.feature-row--light h2 { color: var(--navy-hero); }
.feature-row--light .fr-lead, .feature-row--light .fr-body { color: var(--teal); }
.feature-row--light .btn-outline { border-color: var(--teal); color: var(--teal); }
.feature-row--light .btn-outline:hover { background: var(--teal); color: var(--white); }
@media (min-width: 900px) {
  .feature-row { padding: 130px 0; }
  .feature-row .fr-grid { grid-template-columns: 460px 1fr; gap: 90px; }
  .feature-row--rev .fr-grid { grid-template-columns: 1fr 460px; }
  .feature-row--rev .fr-photo { order: 2; }
  .feature-row--rev .fr-content { order: 1; }
  .feature-row h2 { font-size: 56px; }
  .feature-row .fr-lead { font-size: 30px; }
  .feature-row .fr-body { font-size: 20px; line-height: 1.25; }
}

/* ---------- Nuestra.TV CTA final ---------- */
.ntv-cta {
  background: var(--navy-hero);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}
.ntv-cta .cta-grid { display: grid; gap: 40px; align-items: center; }
.ntv-cta h2 { font-size: 34px; font-weight: 700; color: var(--light); text-transform: uppercase; margin-bottom: 16px; }
.ntv-cta .cta-sub {
  font-weight: 500;
  font-size: 20px;
  color: var(--teal);
  margin-bottom: 34px;
}
.ntv-cta .cta-photo img { width: 100%; max-width: 620px; }
@media (min-width: 900px) {
  .ntv-cta { padding: 60px 0 0; }
  .ntv-cta .cta-grid { grid-template-columns: 1fr 1.2fr; gap: 60px; }
  .ntv-cta h2 { font-size: 56px; }
  .ntv-cta .cta-sub { font-size: 30px; }
  .ntv-cta .cta-photo { align-self: end; }
}

/* ---------- Updates hero ---------- */
.upd-hero {
  background: var(--navy-hero);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.upd-hero .upd-grid { display: grid; gap: 44px; align-items: center; }
.upd-hero h1 {
  font-weight: 500;
  font-size: 34px;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.upd-hero h1 strong { font-weight: 700; }
.upd-hero .upd-sub { font-size: 18px; color: var(--white); margin-bottom: 34px; }
.upd-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 196px));
  gap: 20px;
}
.upd-filters .filter {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
  border: 2px solid var(--white);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.upd-filters .filter.active,
.upd-filters .filter:hover { background: var(--teal-muted); border-color: var(--teal-muted); }
.upd-hero .upd-photo img {
  width: 100%;
  max-width: 560px;
  border-radius: 300px 300px 300px 0;
  object-fit: cover;
}
@media (min-width: 900px) {
  .upd-hero { padding: 150px 0 110px; }
  .upd-hero .upd-grid { grid-template-columns: 1.1fr 1fr; }
  .upd-hero .upd-photo { order: -1; margin-left: calc(-1 * var(--pad-x) - 40px); }
  .upd-hero h1 { font-size: 60px; }
  .upd-hero .upd-sub { font-size: 30px; font-weight: 400; }
}

/* ---------- Update detail (blog post) ---------- */
.post-page { background: var(--navy-hero); }
.post-layout {
  display: grid;
  gap: 0;
}
.post-side {
  background: var(--navy-deep);
  padding: 120px var(--pad-x) 70px;
  position: relative;
  overflow: hidden;
}
.post-side .post-kicker {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 20px;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.post-side h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.0;
  color: var(--light);
  text-transform: uppercase;
  margin-bottom: 44px;
}
.post-side .post-photo img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 50% 50% 8px 50%;
  object-fit: cover;
}
.post-side .deco-corner {
  position: absolute;
  left: -10px; bottom: 40px;
  width: 90px;
}
.post-article {
  padding: 60px var(--pad-x) 90px;
  color: var(--white);
  max-width: 760px;
}
.post-article p {
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 28px;
}
.post-article figure { margin: 40px 0; position: relative; }
.post-article figure img { width: 100%; }
.post-article .media-play::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0; height: 0;
  border-left: 46px solid rgba(255,255,255,.6);
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
}
.post-article .img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 40px 0;
}
.post-article .img-pair img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .post-layout { grid-template-columns: 640px 1fr; }
  .post-side { padding: 170px 68px 90px; }
  .post-side h1 { font-size: 60px; }
  .post-side .post-kicker { font-size: 30px; }
  .post-article { padding: 170px 70px 110px; }
  .post-article p { font-size: 20px; line-height: 1.25; }
}

/* ---------- Our Story ---------- */
.story-hero {
  background: var(--navy-hero);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.story-hero .story-grid { display: grid; gap: 44px; align-items: center; }
.story-hero .hero-icon { width: 70px; margin-bottom: 24px; }
.story-hero h1 {
  font-weight: 700;
  font-size: 40px;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.story-hero .story-sub {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.05;
  color: var(--light);
}
.story-hero .story-sub .impact-word { color: var(--teal-light); }
.story-hero .story-photo img { width: 100%; max-width: 420px; margin-left: auto; }
@media (min-width: 900px) {
  .story-hero { padding: 160px 0 100px; }
  .story-hero .story-grid { grid-template-columns: 1.1fr 1fr; }
  .story-hero h1 { font-size: 60px; }
  .story-hero .story-sub { font-size: 38px; }
  .story-hero .hero-icon { width: 82px; }
}

/* Impact = tabs (reutiliza .insights de home.css → clases propias) */
.impact {
  background: var(--navy-deep);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.impact .section-title { margin-bottom: 44px; }
.impact .nmsdc-badge { width: 110px; margin-bottom: 24px; }
.impact .ins-photo img { border-radius: 8px 50% 50% 50%; }
@media (min-width: 900px) {
  .impact { padding: 130px 0 150px; }
  .impact .nmsdc-badge { width: 148px; }
}

/* Staff */
.staff {
  background: var(--light);
  padding: 90px 0 100px;
}
.staff .staff-head { text-align: center; margin-bottom: 60px; text-transform: uppercase; }
.staff .section-title { color: var(--navy-hero); }
.staff .staff-sub {
  font-weight: 500;
  font-size: 20px;
  color: var(--teal);
  margin-top: 8px;
}
.staff-grid {
  display: grid;
  gap: 44px;
}
.staff-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  align-items: center;
}
.staff-card img.face { width: 122px; height: 120px; object-fit: cover; }
.staff-card .name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--navy-hero);
}
.staff-card .role {
  font-weight: 500;
  font-size: 17px;
  color: var(--teal);
  margin: 4px 0 8px;
}
.staff-card .loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy-hero);
}
.staff-card .loc img { width: 13px; }
@media (min-width: 900px) {
  .staff { padding: 120px 0 140px; }
  .staff-grid { grid-template-columns: repeat(3, 1fr); gap: 70px 40px; }
}

/* Offices */
.offices {
  background: var(--navy-darker);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.offices .off-head { margin-bottom: 40px; }
.offices h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 36px;
  color: var(--white);
  text-transform: uppercase;
}
.offices .off-sub {
  font-weight: 500;
  font-size: 22px;
  color: var(--teal-light);
  margin: 6px 0 10px;
}
.offices .off-body { font-size: 16px; color: var(--white); max-width: 520px; }
.offices .world-map { width: 100%; max-width: 913px; margin: 40px auto; display: block; }
.offices .off-grid {
  display: grid;
  gap: 44px;
}
.offices .region h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: var(--teal-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.offices .region ul li {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
  padding: 5px 0;
}
.offices .region .hq {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
}
.offices .region .hq .city { font-size: 21px; font-weight: 500; color: var(--light); }
.offices .region .hq .mail, .offices .region .hq .tel {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-light);
  text-transform: none;
}
@media (min-width: 900px) {
  .offices { padding: 130px 0 150px; }
  .offices .off-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .offices h2 { font-size: 60px; }
  .offices .off-sub { font-size: 30px; }
  .offices .off-body { font-size: 20px; }
  .offices .off-grid { grid-template-columns: repeat(3, auto); justify-content: start; gap: 80px; }
  .offices .world-map { margin: 0; }
}

/* Paginación updates */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 0;
}
.pagination a, .pagination span {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
  min-width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pagination a.active { background: var(--teal-muted); border-color: var(--teal-muted); color: var(--navy-hero); }
