.category-news-sections {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0;
}
.category-news-sections.layout-grid {
    padding: 0 0 0 10px;
}
.category-section {
    margin-bottom: 40px;
}

.category-title {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 5px;
}

.category-posts {
    display: grid;
    gap: 20px;
}

/* Grid Layout */
.layout-grid .category-posts {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news-post {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    flex: 1;
    text-align: left;
}
.news-content h3 {
    margin: 0 0 10px;
    line-height: 30px;
    font-weight: normal;
    font-size: 1.1em;
}
.news-content a {
    color: #000;
    font-size: 22px;
    font-family: 'Baloo 2';
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-date {
    color: #cb0002;
    font-size: 0.9em;
    display: block;
    margin-bottom: 10px;
}

.news-content p {
    margin: 0;
    color: #555;
    font-size: 1em;
}

/* List Layout */
.layout-list .category-posts {
    grid-template-columns: 1fr;
}

.layout-list .news-post {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .layout-grid .category-posts {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .layout-list .news-post {
        flex-direction: column;
        text-align: center;
    }
    .news-thumbnail {
    width: 100%;
}
    .layout-list .news-thumbnail img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .category-posts {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 1.5em;
    }
}




.youtube-shorts-container {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

.youtube-short {
    text-align: center;
}

.youtube-short iframe {
    width: 100%;
    max-width: 300px;
    height: 533px; /* 9:16 aspect ratio for Shorts */
    border: none;
    border-radius: 8px;
}

.youtube-short h3 {
    margin: 10px 0 0;
    font-size: 1em;
    color: #333;
}

@media (max-width: 768px) {
    .youtube-shorts-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .youtube-shorts-container {
        grid-template-columns: 1fr;
    }
}