/* Modern Top Bar Styles */
.top-bar {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #eee !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
    color: #666 !important;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.trending-label {
    background: #261571;
    color: #fff;
    padding: 3px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    border-radius: 3px;
    flex-shrink: 0;
    z-index: 2;
}

.news-ticker-container {
    height: 20px;
    overflow: hidden;
    position: relative;
    width: 450px;
}

.news-ticker-list {
    display: flex;
    flex-direction: column;
    animation: ticker-slide 15s infinite;
}

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

.trending-news-title {
    color: #333;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.3s;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

@keyframes ticker-slide {
    0% { transform: translateY(0); }
    15% { transform: translateY(0); }
    20% { transform: translateY(-20px); }
    35% { transform: translateY(-20px); }
    40% { transform: translateY(-40px); }
    55% { transform: translateY(-40px); }
    60% { transform: translateY(-60px); }
    75% { transform: translateY(-60px); }
    80% { transform: translateY(-80px); }
    95% { transform: translateY(-80px); }
    100% { transform: translateY(0); }
}

.trending-news-title:hover {
    color: #261571;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.top-date i {
    color: #261571;
}

.top-contact-link {
    color: #666;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s;
}

.top-contact-link:hover {
    color: #261571;
}

@media (max-width: 767px) {
    .top-bar-left {
        display: none;
    }
    .top-bar-flex {
        justify-content: center;
    }
}

/* Modern Header Styles */
.modern-header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.modern-header .container {
    max-width: 1200px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Social Icons (Left) */
.header-social {
    flex: 1;
    display: flex;
    gap: 15px;
}

.header-social a {
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: #261571;
}

/* Logo (Center) */
.header-main-area {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.header-logo-container {
    text-align: center;
}

.header-logo-container img {
    max-height: 80px;
    width: auto;
}

.header-ad-container img {
    max-height: 90px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Search (Right) */
.header-search {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.search-box-container {
    position: relative;
    width: 100%;
    max-width: 250px;
}

.search-box-container input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 30px 8px 0;
    font-size: 14px;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

.search-box-container input:focus {
    border-bottom-color: #261571;
}

.search-box-container button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px;
}

.search-box-container button:hover {
    color: #261571;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .header-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-social, .header-search {
        justify-content: center;
        width: 100%;
    }
    
    .header-logo-container {
        order: -1;
    }
}
/* Modern Hero Section v2 */

.featured-post-area.modern-hero-v2 {
    padding-top: 20px;
    padding-bottom: 40px;
    background: #fff;
}

/* Slider Style */
.modern-slider-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 480px;
}

.modern-hero-slider .item {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.modern-hero-slider .item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 1;
}

.modern-slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.modern-hero-slider .item:hover .modern-slider-content {
    transform: translateY(0);
}

.modern-hero-slider .post-cat-badge {
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.modern-hero-slider .post-title-large {
    font-size: 34px;
    line-height: 1.2;
    margin: 0;
    font-weight: 800;
}

.modern-hero-slider .post-title-large a {
    color: #fff !important;
    text-decoration: none;
}

/* Side Items Style */
.modern-side-card {
    position: relative;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-side-card:last-child {
    margin-bottom: 0;
}

.modern-side-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.modern-side-thumb {
    width: 100%;
    height: 100%;
}

.modern-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-side-card:hover .modern-side-thumb img {
    transform: scale(1.1);
}

.modern-side-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.modern-side-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.modern-side-title a {
    color: #fff !important;
    text-decoration: none;
}

/* Dots and Nav */
.modern-hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    z-index: 10;
}

.modern-hero-slider .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modern-hero-slider .owl-dots .owl-dot.active span {
    background: #e74c3c;
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .modern-slider-container {
        height: auto;
    }
    .modern-hero-slider .item {
        height: 350px;
    }
    .modern-hero-slider .post-title-large {
        font-size: 24px;
    }
    .featured-post-area.modern-hero-v2 .pad-r {
        padding-right: 15px !important;
        margin-bottom: 20px;
    }
    .featured-post-area.modern-hero-v2 .pad-l {
        padding-left: 15px !important;
    }
}
/* Modern Sports Section Styles */
.sports-modern-block {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.sports-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.sports-item.main {
    grid-column: span 2;
    grid-row: span 2;
}

.sports-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sports-item:hover img {
    transform: scale(1.05);
}

.sports-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    color: white;
    z-index: 2;
}

.sports-cat-badge {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.sports-item.main .sports-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.sports-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.sports-title a {
    color: white !important;
    text-decoration: none;
}

.sports-title a:hover {
    color: #e74c3c !important;
}

.sports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sports-header h2 {
    font-size: 32px;
    font-weight: 800;
    position: relative;
    padding-left: 20px;
    margin: 0;
}

.sports-header h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 100%;
    background: #e74c3c;
    border-radius: 3px;
}

@media (max-width: 991px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .sports-item {
        height: 250px;
    }
    .sports-item.main {
        grid-row: span 1;
    }
}

@media (max-width: 575px) {
    .sports-grid {
        grid-template-columns: 1fr;
    }
    .sports-item.main {
        grid-column: span 1;
    }
}
/* Modern Category Blocks Styles */

.modern-category-section {
    padding: 20px 0 60px;
    background: #fff;
}

.modern-block-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.modern-block-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-block-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modern-block-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    padding-left: 15px;
    position: relative;
    letter-spacing: 1px;
}

.modern-block-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    border-radius: 2px;
}

/* Color accents */
.color-dark-blue .modern-block-title { color: #1a237e; }
.color-dark-blue .modern-block-title:before { background: #1a237e; }

.color-aqua .modern-block-title { color: #00bcd4; }
.color-aqua .modern-block-title:before { background: #00bcd4; }

.color-violet .modern-block-title { color: #673ab7; }
.color-violet .modern-block-title:before { background: #673ab7; }

/* Main featured post in block */
.modern-featured-post {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.modern-featured-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.modern-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-block-card:hover .modern-featured-thumb img {
    transform: scale(1.08);
}

.modern-featured-content {
    padding-top: 15px;
}

.modern-featured-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

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

.modern-featured-title a:hover {
    color: #e74c3c;
}

/* Secondary list posts */
.modern-list-vertical, .modern-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-list-vertical {
    display: block !important; /* Forzar bloque para evitar grid */
}

.modern-list-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    margin-bottom: 0;
    transition: none;
    cursor: pointer;
    border-bottom: 1px solid #efefef;
}

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

.modern-list-item:hover {
    background: transparent;
    transform: none;
}

.modern-item-thumb {
    flex: 0 0 110px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.modern-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.modern-list-item:hover .modern-item-thumb img {
    transform: none;
}

.modern-item-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.modern-item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #333;
}

.modern-item-title a {
    color: inherit;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.modern-list-item:hover .modern-item-title a {
    color: #333;
}

@media (max-width: 991px) {
    .modern-block-card {
        margin-bottom: 20px;
    }
}
/* Space Optimization Overrides */
.block-wrapper {
    padding: 25px 0 !important; /* Reduced from 50px */
}

.breadcrumb {
    margin: 15px 0 0 0 !important; /* Reduced from 30px */
}

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

.category-listing-header h1 {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    color: #1a1a1a;
}

.modern-post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.modern-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    text-decoration: none !important;
    height: 100%;
}

.modern-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(38, 21, 113, 0.12);
    border-color: #26157115;
}

.modern-post-card .post-thumb {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    display: block;
}

.modern-post-card .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.modern-post-card:hover .post-thumb img {
    transform: scale(1.08);
}

.modern-post-card .post-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-post-card .post-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s;
    /* Limit to 2 lines for symmetry */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-post-card:hover .post-title {
    color: #261571;
}

.modern-post-card .post-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.modern-post-card .post-meta i {
    color: #261571;
    margin-right: 4px;
}

.modern-post-card .post-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    /* Limit to 3 lines for symmetry */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Redesign */
.modern-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.modern-btn-pagination {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.modern-btn-pagination:hover, .modern-btn-pagination.active {
    background: #261571;
    color: #fff;
    border-color: #261571;
    box-shadow: 0 8px 15px rgba(38, 21, 113, 0.25);
    transform: translateY(-2px);
}

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

@media (max-width: 600px) {
    .modern-post-list {
        grid-template-columns: 1fr;
    }
}
/* Modern Sidebar Styles */

.sidebar {
    padding-left: 15px;
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
    height: fit-content;
}

.modern-widget {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.modern-widget-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #261571;
    position: relative;
    letter-spacing: 0.5px;
}

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

/* Latest Posts Widget */
.modern-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-sidebar-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.modern-sidebar-item:last-child {
    border-bottom: none;
}

.modern-sidebar-item:hover {
    background: #fafafa;
    padding-left: 5px;
}

.modern-sidebar-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.modern-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.modern-sidebar-item:hover .modern-sidebar-thumb img {
    transform: scale(1.1);
}

.modern-sidebar-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-sidebar-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    text-decoration: none !important;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-sidebar-item:hover .modern-sidebar-item-title {
    color: #261571;
}

/* Facebook Widget container */
.modern-fb-container {
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 992px) {
    /* Ensure row columns have equal height for sticky to work specifically on desktop */
    .sticky-row {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* Remove float clearers that break flex on older bootstrap */
    .sticky-row:before, 
    .sticky-row:after {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
        position: static;
    }
}
/* Modern More News and Sidebar Styles */

.modern-more-news-section {
    padding: 20px 0 60px;
    background: #fcfcfc;
}

.modern-more-news-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-more-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-news-thumb {
    flex: 0 0 240px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
}

.modern-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-more-news-card:hover .modern-news-thumb img {
    transform: scale(1.05);
}

.modern-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-news-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

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

.modern-news-title a:hover {
    color: #e74c3c;
}

.modern-news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Styling */
.modern-sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.modern-sidebar-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    color: #222;
}

.modern-sidebar-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e74c3c;
}

.modern-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-sidebar-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f8f8f8;
}

.modern-sidebar-item:last-child {
    border-bottom: none;
}

.modern-sidebar-thumb {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.modern-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modern-sidebar-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.modern-sidebar-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.modern-sidebar-item-title a:hover {
    color: #e74c3c;
}

.modern-ad-widget {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.modern-ad-widget img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .modern-more-news-card {
        flex-direction: column;
        gap: 15px;
    }
    .modern-news-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
}
/* Modern Article Styles */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.article-header .post-title {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #888;
    font-size: 14px;
}

.article-meta i {
    color: #261571;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.article-body p {
    margin-bottom: 25px;
}

.main-article-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.main-article-img img {
    width: 100%;
    transition: transform 0.5s;
}

.main-article-img:hover img {
    transform: scale(1.02);
}

.share-buttons-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

/* Gallery Redesign */
.modern-gallery {
    margin-top: 50px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.modern-gallery .block-title {
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .article-header .post-title {
        font-size: 28px;
    }
}
/* Modern Footer Styles */

.footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 60px 0 0;
    font-size: 14px;
}

.footer-main {
    padding-bottom: 40px;
}

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

.footer-widget .widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #261571;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-widget .widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #fff;
}

.footer-about p {
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #261571;
    transform: translateY(-3px);
}

/* Latest news in footer */
.footer-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.footer-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-news-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.footer-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-news-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-news-title a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-news-title a:hover {
    color: #fff;
}

/* Categories List */
.footer-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-category-list li a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-size: 13px;
    padding: 5px 0;
}

.footer-category-list li a:before {
    content: '\f105';
    font-family: FontAwesome;
    margin-right: 8px;
    color: #261571;
    font-size: 11px;
}

.footer-category-list li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-category-list .catCounter {
    color: #666;
    font-size: 11px;
    margin-left: 4px;
}

/* Gallery Widget */
.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-gallery a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.footer-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-gallery a:hover img {
    transform: scale(1.15);
}

/* Copyright Section */
.copyright {
    background: #000;
    padding: 25px 0;
    border-top: 1px solid #222;
    color: #777;
}

.copyright-info {
    font-size: 12.5px;
    line-height: 1.6;
}

.copyright-info a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright-info a:hover {
    color: #fff;
}

.copyright-info p {
    margin-top: 15px;
    margin-bottom: 0;
}

.copyright-info img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.copyright-info img:hover {
    opacity: 1;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

#back-to-top .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #261571;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#back-to-top .btn:hover {
    background: #fff;
    color: #261571;
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .footer {
        padding-top: 40px;
        text-align: center;
    }
    .footer-widget .widget-title:after {
        left: 50%;
        margin-left: -25px;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-category-list {
        grid-template-columns: 1fr;
    }
    .footer-news-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-news-thumb {
        width: 100px;
        height: 60px;
    }
}
