/* Top Bar - Exact Match to Design */
.top-bar {
    background-color: #0d3c7e;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Exact Match to Design */
.site-header {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

/* Hero Section - Exact Match to Design */
.hero-section {
    background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    color: #ffd700;
    text-transform: uppercase;
}

/* Category Tabs - Exact Match to Design */
.category-tabs {
    background-color: #cc0000;
    padding: 15px 0;
    border-top: 3px solid #990000;
}

.category-tabs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-tabs ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-tabs li a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 16px;
}

.category-tabs li a:hover {
    background-color: #990000;
}

/* Featured News Grid - Exact Match to Design */
.featured-news-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card-large {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-content {
    padding: 20px;
    background: #f9f9f9;
    border-top: 3px solid #cc0000;
}

.news-card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #cc0000;
}

.news-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.news-card-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
}

/* Main Content Grid - 3x3 Layout */
.main-content-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Sidebar Content - Exact Match to Design */
.sidebar-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 20px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #cc0000;
    text-align: center;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.sidebar-list li:before {
    content: "»";
    position: absolute;
    left: 0;
    color: #cc0000;
    font-weight: bold;
}

/* Footer - Exact Match to Design */
.footer-top {
    background-color: #cc0000;
    padding: 15px 0;
    text-align: center;
}

.footer-top .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.footer-top a {
    color: #fff;
    font-weight: bold;
    padding: 0 20px;
}

.footer-top a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background: #333;
    color: #fff;
    padding: 30px 0 10px;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-column h3 {
    color: #cc0000;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    display: block;
}

.footer-column ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-contact {
    background: #222;
    padding: 15px 0;
    text-align: center;
}

.footer-contact p {
    color: #ccc;
    font-size: 14px;
    margin: 5px 0;
}

.footer-contact a {
    color: #fff;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design - Critical for Mobile */
@media (max-width: 992px) {
    .news-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid-3x3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid-3,
    .news-grid-3x3 {
        grid-template-columns: 1fr;
    }
    
    .footer-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}


/* Three Column Layout - 35-35-30 */
.three-columns {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.column {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.column-35 {
    flex: 0 0 35%;
}

.column-30 {
    flex: 0 0 30%;
}

/* News Items in Columns */
.news-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.news-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-img {
    width: 100%;
    height: 250px;
   : hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item-content {
    padding: 0;
}

.news-item-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #cc0000;
}

.news-item-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Small News Items for 30% Column */
.news-item-small {
    display: flex;
    margin-bottom: 25px;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.news-item-small:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-img-small {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 15px;
}

.news-item-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-content-small {
    flex: 1;
}

.news-item-title-small {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.4;
}

.news-item-date {
    font-size: 14px;
    color: #999;
}

/* News Grid */
.additional-news {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #cc0000;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Responsive Design for 35-35-30 Layout */
@media (max-width: 992px) {
    .three-columns {
        flex-direction: column;
    }
    
    .column {
        flex: 0 0 auto;
    }
    
    .column-35,
    .column-30 {
        flex: 0 0 100%;
    }
    
    .news-item-small {
        flex-direction: column;
    }
    
    .news-item-img-small {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .news-item-img {
        height: 200px;
    }
    
    .news-item-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .news-item-img {
        height: 150px;
    }
    
    .news-item-title {
        font-size: 18px;
    }
    
    .three-columns {
        flex-direction: column;
    }
    
    .column {
        flex: 0 0 auto;
    }
    
    .column-35,
    .column-30 {
        flex: 0 0 100%;
    }
}