/* News Details Page Styles */
:root {
    --primary-color: #5B0000;
    --secondary-color: #C18E11;
    --bg-light: #f9f9f9;
}
@media (max-width: 768px) {
  .page-hero {
    min-height: 300px;
    height: 40vh;
    background-attachment: scroll;
    /* Disable parallax on mobile for better performance */
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .page-hero .breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 250px;
    height: 35vh;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
.news-section {
    padding: 40px 8% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    background: #fff;
}

.news-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-details-card {
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(193, 142, 17, 0.1);
    padding: 50px;
    margin: 0 auto;
    max-width: 1400px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.news-details-card:hover {
    box-shadow: 0 8px 32px rgba(193, 142, 17, 0.15);
}

.news-details-meta {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    gap: 25px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-details-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-details-meta span::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.news-details-meta .news-date::before {
    content: "\f073";
    font-size: 0.9em;
}

.news-details-meta .news-time::before {
    content: "\f017";
    font-size: 0.9em;
}

.news-details-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: left;
}

.news-details-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 0;
}

.news-details-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-details-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-details-gallery a:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(193, 142, 17, 0.2);
}

.news-details-content {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 25px;
    text-align: justify;
}

.news-details-content p {
    margin-bottom: 20px;
    padding: 0;
}

.news-details-content p:last-child {
    margin-bottom: 0;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.news-back-link:hover {
    background: transparent;
    color: var(--secondary-color);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-details-card {
        padding: 40px;
    }
    
    .news-details-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0 !important;
    }
    
    .news-section .container {
        padding: 0 15px;
    }
    
    .news-details-card {
        padding: 30px;
        border-radius: 12px;
    }
    
    .news-details-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .news-details-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.9rem;
    }
    
    .news-details-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .news-details-gallery img {
        height: 120px;
    }
    
    .news-details-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .news-back-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .news-details-card {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .news-details-title {
        font-size: 1.4rem;
    }
    
    .news-details-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .news-details-gallery img {
        height: 100px;
    }
    
    .news-details-content {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .news-back-link {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* GLightbox Customization */
.glightbox-container {
    background: rgba(0, 0, 0, 0.9);
}

.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {
    color: var(--secondary-color);
}

.glightbox-clean .gclose:hover, .glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover {
    color: white;
}