@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 193, 7, 0.8);
    }
}

.pagination {
    --bs-pagination-active-bg: #0d9488;
    --bs-pagination-active-border-color: #0d9488;
    margin: 1rem 0;
}

.page-link {
    color: #6c757d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    position: relative;
    overflow: hidden;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    /* border-radius: 0.375rem; */
}

.page-link:hover {
    color: #ffffff;
    background-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.page-link:hover::before {
    opacity: 1;
}

.page-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.page-item.active .page-link:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.5);
}

/* Mobile specific */
@media (max-width: 576px) {
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
        padding: 0.4rem 0.6rem;
    }
    
    .page-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
    }
    
    .pagination {
        gap: 0.25rem !important;
    }
}

.blob-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

/* ===== HERO BERITA ===== */
.news-hero {
    position: relative;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    color: #fff;
    overflow: hidden;
}

.news-hero-blob {
    position: absolute;
    border-radius: 999px;
    opacity: .25;
    filter: blur(40px);
}

.news-hero-blob.a {
    width: 240px;
    height: 240px;
    background: #22c55e;
    top: -80px;
    left: -80px;
}

.news-hero-blob.b {
    width: 320px;
    height: 320px;
    background: #fbbf24;
    bottom: -120px;
    right: -100px;
}

.news-hero .hero-inner-page {
    padding-top: 7rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .news-hero .hero-inner-page {
        padding-top: 5rem;
        padding-bottom: 3rem;
        text-align: center;
    }
}

/* ===== NEWS PAGE ===== */
.news-page {
    background: #f8fafc;
}

.news-filter-chip {
    border-radius: 999px;
    font-size: .85rem;
    padding: .4rem 1.1rem;
    border: 1px solid #0d9488;
    color: #0d9488;
    background: #fff;
    font-weight: 500;
    transition: all .25s ease;
}

.news-filter-chip:hover {
    background: #0d9488;
    color: #fff;
}

.news-filter-chip.active {
    background: #0d9488;
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 148, 136, .35);
}

.news-search-wrapper {
    position: relative;
}

.news-search-wrapper i {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: .9rem;
}

.news-search-input {
    border-radius: 999px;
    padding-left: 2.3rem;
    padding-right: 1rem;
    font-size: .9rem;
    border: 1px solid #d1d5db;
    box-shadow: none;
}

.news-search-input::placeholder {
    color: #9ca3af;
}

.news-search-input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, .18);
}

/* ===== NEWS CARD ===== */
.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    transition: all .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
}

.news-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.news-card-img-wrapper img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card:hover .news-card-img-wrapper img {
    transform: scale(1.06);
}

.news-category-badge {
    position: absolute;
    top: .9rem;
    left: .9rem;
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .7rem;
    font-weight: 600;
}

.news-card-body {
    padding: 1.3rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    font-size: .8rem;
    color: #6b7280;
}

.news-meta i {
    color: #0d9488;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: .7rem;
    margin-bottom: .4rem;
    color: #0f172a;
    line-height: 1.4;
    transition: color .3s ease;
}

.news-card:hover .news-title {
    color: #0d9488;
}

.news-excerpt {
    font-size: .9rem;
    color: #6b7280;
    margin-bottom: .75rem;
}

.news-readmore {
    margin-top: auto;
    font-size: .85rem;
    font-weight: 600;
    color: #0d9488;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.news-readmore i {
    font-size: .7rem;
}

.news-readmore:hover {
    text-decoration: underline;
}

.news-breadcrumb a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: .85rem;
}

.news-breadcrumb span {
    color: rgba(255, 255, 255, .6);
    font-size: .85rem;
}

.news-breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .news-detail-hero .hero-inner-page {
        padding-top: 5.25rem;
        padding-bottom: 3.25rem;
    }

}


/* ===== CONTENT ===== */
.news-detail-page {
    background: #f8fafc;
}

.news-detail-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    border: 1px solid #e5e7eb;
}

.news-detail-cover {
    border-radius: 18px;
    overflow: hidden;
}

.news-detail-cover img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-detail-meta {
    font-size: .85rem;
    color: #6b7280;
}

.news-detail-meta i {
    color: #0d9488;
}

.news-detail-body p {
    font-size: .98rem;
    line-height: 1.85;
    color: #4b5563;
    margin-bottom: 1rem;
}

.news-detail-body h3,
.news-detail-body h4 {
    color: #0f172a;
    margin-top: 1.8rem;
    margin-bottom: .8rem;
    font-weight: 700;
}

.news-detail-body ul {
    padding-left: 1.3rem;
    margin-bottom: 1.2rem;
    color: #4b5563;
}

.news-detail-body li {
    margin-bottom: .35rem;
}

.news-detail-quote {
    border-left: 4px solid #0d9488;
    padding-left: 1rem;
    margin: 1.4rem 0;
    font-style: italic;
    color: #0f172a;
}

.news-tag {
    border-radius: 999px;
    font-size: .78rem;
    padding: .25rem .7rem;
    background: rgba(13, 148, 136, .06);
    color: #0d9488;
    margin-right: .35rem;
}

.news-share a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: #0d9488;
    border: 1px solid #d1d5db;
    margin-right: .35rem;
    text-decoration: none;
    transition: all .25s ease;
    background: #fff;
}

.news-share a:hover {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
    box-shadow: 0 8px 20px rgba(13, 148, 136, .3);
}

/* ===== SIDEBAR ===== */
.news-sidebar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.news-sidebar-card:hover {
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.12);
}

.sidebar-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: #0d9488;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-color: rgba(13, 148, 136, 0.2);
    color: #0d9488;
    transform: translateX(5px);
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #64748b;
    transition: all 0.3s ease;
}

.category-item:hover .category-badge {
    background: #0d9488;
    color: white;
}

/* Recent Posts */
.news-sidebar-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    background: #f8fafc;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-sidebar-item:hover {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(13, 148, 136, 0.1);
}

.news-sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-sidebar-item:hover .sidebar-thumb img {
    transform: scale(1.1);
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-sidebar-item:hover .sidebar-post-title {
    color: #0d9488;
}

.sidebar-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-meta i {
    font-size: 0.65rem;
}

/* Tags */
.tag-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #0d9488;
    color: white;
    transform: translateY(-2px);
}

.news-sidebar-thumb {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
}

.news-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-sidebar-title {
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: .2rem;
    color: #0f172a;
    text-decoration: none;
}

.news-sidebar-title:hover {
    color: #0d9488;
    text-decoration: underline;
}

.news-sidebar-meta {
    font-size: .7rem;
    color: #6b7280;
}

/* ===== "Berita Lainnya" cards (reuse from list) ===== */
.news-card-small {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .08);
    transition: all .35s ease;
    height: 100%;
}

.news-card-small:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, .16);
}

.news-card-small img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .5s ease;
}

.news-card-small:hover img {
    transform: scale(1.06);
}

.news-card-small-body {
    padding: 1.1rem 1.25rem 1.3rem;
}

.news-card-small-body h5 {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .35rem;
}

.news-card-small-body h5 a {
    color: inherit;
    text-decoration: none;
}

.news-card-small-body h5 a:hover {
    color: #0d9488;
}

.news-card-small-meta {
    font-size: .75rem;
    color: #6b7280;
}