:root {
  --tm-yellow: #FEE000;
  --tm-red: #FF4C35;
  --tm-dark: #181818;
  --tm-white: #FFFFFF;
  --tm-max-width: 1200px;
  /* Líneas editoriales: comida, casa (hogar), viaje (viajes/viagem) */
  --tm-linea-comida: #FEE000;
  --tm-linea-casa: #8C30FF;
  --tm-linea-viaje: #284AFF;
  --tm-program-card-casa-title-bg: #EFE3FF;
  --tm-program-card-casa-cta-bg: #8C30FF;
  --tm-program-card-viaje-title-bg: #E6EDFC;
  --tm-program-card-viaje-cta-bg: #284AFF;
  /* Altura aproximada del header fijo (logo + padding vertical); tablet/móvil puede crecer */
  --tm-header-offset: calc(5.5rem + 60px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: var(--tm-dark);
  color: var(--tm-white);
  line-height: 1.6;
}

body.tm-layout-fixed-header {
  padding-top: var(--tm-header-offset);
}

body.tm-layout-fixed-header.tm-layout-header-overlay {
  padding-top: 0;
}

body.admin-bar .tm-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .tm-header {
    top: 46px;
  }
}

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

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

.tm-container {
  width: min(100% - 2rem, var(--tm-max-width));
  margin-inline: auto;
}

.tm-section {
  padding: 5.6rem 0;
}

.tm-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.tm-subheading {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  margin: 1rem 0 .5rem;
  line-height: 1.3;
}

.tm-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin: 0;
}

.tm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0;
  z-index: 10050;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: background-color 0.28s ease, backdrop-filter 0.28s ease;
}

.tm-header.tm-header--scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.tm-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: calc(100% - 60px);
  max-width: none;
  margin-inline: 30px;
  padding: 30px 0;
  min-height: 4.25rem;
}

.tm-header__brand {
  justify-self: start;
}

.tm-header__brand img {
  width: 170px;
}

.tm-main-nav {
  justify-self: center;
  grid-column: 2;
}

.tm-main-nav__capsule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.4rem 0.65rem;
  background: rgba(174, 174, 174, 0.4);
  border: 1px solid #ffffff;
  border-radius: 30px;
  box-sizing: border-box;
}

.tm-main-nav__capsule .tm-main-nav__list {
  background: transparent;
}

.tm-main-nav__mobile-top {
  display: none;
}

.tm-main-nav__mobile-plus {
  display: none;
}

.tm-header__actions {
  justify-self: end;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tm-header__cta--plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  min-height: 2.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tm-white);
  background: var(--tm-red);
  border-radius: 30px;
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tm-header__cta--plus:hover {
  opacity: 0.92;
}

.tm-header__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--tm-dark);
  background: var(--tm-yellow);
  transition: opacity 0.2s ease;
}

.tm-header__lang:hover {
  opacity: 0.9;
}

.tm-header__lang-code {
  line-height: 1;
}

.tm-header__lang-chevron {
  display: block;
  width: 0;
  height: 0;
  margin-left: 1px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid var(--tm-dark);
}

.tm-header__menu-toggle {
  display: none;
}

.tm-main-nav__list,
.tm-side-nav__list,
.tm-footer__links,
.tm-footer__socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.tm-main-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 30px;
  padding: 0.5rem 0.95rem;
  border: none;
  outline: none;
  box-shadow: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tm-main-nav__list > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.95;
}

.tm-main-nav__list > li.current-menu-item > a,
.tm-main-nav__list > li.current-menu-ancestor > a,
.tm-main-nav__list > li > a:hover {
  background: var(--tm-yellow);
  color: var(--tm-dark);
  border: none;
}

.tm-main-nav__list > li > a:focus-visible {
  outline: 2px solid var(--tm-yellow);
  outline-offset: 2px;
}

.tm-main-nav__list > li {
  position: relative;
}

.tm-main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 120;
}

.tm-main-nav .sub-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--tm-white);
  border-radius: 0;
  border: none;
}

.tm-main-nav .sub-menu a:hover,
.tm-main-nav .sub-menu .current-menu-item > a {
  background: rgba(254, 224, 0, 0.15);
  color: var(--tm-yellow);
}

.tm-main-nav__list > li.menu-item-has-children:hover > .sub-menu,
.tm-main-nav__list > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tm-side-nav__list a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .45rem .9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
}

.tm-side-nav {
  position: fixed;
  left: .8rem;
  top: 40%;
  z-index: 9;
}

.tm-side-nav__list {
  flex-direction: column;
}

/* Carrusel destacado: imagen full-bleed, gradiente, 3 columnas + puntos */
.tm-carousel-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: min(88vh, 620px);
  background: var(--tm-dark);
  overflow: hidden;
  z-index: 1;
}

/*
 * Inicio: el bloque del carrusel arranca en top 0 del viewport (debajo del header en capas).
 * El padding-top reserva el hueco del header fijo para columnas / puntos.
 */
body.tm-layout-fixed-header .tm-page-home > .tm-carousel-hero:first-child {
  margin-top: calc(-1 * var(--tm-header-offset));
  padding-top: var(--tm-header-offset);
  min-height: calc(min(88vh, 620px) + var(--tm-header-offset));
}

.tm-carousel-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tm-carousel-hero__bg-img,
.tm-carousel-hero__bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.tm-carousel-hero__bg-img.is-active,
.tm-carousel-hero__bg-fallback.is-active {
  opacity: 1;
}

.tm-carousel-hero__bg-img--mobile {
  display: none;
}

.tm-carousel-hero__bg-img--desktop {
  display: block;
}

.tm-carousel-hero__bg-fallback {
  background: var(--tm-dark);
}

.tm-carousel-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(23, 23, 23, 0.3) 0,
      rgba(23, 23, 23, 0) 200px
    ),
    linear-gradient(
      to bottom,
      rgba(24, 24, 24, 0) 12%,
      rgba(24, 24, 24, 0.35) 55%,
      var(--tm-dark) 100%
    );
  pointer-events: none;
}

