/* ============================================
   ESTILOS PARA VISTA DE NOTICIA COMPLETA
   ============================================ */

:root {
  --color-primary: #044535;
  --color-secondary: #ffc400d5;
  --color-dark: #212121;
  --color-text: #424242;
  --color-light: #f5f5f5;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.noticia-container {
  min-height: 100vh;
  background: #f8f9fa;
}
.noticia-completa {
 margin-left: 350px;
  width: calc(100% - 350px);
  min-height: 100vh;
  background: white;
}
/* ============================================
   HEADER DE LA NOTICIA
   ============================================ */
.noticia-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a5f37 100%);
  color: white;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.noticia-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.noticia-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.noticia-breadcrumb a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.3s;
}

.noticia-breadcrumb a:hover {
  opacity: 0.8;
}

.noticia-categoria-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-light);
}

.noticia-titulo-principal {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.noticia-meta-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  opacity: 0.95;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.meta-item i {
  font-size: 1.2rem;
}

/* ============================================
   IMAGEN DESTACADA
   ============================================ */
.noticia-imagen-destacada {
  margin: 0;
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.noticia-imagen-destacada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticia-imagen-destacada figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: white;
  padding: 30px 40px 20px;
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================
   CONTENIDO DE LA NOTICIA
   ============================================ */
.noticia-contenido {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.noticia-contenido .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 4px solid var(--color-secondary);
  line-height: 1.6;
}

.noticia-contenido h2 {
  font-size: 2rem;
  color: var(--color-dark);
  margin: 50px 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
}

.noticia-contenido h2 i {
  color: var(--color-primary);
  font-size: 2.2rem;
}

.noticia-contenido p {
  margin-bottom: 20px;
  text-align: justify;
}

/* ============================================
   QUOTE/BLOCKQUOTE
   ============================================ */
.noticia-quote {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid var(--color-primary);
  padding: 30px 40px;
  margin: 40px 0;
  border-radius: 0 15px 15px 0;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.noticia-quote i {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.2;
}

.noticia-quote p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-dark);
  margin: 0 0 15px;
  padding-left: 40px;
}

.noticia-quote cite {
  display: block;
  text-align: right;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
  font-style: normal;
}

/* ============================================
   LISTAS
   ============================================ */
.noticia-lista,
.noticia-lista-numerada {
  margin: 30px 0;
  padding-left: 0;
  list-style: none;
}

.noticia-lista li,
.noticia-lista-numerada li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s;
}

.noticia-lista li:hover,
.noticia-lista-numerada li:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.noticia-lista li i {
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.noticia-lista-numerada {
  counter-reset: item;
}

.noticia-lista-numerada li {
  counter-increment: item;
  position: relative;
  padding-left: 60px;
}

.noticia-lista-numerada li::before {
  content: counter(item);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
.noticia-highlight-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  border: 2px solid #ffc107;
  border-radius: 15px;
  padding: 25px 30px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.noticia-highlight-box i {
  color: #ff8f00;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.noticia-highlight-box h3 {
  color: var(--color-dark);
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.noticia-highlight-box p {
  margin: 0;
  color: var(--color-text);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.testimonio-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.testimonio-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonio-card i {
  color: var(--color-primary);
  font-size: 3rem;
  margin-bottom: 15px;
}

.testimonio-card p {
  font-style: italic;
  margin: 0 0 15px;
  font-size: 1rem;
}

.testimonio-card cite {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  font-style: normal;
}

/* ============================================
   GALERÍA
   ============================================ */
.noticia-galeria {
  margin: 50px 0;
}

.noticia-galeria h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--color-dark);
}

.noticia-galeria h3 i {
  color: var(--color-primary);
}

.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-grid img {
  width: 25%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.galeria-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CALL TO ACTION
   ============================================ */
.noticia-call-to-action {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a5f37 100%);
  color: white;
  border-radius: 15px;
  padding: 35px;
  margin: 50px 0;
  display: flex;
  gap: 25px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.noticia-call-to-action i {
  font-size: 4rem;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.noticia-call-to-action h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.noticia-call-to-action p {
  margin: 0 0 20px;
  opacity: 0.95;
}

.noticia-call-to-action .btn {
  background: var(--color-secondary);
  color: var(--color-dark);
  font-weight: 600;
}

/* ============================================
   FOOTER DE LA NOTICIA
   ============================================ */
.noticia-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  border-top: 3px solid var(--color-secondary);
}

.noticia-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.noticia-tags i {
  color: var(--color-primary);
}

.tag {
  background: #e8f5e9;
  color: var(--color-primary);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.noticia-compartir {
  margin-bottom: 40px;
}

.noticia-compartir h4 {
  color: var(--color-dark);
  margin-bottom: 15px;
}

.share-buttons {
  display: flex;
  gap: 15px;
}

.share-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: #ea4335; }

/* ============================================
   AUTOR BIO
   ============================================ */
.noticia-autor-bio {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.autor-avatar {
  width: 100px;
  height: 100px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid var(--color-secondary);
}

.autor-avatar i {
  color: white;
  font-size: 3rem;
}

.autor-info h4 {
  margin: 0 0 5px;
  color: var(--color-dark);
}

.autor-role {
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.autor-description {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ============================================
   NOTICIAS RELACIONADAS
   ============================================ */
.noticias-relacionadas {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 40px 60px;
}

.noticias-relacionadas h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--color-dark);
  font-size: 1.8rem;
}

.noticias-relacionadas h3 i {
  color: var(--color-primary);
}

.relacionadas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.relacionada-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid #e0e0e0;
}

.relacionada-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.relacionada-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.relacionada-content {
  padding: 20px;
}

.relacionada-categoria {
  background: var(--color-primary);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.relacionada-card h4 {
  margin: 15px 0 10px;
  font-size: 1.1rem;
  color: var(--color-dark);
  line-height: 1.3;
}

.relacionada-fecha {
  color: #757575;
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 768px) {


  .noticia-header {
    padding: 30px 20px;
  }

  .noticia-titulo-principal {
    font-size: 2rem;
  }

  .noticia-contenido {
    padding: 40px 20px;
  }

  .noticia-imagen-destacada {
    height: 300px;
  }

  .testimonios-grid,
  .relacionadas-grid {
    grid-template-columns: 1fr;
  }

  .noticia-call-to-action {
    flex-direction: column;
    text-align: center;
  }

  .noticia-autor-bio {
    flex-direction: column;
    text-align: center;
  }
}