@import url('variables.css');

/* ===== Front page minimal ===== */

.th-front-page--minimal {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ===== Navbar estilo index 1 ===== */

.th-navbar {
  width: 100%;
  background: var(--color-blanco);
  padding: 0.9rem 0;
  border: 0;
}

.th-navbar__inner {
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.th-navbar__brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.th-navbar__brand img,
.th-navbar .custom-logo {
  width: auto;
  max-width: 104px;
  max-height: 64px;
  object-fit: contain;
}

.th-navbar__collapse {
  justify-content: flex-end;
}

.th-navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}

.th-navbar__menu .nav-link {
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-navbar__menu .nav-link:hover,
.th-navbar__menu .current-menu-item > .nav-link {
  color: var(--color-gris-oscuro);
}

/* ===== Imagen única de portada ===== */

.th-home-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.th-home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* Si quieres que la imagen ocupe casi toda la pantalla visible */
.home .th-home-hero__image {
  min-height: calc(100vh - 116px);
  object-fit: cover;
  object-position: center center;
}

/* Opcional: ocultar footer solo en la portada */
footer {
  display: none;
}

/* ===== Responsive ===== */

@media (max-width: 991.98px) {

  .th-navbar {
    padding: 0;
    background: var(--color-blanco);
    border: 0;
    position: relative;
    z-index: 9999;
  }

  .th-navbar__inner {
    width: 100%;
    min-height: 72px;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .th-navbar__brand {
    position: relative;
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .th-navbar__brand img,
  .th-navbar .custom-logo {
    max-width: 64px;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .th-navbar__toggle,
  .navbar-toggler {
    position: relative;
    z-index: 10001;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .th-navbar__toggle:focus,
  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    background-size: 1.35rem 1.35rem;
  }

  .th-navbar__collapse {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--color-blanco);
  }

  .th-navbar__collapse.collapse:not(.show) {
    display: none;
  }

  .th-navbar__collapse.collapsing {
    height: 100vh;
    transition: none;
  }

  .th-navbar__menu {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
  }

  .th-navbar__menu .nav-item {
    width: auto;
  }

  .th-navbar__menu .nav-link {
    display: block;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-gris-oscuro);
  }

  .th-navbar__menu .nav-link:hover,
  .th-navbar__menu .current-menu-item > .nav-link {
    color: var(--color-gris-oscuro);
  }

  .home .th-home-hero__image {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none;
    position: relative;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 1px;
    background: #e35b5b;
    transform-origin: center;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/* ===== Carrusel portada minimal ===== */

.th-home-carousel-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--color-blanco);
}

.th-home-carousel {
  width: 100%;
  margin: 0;
  padding: 0;
}

.th-home-carousel__inner,
.th-home-carousel__item {
  width: 100%;
  height: auto;
  min-height: 0;
  background: var(--color-blanco);
}

.th-home-carousel__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: center center;
}

.th-home-carousel .carousel-indicators,
.th-home-carousel .carousel-control-prev,
.th-home-carousel .carousel-control-next,
.th-home-carousel .carousel-caption {
  display: none !important;
}

.th-home-carousel.carousel-fade .carousel-item {
  transition: opacity 1.2s ease-in-out;
}

/* =========================================================
   Página Quiénes Somos
   ========================================================= */

.th-about-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-blanco);
}

/* Cada franja mide lo mismo */
.th-about-band {
  width: 100%;
  min-height: 620px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Imagen */
.th-about-band__media {
  width: 100%;
  min-height: 620px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.th-about-band__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bloques de texto */
.th-about-band__content {
  width: 100%;
  min-height: 620px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.th-about-band__content--dark-gray,
.th-about-band__content--black {
  background: var(--color-blanco);
  color: var(--color-gris-oscuro);
}

.th-about-band__text {
  max-width: 620px;
  margin: 0 auto;
  padding: 4rem 4.5rem;
}

.th-about-band__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gris-oscuro);
}

.th-about-band__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: 1.1;
  font-weight: 300;
  color: var(--color-blanco);
}

.th-about-band__subtitle {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.th-about-band__text p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

/* Franja 3: Cómo trabajamos */

.th-about-band--process {
  grid-template-columns: 1fr;
  min-height: 620px;
  background: var(--color-gris-claro);
}

.th-about-process {
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--color-gris-claro);
}

.th-about-process__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 4.5rem;
}

.th-about-process__title {
  margin: 0 0 2rem;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #000;
}

.th-about-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.th-about-process__item h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-about-process__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000;
}

/* Responsive */