.tm-carousel-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(88vh, 620px);
  width: min(100% - 2rem, var(--tm-max-width));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  box-sizing: border-box;
}

body.tm-layout-fixed-header .tm-page-home > .tm-carousel-hero:first-child .tm-carousel-hero__inner {
  min-height: min(88vh, 620px);
}

.tm-carousel-hero__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
}

.tm-carousel-hero__col {
  text-align: left;
  cursor: pointer;
  padding: 0.75rem 0.5rem;
  background: transparent;
  color: #fff;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.tm-carousel-hero__col.is-active {
  opacity: 1;
}

.tm-carousel-hero__col:focus-visible {
  outline: 2px solid var(--tm-yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

.tm-carousel-hero__num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.tm-carousel-hero__title {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.tm-carousel-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  color: var(--tm-dark);
  background: var(--tm-linea-comida);
  opacity: 0.55;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.tm-carousel-hero__badge--comida {
  background: var(--tm-linea-comida);
  color: var(--tm-dark);
}

.tm-carousel-hero__badge--casa {
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

.tm-carousel-hero__badge--viaje {
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

.tm-carousel-hero__badge--hogar {
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

.tm-carousel-hero__badge--viajes {
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

.tm-carousel-hero__col.is-active .tm-carousel-hero__badge {
  opacity: 1;
}

.tm-carousel-hero__extra {
  margin-top: 1rem;
  display: none;
}

.tm-carousel-hero__col.is-active .tm-carousel-hero__extra {
  display: block;
}

.tm-carousel-hero__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 36ch;
}

.tm-carousel-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.45rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tm-carousel-hero__cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--comida .tm-carousel-hero__cta {
  border-color: var(--tm-linea-comida);
  background: var(--tm-linea-comida);
  color: var(--tm-dark);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--comida .tm-carousel-hero__cta:hover {
  background: var(--tm-linea-comida);
  filter: brightness(0.95);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--casa .tm-carousel-hero__cta {
  border-color: var(--tm-linea-casa);
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--casa .tm-carousel-hero__cta:hover {
  background: var(--tm-linea-casa);
  filter: brightness(1.08);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--viaje .tm-carousel-hero__cta {
  border-color: var(--tm-linea-viaje);
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--viaje .tm-carousel-hero__cta:hover {
  background: var(--tm-linea-viaje);
  filter: brightness(1.08);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--hogar .tm-carousel-hero__cta {
  border-color: var(--tm-linea-casa);
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

.tm-carousel-hero__col.is-active.tm-carousel-hero__col--viajes .tm-carousel-hero__cta {
  border-color: var(--tm-linea-viaje);
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

.tm-carousel-hero__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.85rem;
}

.tm-carousel-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tm-carousel-hero__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

.tm-carousel-hero__dot:focus-visible {
  outline: 2px solid var(--tm-yellow);
  outline-offset: 2px;
}

.tm-page-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: min(76vh, 650px);
  min-height: min(76vh, 650px);
  overflow: hidden;
  background: var(--tm-dark);
}

body.tm-layout-fixed-header .tm-page-hero {
  margin-top: calc(-1 * var(--tm-header-offset));
  padding-top: var(--tm-header-offset);
  height: min(76vh, 650px);
  min-height: min(76vh, 650px);
  max-height: 650px;
}

.tm-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tm-page-hero__bg-img,
.tm-page-hero__bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-page-hero__bg-fallback {
  background: var(--tm-dark);
}

.tm-page-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(23, 23, 23, 0.4) 0,
      rgba(23, 23, 23, 0) 180px
    ),
    linear-gradient(
      to bottom,
      rgba(24, 24, 24, 0) 12%,
      rgba(24, 24, 24, 0.35) 55%,
      var(--tm-dark) 100%
    );
}

.tm-page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: min(76vh, 650px);
  max-height: 650px;
  min-height: min(76vh, 650px);
  width: min(100% - 2rem, var(--tm-max-width));
  margin: 0 auto;
  padding: 1.5rem 0;
}

body.tm-layout-fixed-header .tm-page-hero .tm-page-hero__inner {
  min-height: min(76vh, 650px);
}

.tm-page-hero__heading-row {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.tm-page-hero__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tm-dark);
  background: var(--tm-yellow);
}

.tm-page-hero__label--comida {
  background: var(--tm-linea-comida);
  color: var(--tm-dark);
}

.tm-page-hero__label--casa {
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

.tm-page-hero__label--viaje {
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

/* Alias ACF legacy: hogar = casa (morado), viajes = viaje (azul) */
.tm-page-hero__label--hogar {
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

.tm-page-hero__label--viajes {
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

.tm-page-hero__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 5.1vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--tm-white);
  max-width: 100%;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-wrap: balance;
}

.tm-program-hero {
  --tm-program-hero-bg: none;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: var(--tm-dark);
}

.tm-program-hero__bg,
.tm-program-hero__veil {
  position: absolute;
  inset: 0;
}

.tm-program-hero__bg {
  background-image: var(--tm-program-hero-bg);
  background-position: center;
  background-size: cover;
  filter: blur(38px);
  transform: scale(1.16);
  opacity: 0.72;
}

.tm-program-hero__veil {
  background:
    radial-gradient(circle at 20% 45%, rgba(255, 255, 255, 0.06), transparent 46%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.24), rgba(10, 10, 10, 0.78));
}

.tm-program-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: min(74vh, 670px);
  padding-top: clamp(6.8rem, 11vh, 8.8rem);
  padding-bottom: 2rem;
}

.tm-program-hero__copy {
  color: #fff;
}

.tm-program-hero__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
}

.tm-program-hero__description {
  margin: 1rem 0 0;
  max-width: 46ch;
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
}

.tm-program-hero__entry {
  margin-top: 1rem;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.96);
}

.tm-program-hero__entry > :first-child {
  margin-top: 0;
}

.tm-program-hero__entry > :last-child {
  margin-bottom: 0;
}

.tm-program-hero__media {
  width: 100%;
}

.tm-program-hero__video,
.tm-program-hero__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.tm-program-hero__video {
  position: relative;
  overflow: hidden;
  background: #101115;
}

.tm-program-hero__video iframe,
.tm-program-hero__video video,
.tm-program-hero__video object,
.tm-program-hero__video embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tm-program-hero__poster {
  display: block;
  object-fit: cover;
  background: #101115;
}

.tm-program-hero__poster--placeholder {
  background: #1c1f25;
}

.tm-program-content {
  padding-top: 3rem;
}

.tm-program-related {
  background: #15171b;
  padding-top: 3.25rem;
  padding-bottom: 4rem;
}

.tm-program-related__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.tm-program-related__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}

.tm-program-related__more {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.tm-program-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.tm-channel-content {
  padding-top: 6rem;
}

.tm-channel-content__article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tm-channel-content__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.tm-channel-content__intro {
  max-width: 640px;
}

.tm-channel-content__title {
  margin: 0 0 1rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 58px);
  line-height: 1.08;
}

.tm-channel-content__body {
  font-size: 1.05rem;
  line-height: 1.45;
}

.tm-channel-content__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  border: 2px solid var(--tm-linea-comida);
  background: var(--tm-linea-comida);
  color: var(--tm-dark);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  text-transform: uppercase;
}

.tm-channel-content__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--tm-dark);
  color: var(--tm-linea-comida);
  line-height: 1;
}

body.tm-linea-casa .tm-channel-content__cta {
  border-color: var(--tm-linea-casa);
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

body.tm-linea-casa .tm-channel-content__cta-icon {
  color: var(--tm-linea-casa);
}

body.tm-linea-viaje .tm-channel-content__cta {
  border-color: var(--tm-linea-viaje);
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

body.tm-linea-viaje .tm-channel-content__cta-icon {
  color: var(--tm-linea-viaje);
}

body.tm-linea-hogar .tm-channel-content__cta {
  border-color: var(--tm-linea-casa);
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

body.tm-linea-hogar .tm-channel-content__cta-icon {
  color: var(--tm-linea-casa);
}

body.tm-linea-viajes .tm-channel-content__cta {
  border-color: var(--tm-linea-viaje);
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

body.tm-linea-viajes .tm-channel-content__cta-icon {
  color: var(--tm-linea-viaje);
}

.tm-channel-content__video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: #0f1013;
}

.tm-channel-content__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tm-channel-content__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.tm-channel-content__metric {
  padding-top: 0;
}

.tm-channel-content__metric--light {
  border-top-color: rgba(16, 16, 16, 0.35);
}

.tm-channel-content__metric-value {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 8vw, 86px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.tm-channel-content__metric-name,
.tm-channel-content__metric-period {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.tm-channel-content__metric--light .tm-channel-content__metric-name,
.tm-channel-content__metric--light .tm-channel-content__metric-period {
  border-top-color: rgba(16, 16, 16, 0.35);
}

.tm-channel-content__metrics-period {
  margin: 1.5rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tm-white);
}

.tm-channel-content__metrics-period--light {
  color: #111;
}

.tm-page-advertise__metrics {
  background: #fff;
  color: #111;
}

.tm-success-case__article,
.tm-success-case__metrics-inner {
  max-width: 780px;
  margin-inline: auto;
}

.tm-success-case__metrics {
  background: #1a1a1a;
  color: var(--tm-white);
}

.tm-success-case__metrics-title {
  margin: 0 0 2.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tm-white);
}

.tm-success-case__metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.tm-success-case__metric-value {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1rem, 4vw, 43px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--tm-yellow);
}

.tm-success-case__metric-name {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tm-white);
}

.tm-success-case__metrics-period {
  margin: 1.5rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tm-white);
}

.tm-page-about {
  background: var(--tm-dark);
}

.tm-page-about__video-section,
.tm-page-about__metrics {
  background: #efefef;
  color: #111;
}

.tm-page-about__metrics {
  padding-top: 3rem;
}

.tm-page-about-video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.tm-page-about-video-card--embed {
  background: #0f1013;
}

.tm-page-about-video-card__embed {
  width: 100%;
  height: 100%;
}

.tm-page-about-video-card__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tm-page-about-video-card__link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.tm-page-about-video-card__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.tm-page-about-video-card__image--placeholder {
  background: #2b2f37;
}

.tm-page-about-video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 18%, rgba(0, 0, 0, 0.18) 62%);
}

