:root {
  --sh-bg: #0b55ff;
  --sh-fg: #ffffff;
  --sh-muted: rgba(255, 255, 255, .78);

  --sh-gray: #e9e9e9;
  --sh-black: #0f0f0f;

  --sh-max: 1320px;
  --sh-gap: 28px;
  --sh-header-offset: 0px;
}

.tm-shoutout {
  background: var(--sh-bg);
  color: var(--sh-fg);
  min-height: 100vh;
}

.tm-shoutout * {
  box-sizing: border-box;
}

.tm-shoutout__hero {
  background: var(--sh-bg);
  padding-top: var(--sh-header-offset);
}

.tm-shoutout__hero {
  position: relative;
}

.tm-shoutout__hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 60px;
  /* más alto = más suave */
  pointer-events: none;
  z-index: 5;

  /* azul (variable) → claro (horizonte de posts) */
  background: linear-gradient(to bottom,
      var(--sh-bg) 0%,
      rgba(233, 233, 233, 1) 100%);
}

/* shotout */
.tm-shoutout__top .donar-aqui {
  position: relative;
  left: 2%;
  z-index: 9999;
}

.tm-shoutout__top .donar-aqui img {
  height: 150px;
  transition: transform 0.3s ease;
}

.tm-shoutout__top .donar-aqui img:hover {
  transform: scale(1.1) rotate(5deg);
}



/* ====== Split ====== */
.tm-shoutout__top {
  /* max-width: var(--sh-max); */
  margin: 0 auto;
  padding: 126px 12px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sh-gap);
  align-items: start;
}

/* ====== LEFT ====== */
.tm-shoutout__leftTop {
  min-height: calc(100vh - var(--sh-header-offset) - 90px);
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  padding: 6px 0 10px;
}

.tm-shoutout__leftTopInner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tm-shoutout__miniMap {
  width: 120px;
  height: auto;
  display: block;
  margin-top: 6px;
}

.tm-shoutout__date {
  font-family: "Authentic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--sh-muted);
  margin-top: 6px;
  text-align: end;
}

.tm-shoutout__title {
  margin: 0;
  max-width: 100%;
  font-family: 'MD-IO';
  font-size: 38px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}

