/* NEWS REDESIGN V3 */
.news-v3-section {
    padding: 80px 0;
    background: #fff;
}

.v3-section-title-wrap {
    margin-bottom: 35px;
}

.v3-title {
    font-size: 20px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap:5px
}

.v3-title span {
    font-size: 28px;
    font-weight: 800;
    color: #024e6e;
    display: block;
}

.v3-news-inner-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 300px;
    gap: 40px;
}

/* Slider Section */
.v3-slider-col {
    position: relative;
    min-width: 0;
}

.v3-slide-item {
    border-radius: 12px;
    overflow: hidden;
}

.v3-slide-media {
    position: relative;
    height: 480px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.v3-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.6s ease;
}

.v3-slide-item:hover .v3-slide-media img {
    transform: scale(1.05);
}

.v3-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgb(0 0 0 / 30%) 0%, rgb(0 0 0 / 35%) 35%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.v3-slide-content {
    position: absolute;
    bottom: -8px;
    left: 0px;
    right: 40px;
    z-index: 2;
    padding: 25px;
}

.v3-slide-content h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Slider Navigation */
.v3-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.v3-nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    font-size: 20px;
}

.v3-nav-btn:hover {
    background: #03a258;
}

/* Slider Dots */
.v3-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.v3-dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.v3-dot.active {
    background: #03a258;
    width: 30px;
    border-radius: 10px;
}

/* List Column Redesign - Premium Dark Blue Variant */
.v3-list-col {
    display: flex;
    flex-direction: column;
    height: 480px;
    background: #024e6e;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(2, 78, 110, 0.15);
}

.v3-news-list-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
}

/* Scrollbar Styling */
.v3-news-list-container::-webkit-scrollbar {
    width: 4px;
}
.v3-news-list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}
.v3-news-list-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}
.v3-news-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.v3-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.v3-news-list a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 5px;
}

.v3-news-list a i {
    color: #03a258;
    margin-top: 4px;
    font-size: 13px;
    transition: 0.3s;
}

.v3-news-list a:hover {
    background: rgba(255, 255, 255, 0.08);
    padding-left: 18px;
    color: #fff;
}

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

.v3-list-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v3-list-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    transition: 0.3s;
}

.v3-list-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.v3-list-date i {
    font-size: 10px;
    color: #03a258;
}

.v3-all-btn-wrapper {
    margin-top: auto;
}

.v3-btn-all {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v3-btn-all:hover {
    background: #fff;
    color: #024e6e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Mayor Portrait Card Section */
.v3-m-portrait-col {
    display: flex;
    flex-direction: column;
    height: 480px;
}

.m-portrait-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.m-img-wrap {
    height: 310px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.m-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.m-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 78, 110, 0.4), transparent);
}

.m-info-box {
    padding: 15px 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #024e6e;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.m-rank {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 12px;
    margin-top: 5px;
}

.m-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.m-social a {
    color: #64748b;
    font-size: 16px;
    transition: 0.3s;
}

.m-social a:hover {
    color: #03a258;
    transform: translateY(-2px);
}

.m-bottom-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 10px;
}

.m-bottom-actions a {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    transition: 0.3s;
}

.m-bottom-actions a:hover {
    color: #024e6e;
}

/* Home Section Responsive */
@media (max-width: 1200px) {
    .v3-news-inner-row {
        grid-template-columns: 1.2fr 1fr;
    }
    .v3-m-portrait-col {
        grid-column: span 2;
        height: auto;
    }
}

@media (max-width: 992px) {
    .v3-news-inner-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .v3-slide-media {
        height: 350px;
    }
    .v3-list-col {
        height: auto;
        margin-top: 10px;
        background: #fff;
        padding: 0;
        box-shadow: none;
    }
    .v3-news-list-container {
        max-height: unset;
        padding-right: 0;
    }
    .v3-news-list a {
        color: #334155;
        border-bottom: 1px solid #f1f5f9;
        padding: 20px 0;
        border-radius: 0;
    }
    .v3-news-list a:hover {
        background: transparent;
        padding-left: 5px;
        color: #024e6e;
    }
    .v3-list-title {
        color: #1a1a1a;
        font-weight: 700;
        font-size: 15px;
    }
    .v3-list-date {
        color: #64748b;
        font-size: 12px;
    }
    .v3-btn-all {
        background: #fff;
        border: 2px solid #024e6e;
        color: #024e6e;
        margin-top: 30px;
        font-weight: 800;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .news-v3-section {
        padding: 100px 0 40px 0; /* More top padding for centered logo clearance */
    }
    .v3-title {
        font-size: 14px;
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }
    .v3-title span {
        font-size: 24px;
        width: 100%;
        margin-top: 5px;
    }
    .v3-slide-media {
        height: 280px;
    }
    .v3-slide-content {
        padding: 15px;
    }
    .v3-slide-content h3 {
        font-size: 18px;
    }
    .v3-list-col {
        margin-top: 20px;
    }
}

/* Visibility Helpers */
.v3-desktop-only { display: block !important; }
.v3-mobile-only { display: none !important; }

@media (max-width: 991px) {
    .v3-desktop-only { display: none !important; }
    .v3-mobile-only { display: block !important; }
}

/* Archive Page Styles */
.archive-news-container {
    padding: 20px 0 60px;
}

.archive-main-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    text-decoration: none !important;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.archive-main-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.main-card-img {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.main-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.archive-main-card:hover .main-card-img img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #03a258;
    color: #fff;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
}

.main-card-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-date {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.card-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-excerpt {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #024e6e;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
}

/* Regular Archive Cards */
.archive-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius:15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    text-decoration: none !important;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.archive-news-card:hover {
    background: #024e6e;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: #024e6e;
}

.archive-news-card:hover .card-title {
    color: #fff !important;
}

.archive-news-card:hover .card-text {
    color: rgba(255,255,255,0.8) !important;
}

.archive-news-card:hover .card-footer-action {
    color: rgba(255,255,255,0.7) !important;
    border-top-color: rgba(255,255,255,0.1);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.archive-news-card:hover .card-img img {
    transform: scale(1.08);
}

.card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.archive-news-card .card-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-news-card .card-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.4s ease;
}

.archive-news-card:hover .card-footer-action {
    color: #024e6e;
}

.pagination-modern-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .archive-main-card {
        flex-direction: column;
    }
    .main-card-img {
        min-height: 250px;
    }
    .main-card-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .card-title {
        font-size: 20px;
    }
}