.tm-page-about-video-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 3;
  padding: 0 1.35rem;
  color: #fff;
}

.tm-page-about-video-card__play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(1px);
}

.tm-page-about-video-card__play::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.75rem solid #fff;
  margin-left: 0.15rem;
}

.tm-page-about-video-card__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
}

.tm-page-about-video-card__description {
  margin: 0.35rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.tm-page-advertise__logos {
  padding-top: 2.5rem;
}

.tm-channel-related {
  background: #f2f2f2;
  color: #111;
  padding: 4rem 0 4.5rem;
}

.tm-channel-related__feature {
  position: relative;
  width: 100%;
  min-height: clamp(14rem, 32vw, 21rem);
  overflow: hidden;
  margin-bottom: 3rem;
}

.tm-channel-related__feature-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.tm-channel-related__feature-img--placeholder {
  background: #262a32;
}

.tm-channel-related__feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 12%, rgba(0, 0, 0, 0.1) 60%);
}

.tm-channel-related__feature-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.tm-channel-related__feature-content {
  position: absolute;
  left: 50%;
  bottom: 1.9rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  z-index: 3;
}

.tm-channel-related__feature-title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}

.tm-channel-related__feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--tm-linea-comida);
  color: #141414;
  border-radius: 999px;
  padding: 0.38rem 0.38rem 0.38rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.tm-channel-related__feature-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #111;
  color: var(--tm-linea-comida);
  font-size: 1.15rem;
  line-height: 1;
}