/* ====== RIGHT ====== */
.tm-shoutout__rightTop {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tm-shoutout__image {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* content directo debajo */
.tm-shoutout__body {
  margin-left: auto;
  /* angosto y pegado a la derecha como tu captura */
  font-family: "MD-IO";
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  padding: 1rem 15% 15% 0;
}

.tm-shoutout__body div {
  margin-bottom: 1rem;
}

.tm-shoutout__body img {
  margin-bottom: 2rem;
}

/* reset WP */
.tm-shoutout__body p {
  margin: 0 0 12px;
}

.tm-shoutout__body h1,
.tm-shoutout__body h2,
.tm-shoutout__body h3 {
  margin: 14px 0 8px;
  font-family: "SerialB", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  color: #fff;
}

.tm-shoutout__body a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tm-shoutout__body img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====== BLOQUE GRIS ABAJO ====== */
.tm-shoutout__more {
  background: var(--sh-gray);
  color: var(--sh-black);
  padding: 18px 0 26px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  position: relative;
}

.tm-shoutout__more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: linear-gradient(90deg, rgba(157, 255, 0, 1) 0%, rgba(89, 255, 0, 1) 100%);
}

.tm-shoutout__moreItem {
  max-width: var(--sh-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, .06);
  text-decoration: none;
  color: inherit;
}

.tm-shoutout__moreItem:first-child {
  border-top: none;
}

.tm-shoutout__moreTitle {
  font-family: "SerialB", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.tm-shoutout__moreMeta {
  margin-top: 6px;
  font-family: "Authentic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 10px;
  opacity: .75;
  line-height: 1.25;
}

.tm-shoutout__moreThumb {
  width: 92px;
  height: 64px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  justify-self: end;
}

/* ====== responsive ====== */
@media (max-width: 980px) {
  .tm-shoutout__top {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 22px 18px 10px;
  }

  .tm-shoutout__leftTop {
    min-height: auto;
    gap: 14px;
    padding-bottom: 6px;
  }

  .tm-shoutout__title {
    font-size: 26px;
    max-width: 100%;
    font-weight: 100;
  }

  .tm-shoutout__image {
    max-height: 420px;
  }

  .tm-shoutout__body {
    max-width: 100%;
    margin-left: 0;
    font-size: 14px;
    color: black;
    line-height: 1.75;
  }

  .tm-shoutout__moreItem {
    grid-template-columns: 1fr 84px;
    padding: 10px 18px;
  }

  .tm-shoutout__moreThumb {
    width: 84px;
    height: 58px;
  }
}

/* FIX wrappers que rompen layout */
.tm-shoutout,
.tm-shoutout__hero,
.tm-shoutout__top {
  overflow: visible;
  transform: none;
  filter: none;
}




/* ====== COLOR DINÁMICO (fallback ya lo tenés en :root) ====== */
.tm-shoutout {
  background: var(--sh-bg);
}

/* ====== TOP 100vh ====== */
.tm-shoutout__top--vh {
  min-height: 100vh;
  padding: 126px 12px 20px;
  /* arriba como estabas, abajo un poco */
  align-items: stretch;
  /* clave: que ambas columnas estiren */
}

/* LEFT: logo arriba + bloque abajo pegado */
.tm-shoutout__leftTop {
  min-height: auto;
  /* ya no dependemos del calc viejo */
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px;
}

/* ✅ empuja el bloque de abajo hacia el fondo */
.tm-shoutout__leftBottom {
  margin-top: auto;
  padding-bottom: 5%;
}

/* RIGHT: imagen full alto del primer bloque */
.tm-shoutout__rightTop {
  height: 100%;
  padding-top: 0;
  justify-content: end;
}

/* imagen ocupa todo el 100vh del top */
.tm-shoutout__image--vh {
  width: 100%;
  max-height: 80vh;
  /* anula tu max-height:340px */
  object-fit: contain;
  border-radius: 2px;
  display: block;
}

/* ====== BLOQUE DE CONTENIDO DESPUÉS DEL 100vh ====== */
.tm-shoutout__below {
  padding: 26px 12px 40px;
}

.tm-shoutout__belowGrid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* igual que arriba */
  gap: var(--sh-gap);
  align-items: start;
}

/* columna izquierda vacía (mantiene la alineación) */
.tm-shoutout__belowLeft {
  min-height: 1px;
}

/* contenido sigue “pegado a la derecha” como lo tenías */
.tm-shoutout__belowRight .tm-shoutout__body {
  margin-left: auto;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .tm-shoutout__hero {
    padding-top: 50px;
  }

  .tm-shoutout__top--vh {
    grid-template-columns: 1fr;
    padding: 22px 18px 18px;
    min-height: auto;
    /* en mobile no tiene sentido clavar 100vh rígido */
  }

  .tm-shoutout__rightTop {
    height: auto;
  }

  .tm-shoutout__image--vh {
    height: auto;
    max-height: 500px;
    margin-left: -1.1rem;
    width: calc(100% + 2.3rem);
  }

  .tm-shoutout__belowGrid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
  }

  .tm-shoutout__belowLeft {
    display: none;
  }

  .tm-shoutout__belowRight .tm-shoutout__body {
    margin-left: 0;
  }

  .tm-shoutout__leftTop .donar-aqui {
    display: none;
  }

  .tm-shoutout__leftBottom {
    padding-bottom: 0;
  }

  .tm-shoutout__below {
    /* padding-top: 0; */
    padding-bottom: 100px;
  }

  .tm-shoutout__body {
    padding: 0;
  }

  .tm-shoutout__body p {
    font-size: 14px;
  }
}