/* News & Updates Page Styles */

.news-updates-container {
   
}

.news-header h1 {
    font-size: 44px;
    font-weight: bold;
    padding-top: 2%;
    margin-bottom: 20px;
}

section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Featured Articles (Popular Articles) */
.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.featured-article-card {
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 500px;
}


.featured-article-card a {
    display: block;
    text-decoration: none;
    color: inherit;
        height: 500px;

}

@media (max-width: 767px){

.featured-article-card{
        height: auto;

}

    .featured-article-card a{
        height: auto;
    }
}

.featured-article-card .article-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.featured-article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.article-preview{
    height: 150px;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content:center;
}

.featured-article-card .article-meta {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    position: absolute;
    z-index: 9;
    bottom:0;
   left:0;
}

.featured-article-card .date {
    background-color: #f8f8f8;
    color: #13131c;
    padding: 10px 20px;
    border-radius: 15px;
    margin-right: 10px;
    font-weight: 600;
}

.featured-article-card .featured-tag {
    background-color: #f8f8f8;
    color: #13131c;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 600;
}

.featured-article-card h3 {
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
}

.featured-article-card .article-excerpt {
    padding: 0 15px 15px;
    font-size: 14px;
    color: #555;
}

/* Partners Section */
.partners-section {
    text-align: center;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partners-logos img {
    max-height: 80px;
    max-width: 160px;
    filter: grayscale(20%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Recent and All Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}



.article-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card .article-image {
    height: 180px;
    overflow: hidden;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .article-meta {
    padding: 10px 15px;
    font-size: 14px;
}

.article-card .date {
    background-color: #f8f8f8;
    padding: 4px 8px;
    border-radius: 15px;
}

.article-card h3 {
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.article-card .article-excerpt {
    padding: 0 15px;
    font-size: 14px;
    color: #555;
    flex-grow: 1;
}

.article-card .read-more {
    padding: 10px 15px;
    font-size: 14px;
    color: #0088cc;
    font-weight: 500;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.load-more-button {
    background-color: #0e7c3e;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background-color: #0a5f2f;
}

/* Responsive Design */
@media (max-width: 992px) {
    .featured-articles-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-articles-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article-card .article-image,
    .article-card .article-image {
        height: 200px;
    }
}




/* Single News & Updates Post Styles */

.single-news-update {
    margin-bottom: 60px;
}

/* 1. Hero Banner Styles */
.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 60px;
    margin-bottom: 40px;
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--Dark-Green, rgba(22, 101, 52, 0.90)) 0%, var(--Green, rgba(74, 180, 97, 0.90)) 100%);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-content {

}

.main-content-two-col{
    gap: 10% !important;
}

.bottom-hero-banner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    width: 65%;
    font-style: normal;
    font-weight: 600;
    line-height: 113%; /* 96.427px */
    letter-spacing: -3.413px;
}

.meta-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-bottom: 25px;
}

.meta-info .date {
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 20px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.share-buttons span {
    margin-right: 10px;
}

.share-buttons a {
    margin: 0 5px;
    transition: opacity 0.3s ease;
}

.share-buttons a:hover {
    opacity: 1;
}

.share-buttons svg {
    fill: white;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 10px;
    height: 100%;
}

.categories-chip{
    color: #13131c;
    background-color: white;
    padding: 10px 20px;
    font-weight: 600;

}

@media (max-width: 768px) {
.categories-chip{
    font-size: 14px;

}

.category-tags {
justify-content: start;
}


}


.tag-button {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}



/* 2. Two-Column Layout Styles */
.main-content-area {
    margin-bottom: 60px;
}

.two-column-layout-case-studies {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 767px){
    .two-column-layout-case-studies{
        display: flex;
        flex-direction:column;
        padding: 5% 0;
    }
}

.blog-post__content-body span{
    color: #13131c !important;
}

/* Sidebar Styles */
.latest-posts-sidebar h2 {

    margin-bottom: 25px;
    padding-bottom: 10px;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.48px;
}

.recent-post-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.post-date {
    font-size: 16px;
    color: #166534;
    margin-bottom: 15px;
}

.recent-post-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.recent-post-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-item h3 a:hover {
    color: #4AB461;
}

.recent-post-item .excerpt {
    font-size: 16px;
    color: #13131c;
    margin: 0;
    line-height: 125%;
}

/* Primary Content Styles */
.primary-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.primary-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0 20px;
}

.primary-content h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 25px 0 15px;
}

.primary-content p {
    margin-bottom: 10px;
}

.primary-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.primary-content figure {
    margin: 30px 0;
}

.primary-content figcaption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

.primary-content blockquote {
    border-left: 4px solid #0088cc;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Special Image/Banner Content */
.winner-announcement {
    background-color: #FF9500;
    color: white;
    text-align: center;
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.winner-announcement h3 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.winner-details {
    margin-bottom: 20px;
}

.jackpot-amount {
    font-size: 48px;
    font-weight: bold;
}

/* 3. Related News Section */
.related-news-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 60px;
}

.related-news-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}


.article-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card .article-image {
    height: 180px;
    overflow: hidden;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .article-meta {
    padding: 15px 20px 5px;
}

.article-card .date {
    background-color: #f8f8f8;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #666;
}

.article-card h3 {
    padding: 5px 20px 10px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

.article-card .article-excerpt {
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    flex-grow: 1;
}

.article-card .read-more {
    padding: 15px 20px;
    font-size: 14px;
    color: #0088cc;
    font-weight: 500;
}

/* 4. CTA Block */
.cta-block {
    background-color: #0e7c3e;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-block .container {
    max-width: 800px;
}

.cta-block h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-block p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-block .btn {
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 30px;
    background-color: white;
    color: #0e7c3e;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-block .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

@media (max-width: 992px) {

    .hero-content h1 {
        width: 100%;
    }

}


/* Responsive Styles */
@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-content-two-col{
        gap: 0px !important;
    }
    
    .latest-posts-sidebar {
        order: 2;
    }
    
    .primary-content {
        order: 1;
    }
    
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
        width: 100%;
        letter-spacing: -2.33px;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .meta-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .meta-info .date {
        margin-right: 0;
    }
    
    .hero-banner {
        padding: 80px 0 40px;
        margin-bottom: 0px !important;

    }

    .bottom-hero-banner{
        flex-direction: column-reverse;
        align-items:start;
        justify-content:center;
        gap: 10px;
        margin-top: 8%;
    }
}

/* Related Posts Section Styles */

.line-divider{
    width: 100%;
    height: 1px;
    background-color: #13131c;
}

.related-posts-section {
    background-color: #f7f9fa;
    padding: 0 0 60px 0;
    margin: 0 0 40px 0;
}

.related-posts-section h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-card {

    overflow: hidden;

}



.related-post-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.related-post-card .post-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.related-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.related-post-card .post-meta {
    padding: 15px 20px 5px;
    position: absolute;
}

.related-post-card .date {
    background-color: #f1f3f4;
    color: #13131c;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
}

.related-post-card h3 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    margin: 10px 0;
    padding: 0 20px;
    color: #333;
}

.related-post-card .post-excerpt {
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #13131c;
    margin-bottom: 15px;
    flex-grow: 1;
}

.related-post-card .read-more {
    padding: 0 20px 20px;
    display:flex;
    align-items: start;
    justify-content: start;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts-section {
        padding: 40px 0;
    }
}