/* ==========================================================================
   Home Grid Layout
   ========================================================================== */

/* Main Content Area */
.site-main {
    padding: 30px 0;
    background: #fff;
}

/* Section Styling */
.home-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #d10000;
}

.section-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-title a:hover {
    color: #d10000;
}

.view-all {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #d10000;
}

.view-all i {
    margin-left: 5px;
    font-size: 12px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}



/* Featured Post */
.featured-post {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.grid-item.featured {
    background: #fff;
    position: relative;
}

.grid-item.featured .post-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 45%; /* 16:9 aspect ratio */
}

.grid-item.featured .post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post .post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.featured-post:hover .post-thumbnail img {
    transform: scale(1.08);
}

.featured-post .entry-content {
    padding: 25px;
    background: #fff;
    position: relative;
}

.featured-post .category-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #d10000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.featured-post .entry-title {
    font-size: 26px;
    line-height: 1.35;
    margin: 0 0 15px;
    font-weight: 700;
}

.featured-post .entry-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    max-height: 3.2em; /* Fallback for line-clamp */
}

.featured-post .entry-title a:hover {
    color: #d10000;
}

.featured-post .entry-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.featured-post .entry-meta > * {
    margin-right: 15px;
    margin-bottom: 5px;
}

.featured-post .entry-meta i {
    margin-right: 5px;
    color: #d10000;
}

.featured-post .entry-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.featured-post .entry-meta a:hover {
    color: #d10000;
}

.featured-post .entry-excerpt {
    color: #444;
    margin: 15px 0 0;
    line-height: 1.7;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
    max-height: 5.1em; /* Fallback for line-clamp */
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.posts-grid .grid-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.posts-grid .grid-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.posts-grid .post-thumbnail {
    position: relative;
    padding-top: 60%; /* Slightly taller than 16:9 */
    overflow: hidden;
    background: #f5f5f5;
}

.posts-grid .post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.posts-grid .grid-post:hover .post-thumbnail img {
    transform: scale(1.08);
}

.posts-grid .entry-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.posts-grid .category-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #d10000;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.posts-grid .grid-post:hover .category-badge {
    background: #d10000;
    color: #fff;
}

.posts-grid .entry-title {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 0 12px;
    font-weight: 600;
}

.posts-grid .entry-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
    max-height: 4.8em; /* Fallback for line-clamp */
}

.posts-grid .entry-title a:hover {
    color: #d10000;
}

.posts-grid .entry-meta {
    font-size: 12px;
    color: #777;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.posts-grid .entry-meta > * {
    margin-right: 12px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
}

.posts-grid .entry-meta i {
    margin-right: 4px;
    color: #d10000;
    font-size: 11px;
}

.posts-grid .entry-meta a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.posts-grid .entry-meta a:hover {
    color: #d10000;
}

/* Responsive Styles */
/* Responsive Styles */
@media (max-width: 1199px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-post .entry-title {
        font-size: 24px;
    }
    
    .featured-post .entry-excerpt {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .featured-post .entry-title {
        font-size: 22px;
    }
    
    .featured-post .entry-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-title .view-all {
        font-size: 13px;
    }
    
    .featured-post .entry-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-height: 3.4em;
    }
}

@media (max-width: 767px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-post .entry-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-all {
        margin-top: 10px;
    }
    
    .featured-post .entry-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-height: 3.4em;
    }
}

@media (max-width: 480px) {
    .featured-post .entry-title {
        font-size: 18px;
    }
    
    .posts-grid .entry-title {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 17px;
    }
    
    .featured-post .entry-meta {
        font-size: 12px;
    }
    
    .posts-grid .entry-meta {
        font-size: 11px;
    }
    
    .featured-post .entry-content,
    .posts-grid .entry-content {
        padding: 15px;
    }
}

/* ==========================================================================
   Homepage Grid Layout
   ========================================================================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 30px;
}

.grid-item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.post-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.entry-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.entry-header {
    margin-bottom: 10px;
}

.entry-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.entry-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.entry-meta > span {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.entry-meta i {
    margin-right: 5px;
    color: #999;
    font-size: 12px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .entry-title {
        font-size: 15px;
    }
    
    .entry-meta {
        font-size: 11px;
    }
}

/* ==========================================================================
   Homepage Styles - TV Theme
   ========================================================================== */

:root {
    --primary-color: #e52b2b;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --black: #000000;
    --font-primary: 'Hind Siliguri', 'Bangla', 'SolaimanLipi', Arial, sans-serif;
    --font-secondary: 'Hind Siliguri', 'Bangla', 'SolaimanLipi', Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #c41f1f;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.view-all {
    float: right;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 5px;
}

