body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    background: #f3f6fa;
    color: #23272b;
    margin: 0; padding: 0;
}

.hero-section-berita {
    
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.hero-content-berita {
    max-width: 1600px;
    margin: 0 auto;
}

.hero-title-wrapper {
   top:20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0rem;
}

.hero-title-berita {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.youtube-channel-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.youtube-channel-link img {
    height: 24px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.channel-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.channel-id {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-meta-galeri {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.hero-meta-galeri span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
}


.video-section {
    background: linear-gradient(90deg,#e3e9f3 20%,#f6f8fa 100%);
    padding: 2.5em 0 1.5em;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(90,124,185,0.05);
    border-bottom: 2px solid #e3e9f3;
}
.video-title-berita {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0.1em 0 0.3em 0;
    color: #1976d2;
    letter-spacing: 1px;
}
.video-meta-galeri {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; font-size: 1.1em; color: #557;
}

.error-message {color: #da2626;background: #fdf2f2;border-color: #ffc2c2;}
.info-message {color: #1e7b38;background: #e2faec;border-color: #b3e4c8;}


@media (max-width: 576px) {
    
.video-title-berita {
    font-size: 1.5em;
     }
     
.youtube-channel-link {
    align-items: center;
    gap: 5px;
    padding: 5px 5px;
    width:100%;
    font-size:12px;
}

.channel-id {
    font-size: 0.7rem;
    margin: 0 auto;
}

.channel-name {
    font-size: 0.7rem;
    margin: 0 auto;
}
.hero-title-wrapper img {
    width:80px;
    margin: 0 auto;
}

.hero-title-berita {
    font-size: 1.5rem;
}

.update-info {
    font-size: 0.8rem;
}
.video-count {
    font-size: 0.8rem;
}
}



/* PAGINATION */
.pagination-container {
    margin-top: 2.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-nav {
    display: flex;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination a:hover:not(.disabled) {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .disabled {
    color: #bdc3c7;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #7f8c8d;
}

/* RESPONSIVE */


@media (max-width: 576px) {

    .pagination {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .pagination-nav {
        width: 100%;
        justify-content: center;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
}

