/* ===== NEWS PAGE SPECIFIC STYLES ===== */

/* News Hero Section */
.vidoolabs-news-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.vidoolabs-news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.vidoolabs-news-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.vidoolabs-news-hero-content {
    max-width: 800px;
    color: white;
    text-align: center;
    margin: 0 auto;
}

.vidoolabs-news-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vidoolabs-news-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* News Categories Navigation */
.vidoolabs-news-categories {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-categories-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.vidoolabs-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(30, 58, 138, 0.2);
    background: white;
    color: #6B7280;
    border-radius: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vidoolabs-category-btn:hover {
    border-color: #1E3A8A;
    color: #1E3A8A;
    transform: translateY(-2px);
}

.vidoolabs-category-btn.active {
    background: #1E3A8A;
    border-color: #1E3A8A;
    color: white;
}

/* News Content Layout */
.vidoolabs-news-content {
    padding: 4rem 0;
    background: #f8fafc;
}

.vidoolabs-news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.vidoolabs-news-main {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vidoolabs-news-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(30, 58, 138, 0.1);
}

/* News Grid */
.vidoolabs-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.vidoolabs-news-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vidoolabs-news-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.vidoolabs-news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.vidoolabs-news-featured .vidoolabs-news-image {
    height: 100%;
}

.vidoolabs-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vidoolabs-news-card:hover .vidoolabs-news-image img {
    transform: scale(1.05);
}

.vidoolabs-news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(30, 58, 138, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.vidoolabs-news-content {
    padding: 1.5rem;
}

.vidoolabs-news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.vidoolabs-news-date {
    position: relative;
}

.vidoolabs-news-date::after {
    content: '•';
    margin-left: 1rem;
    color: #D1D5DB;
}

.vidoolabs-news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.vidoolabs-news-featured .vidoolabs-news-title {
    font-size: 1.5rem;
}

.vidoolabs-news-excerpt {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vidoolabs-news-link {
    color: #F97316;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vidoolabs-news-link:hover {
    color: #EA580C;
}

/* News Pagination */
.vidoolabs-news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-pagination-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(30, 58, 138, 0.2);
    background: white;
    color: #6B7280;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vidoolabs-pagination-btn:hover:not(:disabled) {
    border-color: #1E3A8A;
    color: #1E3A8A;
    transform: translateY(-2px);
}

.vidoolabs-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vidoolabs-pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.vidoolabs-pagination-number {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(30, 58, 138, 0.2);
    background: white;
    color: #6B7280;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vidoolabs-pagination-number:hover {
    border-color: #1E3A8A;
    color: #1E3A8A;
}

.vidoolabs-pagination-number.active {
    background: #1E3A8A;
    border-color: #1E3A8A;
    color: white;
}

/* News Sidebar */
.vidoolabs-news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vidoolabs-sidebar-widget {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(30, 58, 138, 0.1);
}

/* Popular News Widget */
.vidoolabs-popular-news {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vidoolabs-popular-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vidoolabs-popular-item:hover {
    background: rgba(30, 58, 138, 0.05);
    transform: translateX(5px);
}

.vidoolabs-popular-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.vidoolabs-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vidoolabs-popular-content {
    flex: 1;
}

.vidoolabs-popular-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.vidoolabs-popular-date {
    font-size: 0.75rem;
    color: #6B7280;
}

/* Newsletter Widget */
.vidoolabs-newsletter-form {
    text-align: center;
}

.vidoolabs-newsletter-desc {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vidoolabs-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vidoolabs-newsletter-input {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(30, 58, 138, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.vidoolabs-newsletter-input:focus {
    outline: none;
    border-color: #1E3A8A;
}

.vidoolabs-newsletter-btn {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vidoolabs-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

/* Archive Widget */
.vidoolabs-archive-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vidoolabs-archive-item {
    padding: 0.75rem 1rem;
    color: #6B7280;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.vidoolabs-archive-item:hover {
    background: rgba(30, 58, 138, 0.05);
    color: #1E3A8A;
    border-color: rgba(30, 58, 138, 0.1);
    transform: translateX(5px);
}

/* Responsive Design for News Page */
@media (max-width: 1024px) {
    .vidoolabs-news-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vidoolabs-news-featured {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-news-featured .vidoolabs-news-image {
        height: 250px;
    }
    
    .vidoolabs-categories-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .vidoolabs-category-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .vidoolabs-news-hero {
        min-height: 40vh;
        margin-top: 70px;
    }
    
    .vidoolabs-news-hero-title {
        font-size: 2rem;
    }
    
    .vidoolabs-news-hero-subtitle {
        font-size: 1rem;
    }
    
    .vidoolabs-news-main {
        padding: 1.5rem;
    }
    
    .vidoolabs-news-section-title {
        font-size: 1.5rem;
    }
    
    .vidoolabs-news-grid {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-news-card {
        margin-bottom: 1rem;
    }
    
    .vidoolabs-sidebar-widget {
        padding: 1.5rem;
    }
    
    .vidoolabs-pagination-numbers {
        gap: 0.25rem;
    }
    
    .vidoolabs-pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .vidoolabs-news-hero-title {
        font-size: 1.75rem;
    }
    
    .vidoolabs-news-main {
        padding: 1rem;
    }
    
    .vidoolabs-news-section-title {
        font-size: 1.25rem;
    }
    
    .vidoolabs-news-content {
        padding: 1rem;
    }
    
    .vidoolabs-news-title {
        font-size: 1rem;
    }
    
    .vidoolabs-news-featured .vidoolabs-news-title {
        font-size: 1.125rem;
    }
    
    .vidoolabs-sidebar-widget {
        padding: 1rem;
    }
    
    .vidoolabs-popular-item {
        padding: 0.75rem;
    }
    
    .vidoolabs-popular-image {
        width: 60px;
        height: 45px;
    }
    
    .vidoolabs-popular-title {
        font-size: 0.75rem;
    }
    
    .vidoolabs-pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .vidoolabs-pagination-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}