body.tm-linea-casa .tm-channel-related__feature-btn {
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

body.tm-linea-casa .tm-channel-related__feature-btn-icon {
  color: var(--tm-linea-casa);
}

body.tm-linea-viaje .tm-channel-related__feature-btn {
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

body.tm-linea-viaje .tm-channel-related__feature-btn-icon {
  color: var(--tm-linea-viaje);
}

body.tm-linea-hogar .tm-channel-related__feature-btn {
  background: var(--tm-linea-casa);
  color: var(--tm-white);
}

body.tm-linea-hogar .tm-channel-related__feature-btn-icon {
  color: var(--tm-linea-casa);
}

body.tm-linea-viajes .tm-channel-related__feature-btn {
  background: var(--tm-linea-viaje);
  color: var(--tm-white);
}

body.tm-linea-viajes .tm-channel-related__feature-btn-icon {
  color: var(--tm-linea-viaje);
}

.tm-channel-related__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tm-channel-related__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 58px);
  font-weight: 700;
  line-height: 1;
  color: #111;
}

.tm-channel-related__more {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #111;
  white-space: nowrap;
}

.tm-channel-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.tm-program-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(16rem, 28vw, 22rem);
}

.tm-program-card a {
  position: relative;
  display: block;
  min-height: inherit;
  color: #111;
}

.tm-program-card__img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.tm-program-card__img--placeholder {
  background: #2b2f37;
}

.tm-program-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 10%, rgba(0, 0, 0, 0.05) 60%);
}

.tm-program-card__content {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
}

.tm-program-card__title {
  margin: 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: fit-content;
  max-width: min(100%, 20ch);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--tm-linea-comida);
  color: #111;
  padding: 0.15em 0.35em 0.18em;
}

.tm-program-card__content--casa .tm-program-card__title {
  background: var(--tm-program-card-casa-title-bg);
  color: #111;
}

.tm-program-card__content--casa .tm-program-card__cta {
  background: var(--tm-program-card-casa-cta-bg);
  color: var(--tm-white);
}

.tm-program-card__content--viaje .tm-program-card__title {
  background: var(--tm-program-card-viaje-title-bg);
  color: #111;
}

.tm-program-card__content--viaje .tm-program-card__cta {
  background: var(--tm-program-card-viaje-cta-bg);
  color: var(--tm-white);
}

.tm-program-card__cta {
  display: inline-block;
  margin-top: 0.4rem;
  background: var(--tm-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.22rem 0.45rem;
  text-transform: uppercase;
}

.tm-tag {
  display: inline-block;
  background: var(--tm-yellow);
  color: var(--tm-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .7rem;
}


.tm-somos__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-left: 60px;
}

.tm-somos__heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tm-somos__subtitle {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.2;
  color: var(--tm-yellow);
}

.tm-somos__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 58px;
  line-height: 1.1;
  color: var(--tm-white);
  letter-spacing: -0.02em;
}

.tm-somos__accent {
  flex: 0 0 auto;
  width: 70px;
  height: 15px;
  background: var(--tm-yellow);
}

.tm-somos__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: min(22rem, 52vw);
  background: #111;
}

.tm-somos__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(22rem, 52vw);
  max-height: min(32rem, 70vh);
  object-fit: cover;
  object-position: center;
}

.tm-somos__overlay {
  position: absolute;
  left: 0;
  top: 50px;
  bottom: 50px;
  width: 60%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 2rem 2.5rem 2rem 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: var(--tm-dark);
  text-align: left;
}

.tm-somos__intro {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--tm-white);
}

.tm-somos__intro p {
  margin: 0 0 1rem;
}

.tm-somos__intro p:last-child {
  margin-bottom: 0;
}

.tm-somos__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-somos__list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--tm-white);
}

.tm-somos__list li:last-child {
  margin-bottom: 0;
}

.tm-somos__list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.32em;
  width: 0.45rem;
  height: 0.22rem;
  border-left: 2px solid var(--tm-yellow);
  border-bottom: 2px solid var(--tm-yellow);
  transform: rotate(-52deg);
}

.tm-somos__frame--text-only {
  min-height: auto;
  background: var(--tm-dark);
}

.tm-somos__overlay--solo {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: auto;
}

.tm-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tm-section__header-text {
  flex: 1;
  min-width: 0;
}

.tm-section__epigrafe {
  margin: 0.35rem 0 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.tm-section__epigrafe--after-title {
  margin: 0.4rem 0 1.25rem;
}

.tm-link {
  color: var(--tm-yellow);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.tm-section--success-cases .tm-heading {
  font-size: clamp(2rem, 4vw, 48px);
  margin-bottom: 0;
}

.tm-section--success-cases .tm-section__header {
  margin-bottom: 3rem;
}

.tm-link--cases-more {
  color: var(--tm-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
}

.tm-link--cases-more:hover {
  color: var(--tm-yellow);
}

/* Casos de éxito: grid desktop + acordeón mobile */
.tm-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3rem);
  row-gap: 0;
}

.tm-case-item {
  margin: 0;
  min-width: 0;
}

.tm-case-item:first-child {
  grid-column: 1 / -1;
}

.tm-case-item:first-child .tm-case-item__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--tm-white);
  border-bottom: 1px solid var(--tm-white);
}

.tm-case-item:not(:first-child) .tm-case-item__shell {
  display: block;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}

.tm-case-item__media {
  position: relative;
  overflow: hidden;
  min-height: 12rem;
  background: #101010;
}

.tm-case-item__media-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tm-case-item__img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

.tm-case-item__placeholder {
  min-height: 14rem;
  background: rgba(255, 255, 255, 0.06);
}

.tm-case-item:first-child .tm-case-item__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(0.75rem, 2vw, 1.25rem);
  row-gap: 1rem;
  align-items: start;
  min-width: 0;
}

.tm-case-item:first-child .tm-case-item__index {
  grid-column: 1;
  grid-row: 1;
}

.tm-case-item:first-child .tm-case-item__head-block {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.tm-case-item:first-child .tm-case-item__panel {
  grid-column: 2;
  grid-row: 2;
}

.tm-case-item:not(:first-child) .tm-case-item__body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.tm-case-item__index {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--tm-white);
  padding-top: 0.35em;
}

