/* ===== Variables globales ===== */
:root {
  --blue: #0785cd;
  --dark: #252327;
  --max: 1190px;
  --slm-focus: #0b81c9;
  --slm-ink: #231f20;
  --slm-title-stroke: 1.6px;
  --slm-header-ink: #272528;
  --slm-text: #555555;
  --slm-blue: #087fc2;
  --slm-border: #e6e8eb;
  --slm-serif: "SLM Volkhov", Georgia, serif;
  --slm-heading-font: "SLM Volkhov", Georgia, serif;
  --slm-body-font: "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  --slm-page-heading-top: clamp(56px, 7vw, 92px);
  --slm-page-heading-bottom: clamp(40px, 6vw, 75px);
}

/* ===== Estilos globales y página de inicio ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: #242424;
  background: white;
  font-family: "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Jerarquia base: solo titulos convencionales, sin alterar los decorativos. */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--slm-heading-font);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(var(--max), 94%);
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.preview {
  background: #0c2635;
  color: #fff;
  text-align: center;
  padding: 7px 12px;
  font: 600 10px "SLM Open Sans", "Open Sans", Arial;
  letter-spacing: 1.1px;
}

.topbar {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
}

.brand {
  width: 130px;
  display: grid;
  justify-items: center;
  color: #0589d0;
  flex-shrink: 0;
}

.brand svg {
  height: 59px;
  width: 90px;
}

.brand small {
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand small span {
  font-size: 5px;
  letter-spacing: .4px;
}

.head-right {
  flex: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 100px;
  padding-top: 16px;
  font-size: 10px;
}

.search-display {
  display: block;
  width: 330px;
  color: #aaa;
  background: #fafafa;
  padding: 12px;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--slm-header-ink);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 27px;
  align-items: center;
  min-height: 51px;
  font-size: 12px;
  white-space: nowrap;
}

.nav a,
.nav span {
  padding: 17px 0;
  display: block;
}

.nav .active {
  border-bottom: 3px solid var(--blue);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 565px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 1%;
  padding: 45px 4% 80px;
}

.hero h1 {
  font-family: var(--slm-heading-font);
  font-size: clamp(68px, 7vw, 105px);
  letter-spacing: -5px;
  line-height: .95;
  margin: 0;
  color: #241f22;
}

.hero p {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.25;
  margin: 12px 0;
}

.hero-picture {
  position: relative;
  max-width: 640px;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 40% 24% 38% 24% / 45% 20% 40% 26%;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 47%;
}

.waves {
  position: absolute;
  right: 6%;
  top: 20%;
  font-size: 65px;
  color: #008bd0;
  width: 54px;
  height: 54px;
  transform: rotate(-24deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 21px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15px;
  min-width: 132px;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.blue {
  background: #087fc6;
  color: white;
}

.outline {
  border-color: #777;
  background: white;
  color: #292929;
}

.actions {
  display: flex;
  gap: 9px;
}

.disabled {
  cursor: default;
}

.about {
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: center;
  gap: 20px;
  min-height: 460px;
  padding: 20px 4% 85px;
}

.about-art img {
  width: 100%;
  height: auto;
}

.about-copy {
  padding: 0 0 0 20px;
}

.about-title {
  font-family: var(--slm-heading-font);
  font-size: clamp(55px, 6vw, 91px);
  letter-spacing: -4px;
  line-height: .7;
  margin: 0 0 42px;
}

.about-title span,
.about-title em {
  display: block;
}

.about-title em {
  color: #0087d1;
  font-style: normal;
  margin-left: 55px;
}

.about-copy p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 24px;
  max-width: 495px;
}

.feature {
  width: min(1440px, 100%);
  margin-inline: auto;
}

.podcasts {
  background: #202020 url('/assets/podcast.webp') center center/cover no-repeat;
  min-height: 610px;
  color: #fff;
  display: grid;
  align-items: center;
}

.podcast-inner {
  padding: 52px 0;
}

.outlined {
  font-family: "SLM Portico Outline", Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  font-stretch: condensed;
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: clamp(39px, 5.25vw, 76px);
  margin: 0 0 24px;
  text-align: center;
}

.blue-stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
  text-shadow: 1px 1px 0 transparent;
}

.white-stroke {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.podcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
  padding: 15px 60px;
}

.podcast-grid>div:first-child {
  text-align: center;
}

.podcast-grid p {
  font-family: var(--slm-body-font);
  font-size: 16px;
  line-height: 1.25;
  text-shadow: 0 1px 8px #111;
  max-width: 440px;
  margin-inline: auto;
}

.white {
  background: white;
  color: #222;
}

.podcast-placeholder {
  background: #f8f8f8;
  color: #333;
  min-height: 236px;
  padding: 24px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #bbb;
}

.podcast-placeholder img {
  width: 130px;
  filter: brightness(.6);
}

.podcast-placeholder strong {
  font-size: 20px;
}

.podcast-placeholder span {
  font-size: 12px;
  color: #777;
}

.audio-line {
  font-size: 12px;
  background: #fff;
  padding: 12px;
  width: 100%;
  border: 1px solid #ddd;
}

.platforms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 50vh;
  min-height: 50svh;
  padding: 30px 4%;
}

.platforms h2 {
  font-family: "SLM Bangers", Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(31px, 3vw, 45px);
  white-space: nowrap;
}

.platform-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  flex: 1;
}

.platform-logos img {
  width: min(245px, 45%);
  object-fit: contain;
}