.view-all i {
    margin-right: 5px;
    transition: var(--transition);
}

.view-all:hover {
    color: #c41f1f;
}

.view-all:hover i {
    transform: translateX(3px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.img-responsive { max-width: 100%; height: auto; display: block; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.hidden { display: none; }
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ==========================================================================
   Breaking News Ticker
   ========================================================================== */
.breaking-news {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-family: var(--font-primary);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breaking-news-inner {
    display: flex;
    align-items: center;
    position: relative;
}

.breaking-news-label {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 3px;
    font-weight: 700;
    margin-right: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.breaking-news-label i {
    margin-right: 8px;
    color: #ffeb3b;
}

.breaking-news-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.breaking-news-ticker ul {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
    min-width: 100%;
    will-change: transform;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.breaking-news-ticker li {
    display: inline-block;
    padding: 0 20px 0 0;
    position: relative;
    margin-right: 20px;
}

.breaking-news-ticker li:after {
    content: '•';
    position: absolute;
    right: -5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1;
}

.breaking-news-ticker li:last-child:after,
.breaking-news-ticker li.cloned:last-child:after {
    display: none;
}

.breaking-news-ticker a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
    font-family: var(--font-secondary);
}

.breaking-news-ticker a:hover {
    color: #ffeb3b;
    text-decoration: none;
}

.breaking-news:hover .breaking-news-ticker ul {
    animation-play-state: paused;
}

.breaking-news-ticker.loading ul {
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .breaking-news-label {
        padding: 4px 12px;
        font-size: 11px;
        margin-right: 15px;
    }
    
    .breaking-news-ticker a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .breaking-news {
        padding: 8px 0;
    }
    
    .breaking-news-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .breaking-news-label {
        margin-bottom: 8px;
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .breaking-news-ticker {
        width: 100%;
        height: auto;
        min-height: 24px;
    }
    
    .breaking-news-ticker ul {
        position: static;
        animation: none;
        white-space: normal;
    }
    
    .breaking-news-ticker li {
        display: block;
        padding: 4px 0;
        margin: 0;
    }
    
    .breaking-news-ticker li:after {
        display: none;
    }
}

/* ==========================================================================
   Featured Section
   ========================================================================== */
.main-featured-section {
    padding: 40px 0 30px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin: 0;
    padding: 0 0 10px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Main Featured Article */
.main-featured-article {
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.main-featured-article .post-thumbnail {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.main-featured-article .post-thumbnail:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.main-featured-article:hover .post-thumbnail:before {
    opacity: 1;
}

.main-featured-article .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    transform-origin: center center;
}

.main-featured-article:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Category Tag */
.category-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    z-index: 2;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.category-tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Entry Content */
.entry-content {
    position: relative;
    z-index: 2;
}

.main-featured-article .entry-title {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 15px;
    font-weight: 800;
    font-family: var(--font-secondary);
    transition: var(--transition);
}

.main-featured-article .entry-title a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.main-featured-article .entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.entry-meta span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 13px;
}

.entry-meta i {
    margin-right: 6px;
    color: var(--primary-color);
    font-size: 14px;
}

.entry-meta .post-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Entry Excerpt */
.main-featured-article .entry-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* Secondary Featured Posts */
.secondary-featured-article {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.secondary-featured-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.secondary-featured-article .post-thumbnail {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.secondary-featured-article .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.secondary-featured-article:hover .post-thumbnail img {
    transform: scale(1.05);
}

.secondary-featured-article .entry-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 0 0;
}

/* ==========================================================================
   Secondary Featured Articles
   ========================================================================== */
.secondary-featured-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.secondary-featured-article {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.secondary-featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.secondary-featured-article .post-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    height: 200px;
}

.secondary-featured-article .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.secondary-featured-article:hover .post-thumbnail img {
    transform: scale(1.05);
}

.secondary-featured-article .entry-content {
    padding: 20px;
}

.secondary-featured-article .entry-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 12px;
    font-weight: 700;
}

.secondary-featured-article .entry-title a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.secondary-featured-article .entry-title a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    padding: 15px 20px;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
}

.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-thumbnail {
    width: 80px;
    min-width: 80px;
    height: 60px;
    border-radius: 3px;
    overflow: hidden;
    margin-right: 15px;
}

.popular-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-post:hover .popular-post-thumbnail img {
    transform: scale(1.05);
}

.popular-post-content h4 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 5px;
}

.popular-post-content h4 a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.popular-post-content h4 a:hover {
    color: var(--primary-color);
}

.popular-post-meta {
    font-size: 11px;
    color: #777;
}

/* Social Media Widget */
.social-widget {
    text-align: center;
    padding: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link.facebook { background: #3b5998; }
.social-link.twitter { background: #1da1f2; }
.social-link.youtube { background: #ff0000; }
.social-link.instagram { background: #e1306c; }
.social-link.linkedin { background: #0077b5; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #1a1a1a;
    color: #999;
    padding: 50px 0 20px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.footer-links li:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-links a {
    color: #999;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.contact-info i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: 20px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1199px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    cursor: default;
}

.lightbox img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    padding: 15px 20px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* Video Embeds */
.video-embed {
    position: relative;
    margin: 20px 0;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-embed:hover .video-thumbnail img {
    opacity: 0.6;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(229, 43, 43, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    padding-left: 5px;
}

.play-button:hover {
    background: #c41f1f;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Video Gallery Section
   ========================================================================== */
.video-gallery-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    margin: 30px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover img {
    opacity: 0.8;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(229, 43, 43, 0.9);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button:hover {
    background: #c41f1f;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    margin: 0;
    padding: 15px;
    font-size: 16px;
    line-height: 1.4;
}

.video-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.video-title a:hover {
    color: #e52b2b;
}

/* Video Lightbox */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-lightbox.active {
    display: flex;
    opacity: 1;
}

.video-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 2;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-lightbox.active .video-lightbox-container {
    transform: scale(1);
}

.video-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-lightbox-close:hover {
    background: #e52b2b;
    border-color: #e52b2b;
    transform: rotate(90deg);
}

.video-lightbox-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-gallery-section {
        padding: 30px 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-lightbox-container {
        width: 95%;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Loading States
   ========================================================================== */
/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hide when page is loaded */
body.page-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Ensure loader is visible during page load */
body:not(.page-loaded) .page-loader {
    opacity: 1 !important;
    visibility: visible !important;
}

.loader {
    width: 50px;
    height: 50px;
    position: relative;
    animation: loader-rotate 2s linear infinite;
}

.loader-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    animation: loader-spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-circle:nth-child(1) {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin: 10px;
    border-top-color: var(--secondary-color);
    animation-delay: 0.1s;
}

.loader-circle:nth-child(2) {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    margin: 20px;
    border-top-color: var(--primary-color);
    animation-delay: 0.2s;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: url('../images/logo-icon.png') no-repeat center center;
    background-size: contain;
    opacity: 0.9;
}

@keyframes loader-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading State for Components */
.loading {
    position: relative;
    min-height: 100px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 5px;
    overflow: hidden;
}

.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 3px;
    display: inline-block;
    line-height: 1;
    width: 100%;
    height: 1em;
}

.skeleton.rounded {
    border-radius: 50%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
}

.secondary-featured-article .entry-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 0;
}

.secondary-featured-article .entry-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 10px 0 0;
}

/* ==========================================================================
   Category Sections
   ========================================================================== */
.category-section {
    margin-bottom: 50px;
    position: relative;
}

.category-section .section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.category-section .section-title {
    font-size: 20px;
    margin: 0;
    padding: 0 0 10px;
    position: relative;
    display: inline-block;
}

.category-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.category-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-post {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.category-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-post .post-thumbnail {
    height: 180px;
    overflow: hidden;
}

.category-post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.category-post .entry-content {
    padding: 15px;
}

.category-post .entry-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
    font-weight: 600;
}

.category-post .entry-title a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.category-post .entry-title a:hover {
    color: var(--primary-color);
}

.category-post .entry-meta {
    font-size: 11px;
    color: #777;
    margin: 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
    .category-posts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .secondary-featured-articles {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-posts {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-post .post-thumbnail {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .category-posts {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-post .post-thumbnail {
        height: 200px;
    }
    
    .section-title,
    .category-section .section-title {
        font-size: 18px;
    }
    
    .secondary-featured-article .post-thumbnail {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .secondary-featured-article .post-thumbnail,
    .category-post .post-thumbnail {
        height: 180px;
    }
    
    .secondary-featured-article .entry-content,
    .category-post .entry-content {
        padding: 15px;
    }
    
    .secondary-featured-article .entry-title {
        font-size: 16px;
    }
    
    .category-post .entry-title {
        font-size: 15px;
    }
}

.secondary-featured-article .entry-title a:hover {
    color: #e52b2b;
}

/* Category Grid Section */
.category-grid-section {
    padding: 30px 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.grid-post {
    margin-bottom: 30px;
}

.grid-post article {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.grid-post:hover article {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.grid-post .post-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.grid-post .post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.grid-post .entry-title {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.grid-post .entry-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.grid-post .entry-title a:hover {
    color: #e52b2b;
}

.grid-post .entry-meta {
    padding: 0 15px 15px;
    font-size: 12px;
    color: #777;
}

/* Category Sections */
.category-sections {
    padding: 40px 0;
}

.category-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e52b2b;
}

.section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-title a:hover {
    color: #e52b2b;
}

.view-all {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #e52b2b;
    transform: translateX(-3px);
}

.view-all i {
    margin-right: 5px;
    transition: all 0.3s ease;
}

.view-all:hover i {
    transform: translateX(-3px);
}

/* Main Post in Category Section */
.main-post {
    margin-bottom: 20px;
}

.main-post .post-thumbnail {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-post .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-post:hover .post-thumbnail img {
    transform: scale(1.03);
}

.main-post .entry-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.main-post .entry-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-post .entry-title a:hover {
    color: #e52b2b;
}

/* Post List in Category Section */
.post-list-item {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-item .entry-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 5px;
}

.post-list-item .entry-title a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-list-item .entry-title a:hover {
    color: #e52b2b;
}

.post-list-item .entry-meta {
    font-size: 12px;
    color: #777;
}

/* Advertisement Section */
.ad-section {
    padding: 30px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.ad-banner {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ad-banner img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .main-featured-article .entry-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .breaking-news-label {
        display: none;
    }
    
    .main-featured-article .entry-title {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .main-post .entry-title {
        font-size: 16px;
    }
    
    .post-list-item .entry-title {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .main-featured-section {
        padding: 20px 0;
    }
    
    .main-featured-article .entry-title {
        font-size: 20px;
    }
    
    .secondary-featured-article {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .category-grid-section {
        padding: 20px 0;
    }
    
    .grid-post {
        margin-bottom: 20px;
    }
    
    .category-sections {
        padding: 20px 0;
    }
    
    .category-section {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .main-featured-article .entry-title {
        font-size: 18px;
    }
    
    .entry-meta {
        font-size: 12px;
    }
    
    .main-featured-article .entry-excerpt {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .view-all {
        font-size: 12px;
    }
    
    .main-post .entry-title {
        font-size: 15px;
    }
    
    .post-list-item .entry-title {
        font-size: 13px;
    }
}

.secondary-post .entry-title a:hover {
    color: #e74c3c;
    text-decoration: none;
}

/* Category Sections */
.category-sections {
    margin: 40px 0;
}

.category-section {
    background: #fff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    position: relative;
    text-transform: uppercase;
}

.section-title a {
    color: #222;
}

.more-link {
    font-size: 12px;
    font-weight: 400;
    float: right;
    color: #666;
    text-transform: none;
}

.more-link:hover {
    color: #e74c3c;
    text-decoration: none;
}

.main-category-post {
    margin-bottom: 15px;
}

.main-category-post .post-thumbnail {
    margin-bottom: 10px;
    border-radius: 3px;
    overflow: hidden;
}

.main-category-post .post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.main-category-post .post-thumbnail:hover img {
    transform: scale(1.05);
}

.main-category-post .entry-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.main-category-post .entry-title a {
    color: #222;
    transition: color 0.3s ease;
}

.main-category-post .entry-title a:hover {
    color: #e74c3c;
    text-decoration: none;
}

.category-post-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.category-post-item:last-child {
    border-bottom: none;
}

.category-post-item a {
    color: #444;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    margin-left: 20px;
}

.category-post-item:hover a {
    color: #e74c3c;
    text-decoration: none;
}

.category-post-item i {
    color: #e74c3c;
    margin-right: 5px;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Latest News Grid */
.latest-news {
    margin: 40px 0;
}

.news-grid-item {
    margin-bottom: 30px;
}

.news-grid-item .post-thumbnail {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-grid-item .post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.news-grid-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.news-grid-item .entry-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.news-grid-item .entry-title a {
    color: #222;
    transition: color 0.3s ease;
}

.news-grid-item .entry-title a:hover {
    color: #e74c3c;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-featured-post .entry-title {
        font-size: 24px;
    }
    
    .secondary-post .entry-title {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .main-featured-post .entry-title {
        font-size: 20px;
    }
    
    .main-category-post .entry-title,
    .news-grid-item .entry-title {
        font-size: 15px;
    }
    
    .category-post-item a {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .main-featured-post .entry-title {
        font-size: 18px;
    }
    
    .secondary-post .entry-title,
    .main-category-post .entry-title,
    .news-grid-item .entry-title {
        font-size: 14px;
    }
    
    .category-post-item a {
        font-size: 12px;
    }
}
