/* Noticias — listado y detalle */

body.page-noticias {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-noticias .tn-page-header {
  flex-shrink: 0;
}

body.page-noticias .body-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.page-noticias .tn-site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.tn-noticia-breadcrumb {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  text-align: left;
}

.tn-noticia-legal-note {
  color: rgba(255, 255, 255, 0.45) !important;
  line-height: 1.45;
}

.tn-noticias-gone p {
  margin: 0 0 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.tn-noticia-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tn-text, #fff);
  margin: 1.5rem 0 0.75rem;
}

.tn-noticia-content p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.tn-noticia-content a {
  color: var(--tn-accent, #ff9a00);
}

.tn-noticia-cta {
  background: rgba(255, 154, 0, 0.1);
  border: 1px solid rgba(255, 154, 0, 0.25);
}

.tn-noticia-sector {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Detalle noticia */
.tn-noticia-single .tn-news-card {
  width: 100%;
  margin: 0;
}

.tn-noticia-single .tn-news-card .card-title {
  font-size: 1.5rem;
  text-align: center;
}

.tn-noticia-single .tn-noticia-media img {
  max-width: 100%;
  width: 100%;
  float: none;
  margin: 0 0 1rem;
  border-radius: 12px;
  display: block;
}

.tn-noticia-figure {
  margin: 0 0 1rem;
}

.tn-noticia-figure--featured {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--tn-border, rgba(255, 255, 255, 0.12));
  background: #141418;
}

.tn-noticia-figure--featured img {
  display: block;
  width: 100%;
  height: auto;
}

.tn-noticia-image-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  text-align: right;
}

.tn-noticia-single .card-text {
  text-align: left;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .tn-noticia-single .tn-noticia-media--float .tn-noticia-figure--featured {
    width: 42%;
    float: right;
    margin: 0 0 12px 20px;
  }

  .tn-noticia-single .tn-noticia-media--float .tn-noticia-figure--featured img {
    width: 100%;
    float: none;
    margin: 0;
  }
}