.videos {
  background: linear-gradient(#0069a9b8, #00518eca), url('/assets/videos.webp') center center/cover no-repeat;
  color: #fff;
  padding: 85px 0 70px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin: 20px 0 45px;
}

.media-card {
  text-align: center;
  border: 1px solid #80b7de;
  background: #005b9844;
  min-height: 385px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .16s ease;
}

.media-picture {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  height: auto;
  background: #15394b99;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #70a7c3;
}

.media-picture span {
  border: 1px solid #aacadb;
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
}

.media-picture img {
  height: 100%;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.media-card h3 {
  font-family: var(--slm-heading-font);
  margin: 22px 8px 10px;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.22;
  text-wrap: balance;
}

.media-card p {
  font-size: 13px;
  margin: 12px;
}

.media-card small {
  display: block;
  margin: auto 9px 20px;
  font-size: 11px;
  line-height: 1.4;
}

.center {
  text-align: center;
}

.round-social {
  text-align: center;
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
}

.articles {
  padding: 78px 4% 70px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 38px 0 40px;
}

.article-card {
  box-shadow: 0 1px 9px #0002;
  border: 1px solid #eee;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: white;
}

.article-image {
  height: 210px;
  background: #e8f0f4;
  display: block;
  overflow: hidden;
  color: #4c6778;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  padding: 0;
}

.article-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.article-body h3 {
  font: 700 18px/1.1 var(--slm-heading-font);
  margin: 2px 0 11px;
  overflow-wrap: break-word;
  line-height: 1.16;
  text-wrap: pretty;
}

.article-body p {
  font: 13px/1.45 var(--slm-body-font);
  color: #555;
  flex: 1;
  margin-top: 0;
}

.article-body span {
  font-size: 11px;
  font-weight: 700;
  color: #058bcb;
}

.articles .round-social {
  color: #2870b2;
}

.camps {
  background: linear-gradient(#05365a55, #05365a6c), url('/assets/camps.webp') center center/cover no-repeat;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.camps-content {
  padding: 80px 10%;
  position: relative;
  z-index: 1;
}

.camps p {
  font: 15px/1.4 var(--slm-body-font);
  max-width: 900px;
  margin: 12px auto 26px;
  text-shadow: 0 2px 7px #082b42d9;
}

.newsletter {
  text-align: center;
  padding: 70px 0 80px;
}

.newsletter form {
  max-width: 740px;
  margin: 35px auto 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  width: 100%;
}

.newsletter input {
  border: 1px solid #66a5d8;
  height: 40px;
  padding: 10px;
  width: min(100%, 355px);
  background: #fafafa;
}

.form-row input {
  width: 100%;
}

.newsletter button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.form-note {
  font-size: 12px;
  color: #777;
  margin: 0;
  max-width: 480px;
  line-height: 1.5;
}

.footer {
  background: #141414;
  color: #bbb;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 25px;
  font-size: 16px;
  border-bottom: 1px solid #242424;
  flex-wrap: wrap;
}

.copyright {
  padding: 38px 12px;
  font-size: 16px;
  color: #777;
}

@media(max-width:950px) {
  .nav {
    font-size: 10px;
  }

  .search-display {
    width: 185px;
  }

  .hero {
    min-height: 450px;
  }

  .hero h1 {
    font-size: 65px;
  }

  .about {
    min-height: 330px;
  }

  .about-title {
    font-size: 57px;
  }

  .podcast-grid {
    gap: 25px;
    padding: 10px;
  }

  .article-image {
    height: 150px;
  }
}

@media(max-width:700px) {
  .shell {
    width: 92%;
  }

  .topbar {
    align-items: center;
  }

  .brand {
    width: 82px;
  }

  .brand svg {
    width: 59px;
    height: 50px;
  }

  .brand small {
    font-size: 6px;
  }

  .brand small span {
    font-size: 4px;
  }

  .head-actions {
    display: none;
  }

  .head-right {
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    background: #fff;
    color: #333;
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 12;
    background: white;
    padding: 8px 4% 18px;
    box-shadow: 0 8px 18px #0002;
    white-space: normal;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav span {
    padding: 12px 8px;
  }

  .hero {
    padding: 40px 0 75px;
    display: flex;
    flex-direction: column-reverse;
    align-items: start;
    min-height: 0;
  }

  .hero-picture {
    align-self: center;
    width: 100%;
    max-width: 500px;
  }

  .hero h1 {
    font-size: clamp(58px, 14vw, 85px);
  }

  .hero p {
    font-size: 23px;
  }

  .about {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 15px 0 70px;
    min-height: 0;
  }

  .about-copy {
    padding: 0;
  }

  .about-title {
    font-size: 65px;
  }

  .about-copy p {
    font-size: 15px;
  }

  .podcasts {
    min-height: 0;
  }

  .podcast-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .platforms {
    flex-direction: column;
    padding: 65px 2%;
    min-height: 0;
  }

  .platforms h2 {
    margin: 0;
  }

  .platform-logos {
    width: 100%;
  }

  .videos {
    padding: 65px 0;
  }

  .video-grid,
  .article-grid {
    gap: 12px;
  }

  .media-card p {
    font-size: 12px;
  }

  .articles {
    padding: 65px 0;
  }

  .article-body h3 {
    font-size: 15px;
  }

  .camps-content {
    padding: 65px 0;
  }

  .newsletter {
    padding: 65px 0;
  }
}

@media(max-width:420px) {
  .video-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-card {
    min-height: 340px;
  }

  .article-image {
    height: 110px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter input {
    width: 100%;
  }

  .hero-picture {
    aspect-ratio: 1.35;
  }

  .about-title {
    font-size: 53px;
  }
}

/* Recorte de imágenes en miniaturas de artículos */
.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media(min-width:951px) {
  .hero {
    padding-bottom: 65px;
  }

  .about {
    padding-bottom: 70px;
  }

  .newsletter {
    padding-top: 60px;
    padding-bottom: 65px;
  }
}

@media(max-width:700px) {
  .video-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-image {
    height: clamp(130px, 29vw, 210px);
  }

  .article-body {
    min-height: 0;
  }

  .media-card {
    min-width: 0;
  }

  .media-card h3 {
    overflow-wrap: break-word;
  }
}

@media(max-width:470px) {
  .media-card {
    min-height: 0;
    padding-bottom: 25px;
  }

  .media-card small {
    margin-top: 20px;
  }
}

/* Enlaces de artículos */
.articles .article-body a {
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  align-self: flex-start;
  margin-top: auto;
}

.articles .article-body a:hover,
.articles .article-body a:focus-visible {
  text-decoration: underline;
}

/* Reproductor, plataformas y tarjetas de vídeo */
.podcast-player {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.podcast-player iframe {
  border: 0;
  width: 100%;
  max-width: 430px;
  height: 315px;
  background: #111;
  display: block;
  aspect-ratio: 430/315;
}

.podcast-open {
  font: 12px/1.4 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 12px;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(245px, 45%);
}

.platform-logos a img {
  width: 100%;
  height: auto;
}

.media-card .video-link {
  display: block;
  color: inherit;
}

.media-card .video-link:hover h3,
.media-card .video-link:focus-visible h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.media-card .video-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.media-picture .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 12px;
  padding: 8px 17px;
  background: #df1717de;
  color: white;
  font: 22px/1.2 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  pointer-events: none;
}

@media(max-width:700px) {
  .podcast-player iframe {
    height: 315px;
  }
}

/* ===== Accesibilidad e interacciones ===== */
button,
input {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--slm-focus);
  outline-offset: 3px;
}

a.btn:hover {
  transform: translateY(-1px);
}

.btn.blue:hover {
  background: #006ba9;
}

.btn.outline:hover {
  border-color: #007bc2;
  color: #007bc2;
}

.btn.white:hover {
  background: #e7f5fc;
}

.nav a:not(.active):hover,
.nav a:not(.active):focus-visible {
  color: var(--blue);
}

.hero-picture img,
.about-art img {
  object-fit: cover;
}

.media-card:hover {
  border-color: #e4f2ff;
}

@media(min-width:951px) {
  .hero {
    column-gap: 2%;
    grid-template-columns: 45% 53%;
  }

  .podcast-grid {
    gap: clamp(35px, 6vw, 90px);
  }
}

@media(min-width:701px) and (max-width:1050px) {
  .topbar {
    gap: 18px;
  }

  .brand {
    width: 104px;
  }

  .nav {
    gap: clamp(8px, 1.3vw, 16px);
    font-size: 11px;
  }

  .head-actions {
    gap: 28px;
  }

  .search-display {
    width: clamp(150px, 22vw, 250px);
  }

  .media-card p {
    font-size: 12px;
  }
}

@media(max-width:700px) {
  .nav {
    top: 100%;
    left: 0;
    right: 0;
  }

  .site-header {
    position: relative;
    z-index: 10;
    background: #fff;
  }

  .menu-toggle {
    cursor: pointer;
    min-height: 44px;
  }

  .hero {
    gap: 26px;
  }

  .hero h1 {
    letter-spacing: -2.8px;
  }

  .hero-picture {
    border-radius: 35% 23% 35% 23% / 40% 18% 35% 25%;
  }

  .about-title {
    line-height: .83;
    margin-bottom: 24px;
  }

  .podcast-inner {
    padding: 58px 0;
  }

  .podcast-grid p {
    line-height: 1.5;
  }

  .media-card {
    min-height: 0;
    padding-bottom: 0;
  }

  .media-card small {
    margin: 10px 7px 18px;
  }

  .article-body {
    padding: 12px;
  }

  .article-body p {
    line-height: 1.52;
  }

  .camps {
    background-position: center center;
  }

  .camps p {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media(max-width:470px) {
  .video-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .media-picture {
    height: auto;
  }

  .article-image {
    height: auto;
    aspect-ratio: 1.65;
  }

  .article-body {
    min-height: 0;
  }

  .platform-logos {
    gap: 16px;
  }

  .platform-logos img {
    max-width: 100%;
  }

  .outlined {
    letter-spacing: .2px;
    -webkit-text-stroke-width: 1.5px;
  }

  .camps-content {
    padding: 58px 0;
  }

  .footer-links {
    gap: 30px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Reproductor de podcast ===== */
.podcast-stage {
  width: 100%;
  min-height: 260px;
  max-width: 430px;
  background: #f8fafb;
  color: #24313a;
  border: 1px solid #d9e4ea;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.podcast-stage-copy {
  padding: 22px 18px;
  text-align: center;
  display: grid;
  gap: 11px;
  justify-items: center;
}

.podcast-stage-copy strong {
  font: 700 17px/1.25 var(--slm-heading-font);
}

.podcast-stage-copy strong span {
  font: 600 13px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #1380bc;
}

.podcast-stage-copy p {
  font: 13px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif !important;
  color: #51616e;
  text-shadow: none !important;
  margin: 0;
}

.podcast-brand {
  color: #1593cd;
  font: 800 11px "SLM Open Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: 2.2px;
}

.podcast-load {
  border: 0;
  background: #0b83c7;
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  padding: 10px 18px;
  font: 700 11px "SLM Open Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: .3px;
}

.podcast-load:hover {
  background: #006aa5;
}

.podcast-stage.is-loaded {
  background: #fff;
  min-height: 315px;
}

.podcast-stage iframe {
  width: 100%;
  height: 315px;
  max-width: none;
  border: 0;
  background: #fff;
  display: block;
}

.podcast-noscript {
  font-size: 12px;
  color: #fff;
}

.video-grid .media-card {
  background: rgba(0, 75, 120, .2);
}

.media-card .video-link:hover .media-picture img {
  filter: brightness(1.08);
}

.media-card .video-play {
  transition: background-color .15s ease;
}

.media-card .video-link:hover .video-play {
  background: #c81717;
}

.articles .article-body h3 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.articles .article-body p {
  line-height: 1.42;
}

@media(min-width:951px) {
  .podcasts {
    min-height: 545px;
    min-height: min(90svh, 820px);
  }

  .podcast-inner {
    padding: 45px 0;
  }

  .videos {
    padding-top: 70px;
    padding-bottom: 55px;
  }

  .video-grid {
    gap: 14px;
    margin-bottom: 28px;
  }

  .media-card {
    min-height: 315px;
  }

  .media-card h3 {
    margin: 14px 8px 7px;
  }

  .media-card p {
    font-size: 12px;
    margin: 8px;
  }

  .media-card small {
    font-size: 10px;
    margin: auto 7px 16px;
  }

  .articles {
    padding-top: 62px;
    padding-bottom: 60px;
  }

  .article-grid {
    gap: 14px;
    margin: 32px 0 29px;
  }

  .article-image {
    height: 195px;
  }

  .article-body h3 {
    font-size: 16px;
  }

  .article-body p {
    font-size: 12px;
  }
}

@media(max-width:700px) {
  .podcast-stage {
    min-height: 240px;
  }

  .podcast-grid {
    gap: 25px;
  }

  .platforms {
    gap: 18px;
  }

  .podcast-player {
    max-width: 430px;
  }

  .video-grid .media-card {
    min-height: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .media-card .video-play {
    transition: none;
  }
}

/* ===== Ajustes de composición en escritorio ===== */
@media(min-width:951px) {
  .topbar {
    min-height: 93px;
    gap: 18px;
    align-items: center;
  }

  .brand {
    width: 104px;
  }

  .brand svg {
    width: 73px;
    height: 52px;
  }

  .brand small {
    font-size: 7px;
  }

  .head-actions {
    gap: clamp(36px, 6vw, 105px);
    padding-top: 9px;
    align-items: center;
  }

  .search-display {
    width: clamp(210px, 24vw, 320px);
    padding: 9px 11px;
  }

  .nav {
    min-height: 37px;
    gap: clamp(13px, 1.45vw, 24px);
    font-size: 11px;
  }

  .nav a,
  .nav span {
    padding: 10px 0;
  }

  .nav .active {
    border-bottom-width: 2px;
  }

  .videos {
    min-height: min(90svh, 840px);
    display: flex;
    align-items: center;
  }

  .videos>.shell {
    width: min(var(--max), 94%);
  }

  .articles {
    min-height: min(90svh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero {
    min-height: clamp(455px, 53svh, 560px);
  }

  .about {
    min-height: clamp(360px, 43svh, 460px);
  }
}

.blue-stroke,
.white-stroke {
  -webkit-text-stroke-width: var(--slm-title-stroke);
}

.social-icons svg {
  height: 12px;
  width: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icons svg:first-child {
  fill: currentColor;
  stroke: none;
}

@media(max-width:950px) {
  .outlined {
    font-size: clamp(37px, 6vw, 64px);
  }

  .topbar {
    min-height: 85px;
  }

  .brand {
    width: 95px;
  }

  .head-actions {
    gap: 22px;
  }

  .nav {
    gap: 10px;
  }

  .waves {
    width: 42px;
    height: 42px;
  }
}

@media(max-width:700px) {
  .topbar {
    min-height: 82px;
  }

  .nav {
    font-size: 14px;
    gap: 0;
  }

  .nav a,
  .nav span {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .outlined {
    font-size: clamp(36px, 10vw, 54px);
  }

  .podcasts,
  .videos,
  .articles {
    min-height: 0;
  }

  .social-icons {
    display: none;
  }
}

/* ===== Alturas de sección responsive ===== */
@media (max-width: 700px) {
  .platforms {
    min-height: 50vh;
    min-height: 50svh;
  }
}

/* Menú desplegable para anchos intermedios */
@media (min-width:701px) and (max-width:950px) {
  .topbar {
    min-height: 85px;
    align-items: center;
  }

  .head-actions {
    display: none;
  }

  .head-right {
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    background: #fff;
    color: #333;
    cursor: pointer;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(85px + 26px);
    left: 0;
    right: 0;
    z-index: 12;
    background: #fff;
    padding: 8px max(3%, calc((100% - 1190px)/2)) 18px;
    box-shadow: 0 8px 18px #0002;
    white-space: normal;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 14px;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav span {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 8px;
  }
}

.menu-toggle:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media(max-width:950px) {
  .nav.open {
    max-height: calc(100dvh - 115px);
    overflow-y: auto;
  }
}

/* ===== Tipografías de marca ===== */
@font-face {
  font-family: "SLM Portico Outline";
  src: url('/assets/fonts/Portico-Outline.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* La fuente ya incluye contornos; evita aplicar un segundo trazo. */
.outlined.blue-stroke {
  color: var(--blue);
  -webkit-text-stroke: 0;
}

.outlined.white-stroke {
  color: #fff;
  -webkit-text-stroke: 0;
}

/* ===== Tipografía de navegación ===== */
@font-face {
  font-family: "SLM Open Sans";
  src: url('/assets/fonts/OpenSans-Latin-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@media (min-width:951px) {
  .head-actions {
    gap: clamp(18px, 4vw, 70px);
    align-items: center;
  }

  .search-display {
    width: clamp(170px, 24vw, 330px);
  }
}

.head-actions .social-icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #252327;
  flex-shrink: 0;
}

.head-actions .social-icons svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
  flex: 0 0 auto;
}

.head-actions .search-display {
  font-family: "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.3;
  min-height: 32px;
}

@media (min-width:951px) and (max-width:1190px) {
  .topbar {
    gap: 14px;
  }

  .head-actions .social-icons {
    gap: 8px;
  }

  .site-header .nav {
    gap: clamp(10px, 1.5vw, 21px);
    font-size: 11px;
  }
}

/* Los iconos son decorativos; no se convierten en enlaces mientras sus destinos
   no estén verificados. */
@font-face {
  font-family: "SLM Bangers";
  src: url('/assets/fonts/Bangers-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Página About Sergio ===== */
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/OpenSans-Latin-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SLM Volkhov";
  src: url('/assets/fonts/Volkhov-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Composición original de About Sergio con la identidad visual del sitio */
.slm-about-page .about-original-intro {
  background: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 490px;
}

.slm-about-page .about-original-intro-inner {
  max-width: 900px;
  margin: auto;
}

.slm-about-page .about-biography {
  max-width: 760px;
  margin: 0 auto 22px;
  color: #434950;
  font: 400 clamp(15px, 1.35vw, 16px)/1.6 var(--slm-body-font);
}

.slm-about-page .about-flags {
  display: block;
  width: min(350px, 80vw);
  height: auto;
  margin: 24px auto 0;
}

.slm-about-page .about-original-cv {
  background: #73777c;
  color: #fff;
  text-align: center;
  padding: 62px 18px 76px;
}

.slm-about-page .about-original-cv-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.slm-about-page .about-profile-heading {
  max-width: 900px;
  margin: 0 auto 30px;
}

.slm-about-page .about-profile-heading .eyebrow {
  font: 700 12px/1.5 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: .16em;
  color: #fff;
  margin: 0 0 9px;
}

.slm-about-page .about-profile-heading h2 {
  font-size: clamp(32px, 5vw, 65px);
  line-height: 1.2;
  margin: 0 auto 18px;
  color: transparent;
  -webkit-text-stroke: 1.35px #fff;
  text-shadow: none;
}

.slm-about-page .about-profile-heading>p:last-child {
  font: 400 clamp(14px, 1.5vw, 17px)/1.6 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #fff;
  max-width: 690px;
  margin: 0 auto;
}

.slm-about-page .about-cv-display {
  background: #73777c;
  padding: 0 8px;
}

.slm-about-page .cv-frame {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.slm-about-page .cv-frame img {
  display: block;
  width: min(100%, 530px);
  height: auto;
  background: #fff;
  box-shadow: 0 6px 21px rgba(0, 0, 0, .2);
}

.slm-about-page .cv-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  width: max-content;
  max-width: 100%;
  margin: 15px auto 0;
  padding: 5px;
  border-radius: 5px;
  background: #fff;
  color: #555;
  font: 600 12px/1.5 "SLM Open Sans", "Open Sans", Arial, sans-serif;
}

.slm-about-page .cv-controls button,
.slm-about-page .cv-controls a {
  font: inherit;
  border: 0;
  background: #fff;
  border-radius: 3px;
  padding: 8px 10px;
  color: #34434e;
  text-decoration: none;
  cursor: pointer;
}

.slm-about-page .cv-controls button:hover,
.slm-about-page .cv-controls a:hover {
  background: #e8f3fa;
}

.slm-about-page .cv-controls button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.slm-about-page .cv-counter {
  padding: 0 10px;
  white-space: nowrap;
}

.slm-about-page .cv-controls :is(button, a):focus-visible {
  outline: 2px solid #087fc6;
  outline-offset: 2px;
}

.slm-about-page .about-contact {
  text-align: center;
  padding: 78px 0 90px;
}

.slm-about-page .about-contact h2 {
  font: 700 clamp(40px, 5vw, 66px)/1.07 var(--slm-heading-font);
  letter-spacing: -.04em;
  margin: 12px 0 22px;
  color: #222;
}

.slm-about-page .about-contact p {
  max-width: 600px;
  margin: 0 auto 25px;
  line-height: 1.65;
  color: #44515a;
}

.slm-about-page .about-original-footer {
  background: #101010;
  color: #ccc;
}

.slm-about-page .about-original-footer .footer-links {
  padding: 30px 0;
  border-bottom: 1px solid #262626;
  display: flex;
  gap: 50px;
  justify-content: center;
}

.slm-about-page .about-original-footer .copyright {
  padding: 35px 14px;
  text-align: center;
  color: #888;
  font-size: 16px;
}

@media(max-width:700px) {
  .slm-about-page .about-original-intro {
    min-height: 0;
  }

  .slm-about-page .about-original-cv {
    padding: 45px 8px 55px;
  }

  .slm-about-page .about-profile-heading h2 {
    -webkit-text-stroke: 1px #fff;
  }

  .slm-about-page .about-cv-display {
    padding: 0;
  }

  .slm-about-page .cv-controls {
    font-size: 11px;
  }

  .slm-about-page .cv-controls button,
  .slm-about-page .cv-controls a {
    padding: 7px;
  }

  .slm-about-page .cv-counter {
    padding: 0 4px;
  }

  .slm-about-page .about-contact {
    padding: 58px 16px 65px;
  }
}

/* Tipografía del campo de búsqueda en About Sergio */
.slm-about-page .slm-search input {
  font-family: "SLM Open Sans", "Open Sans", Arial, sans-serif;
}

/* ===== Archivo del blog ===== */
.slm-blog-page,
.slm-article-page {
  background: #fff;
  color: var(--slm-ink);
}

.slm-blog-page .site-header {
  z-index: 5;
}

.slm-blog-search-link {
  font: 400 12px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #4c4c52;
  text-decoration: none;
  border-bottom: 1px solid #bbb;
  padding: 7px 4px;
}

.slm-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 40px;
  max-width: 1180px;
  margin: auto;
  padding-top: 46px;
  padding-bottom: 70px;
  align-items: start;
}

.slm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.slm-blog-card {
  background: #fff;
  box-shadow: 0 5px 22px #0000000b;
  border: 1px solid var(--slm-border);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.slm-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #00000013;
}

.slm-blog-thumb {
  height: auto;
  aspect-ratio: 4/3;
  display: block;
  background: #edf3f7;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.slm-blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.slm-blog-card:hover .slm-blog-thumb img {
  transform: scale(1.025);
}

.slm-blog-thumb>span {
  position: absolute;
  left: 11px;
  top: 11px;
  background: #ffffffea;
  color: #34404b;
  border-radius: 2px;
  padding: 4px 8px;
  font: 600 10px/1.5 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  z-index: 1;
}

.slm-blog-copy {
  padding: 19px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.slm-blog-category {
  display: inline-block;
  background: #087fc2;
  color: white;
  text-transform: uppercase;
  letter-spacing: .045em;
  font: 600 9px/1.3 "SLM Open Sans", Arial, sans-serif;
  padding: 5px 8px;
}

.slm-blog-card h2 {
  font: 700 19px/1.35 var(--slm-serif);
  margin: 15px 0 10px;
  overflow-wrap: anywhere;
}

.slm-blog-card h2 a {
  color: var(--slm-ink);
  text-decoration: none;
}

.slm-blog-card h2 a:hover,
.slm-readmore:hover,
.slm-blog-sidebar a:hover {
  color: var(--slm-blue);
}

.slm-blog-card p {
  color: var(--slm-text);
  font: 400 14px/1.65 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  margin: 0 0 16px;
}

.slm-readmore {
  font: 700 12px/1.5 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: var(--slm-blue);
  text-transform: uppercase;
  text-decoration: none;
}

.slm-blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  border-top: 1px solid #eee;
  padding: 12px 17px;
  font: 400 11px/1.5 "SLM Open Sans", Arial, sans-serif;
  color: #6b6b6b;
}

.slm-blog-sidebar {
  border-left: 1px solid #ededed;
  padding: 5px 0 0 24px;
}

.slm-blog-sidebar h2 {
  font: 700 25px/1.2 var(--slm-serif);
  margin: 0 0 16px;
  color: var(--slm-ink);
}

.slm-blog-sidebar a {
  color: #3e4952;
  text-decoration: none;
}

.slm-blog-intro {
  color: #666;
  font-size: 12px;
}

.slm-blog-sidebar ul {
  padding: 0;
  margin: 15px 0;
  list-style: none;
}

.slm-blog-sidebar li {
  border-bottom: 1px solid #e6e6e6;
  padding: 9px 0;
  font: 400 12px/1.4 "SLM Open Sans", Arial, sans-serif;
}

.slm-blog-pages {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font: 400 12px/1.5 "SLM Open Sans", Arial, sans-serif;
}

.slm-blog-pages a,
.slm-blog-pages [aria-current] {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce1e6;
  text-decoration: none;
  border-radius: 3px;
}

.slm-blog-pages a {
  display: inline-block;
  min-width: 38px;
  min-height: 38px;
  padding: 9px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dfe6;
  border-radius: 3px;
  color: #314d78;
  text-decoration: none;
}

.slm-blog-pages a:hover {
  border-color: var(--slm-blue);
  color: var(--slm-blue);
}

.slm-blog-pages [aria-current] {
  background: var(--slm-blue);
  color: #fff;
  border-color: var(--slm-blue);
}

.slm-blog-pages-note {
  color: #6d7076;
}

.slm-blog-page .footer {
  margin-top: 0;
}

@media(max-width:1100px) {
  .slm-blog-layout {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 25px;
  }

  .slm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:750px) {
  .slm-blog-layout {
    display: block;
    width: calc(100% - 36px);
    max-width: 1180px;
    padding-top: 24px;
  }

  .slm-blog-grid {
    grid-template-columns: 1fr;
  }

  .slm-blog-thumb {
    aspect-ratio: 16/9;
  }

  .slm-blog-sidebar {
    margin-top: 44px;
    border-left: 0;
    border-top: 1px solid var(--slm-border);
    padding: 25px 0;
  }
}

@media(max-width:700px) {
  .slm-blog-search-link {
    display: none;
  }
}

/* ===== Artículos ===== */
.slm-article-shell {
  width: min(980px, calc(100% - 40px));
  max-width: 870px;
  margin: 34px auto 90px;
}

.slm-article-back {
  display: inline-block;
  margin: 0 0 25px;
  color: #087fc2;
  font: 600 14px/1.5 "Open Sans", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slm-article-card {
  background: #fff;
  box-shadow: none;
  border: 0;
}

.slm-article-cover {
  display: block;
  width: 100%;
  height: clamp(220px, 35vw, 370px);
  object-fit: cover;
  background: #e7ecf1;
  border-radius: 3px;
}

.slm-article-body {
  padding: clamp(24px, 4vw, 54px) 0;
  font: 400 17px/1.85 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #393939;
  overflow-wrap: anywhere;
  min-width: 0;
}

.slm-article-body p {
  margin: 0 0 1.5em;
}

.slm-article-body a {
  color: #087fc2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slm-article-body strong {
  font-weight: 700;
}

.slm-article-body h2,
.slm-article-body h3 {
  font-family: var(--slm-serif);
  color: var(--slm-ink);
  line-height: 1.3;
  margin: 1.3em 0 .6em;
}

.slm-article-body blockquote {
  margin: 26px 0;
  padding: 15px 26px;
  border-left: 4px solid #477b9b;
  background: #f1f5f8;
}

.slm-article-body figure.slm-historic-media {
  margin: 26px 0;
  padding: 18px;
  border: 1px solid #e0e6eb;
  background: #f7f9fb;
  text-align: center;
}

.slm-article-body figure.slm-historic-media figcaption {
  font: 400 13px/1.5 "Open Sans", Arial, sans-serif;
  color: #566775;
  margin: 0 0 9px;
}

.slm-article-body figure.slm-historic-media a {
  font-size: 14px;
}

.slm-article-note {
  border-top: 1px solid #e4e8ed;
  color: #666;
  font: 400 12px/1.6 "Open Sans", Arial, sans-serif;
  padding: 18px 0;
}

.slm-article-next {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 28px 0;
}

.slm-article-next a {
  flex: 1;
  min-width: 220px;
  padding: 15px 18px;
  background: #f7f9fb;
  border: 1px solid var(--slm-border);
  border-radius: 3px;
  color: #087fc2;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: 600 14px/1.55 "Open Sans", Arial, sans-serif;
}

@media(max-width:750px) {
  .slm-article-shell {
    width: calc(100% - 36px);
    margin: 24px auto 55px;
  }

  .slm-article-intro {
    padding: 30px 16px;
  }

  .slm-article-body {
    font-size: 16px;
    line-height: 1.75;
    padding-top: 20px;
  }

  .slm-article-next {
    display: block;
  }

  .slm-article-next a {
    display: block;
    margin-bottom: 12px;
  }
}

/* Imágenes históricas de artículos */
.slm-article-body figure.slm-local-media {
  margin: 26px 0;
  text-align: center;
}

.slm-article-body figure.slm-local-media img {
  display: block;
  width: auto;
  margin-inline: auto;
  border-radius: 2px;
}

/* ===== Metadatos de vídeos dinámicos ===== */
#videos .media-card .yt-description {
  font-size: clamp(12px, 0.92vw, 14px);
  line-height: 1.4;
  margin: 10px 12px 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: #f3f8fc;
  text-align: left;
}

#videos .media-card h3 {
  overflow-wrap: anywhere;
}

#videos .media-card .yt-description:empty {
  display: none;
}

#videos .media-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

#videos .media-card small {
  margin-top: auto;
}

@media(max-width:700px) {
  #videos .media-card .yt-description {
    -webkit-line-clamp: 6;
    font-size: 13px;
  }
}

/* ===== Búsqueda del sitio ===== */
.slm-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.slm-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  width: clamp(120px, 17vw, 230px);
  background: #f7f7f7;
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  margin: 0;
}

.slm-search input {
  min-width: 0;
  width: 100%;
  height: 27px;
  padding: 4px 7px;
  color: #262626;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  outline: none;
}

.slm-search input:focus-visible {
  outline: 2px solid #0789ce;
  outline-offset: 2px;
}

.slm-search button {
  background: transparent;
  border: 0;
  color: #545454;
  padding: 4px 9px;
  cursor: pointer;
  font-size: 17px;
}

.slm-search-results {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #d8e0e7;
  box-shadow: 0 7px 22px #0002;
  border-radius: 3px;
  width: min(370px, 85vw);
  max-height: 320px;
  overflow: auto;
  padding: 10px;
  font-size: 12px;
  color: #252525;
  text-align: left;
}

.slm-search-results[hidden] {
  display: none !important;
}

.slm-search-results ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.slm-search-results li {
  border-bottom: 1px solid #eee;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slm-search-results li:last-child {
  border: 0;
}

.slm-search-results a {
  color: #066b9b;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
}

.slm-search-results a:hover,
.slm-search-results a:focus-visible {
  text-decoration: underline;
}

.slm-search-results small {
  color: #686868;
  font-size: 10px;
}

@media(max-width:700px) {
  .slm-search {
    width: min(230px, 48vw);
  }

  .slm-search-results {
    width: min(310px, 86vw);
  }
}

/* Paginación accesible del blog */
.slm-blog-pages a:hover,
.slm-blog-pages a:focus-visible {
  background: #f1f4f8;
  text-decoration: underline;
}

.slm-blog-pages a:focus-visible {
  outline: 2px solid #274979;
  outline-offset: 2px;
}

.slm-blog-stats-heading {
  margin-top: 28px !important;
}

/* ===== Cabecera y navegación ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 30;
}

.site-header .topbar {
  min-height: 112px;
  align-items: center;
  gap: 30px;
}

.site-header .brand {
  width: 112px;
  min-width: 112px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: inherit;
}

.site-header .brand img {
  display: block;
  width: 84px;
  height: 89px;
  object-fit: contain;
}

.site-header .head-right {
  flex: 1;
  min-width: 0;
  align-self: stretch;
}

.site-header .head-actions {
  padding-top: 14px;
  min-height: 58px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.site-header .slm-search {
  position: relative;
  display: flex;
  align-items: center;
  grid-column: 2;
  min-width: 0;
  width: clamp(235px, 27vw, 365px);
  margin: 0;
  border: 1px solid #e5e7ea;
  border-radius: 9px;
  background: #f8f9fa;
  overflow: visible;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.site-header .slm-search:focus-within {
  border-color: #158ac7;
  box-shadow: 0 0 0 3px rgba(21, 138, 199, .13);
}

.site-header .slm-search input,
.site-header .slm-search input:focus {
  min-width: 0;
  flex: 1;
  width: 0;
  height: 40px;
  padding: 0 12px 0 15px;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-family: "SLM Open Sans", "Open Sans", Arial, sans-serif;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.site-header .slm-search button {
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  align-self: stretch;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.site-header .slm-search button:hover {
  background: rgba(0, 0, 0, .035);
}

.site-header .slm-search-results {
  border-radius: 7px;
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 28px;
  min-height: 51px;
  color: var(--slm-header-ink);
  font-family: "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-header .nav a {
  color: #555555;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  padding: 14px 0 13px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .18s ease, border-color .18s ease;
}

.site-header .nav a:hover,
.site-header .nav a:focus-visible {
  color: #231f20;
}

.site-header .nav a.active,
.site-header .nav a[aria-current="page"] {
  color: #231f20;
  border-bottom-color: #0086c9;
}

.site-header .social-icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .social-icons a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #454b50;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.site-header .social-icons a:hover,
.site-header .social-icons a:focus-visible {
  color: #087cb7;
  background: #edf5fa;
  transform: translateY(-1px);
}

.site-header .social-icons a:focus-visible {
  outline: 2px solid #087cb7;
  outline-offset: 3px;
}

.site-header .social-icons a svg {
  display: none;
}

.site-header .social-icons a::after {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.site-header .social-icons a[aria-label="Sergio on Instagram"]::after {
  -webkit-mask-image: url('/assets/icons/slm-instagram.svg');
  mask-image: url('/assets/icons/slm-instagram.svg');
}

.site-header .social-icons a[aria-label="Sergio on YouTube"]::after {
  -webkit-mask-image: url('/assets/icons/slm-youtube.svg');
  mask-image: url('/assets/icons/slm-youtube.svg');
}

.site-header .social-icons a[aria-label="Sergio podcast"]::after {
  -webkit-mask-image: url('/assets/icons/slm-podcast.svg');
  mask-image: url('/assets/icons/slm-podcast.svg');
}

.site-header .social-icons a[aria-label="Email Sergio"]::after {
  -webkit-mask-image: url('/assets/icons/slm-mail.svg');
  mask-image: url('/assets/icons/slm-mail.svg');
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 2px solid #087cb7;
  outline-offset: 3px;
}

@media(min-width:951px) and (max-width:1199px) {
  .site-header .topbar {
    gap: 16px;
  }

  .site-header .brand {
    min-width: 92px;
    width: 92px;
  }

  .site-header .brand img {
    width: 78px;
    height: auto;
  }

  .site-header .nav {
    gap: clamp(9px, 1.25vw, 15px);
    font-size: clamp(11px, 1.02vw, 12.5px);
  }

  .site-header .slm-search {
    width: clamp(185px, 24vw, 310px);
  }
}

@media(max-width:950px) {
  .site-header .topbar {
    min-height: 84px;
  }

  .site-header .brand {
    min-width: 85px;
    width: 85px;
  }

  .site-header .brand img {
    width: 68px;
    height: auto;
  }

  .site-header .head-actions {
    display: none;
  }

  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    max-height: calc(100dvh - 84px);
    overflow: auto;
    padding: 9px 5% 18px;
    box-shadow: 0 12px 24px #0002;
    white-space: normal;
    font-size: 15px;
  }

  .site-header .nav.open {
    display: flex;
  }

  .site-header .nav a {
    padding: 13px 10px;
    border-bottom: 1px solid #eee;
    min-height: 44px;
  }

  .site-header .nav a.active {
    border-left: 3px solid #0086c9;
    border-bottom: 1px solid #eee;
    padding-left: 7px;
  }
}

/* Distribución y altura de cabecera en escritorio amplio */
@media (min-width:1101px) {
  .site-header .topbar.shell {
    display: grid;
    grid-template-columns: minmax(105px, 1fr) minmax(0, 900px) minmax(105px, 1fr);
    grid-template-rows: 60px 60px;
    column-gap: 0;
    row-gap: 0;
    align-items: center;
    min-height: 120px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: start;
    align-self: center;
    width: 95px;
    min-width: 0;
    margin: 0;
  }

  .site-header .brand img {
    width: 78px;
    height: auto;
    max-height: 87px;
    object-fit: contain;
  }

  .site-header .head-right,
  .site-header .head-actions {
    display: contents;
  }

  .site-header .slm-search {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    width: min(320px, 90%);
    margin: 0;
  }

  .site-header .social-icons {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    display: flex;
    gap: 5px;
  }

  .site-header .social-icons a {
    width: 29px;
    height: 29px;
  }

  .site-header .nav {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    position: static;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 49px;
    justify-content: center;
    align-items: center;
    gap: clamp(9px, 1.15vw, 18px);
    font-size: clamp(11.5px, .95vw, 13px);
    white-space: nowrap;
  }

  .site-header .nav a {
    padding: 14px 0 12px;
  }

  .site-header .menu-toggle {
    display: none;
  }
}

/* Menú desplegable accesible para anchos intermedios */
@media (min-width:951px) and (max-width:1100px) {
  .site-header .topbar.shell {
    display: flex;
    justify-content: space-between;
    min-height: 84px;
  }

  .site-header .brand {
    min-width: 85px;
    width: 85px;
  }

  .site-header .brand img {
    width: 68px;
    height: auto;
  }

  .site-header .head-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .site-header .head-actions {
    display: none;
  }

  .site-header .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    cursor: pointer;
  }

  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    padding: 9px 5% 18px;
    background: #fff;
    box-shadow: 0 12px 24px #0002;
    white-space: normal;
    font-size: 15px;
  }

  .site-header .nav.open {
    display: flex;
  }

  .site-header .nav a {
    padding: 13px 10px;
    border-bottom: 1px solid #eee;
    min-height: 44px;
  }
}

@media (min-width:1360px) {
  .site-header .topbar.shell {
    grid-template-columns: minmax(78px, 1fr) minmax(0, 1080px) minmax(78px, 1fr);
  }

  .site-header .nav {
    gap: clamp(27px, 2.15vw, 36px);
  }

  .site-header .social-icons {
    gap: 9px;
  }

  .site-header .slm-search {
    width: min(420px, 94%);
  }
}

/* Mantener legibles los nueve enlaces de navegación en anchos intermedios */
@media (min-width:951px) and (max-width:1359px) {
  .site-header .topbar.shell {
    display: flex;
    justify-content: space-between;
    min-height: 84px;
  }

  .site-header .brand {
    min-width: 85px;
    width: 85px;
  }

  .site-header .brand img {
    width: 68px;
    height: auto;
  }

  .site-header .head-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .site-header .head-actions {
    display: none;
  }

  .site-header .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    cursor: pointer;
  }

  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    padding: 9px 5% 18px;
    background: #fff;
    box-shadow: 0 12px 24px #0002;
    white-space: normal;
    font-size: 16px;
  }

  .site-header .nav.open {
    display: flex;
  }

  .site-header .nav a {
    font-size: 16px;
    font-weight: 600;
    padding: 13px 10px;
    border-bottom: 1px solid #eee;
    min-height: 44px;
  }
}

@media (max-width:950px) {
  .site-header .nav,
  .site-header .nav a {
    font-size: 16px;
    font-weight: 600;
  }

  .site-header .nav a:hover,
  .site-header .nav a:focus-visible {
    color: #231F20;
  }
}

@media(min-width:1101px) and (max-width:1359px) {
  .site-header .slm-search {
    width: min(385px, 94%);
  }
}

@media(min-width:1600px) {
  .site-header .nav {
    gap: 36px;
  }
}

@media(max-width:950px) {
  .site-header .slm-search {
    width: min(420px, 100%);
  }
}

/* ===== Páginas interiores ===== */
.slm-interior {
  background: #fff;
  color: #272325;
}

.rv40-block {
  padding: 35px 16px 100px;
}

.rv40-outline {
  font-size: clamp(35px, 5vw, 62px);
  font-family: "SLM Open Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: .025em;
  color: #087fc2;
  margin: 0 0 25px;
  font-weight: 850;
}

.rv40-jump {
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
}

.rv40-jump a {
  font-size: 18px;
  text-decoration: none;
  font-weight: 700;
  color: #262626;
}

.rv40-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rv40-video {
  border: 1px solid #e5e8eb;
  background: #fff;
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.rv40-video>a {
  position: relative;
  display: block;
}

.rv40-video img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.rv40-play {
  position: absolute;
  top: 42%;
  left: 45%;
  background: #d21f2b;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
}

.rv40-video h3 {
  font-size: 16px;
  font-family: var(--slm-heading-font);
  margin: 0 0 8px;
}

.rv40-video p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.rv40-podcast {
  padding: 75px 0 110px;
  background: linear-gradient(125deg, #0a5887, #078bc0 65%, #073858);
  color: white;
}

.rv40-podcast .rv40-outline {
  color: white;
}

.rv40-podcast-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.rv40-podcast-links a,
.rv40-button {
  display: inline-block;
  padding: 13px 24px;
  background: #087fc2;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
}

.rv40-podcast-links a {
  background: #fff;
  color: #086a99;
}

.rv40-contact {
  text-align: center;
  padding: 0px 20px 140px;
  max-width: 800px;
}

.rv40-contact p {
  font-size: 18px;
  line-height: 1.6;
}

.rv40-mail {
  font-size: clamp(18px, 3vw, 26px);
  color: #087fc2;
  overflow-wrap: anywhere;
}

.rv40-note {
  font-size: 13px !important;
  opacity: .8;
  margin-top: 20px;
}

.rv40-intro {
  font-size: 17px;
  text-align: center;
  margin-bottom: 32px;
}

.rv40-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rv40-gallery a {
  overflow: hidden;
  display: block;
  background: #edf4f8;
}

.rv40-gallery img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform .25s ease;
  display: block;
}

.rv40-gallery a:hover img {
  transform: scale(1.035);
}

.rv40-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.rv40-story {
  background: #fff;
  border: 1px solid #e1e6eb;
  border-radius: 9px;
  box-shadow: 0 3px 9px #0000000b;
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 225px;
}

.rv40-story-top {
  font-size: 10px;
  color: #087fc2;
  letter-spacing: .06em;
}

.rv40-story h2 {
  font-size: 21px;
  font-family: var(--slm-heading-font);
  margin: 15px 0;
}

.rv40-story h2 a {
  color: #262626;
  text-decoration: none;
}

.rv40-story p {
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  flex: 1;
}

.rv40-more {
  font-size: 12px;
  color: #087fc2;
  text-decoration: none;
  font-weight: 700;
}

.rv40-video a:focus-visible,
.rv40-gallery a:focus-visible,
.rv40-story a:focus-visible {
  outline: 3px solid #087fc2;
  outline-offset: 2px;
}

@media(max-width:850px) {
  .rv40-video-grid,
  .rv40-stories {
    grid-template-columns: 1fr 1fr;
  }

  .rv40-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:560px) {
  .rv40-video-grid,
  .rv40-stories {
    grid-template-columns: 1fr;
  }

  .rv40-video {
    grid-template-columns: 43% 1fr;
  }

  .rv40-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .rv40-gallery img {
    height: 160px;
  }

  .rv40-contact {
    padding-bottom: 75px;
  }
}

/* ===== Títulos de archivo y foco editorial ===== */
.slm-blog-title .shell {
  max-width: 1000px;
  margin: auto;
}

.slm-blog-page a:focus-visible,
.slm-article-page a:focus-visible {
  outline: 3px solid #087fc2;
  outline-offset: 3px;
}

@media(prefers-reduced-motion:reduce) {
  .slm-blog-card,
  .slm-blog-thumb img {
    transition: none !important;
  }
}

/* Ajustes responsivos y de contenido editorial */
.slm-blog-page main,
.slm-article-page main {
  min-width: 0;
}

.slm-blog-page .slm-blog-layout,
.slm-article-page .slm-article-shell {
  box-sizing: border-box;
}

.slm-blog-page .slm-blog-grid,
.slm-blog-page .slm-blog-card,
.slm-blog-page .slm-blog-copy {
  min-width: 0;
}

.slm-blog-page .slm-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slm-blog-page .slm-blog-thumb {
  display: block;
  flex-shrink: 0;
}

.slm-blog-page .slm-blog-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.slm-blog-page .slm-blog-copy h2 {
  overflow-wrap: anywhere;
}

.slm-blog-page .slm-blog-copy .slm-readmore {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 12px;
}

.slm-blog-page .slm-blog-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.slm-blog-page .slm-blog-sidebar {
  min-width: 0;
  overflow-wrap: anywhere;
}

.slm-blog-page .slm-blog-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 10px;
  max-width: 100%;
}

.slm-blog-page .slm-blog-pages-note {
  flex-basis: 100%;
  text-align: center;
}

.slm-article-page .slm-article-body img,
.slm-article-page .slm-article-body video,
.slm-article-page .slm-article-body iframe,
.slm-article-page .slm-article-body embed,
.slm-article-page .slm-article-body object {
  max-width: 100%;
  box-sizing: border-box;
}

.slm-article-page .slm-article-body img {
  height: auto;
}

.slm-article-page .slm-article-body figure {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.slm-article-page .slm-article-body pre,
.slm-article-page .slm-article-body table {
  max-width: 100%;
  overflow-x: auto;
}

.slm-article-page .slm-article-body blockquote {
  max-width: 100%;
  box-sizing: border-box;
}

.slm-blog-page .footer,
.slm-article-page .footer {
  clear: both;
}

@media(max-width:750px) {
  .slm-blog-page .slm-blog-layout {
    width: calc(100% - 36px);
    max-width: 1180px;
  }

  .slm-blog-page .slm-blog-card {
    max-width: 100%;
  }
}

@media(max-width:420px) {
  .slm-blog-page .slm-blog-layout,
  .slm-article-page .slm-article-shell {
    width: calc(100% - 28px);
  }

  .slm-blog-page .slm-blog-copy {
    padding: 16px;
  }

  .slm-blog-page .slm-blog-pages a,
  .slm-blog-page .slm-blog-pages [aria-current] {
    min-width: 34px;
    min-height: 36px;
    padding: 6px 9px;
  }
}

/* ===== Encabezados y componentes reutilizables ===== */
.slm-page-heading {
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  color: var(--slm-ink);
  padding: var(--slm-page-heading-top) 20px var(--slm-page-heading-bottom);
}

.slm-page-title {
  font-family: var(--slm-heading-font);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--slm-ink);
  margin: 0 auto 9px;
  max-width: 1000px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.slm-page-subtitle {
  font-family: "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 2.1vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--slm-ink);
  margin: 0 auto;
  max-width: 840px;
  text-wrap: pretty;
}

.slm-page-heading--article .slm-page-title {
  /* Same typographic system, smaller ceiling for very long historical titles. */
  font-size: clamp(34px, 5.8vw, 64px);
}

.slm-page-heading--archive,
.slm-page-heading--article {
  border-bottom: 1px solid #f0f0f0;
}

.slm-page-meta {
  font: 400 13px/1.5 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  color: #676767;
  margin: 18px auto 0;
}

/* Base reutilizable para tarjetas y secciones; conservar los estilos propios de cada componente. */
.slm-card {
  min-width: 0;
  box-sizing: border-box;
}

.slm-card-title {
  font-family: var(--slm-heading-font);
  overflow-wrap: break-word;
}

.slm-card-excerpt {
  overflow-wrap: break-word;
}

.slm-card-action {
  font-weight: 700;
  text-underline-offset: 2px;
}

.slm-section-title {
  overflow-wrap: break-word;
}

@media (max-width: 700px) {
  .slm-page-heading {
    padding: 55px 17px 45px;
  }

  .slm-page-heading--about {
    padding-bottom: 65px;
  }

  .slm-page-heading--article .slm-page-title {
    font-size: clamp(32px, 8vw, 48px);
  }
}

/* REV52 - Canonical archive explorer. Uses existing typography, cards and slm.css. */
.slm-blog-page .slm-blog-layout {
  max-width: 1200px;
  grid-template-columns: minmax(0, 1fr) 242px;
  gap: 32px;
}

.slm-blog-page .slm-blog-results {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.slm-blog-page .slm-blog-sidebar {
  grid-column: 2;
  grid-row: 1;
  padding: 5px 0 0 23px;
  align-self: start;
  min-width: 0;
}

.slm-blog-page .slm-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.slm-blog-page .slm-blog-grid .slm-blog-card {
  height: 100%;
}

.slm-blog-page .slm-blog-sidebar h2 {
  margin-bottom: 9px;
}

.slm-blog-page .slm-blog-sidebar .slm-blog-intro {
  font: 400 13px/1.65 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #606870;
  margin: 0 0 20px;
}

.slm-blog-page [hidden] {
  display: none !important;
}

.slm-explorer-panel {
  border-top: 1px solid #dfe6eb;
  padding-top: 12px;
}

.slm-explorer-panel>summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 700 14px/1.5 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #252b31;
  padding: 8px 0;
}

.slm-explorer-panel>summary::-webkit-details-marker {
  display: none;
}

.slm-explorer-panel>summary span {
  font-size: 19px;
  transition: transform .2s;
}

.slm-explorer-panel[open]>summary span {
  transform: rotate(180deg);
}

.slm-explorer-filter-content {
  padding: 12px 0 0;
}

.slm-explorer-label,
.slm-explorer-themes legend,
.slm-explorer-toolbar label {
  display: block;
  font: 700 12px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #272e34;
  margin: 0 0 8px;
}

.slm-explorer-filter-content select,
.slm-explorer-sort select {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 7px 30px 7px 11px;
  border: 1px solid #ccd5df;
  border-radius: 5px;
  background: #fff;
  color: #25313a;
  font: 400 13px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
}

.slm-explorer-themes {
  border: 0;
  padding: 0;
  margin: 22px 0 0;
  min-width: 0;
}

.slm-explorer-topic-list {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.slm-explorer-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 7px;
  min-width: 0;
  width: 100%;
  font: 400 12px/1.45 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  padding: 10px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #3b4650;
  cursor: pointer;
}

.slm-explorer-topic:hover {
  background: #eff6fb;
  border-color: #d7eaf6;
}

.slm-explorer-topic.is-active {
  background: #e8f4fc;
  border-color: #94cdeb;
  color: #12517a;
  font-weight: 700;
}

.slm-explorer-topic-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.slm-explorer-topic-count {
  font: 700 11px/1.3 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  flex-shrink: 0;
  display: inline-flex;
  justify-content: center;
  min-width: 24px;
  padding: 4px 5px;
  border-radius: 12px;
  background: #eef2f5;
  color: #485b6b;
}

.slm-explorer-topic.is-active .slm-explorer-topic-count {
  background: #c9e7f9;
  color: #124c70;
}

.slm-explorer-topic-note {
  font: 400 11px/1.6 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #6a7580;
  margin: 18px 0 0;
}

.slm-explorer-toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  margin: 0 0 16px;
}

.slm-explorer-search {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.slm-explorer-search-input {
  display: flex;
  min-width: 0;
  border: 1px solid #cbd5df;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.slm-explorer-search-input:focus-within {
  outline: 2px solid #087fc2;
  outline-offset: 2px;
}

.slm-explorer-search-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 42px;
  padding: 9px 12px;
  background: #fff;
  border: 0;
  outline: none;
  color: #27313a;
  font: 400 14px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
}

.slm-explorer-search-input button {
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid #d8e0e7;
  padding: 0 15px;
  background: #f3f8fb;
  color: #205977;
  cursor: pointer;
  font: 700 12px/1.3 "SLM Open Sans", "Open Sans", Arial, sans-serif;
}

.slm-explorer-search-input button:hover {
  background: #e4f2fc;
}

.slm-explorer-sort {
  flex: 0 0 190px;
  min-width: 0;
}

.slm-explorer-sort select {
  height: 44px;
}

.slm-explorer-statusbar {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 14px;
  border-bottom: 1px solid #e8edf1;
  padding: 0 0 12px;
}

.slm-explorer-count {
  font: 400 13px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #5a6770;
  margin: 0;
}

.slm-explorer-clear {
  border: 0;
  background: none;
  color: #116fa8;
  padding: 7px 3px;
  cursor: pointer;
  font: 700 12px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slm-explorer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.slm-explorer-chip {
  background: #edf6fc;
  border: 1px solid #b5d9f1;
  border-radius: 18px;
  color: #245577;
  font: 600 12px/1.4 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  padding: 6px 10px;
  cursor: pointer;
}

.slm-explorer-chip:hover {
  background: #dceefb;
}

.slm-explorer-empty {
  padding: 45px 22px;
  text-align: center;
  background: #f7f9fb;
  border: 1px solid #e3e8ee;
  margin: 14px 0;
}

.slm-explorer-empty strong {
  font: 700 23px/1.3 var(--slm-heading-font);
  color: var(--slm-ink);
}

.slm-explorer-empty p {
  font: 400 14px/1.6 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #56616c;
}

.slm-explorer-empty button {
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: #117ab1;
  color: #fff;
  cursor: pointer;
}

.slm-explorer-error,
.slm-explorer-legacy-note {
  font: 400 13px/1.5 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #555;
  padding: 12px 15px;
  border: 1px solid #dfe5eb;
  background: #f8fafb;
  margin: 0 0 18px;
}

.slm-explorer-legacy-note a {
  color: #087fc2;
}

.slm-blog-thumb--empty {
  background: linear-gradient(135deg, #e7edf3, #f4f7f9);
}

.slm-blog-page .slm-blog-pages {
  justify-content: center;
  margin-top: 36px;
  gap: 6px;
}

.slm-blog-page .slm-blog-pages a,
.slm-blog-page .slm-blog-pages [aria-current] {
  min-height: 39px;
}

.slm-blog-page .slm-blog-pages-note {
  padding-bottom: 4px;
}

.slm-blog-page button:focus-visible,
.slm-blog-page select:focus-visible,
.slm-blog-page input:focus-visible,
.slm-blog-page summary:focus-visible {
  outline: 3px solid #087fc2;
  outline-offset: 2px;
}

@media(max-width:1100px) and (min-width:751px) {
  .slm-blog-page .slm-blog-layout {
    grid-template-columns: minmax(0, 1fr) 218px;
    gap: 23px;
  }

  .slm-blog-page .slm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slm-blog-page .slm-blog-sidebar {
    padding-left: 17px;
  }

  .slm-explorer-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .slm-explorer-sort {
    flex: 1 1 180px;
  }

  .slm-explorer-search {
    flex: 1 1 260px;
  }
}

@media(max-width:750px) {
  .slm-blog-page .slm-blog-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
  }

  .slm-blog-page .slm-blog-sidebar {
    width: 100%;
    box-sizing: border-box;
    order: 0;
    margin: 0 0 26px;
    padding: 0 0 16px;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid #e4e9ee;
  }

  .slm-blog-page .slm-blog-sidebar h2 {
    font-size: 24px;
  }

  .slm-blog-page .slm-blog-sidebar .slm-blog-intro {
    margin-bottom: 9px;
  }

  .slm-blog-page .slm-blog-results {
    width: 100%;
    order: 1;
    min-width: 0;
  }

  .slm-blog-page .slm-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .slm-blog-page .slm-blog-thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .slm-explorer-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .slm-explorer-sort {
    flex: initial;
    width: 100%;
  }

  .slm-explorer-filter-content {
    padding-bottom: 14px;
  }
}

@media(min-width:540px) and (max-width:750px) {
  .slm-blog-page .slm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(prefers-reduced-motion:reduce) {
  .slm-explorer-panel>summary span {
    transition: none;
  }
}

/* SLM REV53 - Refinamiento visual del explorador: solo reglas aditivas. */
.slm-blog-page .slm-blog-layout {
  max-width: 1210px;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 28px;
  padding-top: 34px;
}

.slm-blog-page .slm-blog-sidebar {
  background: #f8fafc;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  padding: 23px 20px 25px;
  box-shadow: 0 3px 16px rgba(34, 49, 65, .035);
}

.slm-blog-page .slm-blog-sidebar h2 {
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin-bottom: 11px;
}

.slm-blog-page .slm-blog-sidebar .slm-blog-intro {
  color: #637281;
  line-height: 1.65;
  margin-bottom: 18px;
}

.slm-blog-page .slm-explorer-panel {
  border-top-color: #e2e8ee;
  padding-top: 10px;
}

.slm-blog-page .slm-explorer-panel>summary {
  font-size: 13px;
  padding: 11px 0;
  color: #263746;
}

.slm-blog-page .slm-explorer-filter-content select {
  border-radius: 7px;
  border-color: #d7e0e8;
  background: #fff;
}

.slm-blog-page .slm-explorer-topic-list {
  gap: 5px;
}

.slm-blog-page .slm-explorer-topic {
  border-radius: 7px;
  padding: 10px 9px;
  transition: background-color .15s ease, border-color .15s ease;
}

.slm-blog-page .slm-explorer-topic.is-active {
  background: #e4f2fb;
  border-color: #b4d9ef;
}

.slm-blog-page .slm-explorer-topic-count {
  background: #e9eff4;
  color: #536779;
}

.slm-blog-page .slm-explorer-toolbar {
  background: #f8fafc;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(34, 49, 65, .035);
  padding: 19px 20px;
  gap: 16px;
  margin-bottom: 25px;
  align-items: flex-end;
}

.slm-blog-page .slm-explorer-toolbar label {
  color: #405466;
  font: 700 11px/1.45 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .065em;
  margin-bottom: 9px;
}

.slm-blog-page .slm-explorer-search-input {
  border: 1px solid #d5e0e9;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(30, 47, 60, .02);
}

.slm-blog-page .slm-explorer-search-input input {
  height: 45px;
  padding-inline: 14px;
}

.slm-blog-page .slm-explorer-search-input input::placeholder {
  color: #85909a;
}

.slm-blog-page .slm-explorer-search-input button {
  background: #087fc2;
  color: #fff;
  border-left: 0;
  padding-inline: 18px;
  font-weight: 700;
  transition: background-color .16s ease;
}

.slm-blog-page .slm-explorer-search-input button:hover {
  background: #06699f;
}

.slm-blog-page .slm-explorer-sort {
  flex-basis: 175px;
}

.slm-blog-page .slm-explorer-sort select {
  height: 47px;
  border-color: #d5e0e9;
  border-radius: 8px;
  background-color: #fff;
}

.slm-blog-page .slm-explorer-statusbar {
  margin: 0 0 19px;
  border: 0;
  padding: 0;
  gap: 10px;
}

.slm-blog-page .slm-explorer-count {
  color: #406073;
  background: #eef5fa;
  border: 1px solid #dbe9f3;
  border-radius: 999px;
  padding: 7px 12px;
  font: 600 12px/1.35 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
}

.slm-blog-page .slm-explorer-clear {
  padding: 7px 2px;
  font-size: 12px;
}

.slm-blog-page .slm-explorer-chips {
  margin-bottom: 19px;
}

.slm-blog-page .slm-blog-grid {
  gap: 20px;
}

.slm-blog-page .slm-blog-card {
  border: 1px solid #e7ebef;
  border-radius: 9px;
  box-shadow: 0 3px 13px rgba(34, 49, 65, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}

.slm-blog-page .slm-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 24px rgba(34, 49, 65, .10);
}

.slm-blog-page .slm-blog-thumb>span {
  border-radius: 4px;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
}

.slm-blog-page .slm-blog-copy {
  padding: 18px 18px 19px;
}

.slm-blog-page .slm-blog-category {
  align-self: flex-start;
  width: auto;
  border-radius: 99px;
  background: #e9f4fb;
  color: #0871ae;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: .06em;
}

.slm-blog-page .slm-blog-card h2 {
  font-size: 19px;
  line-height: 1.28;
  margin: 13px 0 10px;
}

.slm-blog-page .slm-blog-card p {
  color: #59646c;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.slm-blog-page .slm-readmore {
  font-size: 11px;
  letter-spacing: .045em;
}

.slm-blog-page .slm-blog-meta {
  padding: 12px 18px;
  border-top-color: #edf0f3;
  color: #77838b;
  font-size: 11px;
}

.slm-blog-page .slm-blog-pages {
  margin-top: 37px;
  gap: 8px;
}

.slm-blog-page .slm-blog-pages a,
.slm-blog-page .slm-blog-pages [aria-current] {
  border-radius: 7px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slm-blog-page .slm-blog-pages [aria-current] {
  background: #087fc2;
  border-color: #087fc2;
  color: #fff;
}

.slm-blog-page .slm-blog-pages-note {
  order: 2;
  flex-basis: 100%;
  font-size: 11px;
  color: #7d8790;
  margin-top: 9px;
  text-align: center;
}

@media (min-width:751px) and (max-width:1100px) {
  .slm-blog-page .slm-blog-layout {
    grid-template-columns: minmax(0, 1fr) 216px;
    gap: 20px;
  }

  .slm-blog-page .slm-blog-sidebar {
    padding: 20px 16px;
  }

  .slm-blog-page .slm-explorer-toolbar {
    padding: 17px;
    gap: 12px;
  }

  .slm-blog-page .slm-explorer-sort {
    flex: 1 1 155px;
  }
}

@media (max-width:750px) {
  .slm-blog-page .slm-blog-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
  }

  .slm-blog-page .slm-blog-sidebar {
    order: 0;
    margin: 0 0 22px;
    width: 100%;
    padding: 19px 18px;
    border: 1px solid #e4eaf0;
  }

  .slm-blog-page .slm-blog-sidebar h2 {
    font-size: 23px;
  }

  .slm-blog-page .slm-blog-results {
    order: 1;
    width: 100%;
  }

  .slm-blog-page .slm-explorer-toolbar {
    padding: 17px;
    gap: 14px;
    margin-bottom: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .slm-blog-page .slm-explorer-sort {
    flex: initial;
    width: 100%;
  }

  .slm-blog-page .slm-blog-grid {
    gap: 18px;
  }

  .slm-blog-page .slm-blog-copy {
    padding: 17px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .slm-blog-page .slm-blog-card,
  .slm-blog-page .slm-explorer-topic,
  .slm-blog-page .slm-explorer-search-input button {
    transition: none;
  }
}

/* SLM REV54 - Take a Look: Portico y galeria de YouTube. Reglas aditivas. */
#youtube .rv40-outline,
#podcast .rv40-outline {
  font-family: "SLM Portico Outline", Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.1;
  font-size: clamp(42px, 5.2vw, 70px);
}

#youtube .slm-youtube-intro {
  max-width: 750px;
  margin: 0 0 27px;
  line-height: 1.65;
}

#youtube .slm-youtube-channel {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #076ea9;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-bottom: 28px;
}

#youtube .slm-youtube-channel:hover {
  color: #044d78;
}

#youtube .slm-youtube-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin: 0;
}

#youtube .slm-youtube-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e0e7ec;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(9, 45, 67, .065);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}

#youtube .slm-youtube-card:hover {
  box-shadow: 0 10px 25px rgba(9, 45, 67, .13);
  transform: translateY(-2px);
}

#youtube .slm-youtube-thumb {
  display: block;
  position: relative;
  background: #e8eef2;
  overflow: hidden;
}

#youtube .slm-youtube-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

#youtube .slm-youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #e82028;
  color: #fff;
  border-radius: 10px;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 2px 8px #0005;
}

#youtube .slm-youtube-thumb:hover .slm-youtube-play {
  background: #b9151b;
}

#youtube .slm-youtube-card-body {
  padding: 17px 18px 19px;
  flex: 1;
}

#youtube .slm-youtube-card h3 {
  font-size: 17px;
  line-height: 1.38;
  margin: 0 0 10px;
  font-family: var(--slm-heading-font);
  font-weight: 700;
}

#youtube .slm-youtube-card h3 a {
  color: #22262b;
  text-decoration: none;
}

