/* Listados de contenido editorial (blog + noticias) */

.tn-noticias-main,
.tn-blog-main {
  width: 100%;
  max-width: 1140px;
  margin: 16px auto 32px;
  padding: 24px 20px 36px;
  box-sizing: border-box;
}

.tn-noticias-intro,
.tn-blog-intro {
  text-align: center;
  margin-bottom: 28px;
}

.tn-content-breadcrumb,
.tn-blog-breadcrumb {
  font-size: 0.82rem;
  color: var(--tn-text-soft, rgba(255, 255, 255, 0.55));
  margin-bottom: 1rem;
}

.tn-content-breadcrumb a,
.tn-blog-breadcrumb a {
  color: var(--tn-brand, #ff9a00);
  text-decoration: none;
}

.tn-content-breadcrumb a:hover,
.tn-blog-breadcrumb a:hover {
  text-decoration: underline;
}

.tn-content-breadcrumb span[aria-hidden="true"],
.tn-blog-breadcrumb span[aria-hidden="true"] {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.tn-content-mobile-brand {
  display: none;
}

@media (max-width: 991.98px) {
  body.page-blog .tn-content-mobile-brand,
  body.page-noticias .tn-content-mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: max(8px, env(safe-area-inset-top, 0px)) 0 14px;
    text-decoration: none;
  }

  body.page-blog .tn-content-mobile-brand img,
  body.page-noticias .tn-content-mobile-brand img {
    width: 84px;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  }

  body.page-blog .tn-content-mobile-brand__label,
  body.page-noticias .tn-content-mobile-brand__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tn-text-muted, #b0b0b0);
  }

  body.page-blog .tn-noticias-intro,
  body.page-blog .tn-blog-intro,
  body.page-noticias .tn-noticias-intro,
  body.page-noticias .tn-blog-intro {
    padding-top: 0;
  }

  body.page-blog .tn-blog-main:not(.tn-blog-single),
  body.page-noticias .tn-noticias-main:not(.tn-noticia-single) {
    padding-top: 12px;
  }

  body.page-blog .tn-blog-main.tn-blog-single,
  body.page-noticias .tn-noticias-main.tn-noticia-single {
    padding-top: 12px;
  }

  body.page-blog .tn-noticia-breadcrumb,
  body.page-noticias .tn-noticia-breadcrumb,
  body.page-blog .tn-blog-article__hero .tn-content-breadcrumb {
    text-align: center;
  }
}

.tn-noticias-intro h1,
.tn-blog-intro h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tn-text, #fff);
  margin: 0 0 8px;
}

.tn-noticias-intro p,
.tn-blog-intro p {
  margin: 0;
  color: var(--tn-text-muted, #b0b0b0);
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.tn-news-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tn-border, rgba(255, 255, 255, 0.12));
  border-radius: var(--tn-radius-lg, 16px);
  overflow: hidden;
  color: var(--tn-text, #fff);
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tn-news-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.tn-news-card .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.tn-news-card .card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.tn-news-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tn-news-card .card-title a {
  color: var(--tn-text, #fff);
  text-decoration: none;
}

.tn-news-card .card-title a:hover {
  color: var(--tn-accent, #ff9a00);
}

.tn-news-card .card-text {
  color: var(--tn-text-muted, #c8c8c8);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tn-news-card .card-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.tn-news-card .video_container {
  position: relative;
  display: block;
  background: #111;
}

.tn-news-card .video_container video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tn-news-card .video_container button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
}

.tn-noticias-empty,
.tn-blog-empty {
  text-align: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--tn-border, rgba(255, 255, 255, 0.15));
  border-radius: var(--tn-radius-lg, 16px);
  color: var(--tn-text-muted, #b0b0b0);
}

.tn-noticias-empty strong,
.tn-blog-empty strong {
  display: block;
  color: var(--tn-text, #fff);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.tn-noticias-empty a,
.tn-blog-empty a {
  color: var(--tn-accent, #ff9a00);
  text-decoration: none;
}

.tn-noticias-empty a:hover,
.tn-blog-empty a:hover {
  text-decoration: underline;
}

.tn-noticias-main .tn-noticias-pagination,
.tn-blog-main .tn-blog-pagination {
  max-width: none;
  margin: 20px 0 0;
  padding: 0;
}

/* Artículo individual (blog + noticia) */
.tn-blog-main.tn-blog-single,
.tn-noticias-main.tn-noticia-single,
body.page-site .body-wrapper > .tn-blog-main.tn-blog-single,
body.page-site .body-wrapper > .tn-noticias-main.tn-noticia-single {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 820px;
  margin: 16px auto 32px;
  padding: clamp(12px, 2vw, 20px) 20px 64px;
  box-sizing: border-box;
}

.tn-blog-main.tn-blog-single,
body.page-site .body-wrapper > .tn-blog-main.tn-blog-single {
  max-width: 720px;
}