.tm-case-item__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.tm-case-item__head {
  color: var(--tm-white);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.tm-case-item__head:hover {
  opacity: 0.92;
}

.tm-case-item__excerpt {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.5;
  color: var(--tm-white);
  max-width: 36rem;
}

.tm-case-item:first-child .tm-case-item__excerpt {
  color: #ABABAB;
}

.tm-case-item:not(:first-child) .tm-case-item__index,
.tm-case-item:not(:first-child) .tm-case-item__head {
  color: #ABABAB;
}

@media (min-width: 769px) {
  .tm-case-item:not(:first-child) .tm-case-item__media {
    display: none;
  }

  .tm-case-item:not(:first-child) .tm-case-item__panel {
    display: none;
  }
}

.tm-grid {
  display: grid;
  gap: 1.2rem;
}

.tm-grid--posts,
.tm-grid--channels,
.tm-grid--cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.tm-card a {
  display: block;
  padding-bottom: 1rem;
}

.tm-card h2,
.tm-card h3,
.tm-card p {
  padding: 0 1rem;
}

.tm-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 1rem;
}

.tm-logo-card {
  margin: 0;
  display: flex;
  flex: 1 1 calc(16.666% - 1rem);
  min-width: 5rem;
  min-height: 4.25rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tm-logo-card__img {
  width: 90%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.85;
}


.tm-section--contact {
  background: #fff;
  color: #101010;
  padding-bottom: 6rem;
}

.tm-contact__title {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.tm-contact__intro {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.45;
  color: #909090;
}

.tm-contact-form {
  max-width: 980px;
  margin: 0 auto;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: clamp(1rem, 2.6vw, 2rem);
}

.tm-contact-form .wpcf7-form {
  color: #fff;
}

.tm-contact-form .tm-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tm-contact-form .tm-cf7-field {
  margin: 0;
}

.tm-contact-form .tm-cf7-field--full {
  grid-column: 1 / -1;
}

.tm-contact-form label {
  display: block;
  margin: 0 0 0.4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
}

.tm-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.tm-contact-form input[type='text'],
.tm-contact-form input[type='email'],
.tm-contact-form input[type='tel'],
.tm-contact-form select,
.tm-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, #24272d 0%, #1d1f23 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.85rem 0.9rem;
}

.tm-contact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.tm-contact-form ::placeholder {
  color: #8f949b;
  opacity: 1;
}

.tm-contact-form .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.tm-contact-form .wpcf7-checkbox {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
}

.tm-contact-form .wpcf7-list-item {
  margin: 0;
}

.tm-contact-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
}

.tm-contact-form .wpcf7-list-item input[type='checkbox'] {
  margin: 0;
}

.tm-contact-form .wpcf7-submit {
  border: 0;
  border-radius: 999px;
  background: var(--tm-yellow);
  color: #101010;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.95rem 2rem;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.tm-contact-form .wpcf7-submit:hover {
  filter: brightness(0.95);
}

.tm-contact-form .tm-cf7-submit-wrap {
  text-align: center;
  margin: 0.25rem 0 0;
}

.tm-contact-extra {
  background: #efefef;
  color: #111;
  padding: 2.75rem 0 3.25rem;
}

.tm-contact-extra__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 680px;
}

.tm-contact-extra__card {
  text-align: center;
}

.tm-contact-extra__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.8rem;
  border-radius: 999px;
  background: #101010;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
}

.tm-contact-extra__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.tm-contact-extra__links {
  margin-top: 0.7rem;
}