#youtube .slm-youtube-card h3 a:hover {
  color: #076ea9;
}

#youtube .slm-youtube-date {
  color: #5c6870;
  font-size: 12px;
  margin: 0;
}

#youtube .slm-youtube-feedback {
  margin: 24px 0 0;
  color: #52606a;
  font-size: 14px;
  line-height: 1.5;
}

#youtube .slm-youtube-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

#youtube .slm-youtube-more button {
  border: 1px solid #076fa8;
  background: #087fc2;
  color: #fff;
  border-radius: 4px;
  padding: 12px 33px;
  min-height: 45px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#youtube .slm-youtube-more button:hover {
  background: #075f95;
}

#youtube .slm-youtube-more button:disabled {
  opacity: .6;
  cursor: wait;
}

#youtube :is(a, button):focus-visible,
#podcast .rv40-podcast-links a:focus-visible {
  outline: 3px solid #e5a12c;
  outline-offset: 3px;
}

#podcast .rv40-podcast-links a {
  font-weight: 700;
  border-radius: 4px;
}

#podcast .rv40-podcast-links a:hover {
  background: #e7f5fc;
}

@media (max-width: 900px) {
  #youtube .slm-youtube-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 590px) {
  #youtube .slm-youtube-gallery {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  #youtube .slm-youtube-card h3 {
    font-size: 16px;
  }

  #youtube .slm-youtube-card-body {
    padding: 14px 15px 17px;
  }

  #youtube .slm-youtube-more button {
    width: min(100%, 340px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #youtube .slm-youtube-card {
    transition: none;
  }

  #youtube .slm-youtube-card:hover {
    transform: none;
  }
}