@media (max-width: 991.98px) {

  .th-about-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .th-about-band--bio .th-about-band__content {
    order: 2;
  }

  .th-about-band--bio .th-about-band__media {
    order: 1;
  }

  .th-about-band__media {
    min-height: auto;
  }

  .th-about-band__image {
    height: auto;
    object-fit: initial;
  }

  .th-about-band__content {
    min-height: auto;
  }

  .th-about-band__text {
    max-width: none;
    padding: 3rem 1.5rem;
  }

  .th-about-band__title {
    font-size: 1.8rem;
  }

  .th-about-process {
    min-height: auto;
  }

  .th-about-process__inner {
    padding: 3rem 1.5rem;
  }

  .th-about-process__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Variante clara para primera franja */

.th-about-band__content--dark-gray .th-about-band__eyebrow,
.th-about-band__content--black .th-about-band__eyebrow {
  color: var(--color-gris-medio);
}

.th-about-band__content--dark-gray .th-about-band__title,
.th-about-band__content--black .th-about-band__title {
  color: var(--color-gris-oscuro);
}

.th-about-band__content--dark-gray .th-about-band__subtitle,
.th-about-band__content--black .th-about-band__subtitle {
  color: var(--color-gris-oscuro);
}

.th-about-band__content--dark-gray .th-about-band__text p,
.th-about-band__content--black .th-about-band__text p {
  color: var(--color-gris-oscuro);
}

/* Fondo blanco para contenedores de imagen en Quiénes Somos */

.th-about-band__media {
  background: var(--color-blanco);
}

.th-about-band__title--secondary {
  margin-top: 2.75rem;
}

/* =========================================================
   Página Video
   ========================================================= */

.th-video-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-blanco);
}

/* Video de borde a borde */
.th-video-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
}

.th-video-hero__ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.th-video-hero__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Franja de texto editorial */
.th-video-info {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-gris-oscuro);
  color: var(--color-blanco);
}

.th-video-info__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.th-video-info__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blanco);
}

.th-video-info__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-title);
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 300;
  color: var(--color-blanco);
}

.th-video-info__lead {
  max-width: 760px;
  margin: 0 0 2rem;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.th-video-info__body {
  max-width: 760px;
}

.th-video-info__body p {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.th-video-info__body p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .th-video-info__inner {
    padding: 3rem 1.5rem;
  }

  .th-video-info__title {
    font-size: 1.85rem;
  }

  .th-video-info__lead {
    font-size: 1rem;
  }
}

/* =========================================================
   Pagina Contacto
   ========================================================= */

.page-template-page-contacto #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.th-contact-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-blanco);
  color: var(--color-gris-oscuro);
}

.th-contact-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-gris-claro);
}

.th-contact-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 4.5rem;
}

.th-contact-hero__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-contact-hero__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-title);
  font-size: 2.45rem;
  line-height: 1.1;
  font-weight: 300;
  color: var(--color-gris-oscuro);
}

.th-contact-hero__lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.62;
  font-weight: 600;
  color: var(--color-gris-oscuro);
}

.th-contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 4.5rem 5rem;
}

.th-contact-alert {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid currentColor;
  font-size: 0.95rem;
  line-height: 1.5;
}

.th-contact-alert ul {
  margin: 0;
  padding-left: 1.15rem;
}

.th-contact-alert li + li {
  margin-top: 0.35rem;
}

.th-contact-alert--success {
  background: rgba(102, 193, 163, 0.12);
  color: var(--color-verde-selva);
}

.th-contact-alert--error {
  background: rgba(227, 91, 91, 0.1);
  color: #9b2f2f;
}

.th-contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 5rem;
  align-items: start;
}

.th-contact-info {
  padding-top: 0.15rem;
}

.th-contact-info__intro {
  margin: 0 0 3rem;
}

.th-contact-info__intro h2,
.th-contact-form-wrap h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-title);
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 300;
  color: var(--color-gris-oscuro);
}

.th-contact-info__intro p,
.th-contact-info__block p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-gris-oscuro);
}

.th-contact-info__block {
  margin: 0;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(59, 59, 59, 0.16);
}

.th-contact-info__block h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-contact-info__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-contact-info__block li + li {
  margin-top: 0.35rem;
}

.th-contact-info__block a {
  color: var(--color-gris-oscuro);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 59, 59, 0.32);
}

.th-contact-info__block a:hover {
  color: var(--color-verde-selva);
  border-bottom-color: currentColor;
}

.th-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  margin: 0 0 1rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--color-gris-oscuro);
  color: var(--color-gris-oscuro);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.th-contact-info__block .th-contact-whatsapp:hover {
  border-color: var(--color-verde-selva);
  background: var(--color-verde-selva);
  color: var(--color-blanco) !important;
}

.th-contact-form-wrap {
  margin: 0;
}

.th-contact-form {
  display: grid;
  gap: 1.25rem;
}

.th-contact-form__row {
  display: grid;
  gap: 1.25rem;
}

.th-contact-form__row--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.th-contact-field {
  display: grid;
  gap: 0.45rem;
}

