.page-header {
  padding: 5px 0;
  position: relative;
  overflow: hidden;
  margin-top: 85px;
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-title-large {
  position: relative;
  padding: 5px 0;
}

.page-title-large h1 {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  
}

.breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.breadcrumb li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  max-width: 400px; /* ajusta según el ancho de tu contenedor */
  vertical-align: bottom;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "•";
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  padding: 0 12px;
  vertical-align: middle;
}

.breadcrumb-item a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

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

.opacity-8 {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .breadcrumb li:last-child {
    max-width: 180px;
  }
}

/* Estilos periodísticos */
.article-header {
  background: white;
  padding: 50px 40px 30px 40px;
  border-bottom: 3px solid #009e45;
  margin-bottom: 0;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2c3e50;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.article-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 30px;
  font-style: italic;
  max-width: 90%;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid #ecf0f1;
  border-bottom: 1px solid #ecf0f1;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.share-btn.facebook {
  background: #3b5998;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.article-image {
  text-align: center;
  margin: 40px 0;
  position: relative;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.article-image:hover img {
  transform: scale(1.02);
}

.article-image-caption {
  font-size: 0.85rem;
  color: #7f8c8d;
  font-style: italic;
  margin-top: 15px;
  text-align: center;
  padding: 8px 15px;
  background: rgba(127,140,141,0.1);
  border-radius: 20px;
  display: inline-block;
}

.article-content {
  font-size: 15px;
  line-height: 30px;
  color: #828282;
  font-family: 'Roboto', sans-serif;
}

.article-content p {
  margin-bottom: 28px;
  text-align: justify;
}

.article-content p:first-of-type {
  font-size: 18px;
  font-weight: 500;
  color: #232323;
  line-height: 30px;
  padding: 20px 0 20px 0;
  margin-bottom: 35px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

.article-content p:first-of-type::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #009e45;
}

.article-content ul {
  margin: 25px 0;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #2c3e50;
}

.article-tags {
  margin-top: 50px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.tag {
  display: inline-block;
  background: #009e45;
  color: white;
  padding: 8px 16px;
  margin: 0 8px 8px 0;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #007d37;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,158,69,0.3);
}

/* Elementos decorativos para mejorar la lectura */
.article-separator {
  width: 60px;
  height: 2px;
  background: #f0f0f0;
  margin: 40px auto;
  position: relative;
}

.article-separator::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #009e45;
}

.pullquote {
  background: linear-gradient(135deg, #fff, #f8fdfa);
  border-left: 6px solid #009e45;
  padding: 30px;
  margin: 40px 0;
  border-radius: 0 15px 15px 0;
  font-size: 1.3rem;
  font-style: italic;
  color: #2c3e50;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,158,69,0.1);
}

.pullquote::before {
  content: '"';
  font-size: 5rem;
  color: #009e45;
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.article-highlight {
  background: linear-gradient(135deg, #fff9e6, #fff3cd);
  border: 1px solid #ffeaa7;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  position: relative;
}

.article-highlight::before {
  content: '💡';
  position: absolute;
  top: -10px;
  left: 20px;
  background: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .col-lg-8 {
    padding-right: 15px !important;
    margin-bottom: 30px;
  }
  
  .article-header {
    padding: 30px 20px 25px 20px;
  }
  
  .article-title {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  
  .article-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .article-share {
    margin-left: 0;
    align-self: flex-start;
  }
  
  .article-content {
    font-size: 1rem;
  }
  
  .article-content p:first-of-type {
    font-size: 1.1rem;
    padding: 15px 0;
    margin-bottom: 25px;
  }
  
  .article-content ul {
    margin: 20px 0;
    padding-left: 25px;
  }
  
  .sidebar {
    margin-top: 40px;
  }
  
  .stats-number {
    font-size: 2.2rem;
  }
  
  .main-content {
    margin-bottom: 30px;
  }
  
  .article-body {
    padding: 0 20px 30px 20px !important;
  }
  
  .pullquote {
    padding: 20px;
    font-size: 1.1rem;
    margin: 25px 0;
  }
  
  .article-highlight {
    padding: 20px;
    margin: 20px 0;
  }
  
  .article-separator {
    width: 40px;
    margin: 30px auto;
  }
}

/* Sidebar y elementos adicionales */
.sidebar {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.sidebar-section {
  padding: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-section:last-child {
  border-bottom: none;
}

.sidebar-title {
  color: #009e45;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.sidebar-title::before {
  content: '';
  width: 4px;
  height: 25px;
  background: linear-gradient(135deg, #009e45, #007d37);
  border-radius: 2px;
}

.related-news-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f8f9fa;
  transition: all 0.3s ease;
}

.related-news-item:hover {
  background: #f8f9fa;
  margin: 0 -15px;
  padding: 15px;
  border-radius: 8px;
}

.related-news-item:last-child {
  border-bottom: none;
}

.related-news-image {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-news-content h6 {
  color: #2c3e50;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 5px;
}

.related-news-content .date {
  color: #009e45;
  font-size: 12px;
  font-weight: 500;
}

.stats-box {
  background: linear-gradient(135deg, #009e45, #007d37);
  color: white;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0,158,69,0.25);
}

.stats-number {
  font-size: 2.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.stats-label {
  font-size: 0.85rem;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
}

.social-follow {
  background: #f8f9fa;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.social-follow h5 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.social-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-btn.facebook {
  background: #3b5998;
  color: white;
}

.social-btn.twitter {
  background: #1da1f2;
  color: white;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.social-btn.youtube {
  background: #ff0000;
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.newsletter-sidebar {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.newsletter-sidebar h5 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.2rem;
}

.newsletter-sidebar p {
  color: #7f8c8d;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.4;
}

.newsletter-sidebar input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 14px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.newsletter-sidebar input:focus {
  border-color: #009e45;
  outline: none;
}

.newsletter-sidebar button {
  width: 100%;
  background: #009e45;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-sidebar button:hover {
  background: #007d37;
}

/* Mejorar el contenido principal */
.main-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.article-category-badge {
  display: inline-block;
  background: linear-gradient(135deg, #009e45, #007d37);
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,158,69,0.3);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #009e45, #007d37);
  z-index: 1000;
  transition: width 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,158,69,0.3);
}

.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #009e45;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 30px;
  background: rgba(0,158,69,0.08);
  border: 1px solid rgba(0,158,69,0.15);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,158,69,0.1);
}

.back-to-news:hover {
  color: #007d37;
  gap: 12px;
}

.back-to-news i {
  transition: transform 0.3s ease;
}

.back-to-news:hover i {
  transform: translateX(-3px);
}