/* SLM_PRIVACY_REV57_START: scoped, additive visual refinement. Legal text unchanged. */
body.slm-privacy-rev57 main {
  --slm-privacy-blue: #087fc2;
  --slm-privacy-ink: #26323a;
  --slm-privacy-muted: #62717a;
  background: linear-gradient(180deg, #fff 0%, #f9fbfc 30%, #f9fbfc 100%);
  padding-bottom: clamp(60px, 7vw, 102px);
}

body.slm-privacy-rev57 main .slm-privacy-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(185px, 238px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  width: min(1090px, 92%);
  margin: 0 auto;
  padding: 0;
}

body.slm-privacy-rev57 main .slm-privacy-index {
  position: sticky;
  top: 30px;
  padding: 23px 0 14px;
  align-self: start;
}

body.slm-privacy-rev57 main .slm-privacy-index-label {
  color: #54788d;
  font: 750 11px/1.3 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  margin: 0 0 18px 17px;
  text-align: left;
}

body.slm-privacy-rev57 main .slm-privacy-index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  max-height: min(78vh, 650px);
  overflow-y: auto;
  scrollbar-width: thin;
}

body.slm-privacy-rev57 main .slm-privacy-index-list a {
  display: block;
  padding: 11px 12px 11px 15px;
  border-left: 2px solid #d8e4ea;
  color: #5c6973;
  font: 500 13px/1.42 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  text-align: left;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

body.slm-privacy-rev57 main .slm-privacy-index-list a:hover,
body.slm-privacy-rev57 main .slm-privacy-index-list a[aria-current="location"] {
  color: #056fae;
  background: #ecf5fa;
  border-left-color: var(--slm-privacy-blue);
}

body.slm-privacy-rev57 main .slm-privacy-index-list a:focus-visible {
  outline: 2px solid var(--slm-privacy-blue);
  outline-offset: -2px;
}

body.slm-privacy-rev57 main .slm-privacy-reading {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: 14px;
  padding: clamp(26px, 3.9vw, 51px);
  box-shadow: 0 9px 36px rgba(28, 64, 89, .045);
  color: var(--slm-privacy-ink);
  text-align: left;
}

/* Neutralize historical small/center-aligned policy-only containers. */
body.slm-privacy-rev57 main .slm-privacy-reading :is(.shell, .rv40-block, .content, .container, .entry-content) {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  text-align: left;
}

body.slm-privacy-rev57 main .slm-privacy-reading> :is(section, div) {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
}

body.slm-privacy-rev57 main .slm-privacy-reading :is(p, li) {
  text-align: left !important;
  color: #41505a;
  font: 400 clamp(14.5px, 1.25vw, 15.5px)/1.82 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif !important;
  letter-spacing: 0;
  max-width: 75ch;
  margin: 12px 0 16px;
  overflow-wrap: break-word;
}

body.slm-privacy-rev57 main .slm-privacy-reading :is(h2, h3, h4, h5, h6),
body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title {
  color: #24323b;
  text-align: left !important;
  font-family: "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif !important;
  font-size: clamp(19px, 2vw, 23px) !important;
  line-height: 1.38 !important;
  font-weight: 750 !important;
  letter-spacing: -.025em;
  max-width: 100%;
  overflow-wrap: break-word;
}

body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title {
  padding-top: 35px;
  margin: 40px 0 17px !important;
  border-top: 1px solid #e5edf1;
  scroll-margin-top: 35px;
}

body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title--first {
  padding-top: 0;
  margin-top: 0 !important;
  border-top: 0;
}

body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title::before {
  content: attr(data-slm-number);
  display: inline-block;
  vertical-align: .22em;
  margin-right: 13px;
  color: #1384bd;
  font: 750 11px/1.2 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: .075em;
}

body.slm-privacy-rev57 main .slm-privacy-reading a {
  color: #087fc2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.slm-privacy-rev57 main .slm-privacy-reading a:focus-visible {
  outline: 2px solid var(--slm-privacy-blue);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  body.slm-privacy-rev57 main .slm-privacy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(740px, 93%);
  }

  body.slm-privacy-rev57 main .slm-privacy-index {
    position: static;
    padding: 0;
    min-width: 0;
  }

  body.slm-privacy-rev57 main .slm-privacy-index-label {
    margin: 0 0 10px;
  }

  body.slm-privacy-rev57 main .slm-privacy-index-list {
    display: flex;
    gap: 8px;
    padding: 0 0 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  body.slm-privacy-rev57 main .slm-privacy-index-list li {
    flex: 0 0 auto;
    margin: 0;
  }

  body.slm-privacy-rev57 main .slm-privacy-index-list a {
    border: 1px solid #d9e6ed;
    background: #fff;
    border-radius: 40px;
    padding: 10px 13px;
    white-space: nowrap;
  }

  body.slm-privacy-rev57 main .slm-privacy-index-list a[aria-current="location"],
  body.slm-privacy-rev57 main .slm-privacy-index-list a:hover {
    border-color: var(--slm-privacy-blue);
  }
}

@media (max-width: 520px) {
  body.slm-privacy-rev57 main .slm-privacy-reading {
    padding: 24px 19px;
    border-radius: 10px;
  }

  body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title {
    margin-top: 33px !important;
    padding-top: 26px;
  }

  body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title--first {
    margin-top: 0 !important;
    padding-top: 0;
  }

  body.slm-privacy-rev57 main .slm-privacy-reading .slm-privacy-section-title::before {
    margin-right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.slm-privacy-rev57 main .slm-privacy-index-list a {
    transition: none;
  }
}

/* SLM_PRIVACY_REV57_END */

/* SLM_PHOTOS_REV56_START */

/* Enhancement scoped to /photos/; no second stylesheet. */
.slm-photos-gallery {
  gap: clamp(9px, 1.6vw, 18px);
  max-width: 1190px;
  margin-inline: auto;
}

.slm-photos-gallery>a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  background: #edf2f5;
  isolation: isolate;
  overflow: hidden;
}

.slm-photos-gallery>a[hidden],
.slm-photos-more[hidden] {
  display: none !important;
}

.slm-photos-gallery>a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.slm-photos-gallery>a::before,
.slm-photos-gallery>a::after {
  position: absolute;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.slm-photos-gallery>a::before {
  content: '\2197';
  right: 15px;
  bottom: 15px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(5, 22, 35, .35);
  font: 500 24px/1 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  color: #fff;
  transform: translateY(5px);
}

.slm-photos-gallery>a::after {
  content: '';
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 25, 37, .30));
}