.th-contact-field label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-contact-field label span {
  color: var(--color-verde-selva);
}

.th-contact-field input,
.th-contact-field select,
.th-contact-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid rgba(59, 59, 59, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--color-gris-oscuro);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  outline: 0;
}

.th-contact-field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.th-contact-field input:focus,
.th-contact-field select:focus,
.th-contact-field textarea:focus {
  border-bottom-color: var(--color-verde-selva);
  box-shadow: 0 1px 0 var(--color-verde-selva);
}

.th-contact-field--error input,
.th-contact-field--error select,
.th-contact-field--error textarea {
  border-bottom-color: #9b2f2f;
  box-shadow: 0 1px 0 #9b2f2f;
}

.th-contact-field__help {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-gris-medio);
}

.th-contact-field__error {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #9b2f2f;
}

.th-contact-consent {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  margin-top: 0.35rem;
}

.th-contact-consent input {
  width: 1rem;
  height: 1rem;
  margin: 0.18rem 0 0;
  accent-color: var(--color-verde-selva);
}

.th-contact-consent label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-gris-oscuro);
}

.th-contact-consent--error input {
  outline: 1px solid #9b2f2f;
  outline-offset: 2px;
}

.th-contact-consent__error {
  grid-column: 2;
}

.th-contact-submit {
  justify-self: start;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--color-gris-oscuro);
  border-radius: 0;
  background: var(--color-gris-oscuro);
  color: var(--color-blanco);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.th-contact-submit:hover,
.th-contact-submit:focus {
  border-color: var(--color-verde-selva);
  background: var(--color-verde-selva);
  color: var(--color-blanco);
}

.th-contact-recaptcha-note {
  max-width: 30rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-gris-medio);
}

@media (max-width: 991.98px) {
  .th-contact-hero__inner,
  .th-contact-layout {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .th-contact-hero__inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .th-contact-layout {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .th-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767.98px) {
  .th-contact-hero__title {
    font-size: 1.9rem;
  }

  .th-contact-hero__lead {
    font-size: 1rem;
  }

  .th-contact-form__row--split {
    grid-template-columns: 1fr;
  }

  .th-contact-submit {
    width: 100%;
  }
}

/* =========================================================
   Pagina Publicaciones
   ========================================================= */

.page-template-page-publicaciones #main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.th-publications-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-blanco);
  color: var(--color-gris-oscuro);
}

.th-publications-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-gris-claro);
}

.th-publications-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 4.5rem;
}

.th-publications-hero__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-publications-hero__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-title);
  font-size: 2.45rem;
  line-height: 1.1;
  font-weight: 300;
  color: var(--color-gris-oscuro);
}

.th-publications-hero__lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.62;
  font-weight: 600;
  color: var(--color-gris-oscuro);
}

.th-publications-feed {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 4.5rem 5rem;
}

.th-publications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.th-publication-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  background: var(--color-blanco);
  border-top: 1px solid rgba(59, 59, 59, 0.18);
}

.th-publication-card__media {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-gris-claro);
}

.th-publication-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.th-publication-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-gris-medio);
}

.th-publication-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 0 0;
}

.th-publication-card__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 300;
  color: var(--color-gris-oscuro);
}

.th-publication-card__summary {
  margin: 0 0 1.35rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--color-gris-oscuro);
}

.th-publication-card__button {
  align-self: flex-start;
  margin-top: auto;
  min-height: 2.75rem;
  padding: 0.74rem 1rem;
  border: 1px solid var(--color-gris-oscuro);
  color: var(--color-gris-oscuro);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.th-publication-card__button:hover,
.th-publication-card__button:focus {
  border-color: var(--color-verde-selva);
  background: var(--color-verde-selva);
  color: var(--color-blanco);
}

.th-publications-pagination {
  margin-top: 4rem;
}

.th-publications-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-publications-pagination a,
.th-publications-pagination span {
  display: inline-flex;
  min-width: 2.45rem;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(59, 59, 59, 0.22);
  color: var(--color-gris-oscuro);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.th-publications-pagination a:hover,
.th-publications-pagination .is-active span {
  border-color: var(--color-gris-oscuro);
  background: var(--color-gris-oscuro);
  color: var(--color-blanco);
}

.th-publications-empty {
  max-width: 760px;
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(59, 59, 59, 0.16);
}

.th-publications-empty p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gris-oscuro);
}

@media (max-width: 991.98px) {
  .th-publications-hero__inner,
  .th-publications-feed {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .th-publications-hero__inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .th-publications-feed {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .th-publications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .th-publications-hero__title {
    font-size: 1.9rem;
  }

  .th-publications-hero__lead {
    font-size: 1rem;
  }

  .th-publications-grid {
    grid-template-columns: 1fr;
  }

  .th-publication-card__button {
    width: auto;
    justify-content: flex-start;
  }
}
