/* S06 Fotografía conjunta A V01. CSS autónomo de la composición aprobada. */
@font-face { font-family: "TECO S06 Foto Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../s06-fotografia-conjunta-a-v01-2026-11-03/fonts/manrope-normal-400.ttf") format("truetype"); }
@font-face { font-family: "TECO S06 Foto Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../s06-fotografia-conjunta-a-v01-2026-11-03/fonts/manrope-normal-600.ttf") format("truetype"); }
@font-face { font-family: "TECO S06 Foto Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../s06-fotografia-conjunta-a-v01-2026-11-03/fonts/manrope-normal-700.ttf") format("truetype"); }
@font-face { font-family: "TECO S06 Foto Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../s06-fotografia-conjunta-a-v01-2026-11-03/fonts/newsreader-normal-400.ttf") format("truetype"); }
@font-face { font-family: "TECO S06 Foto Newsreader"; font-style: italic; font-weight: 500; font-display: swap; src: url("../../s06-fotografia-conjunta-a-v01-2026-11-03/fonts/newsreader-italic-500.ttf") format("truetype"); }

#rz-investigadores[data-rz-s06-photo] {
  --teco-green: #a6b013;
  --teco-gray: #333333;
  --teco-gold: #b9935a;
  --teco-white: #ffffff;
  --rz-paper: #f5f5ef;
  --rz-muted: #62645b;
  --rz-line: #dcded3;
  padding-block: clamp(48px, 5.5vw, 80px) 0;
  border-top: 1px solid var(--rz-line);
  background: var(--rz-paper);
  color: var(--teco-gray);
  font: 400 16px/1.8 "TECO S06 Foto Manrope", Arial, sans-serif;
  text-align: start;
  scroll-margin-top: 124px;
}
#rz-investigadores[data-rz-s06-photo],
#rz-investigadores[data-rz-s06-photo] *,
#rz-investigadores[data-rz-s06-photo] *::before,
#rz-investigadores[data-rz-s06-photo] *::after { box-sizing: border-box; }
#rz-investigadores[data-rz-s06-photo] :where(h2, h3, p, figure, ul, li) { margin: 0; padding: 0; }
#rz-investigadores[data-rz-s06-photo] :where(h2, h3, h2 em, h3 em) { color: inherit; }
#rz-investigadores[data-rz-s06-photo] .rz-container { width: min(1248px, calc(100% - 96px)); margin-inline: auto; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__eyebrow { font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .045em; text-transform: uppercase; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__heading::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 20px; background: var(--teco-green); }
#rz-investigadores[data-rz-s06-photo] .rz-s06__heading h2 { margin-top: 24px; max-width: 20ch; font: 400 clamp(40px, 3.9vw, 56px)/1.1 "TECO S06 Foto Newsreader", Georgia, serif; letter-spacing: -.035em; text-wrap: balance; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__heading h2 em { font-weight: 400; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__intro { margin-top: 24px; max-width: 58ch; color: var(--rz-muted); }
#rz-investigadores[data-rz-s06-photo] [data-s06-person] { min-width: 0; }
#rz-investigadores[data-rz-s06-photo] [data-s06-person] h3 { font: 600 clamp(20px, 1.55vw, 23px)/1.4 "TECO S06 Foto Manrope", Arial, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__credit { margin-top: 8px; color: var(--rz-muted); font-size: 16px; line-height: 1.7; }
#rz-investigadores[data-rz-s06-photo] .rz-s06-photo__position { margin-bottom: 10px; color: var(--rz-muted); font-size: 12px; font-weight: 600; line-height: 1.6; }
#rz-investigadores[data-rz-s06-photo] img { display: block; width: 100%; height: auto; }
#rz-investigadores[data-rz-s06-photo] .rz-s06-photo__caption { margin-top: 12px; color: var(--rz-muted); font-size: 13px; line-height: 1.7; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 5.5vw, 80px); padding-top: 32px; border-top: 1px solid var(--teco-gold); }
#rz-investigadores[data-rz-s06-photo] .rz-s06__context h3 { margin-block: 16px 20px; max-width: 28ch; font: 400 clamp(28px, 2.5vw, 36px)/1.16 "TECO S06 Foto Newsreader", Georgia, serif; letter-spacing: -.02em; text-wrap: pretty; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__context p:not(.rz-s06__eyebrow) { color: var(--rz-muted); }
#rz-investigadores[data-rz-s06-photo] .rz-s06__scope { margin-top: 20px; padding-left: 20px; border-left: 1px solid var(--teco-gold); }
#rz-investigadores[data-rz-s06-photo] .rz-s06__sources { margin-top: 20px; list-style: none; }
#rz-investigadores[data-rz-s06-photo] a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__sources a { display: inline-block; min-height: 44px; padding-block: 10px; font-size: 14px; line-height: 1.7; }
#rz-investigadores[data-rz-s06-photo] a:focus-visible { outline: 3px solid var(--teco-gray); outline-offset: 5px; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__closing { margin-top: clamp(40px, 4.4vw, 64px); padding-block: 32px clamp(48px, 5.5vw, 80px); border-top: 1px solid var(--rz-line); }
#rz-investigadores[data-rz-s06-photo] .rz-s06__closing p { max-width: 38ch; font: 400 clamp(28px, 2.5vw, 36px)/1.2 "TECO S06 Foto Newsreader", Georgia, serif; letter-spacing: -.02em; }
#rz-investigadores[data-rz-s06-photo] .rz-s06__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  #rz-investigadores[data-rz-s06-photo] .rz-container { width: calc(100% - 64px); }
}
@media (max-width: 760px) {
  #rz-investigadores[data-rz-s06-photo] .rz-container { width: calc(100% - 40px); }
  #rz-investigadores[data-rz-s06-photo] .rz-s06__heading h2 { font-size: clamp(34px, 9.7vw, 42px); }
  #rz-investigadores[data-rz-s06-photo] .rz-s06__context { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  #rz-investigadores[data-rz-s06-photo] .rz-s06__intro,
  #rz-investigadores[data-rz-s06-photo] .rz-s06__context { line-height: 1.75; }
}
@media (max-width: 359px) {
  #rz-investigadores[data-rz-s06-photo] .rz-container { width: calc(100% - 32px); }
}

#rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "photo heading"
    "photo people";
  column-gap: clamp(40px, 5vw, 72px);
  row-gap: 48px;
  align-items: start;
}

#rz-investigadores[data-rz-s06-photo="a"] .rz-s06__heading {
  grid-area: heading;
  min-width: 0;
}

#rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__figure {
  grid-area: photo;
  min-width: 0;
}

#rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__figure img {
  width: 100%;
  height: auto;
}

#rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__people {
  grid-area: people;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-self: end;
}

@media (max-width: 1100px) {
  #rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "heading"
      "photo"
      "people";
    row-gap: 40px;
  }

  #rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__figure {
    width: min(100%, 560px);
    justify-self: center;
  }

  #rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-self: start;
  }
}

@media (max-width: 760px) {
  #rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__people {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Revisión local de A V01. La fotografía conserva la altura de la retícula;
   los créditos comienzan tras los 48 px de separación respecto del encabezado. */
@media (min-width: 1101px) {
  #rz-investigadores[data-rz-s06-photo="a"] .rz-s06-photo__people {
    align-self: start;
  }
}