.slm-photos-gallery>a:hover img,
.slm-photos-gallery>a:focus-visible img {
  transform: scale(1.038);
}

.slm-photos-gallery>a:hover::before,
.slm-photos-gallery>a:hover::after,
.slm-photos-gallery>a:focus-visible::before,
.slm-photos-gallery>a:focus-visible::after {
  opacity: 1;
  transform: none;
}

.slm-photos-gallery>a:focus-visible {
  outline: 3px solid #087fc2;
  outline-offset: 3px;
}

.slm-photos-more {
  display: flex;
  justify-content: center;
  margin: 38px auto 0;
}

.slm-photos-more__button {
  min-height: 44px;
  padding: 11px 29px;
  border: 1px solid #087fc2;
  border-radius: 3px;
  color: #fff;
  background: #087fc2;
  font: 700 13px/1.35 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: .035em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.slm-photos-more__button:hover {
  background: #056a9e;
}

.slm-photos-more__button:focus-visible {
  outline: 3px solid #072f4a;
  outline-offset: 3px;
}

.slm-photos-instagram-note {
  margin: 36px auto 0;
  text-align: center;
  color: #4a5862;
  font: 400 15px/1.6 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
}

.slm-photos-instagram-note a {
  color: #087fc2;
  font-weight: 700;
  text-underline-offset: 3px;
}

html.slm-photos-dialog-open {
  overflow: hidden;
}

.slm-photos-lightbox {
  box-sizing: border-box;
  position: fixed;
  width: min(100%, 1460px);
  max-width: none;
  max-height: 100dvh;
  margin: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.slm-photos-lightbox::backdrop {
  background: rgba(5, 11, 17, .94);
}

.slm-photos-lightbox__panel {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(95dvh, 960px);
  padding: 64px 82px 32px;
}

.slm-photos-lightbox__figure {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.slm-photos-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76dvh;
  object-fit: contain;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .2);
}

.slm-photos-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 880px);
  gap: 16px;
  color: #c4cbd2;
  font: 400 13px/1.5 "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
}