.tm-contact-extra__links a {
  display: block;
  color: #8e8e8e;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

.tm-contact-extra__socials {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.tm-contact-extra__socials a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #101010;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tm-contact-extra__social-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.tm-contact-extra__social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  padding: 50px 0;
  background: #141414;
}

.tm-footer .tm-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tm-footer__socials {
  gap: 0.5rem;
}

.tm-footer__socials li + li::before,
.tm-footer__links li + li::before {
  content: '|';
  margin: 0 0.5rem 0 0.25rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.55rem;
  line-height: 1;
}

.tm-footer__socials a {
  color: var(--tm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tm-footer__social-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tm-footer__social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tm-footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.tm-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Inter', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tm-footer__links {
  gap: 0;
}

.tm-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Inter', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tm-footer__links a:hover,
.tm-footer__socials a:hover,
.tm-link:hover {
  color: var(--tm-red);
}

.tm-where-watch-content {
  background: #15171b;
  padding-top: clamp(2.2rem, 5vw, 3.3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.tm-where-watch-content__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tm-where-watch-content__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.05;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.tm-where-watch-content__title::after {
  content: '';
  width: 2.9rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--tm-yellow);
}

.tm-where-watch-content__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: 0;
  background: var(--tm-yellow);
  color: #121212;
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tm-where-watch-content__button:hover {
  color: #121212;
}

.tm-where-watch-content__filters {
  margin-top: 1.25rem;
}

.tm-where-watch-content__select {
  width: min(100%, 19.5rem);
  min-height: 2.65rem;
  padding: 0.55rem 2.5rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.68rem;
  background: #121316;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.tm-where-watch-content__grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.tm-where-watch-logo-card {
  margin: 0;
  min-height: 6rem;
  border-radius: 0.3rem;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.tm-where-watch-logo-card a,
.tm-where-watch-logo-card img {
  width: 100%;
  height: 100%;
}

.tm-where-watch-logo-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.tm-where-watch-logo-card__img {
  display: block;
  object-fit: contain;
  object-position: center;
}

.tm-where-watch-apps {
  padding-top: 1.7rem;
  padding-bottom: 2.9rem;
  background: #101114;
}

.tm-where-watch-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.tm-where-watch-apps__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
}

.tm-where-watch-apps__item img {
  display: block;
  max-width: 100%;
  max-height: 2.65rem;
  width: auto;
  height: auto;
}

.tm-where-watch-faq {
  background: #efeff1;
  padding-top: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  color: #12141a;
}

.tm-where-watch-faq .tm-container {
  max-width: 860px;
}

.tm-where-watch-faq__title {
  margin: 0 0 2.4rem;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.05;
}

.tm-where-watch-faq__items {
  display: grid;
  gap: 0.7rem;
}

.tm-where-watch-faq__item {
  border: 1px solid #e4e4e6;
  border-radius: 0.25rem;
  background: #f7f7f8;
  overflow: hidden;
}

.tm-where-watch-faq__question {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 0.92rem 2.7rem 0.92rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  line-height: 1.3;
}

.tm-where-watch-faq__question::-webkit-details-marker {
  display: none;
}

.tm-where-watch-faq__question::after {
  content: '';
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #25262b;
  border-bottom: 2px solid #25262b;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.tm-where-watch-faq__item[open] .tm-where-watch-faq__question::after {
  transform: translateY(-35%) rotate(-135deg);
}

.tm-where-watch-faq__answer {
  padding: 0 1rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #3d414d;
}

.tm-where-watch-faq__answer p {
  margin: 0;
}

.tm-page-programming {
  background: #15171b;
}

.tm-page-programming.tm-linea-comida,
body.tm-linea-comida .tm-page-programming {
  --tm-programming-accent: var(--tm-linea-comida);
  --tm-programming-accent-text: #121212;
}

.tm-page-programming.tm-linea-casa,
body.tm-linea-casa .tm-page-programming {
  --tm-programming-accent: var(--tm-linea-casa);
  --tm-programming-accent-text: #fff;
}

.tm-page-programming.tm-linea-viaje,
body.tm-linea-viaje .tm-page-programming {
  --tm-programming-accent: var(--tm-linea-viaje);
  --tm-programming-accent-text: #fff;
}

.tm-programming-page {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.tm-programming-page__header {
  margin-bottom: 1.5rem;
}

.tm-programming-page__back {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.tm-programming-page__back:hover {
  color: var(--tm-programming-accent, var(--tm-yellow));
}

.tm-programming-page__eyebrow {
  margin: 0 0 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tm-programming-page__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.05;
  color: #fff;
}

.tm-programming-page__date {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.tm-programming-page__tabs {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  overflow-x: auto;
}

.tm-programming-page__tab {
  flex: 0 0 auto;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tm-programming-page__tab.is-active {
  background: var(--tm-programming-accent, var(--tm-yellow));
  border-color: var(--tm-programming-accent, var(--tm-yellow));
  color: var(--tm-programming-accent-text, #121212);
}

.tm-programming-page__tab:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.tm-programming-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tm-programming-grid.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.tm-programming-grid__message {
  margin: 1rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.tm-programming-grid__item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 5.5rem) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tm-programming-grid__item.is-live {
  border-color: var(--tm-programming-accent, var(--tm-yellow));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tm-programming-accent, var(--tm-yellow)) 35%, transparent);
}

.tm-programming-grid__time {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: 'Manrope', sans-serif;
}

.tm-programming-grid__start {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.tm-programming-grid__end {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.tm-programming-grid__live {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--tm-programming-accent, var(--tm-yellow));
  color: var(--tm-programming-accent-text, #121212);
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tm-programming-grid__media {
  overflow: hidden;
  border-radius: 0.65rem;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
}

.tm-programming-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-programming-grid__content {
  min-width: 0;
}

.tm-programming-grid__category {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tm-programming-accent, var(--tm-yellow));
}

.tm-programming-grid__program-title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
}

.tm-programming-grid__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.tm-programming-grid__description {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .tm-programming-grid__item {
    grid-template-columns: 1fr;
  }

  .tm-programming-grid__media {
    max-width: 12rem;
  }
}

@media (max-width: 768px) {
  .tm-section {
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

  .tm-footer .tm-container {
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (max-width: 1024px) {
  .tm-header {
    position: absolute;
  }

  .tm-header.tm-header--scrolled,
  .tm-header.tm-header--menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .tm-case-item:first-child .tm-case-item__shell {
    grid-template-columns: 1fr;
  }

  body.tm-layout-fixed-header {
    /* Sin padding en body: el header absolute no debe dejar franja del color de fondo arriba */
    padding-top: 0;
    /* Alto reservado dentro de héroes (barra + 20px + safe area) */
    --tm-header-offset: calc(20px + env(safe-area-inset-top, 0px) + 4.5rem);
  }

  body.tm-layout-fixed-header .tm-page-home > .tm-carousel-hero:first-child {
    margin-top: 0;
  }

  body.tm-layout-fixed-header .tm-page-hero {
    margin-top: 0;
  }

  .tm-header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    padding-bottom: 16px;
  }

  .tm-header__brand img {
    width: 150px;
  }

  .tm-main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 380px);
    height: 100vh;
    padding: 3.25rem 1.35rem 1.3rem;
    background: #ffffff;
    border-radius: 0 0 0 28px;
    box-shadow: -10px 0 34px rgba(0, 0, 0, 0.2);
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.24s ease, visibility 0.24s ease;
    z-index: 10100;
    overflow-y: auto;
  }

  .tm-main-nav__capsule {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .tm-main-nav__mobile-top {
    display: block;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .tm-main-nav__mobile-logo {
    display: inline-block;
    line-height: 0;
  }

  .tm-main-nav__mobile-logo img {
    display: block;
    width: auto;
    max-width: min(100%, 200px);
    height: auto;
  }

  .tm-header__actions {
    grid-column: auto;
  }

  .tm-header__cta--plus {
    display: none;
  }

  .tm-header__menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tm-white);
    cursor: pointer;
    z-index: 10120;
  }

  .tm-header__menu-toggle-icon,
  .tm-header__menu-toggle-icon::before,
  .tm-header__menu-toggle-icon::after {
    display: block;
    width: 1.45rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.24s ease, opacity 0.2s ease, background-color 0.2s ease;
  }

  .tm-header__menu-toggle-icon {
    position: relative;
  }

  .tm-header__menu-toggle-icon::before,
  .tm-header__menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .tm-header__menu-toggle-icon::before {
    transform: translateY(-0.42rem);
  }

  .tm-header__menu-toggle-icon::after {
    transform: translateY(0.42rem);
  }

  .tm-main-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .tm-main-nav__list > li {
    width: 100%;
    border-bottom: 1px solid #dfdfdf;
  }

  .tm-main-nav__list > li > a {
    width: 100%;
    justify-content: flex-start;
    padding: 30px 15px 12px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #171717;
    background: transparent;
    box-sizing: border-box;
  }

  .tm-main-nav__list > li.current-menu-item > a,
  .tm-main-nav__list > li.current-menu-ancestor > a,
  .tm-main-nav__list > li > a:hover {
    color: #171717;
    background: transparent;
  }

  .tm-main-nav__list > li.menu-item-has-children > a::after {
    margin-left: auto;
  }

  .tm-main-nav .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0 0 0.8rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .tm-main-nav .sub-menu a {
    padding: 50px 15px 12px;
    color: #3d414d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .tm-main-nav .sub-menu a:hover,
  .tm-main-nav .sub-menu .current-menu-item > a {
    color: #171717;
    background: transparent;
  }

  .tm-main-nav__mobile-plus {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin-top: 1.45rem;
    padding: 10px 15px;
    min-height: 3rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    text-align: left;
    color: #ffffff;
    background: var(--tm-red);
    border-radius: 0;
    box-sizing: border-box;
  }

  .tm-header.tm-header--menu-open {
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(4px);
  }

  .tm-header.tm-header--menu-open .tm-main-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .tm-header.tm-header--menu-open .tm-header__menu-toggle {
    color: #171717;
  }

  .tm-header.tm-header--menu-open .tm-header__menu-toggle-icon {
    background: transparent;
  }

  .tm-header.tm-header--menu-open .tm-header__menu-toggle-icon::before {
    transform: translateY(0) rotate(45deg);
  }

  .tm-header.tm-header--menu-open .tm-header__menu-toggle-icon::after {
    transform: translateY(0) rotate(-45deg);
  }

  body.tm-menu-open {
    overflow: hidden;
  }

  /* Carrusel hero: solo el slide activo (num, título, badge, texto y CTA) */
  .tm-carousel-hero__columns {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: flex-end;
  }

  .tm-carousel-hero__col:not(.is-active) {
    display: none;
  }

  .tm-carousel-hero__col.is-active {
    opacity: 1;
  }

  .tm-grid--posts,
  .tm-grid--channels,
  .tm-grid--cases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-logo-card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .tm-where-watch-content__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-where-watch-apps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-side-nav {
    position: static;
    padding-inline: 1rem;
  }

  .tm-side-nav__list {
    flex-direction: row;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .tm-section--success-cases {
    overflow-x: clip;
  }

  .tm-section--success-cases .tm-section__header {
    align-items: flex-start;
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .tm-section--success-cases .tm-heading {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    font-weight: 700;
    line-height: 1.12;
    max-width: 58%;
  }

  .tm-section--success-cases .tm-link--cases-more {
    align-self: flex-start;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--tm-white);
  }

  .tm-cases {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .tm-case-item:first-child {
    grid-column: auto;
  }

  .tm-case-item:first-child .tm-case-item__shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-top: none;
    border-bottom: none;
  }

  .tm-case-item:not(:first-child) .tm-case-item__shell {
    padding: 0;
  }

  .tm-case-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tm-case-item:last-child {
    border-bottom: none;
  }

  .tm-case-item.is-active .tm-case-item__media {
    min-height: 0;
    order: -1;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 1rem;
  }

  .tm-case-item:not(.is-active) .tm-case-item__media {
    display: none;
  }

  .tm-case-item__img {
    min-height: 11.5rem;
    aspect-ratio: 16 / 10;
  }

  .tm-case-item__placeholder {
    min-height: 11.5rem;
  }

  .tm-case-item:first-child .tm-case-item__body,
  .tm-case-item:not(:first-child) .tm-case-item__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.15rem 0 1.35rem;
  }

  .tm-case-item:first-child .tm-case-item__index,
  .tm-case-item:not(:first-child) .tm-case-item__index {
    grid-column: auto;
    grid-row: auto;
    padding-top: 0;
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .tm-case-item:first-child .tm-case-item__head-block,
  .tm-case-item:not(:first-child) .tm-case-item__head-block {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .tm-case-item__title {
    font-size: clamp(1.65rem, 7.5vw, 2.35rem);
    line-height: 1.08;
    width: 100%;
  }

  .tm-case-item.is-active .tm-case-item__index,
  .tm-case-item.is-active .tm-case-item__head {
    color: var(--tm-white);
  }

  .tm-case-item:not(.is-active) .tm-case-item__index,
  .tm-case-item:not(.is-active) .tm-case-item__head {
    color: rgba(255, 255, 255, 0.42);
  }

  .tm-case-item:not(.is-active) .tm-case-item__panel {
    display: none;
  }

  .tm-case-item.is-active .tm-case-item__panel {
    display: block;
    width: 100%;
    padding-top: 0.35rem;
  }

  .tm-case-item__excerpt {
    font-size: 0.94rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    max-width: none;
  }

  .tm-case-item:first-child .tm-case-item__excerpt {
    color: #ABABAB;
  }

  .tm-case-item:not(:first-child) .tm-case-item__index,
  .tm-case-item:not(:first-child) .tm-case-item__head {
    color: #ABABAB;
  }

  .tm-somos__header {
    padding-left: 24px;
  }

  .tm-somos__title {
    font-size: clamp(2rem, 9vw, 58px);
  }

  .tm-somos__overlay {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 1.5rem 1.25rem 1.5rem 40px;
    background: var(--tm-dark);
  }

  .tm-somos__frame {
    display: flex;
    flex-direction: column;
  }

  .tm-somos__photo {
    min-height: 14rem;
    max-height: none;
    order: -1;
  }

  .tm-grid--posts,
  .tm-grid--channels,
  .tm-grid--cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-logo-card {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .tm-header__inner {
    width: calc(100% - 30px);
    margin-inline: 15px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    padding-bottom: 16px;
  }

  .tm-header__brand img {
    width: 132px;
  }

  .tm-header__lang {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 0.75rem;
  }

  .tm-header__menu-toggle {
    width: 2.45rem;
    height: 2.45rem;
  }

  .tm-main-nav {
    width: min(88vw, 360px);
    padding: 4rem 1rem 1.15rem;
  }

  .tm-main-nav__mobile-logo img {
    max-width: min(100%, 180px);
  }

  .tm-carousel-hero,
  .tm-carousel-hero__inner {
    min-height: min(78vh, 720px);
  }

  .tm-page-hero,
  .tm-page-hero__inner {
    min-height: min(62vh, 520px);
  }

  .tm-page-hero {
    height: min(62vh, 520px);
  }

  .tm-page-hero__inner {
    padding-bottom: 1.5rem;
  }

  body.tm-layout-fixed-header .tm-page-hero {
    min-height: min(62vh, 520px);
    height: min(62vh, 520px);
  }

  body.tm-layout-fixed-header .tm-page-hero .tm-page-hero__inner {
    min-height: min(62vh, 520px);
  }

  .tm-page-hero__title {
    font-size: clamp(2.35rem, 11vw, 3.55rem);
    line-height: 0.98;
    max-width: 100%;
    white-space: normal;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-align: center;
  }

  .tm-program-hero__inner {
    min-height: auto;
    padding-top: clamp(6.5rem, 15vw, 8rem);
    padding-bottom: 1.8rem;
  }

  .tm-program-hero__entry {
    max-width: 100%;
    font-size: 1rem;
  }

  .tm-program-related {
    padding-top: 2.4rem;
    padding-bottom: 2.8rem;
  }

  .tm-program-related__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .tm-program-related__title {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    font-size: clamp(1.45rem, 6.5vw, 2.1rem);
    line-height: 1.1;
  }

  .tm-program-related__more {
    flex-shrink: 0;
    align-self: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: none;
    white-space: nowrap;
  }

  /* Carrusel horizontal de programas (single + página donde vernos) */
  .tm-program-related__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: -1rem;
    padding: 0 1rem 0.35rem;
    width: calc(100% + 2rem);
  }

  .tm-program-related__grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .tm-program-related__grid .tm-program-card {
    flex: 0 0 min(82vw, 320px);
    width: min(82vw, 320px);
    max-width: none;
    scroll-snap-align: start;
    min-height: unset;
    aspect-ratio: 3 / 4;
  }

  .tm-program-related__grid .tm-program-card a {
    min-height: 100%;
    height: 100%;
  }

  .tm-program-related__grid .tm-program-card__img {
    min-height: 100%;
    height: 100%;
  }

  .tm-channel-content__header {
    flex-direction: column;
    gap: 1rem;
  }

  .tm-channel-content__metrics {
    grid-template-columns: 1fr;
  }

  .tm-success-case__metrics-grid {
    grid-template-columns: 1fr;
  }

  .tm-channel-content__metric-value {
    font-size: 6rem;
  }

  .tm-success-case__metric-value {
    font-size: 3rem;
  }

  .tm-channel-related {
    padding: 2.5rem 0 3rem;
  }

  .tm-channel-related__feature-content {
    width: calc(100% - 2rem);
  }

  .tm-channel-related__feature-title {
    font-size: clamp(1.55rem, 8vw, 2.6rem);
  }

  .tm-channel-related__feature-btn {
    font-size: 1rem;
    padding-left: 0.9rem;
  }

  .tm-channel-related__feature-btn-icon {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.9rem;
  }

  .tm-channel-related__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .tm-channel-related__title {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    font-weight: 700;
    font-size: clamp(1.45rem, 6.5vw, 2.1rem);
    line-height: 1.1;
  }

  .tm-channel-related__more {
    flex-shrink: 0;
    align-self: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: none;
    white-space: nowrap;
  }

  /* Carrusel horizontal (canal: Nuestros programas) */
  .tm-channel-related__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: -1rem;
    padding: 0 1rem 0.35rem;
    width: calc(100% + 2rem);
  }

  .tm-channel-related__grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .tm-channel-related__grid .tm-program-card {
    flex: 0 0 min(82vw, 320px);
    width: min(82vw, 320px);
    max-width: none;
    scroll-snap-align: start;
    min-height: unset;
    aspect-ratio: 3 / 4;
  }

  .tm-channel-related__grid .tm-program-card a {
    min-height: 100%;
    height: 100%;
  }

  .tm-channel-related__grid .tm-program-card__img {
    min-height: 100%;
    height: 100%;
  }

  .tm-page-about__video-section,
  .tm-page-about__metrics {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .tm-page-about-video-card__content {
    bottom: 1rem;
    padding-inline: 1rem;
  }

  .tm-page-about-video-card__play {
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 0.65rem;
  }

  .tm-page-about-video-card__description {
    font-size: 0.92rem;
  }

  .tm-carousel-hero__bg-img--desktop {
    display: none;
  }

  .tm-carousel-hero__bg-img--mobile {
    display: block;
    object-fit: cover;
    object-position: center center;
    background: var(--tm-dark);
  }

  .tm-page-home > .tm-carousel-hero:first-child {
    min-height: 550px;
    height: 550px;
  }

  .tm-page-home > .tm-carousel-hero:first-child .tm-carousel-hero__inner {
    min-height: 550px;
    height: 550px;
  }

  body.tm-layout-fixed-header .tm-page-home > .tm-carousel-hero:first-child {
    min-height: calc(550px + var(--tm-header-offset));
    height: calc(550px + var(--tm-header-offset));
  }

  body.tm-layout-fixed-header .tm-page-home > .tm-carousel-hero:first-child .tm-carousel-hero__inner {
    min-height: 550px;
    height: 550px;
  }

  .tm-carousel-hero__columns {
    gap: 0.5rem;
  }

  .tm-contact-form .tm-cf7-grid {
    grid-template-columns: 1fr;
  }

  .tm-contact-extra__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .tm-where-watch-content__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tm-where-watch-content__title {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .tm-where-watch-content__button {
    width: 100%;
  }

  .tm-where-watch-content__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-where-watch-faq__title {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }
}

@media (min-width: 1024px) {
  .tm-program-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  /* En DOM el vídeo va primero (móvil); en desktop el texto queda a la izquierda y el vídeo a la derecha */
  .tm-program-hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .tm-program-hero__media {
    grid-column: 2;
    grid-row: 1;
  }
}
