/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.today-news {
    margin-top: 20px;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    border-left: 4px solid #e74c3c;
    padding-left: 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.news-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-item img:hover {
    transform: scale(1.05);
}

/* Sidebar */
.sidebar {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sidebar-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.recent-post-item:hover {
    background-color: #f8f9fa;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.post-thumbnail {
    flex: 0 0 80px;
}

.post-thumbnail img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #e74c3c;
}

/* Featured Images */
.featured-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.image-column img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-column img:hover {
    transform: translateY(-5px);
}

/* Posts Grid Section */
.posts-grid-section {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e74c3c;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.grid-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-card {
    padding: 25px;
}

.post-card .post-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.post-card .post-title a {
    color: #2c3e50;
    text-decoration: none;
}

.post-card .post-title a:hover {
    color: #e74c3c;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.post-meta {
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Breaking News Banner */
.breaking-news-banner {
    margin-bottom: 40px;
}

.breaking-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* CTA Sections */
.cta-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.cta-left, .cta-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cta-banner {
    height: 300px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.travel-banner {
    background: linear-gradient(rgba(175, 195, 210, 0.7), rgba(175, 195, 210, 0.7)), 
                url('http://kaddora-hybrid-multi-theme.local/wp-content/uploads/2025/10/Blue-and-White-Modern-Travel-Facebook-Post.jpg');
    background-size: cover;
    background-position: center;
}

.news-banner {
    background: linear-gradient(rgba(197, 168, 142, 0.7), rgba(197, 168, 142, 0.7)), 
                url('http://kaddora-hybrid-multi-theme.local/wp-content/uploads/2025/10/Red-Yellow-Minimalist-Breaking-News-Facebook-Post.jpg');
    background-size: cover;
    background-position: center;
}

.agriculture-banner {
    background: linear-gradient(rgba(192, 199, 186, 0.7), rgba(192, 199, 186, 0.7)), 
                url('http://kaddora-hybrid-multi-theme.local/wp-content/uploads/2025/10/Green-and-White-Modern-Agriculture-Farming-Services-Facebook-Post.jpg');
    background-size: cover;
    background-position: center;
}

.cta-content {
    position: absolute;
    bottom: 48px;
    left: 48px;
    right: 48px;
}

.cta-button {
    display: inline-block;
    padding: 24px 48px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .cta-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-container {
        padding: 15px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .featured-images {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-post-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 200px;
    }
    
    .breaking-banner {
        height: 200px;
    }
    
    .cta-banner {
        height: 200px;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
}