.slm-photos-lightbox__original {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slm-photos-lightbox__close,
.slm-photos-lightbox__arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font: 400 31px/1 "SLM Open Sans", "Open Sans", Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease;
}

.slm-photos-lightbox__close:hover,
.slm-photos-lightbox__arrow:hover {
  background: rgba(255, 255, 255, .2);
}

.slm-photos-lightbox__close:focus-visible,
.slm-photos-lightbox__arrow:focus-visible,
.slm-photos-lightbox__original:focus-visible {
  outline: 3px solid #8acbf4;
  outline-offset: 3px;
}

.slm-photos-lightbox__close {
  right: 20px;
  top: 13px;
  font-size: 29px;
}

.slm-photos-lightbox__arrow {
  top: 49%;
  transform: translateY(-50%);
}

.slm-photos-lightbox__arrow--prev {
  left: 19px;
}

.slm-photos-lightbox__arrow--next {
  right: 19px;
}

@media (max-width: 850px) {
  .slm-photos-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slm-photos-lightbox__panel {
    padding-inline: 62px;
  }
}

@media (max-width: 560px) {
  .slm-photos-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .slm-photos-gallery>a {
    aspect-ratio: 3 / 4;
  }

  .slm-photos-more {
    margin-top: 30px;
  }

  .slm-photos-lightbox__panel {
    min-height: 95dvh;
    padding: 56px 12px 36px;
  }

  .slm-photos-lightbox__image {
    max-height: 72dvh;
  }

  .slm-photos-lightbox__arrow {
    width: 40px;
    height: 40px;
    top: 48%;
    background: rgba(5, 11, 17, .55);
  }

  .slm-photos-lightbox__arrow--prev {
    left: 3px;
  }

  .slm-photos-lightbox__arrow--next {
    right: 3px;
  }

  .slm-photos-lightbox__close {
    top: 9px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slm-photos-gallery>a img,
  .slm-photos-gallery>a::before,
  .slm-photos-gallery>a::after,
  .slm-photos-more__button,
  .slm-photos-lightbox__close,
  .slm-photos-lightbox__arrow {
    transition: none !important;
  }
}

/* SLM_PHOTOS_REV56_END */

/* SLM-MOBILE-MENU-REV58-START: additive, site-wide mobile navigation skin. */
.slm-mn-backdrop,
.slm-mn-drawer {
  display: none;
}

@media (max-width:1100px) {
  html[data-slm-mobile-nav="ready"] .site-header .nav {
    display: none !important;
  }

  html[data-slm-mobile-nav="ready"] .site-header .menu-toggle.slm-mn-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 112px;
    min-height: 47px;
    padding: 0 16px;
    border: 1px solid #d4e4ef;
    border-radius: 100px;
    background: #fff;
    font: 700 11px/1 "SLM Open Sans", Arial, sans-serif;
    letter-spacing: .12em;
    color: #183b52;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, border-color .2s, box-shadow .2s;
  }

  html[data-slm-mobile-nav="ready"] .site-header .menu-toggle.slm-mn-trigger:hover,
  html[data-slm-mobile-nav="ready"] .site-header .menu-toggle.slm-mn-trigger:focus-visible {
    background: #f2f9fd;
    border-color: #0785cd;
    box-shadow: 0 0 0 3px rgba(7, 133, 205, .10);
  }

  .slm-mn-bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 13px;
  }

  .slm-mn-bars i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: #0785cd;
  }

  .slm-mn-bars i:nth-child(2) {
    width: 72%;
    align-self: flex-end;
  }

  .slm-mn-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(15, 29, 44, .48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity .28s ease, visibility .28s ease;
  }

  .slm-mn-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .slm-mn-drawer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 9991;
    inset: 0 0 0 auto;
    width: min(410px, calc(100vw - 24px));
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 24px clamp(24px, 5vw, 33px) max(27px, env(safe-area-inset-bottom));
    background: linear-gradient(155deg, #fff 0%, #fff 63%, #f4faff 100%);
    box-shadow: -20px 0 65px rgba(10, 37, 57, .20);
    transform: translate3d(104%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility .32s ease;
    font-family: "SLM Open Sans", "Open Sans", Arial, sans-serif;
    color: #273543;
  }

  .slm-mn-drawer.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  html.slm-mn-open,
  body.slm-mn-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .slm-mn-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .slm-mn-eyebrow {
    font: 700 10px/1.5 "SLM Open Sans", Arial, sans-serif;
    letter-spacing: .20em;
    color: #55718a;
  }

  .slm-mn-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid #e0e7ec;
    border-radius: 50%;
    background: #fff;
    color: #253d4c;
    cursor: pointer;
    transition: background .18s, border-color .18s;
  }

  .slm-mn-close:hover {
    background: #f0f8fd;
    border-color: #9bcce8;
  }

  .slm-mn-close span {
    font: 300 30px/1 "SLM Open Sans", "Open Sans", Arial, sans-serif;
    transform: translateY(-1px);
  }

  .slm-mn-intro {
    padding: 22px 0 18px;
  }

  .slm-mn-title {
    margin: 0;
    color: #0785cd;
    font: 400 clamp(52px, 13vw, 76px)/1.05 "SLM Portico Outline", Impact, "Arial Narrow", sans-serif;
    letter-spacing: 0;
  }

  .slm-mn-caption {
    margin: 9px 0 0;
    color: #627789;
    font: 400 12px/1.5 "SLM Open Sans", Arial, sans-serif;
  }

  .slm-mn-navigation {
    display: grid;
    gap: 0;
    border-top: 1px solid #e5ecf1;
  }

  .slm-mn-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 7px 8px;
    border-bottom: 1px solid #e5ecf1;
    border-radius: 0;
    color: #273543;
    text-decoration: none !important;
    transition: color .18s, background .18s, padding-left .18s;
  }

  .slm-mn-link:hover,
  .slm-mn-link:focus-visible {
    color: #057fca;
    background: rgba(7, 133, 205, .05);
    padding-left: 13px;
  }

  .slm-mn-link.slm-mn-current {
    color: #087fc2;
    background: linear-gradient(90deg, rgba(7, 133, 205, .07), transparent);
    border-left: 3px solid #0785cd;
    padding-left: 5px;
  }

  .slm-mn-number {
    font: 600 10px/1 "SLM Open Sans", Arial, sans-serif;
    letter-spacing: .05em;
    color: #8eacbd;
    min-width: 25px;
  }

  .slm-mn-label {
    flex: 1;
    font: 600 clamp(15px, 3.4vw, 17px)/1.3 "SLM Open Sans", "Open Sans", Arial, sans-serif;
    letter-spacing: -.01em;
  }

  .slm-mn-arrow {
    font: 400 19px/1 "SLM Open Sans", "Open Sans", Arial, sans-serif;
    color: #80a2b6;
    transition: transform .18s;
  }

  .slm-mn-link:hover .slm-mn-arrow {
    transform: translateX(3px);
    color: #0785cd;
  }

  .slm-mn-footer {
    padding: 24px 0 0;
    margin-top: auto;
  }

  .slm-mn-social-label {
    font: 700 10px/1.5 "SLM Open Sans", Arial, sans-serif;
    letter-spacing: .15em;
    color: #728a9c;
    margin: 0 0 13px;
  }

  .slm-mn-socials {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }

  .slm-mn-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid #deebf2;
    border-radius: 50%;
    background: #fff;
    color: #31546e;
    text-decoration: none;
    transition: background .18s, color .18s;
  }

  .slm-mn-socials a:hover {
    background: #0785cd;
    color: #fff;
  }

  .slm-mn-socials svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
    stroke: currentColor;
  }

  .slm-mn-trigger:focus-visible,
  .slm-mn-drawer a:focus-visible,
  .slm-mn-close:focus-visible {
    outline: 3px solid #0785cd;
    outline-offset: 3px;
  }
}

@media (max-width:360px) {
  .slm-mn-drawer {
    padding-left: 21px;
    padding-right: 21px;
  }

  .slm-mn-intro {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .slm-mn-link {
    min-height: 49px;
  }
}

@media (max-height:620px) and (max-width:1100px) {
  .slm-mn-drawer {
    padding-top: 14px;
  }

  .slm-mn-intro {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .slm-mn-link {
    min-height: 46px;
  }

  .slm-mn-footer {
    padding-top: 14px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .slm-mn-drawer,
  .slm-mn-backdrop,
  .slm-mn-link,
  .slm-mn-arrow,
  .slm-mn-close,
  .slm-mn-trigger {
    transition: none !important;
  }
}

/* SLM-MOBILE-MENU-REV58-END */

/* SLM-MOBILE-MENU-REV58-FIX01-START: centered controls + full-viewport mobile drawer. */
@media (max-width: 1100px) {
  /* The legacy header uses its own button styles. Override only the mobile trigger. */
  html[data-slm-mobile-nav="ready"] .site-header .menu-toggle.slm-mn-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle;
  }

  .slm-mn-trigger-word {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  .slm-mn-trigger .slm-mn-bars {
    align-self: center;
    flex: 0 0 18px;
  }

  /* The navigation is a full-screen view instead of a narrow side drawer. */
  .slm-mn-drawer {
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100vh;
    height: 100dvh;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-top: max(24px, env(safe-area-inset-top, 0px));
    padding-bottom: max(27px, env(safe-area-inset-bottom, 0px));
  }

  /* Keep the contents composed and readable on wide tablets. */
  .slm-mn-drawer>.slm-mn-top,
  .slm-mn-drawer>.slm-mn-intro,
  .slm-mn-drawer>.slm-mn-navigation,
  .slm-mn-drawer>.slm-mn-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }

  .slm-mn-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* SLM-MOBILE-MENU-REV58-FIX01-END */

/* REV63 FIX01: identidad tipografica oficial SLM.
   Volkhov Bold / Open Sans / Portico Outline / Bangers.
   Sin cambios en tamanos, espaciados, composicion ni contenido. */

/* SLM_REV71_SEGOE_SUBTITULOS_START
   Solo textos secundarios de encabezados y entradas de seccion.
   Titulos Volkhov, Portico, Bangers y texto corrido Open Sans permanecen intactos.
   Segoe UI es una fuente del sistema (Windows); Open Sans sirve como respaldo.
*/
:root {
  --slm-subtitle-font: "Segoe UI", "SLM Open Sans", "Open Sans", Arial, Helvetica, sans-serif;
}

.hero .hero-copy>p,
.slm-page-subtitle,
.slm-about-page .about-profile-heading>p:last-child,
.slm-blog-page .slm-blog-sidebar .slm-blog-intro,
.rv40-intro,
#youtube .slm-youtube-intro,
.rv40-block>h2+p,
.slm-mn-caption {
  font-family: var(--slm-subtitle-font);
}

/* SLM_REV71_SEGOE_SUBTITULOS_END */
