/* ===============================
   NEWS HEADER
================================= */

.news-header {
    max-width: 760px;
    margin-inline: auto;
}

/* label */

.news-label {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;

    background: rgba(94, 25, 146, 0.08);
    color: #5e1992;

    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* title */

.news-title {
    margin-top: 18px;
    margin-bottom: 0;

    color: #3d105f;

    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.2;
}

/* divider */

.news-divider {
    width: 110px;
    height: 6px;

    margin: 22px auto 0;

    border-radius: 999px;

    background: linear-gradient(90deg, #5e1992, #7d2bb8, #efa735, #ffcc70);

    box-shadow: 0 6px 18px rgba(94, 25, 146, 0.18);
}
/* subtitle */

.news-subtitle {
    max-width: 640px;
    margin: 22px auto 0;

    color: #6c757d;

    font-size: 1rem;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .news-header {
        margin-bottom: 40px !important;
    }

    .news-label {
        padding: 5px 14px;

        font-size: 0.68rem;
    }

    .news-title {
        margin-top: 14px;

        font-size: 1.85rem;

        line-height: 1.3;
    }

    .news-divider {
        width: 54px;

        margin-top: 16px;
    }

    .news-subtitle {
        margin-top: 18px;

        padding: 0 10px;

        font-size: 0.92rem;
        line-height: 1.8;
    }
}

/* ===============================
   HEADLINE
================================= */

.news-headline-card {
    overflow: hidden;

    border-radius: 34px;

    background: #fff;

    border: 1px solid rgba(13, 110, 253, 0.08);

    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.05);
}

/* image */

.news-headline-image-wrap {
    position: relative;

    height: 100%;

    overflow: hidden;
}

.news-headline-image {
    width: 100%;
    height: 100%;
    min-height: 420px;

    object-fit: cover;

    transition: transform 1s ease;
}

.news-headline-card:hover .news-headline-image {
    transform: scale(1.05);
}

/* overlay */

.news-headline-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 55%);
}

/* content */

.news-headline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 100%;

    padding: 46px;
}

/* meta */

.news-headline-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 18px;
}

.news-headline-date,
.news-headline-bidang,
.news-headline-views {
    color: #0d6efd;

    font-size: 0.82rem;
    font-weight: 700;
}

.news-headline-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d0d0d0;
}

/* title */

.news-headline-title {
    margin-bottom: 18px;

    color: #1d3557;

    font-size: 2rem;
    font-weight: 800;

    line-height: 1.35;
}

/* desc */

.news-headline-desc {
    margin-bottom: 28px;

    color: #6c757d;

    line-height: 1.9;
}

/* button */

.news-headline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 14px 24px;

    border-radius: 16px;

    background: linear-gradient(135deg, #0d6efd, #3f8cff);

    color: #fff;

    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.news-headline-btn:hover {
    transform: translateY(-2px);

    color: #fff;

    box-shadow: 0 16px 34px rgba(13, 110, 253, 0.22);
}
@media (max-width: 768px) {
    .news-headline-card {
        border-radius: 24px;
    }

    .news-headline-image {
        min-height: 260px;
    }

    .news-headline-content {
        padding: 26px 22px;
    }

    .news-headline-title {
        font-size: 1.45rem;

        line-height: 1.45;
    }

    .news-headline-desc {
        font-size: 0.92rem;

        line-height: 1.8;
    }

    .news-headline-btn {
        width: 100%;
    }
}

/* ===============================
   NEWS SECTION HEADER
================================= */

.news-section-header {
    margin-bottom: 28px;
}

/* label */

.news-section-label {
    display: inline-flex;
    align-items: center;

    padding: 7px 16px;

    border-radius: 999px;

    background: rgba(13, 110, 253, 0.08);

    color: #0d6efd;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* title */

.news-section-title {
    position: relative;

    width: fit-content;

    margin-top: 16px;
    margin-bottom: 0;

    padding-bottom: 14px;

    color: #1d3557;

    font-size: 2rem;
    font-weight: 800;

    line-height: 1.3;
}

/* underline */

.news-section-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 74px;
    height: 4px;

    border-radius: 999px;

    background: linear-gradient(90deg, #0d6efd, #5aa2ff);
}

@media (max-width: 768px) {
    .news-section-header {
        margin-bottom: 20px;
    }

    .news-section-label {
        padding: 6px 14px;

        font-size: 0.66rem;

        letter-spacing: 1px;
    }

    .news-section-title {
        margin-top: 14px;

        padding-bottom: 12px;

        font-size: 1.45rem;
    }

    .news-section-title::after {
        width: 58px;
        height: 3px;
    }
}

/* ===============================
   NEWS CARD
================================= */

.news-card {
    overflow: hidden;

    height: 100%;

    border-radius: 30px;

    background: #fff;

    border: 1px solid rgba(13, 110, 253, 0.08);

    transition: 0.3s ease;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.08);
}

/* image */

.news-card-image-wrap {
    position: relative;

    display: block;

    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 240px;

    object-fit: cover;

    transition: transform 1s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.06);
}

/* overlay */

.news-card-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.16), transparent 55%);
}

/* content */

.news-card-content {
    padding: 26px;
}

/* meta */

.news-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 14px;
}

.news-card-date,
.news-card-bidang {
    color: #0d6efd;

    font-size: 0.76rem;
    font-weight: 700;
}

.news-card-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d0d0d0;
}

/* title */

.news-card-title {
    margin-bottom: 14px;

    line-height: 1.45;
}

.news-card-title a {
    color: #1d3557;

    font-size: 1.08rem;
    font-weight: 800;

    text-decoration: none;

    transition: 0.25s ease;
}

.news-card-title a:hover {
    color: #0d6efd;
}

/* desc */

.news-card-desc {
    margin-bottom: 24px;

    color: #6c757d;

    font-size: 0.92rem;
    line-height: 1.9;
}

/* button */

.news-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    border-radius: 14px;

    background: rgba(13, 110, 253, 0.08);

    color: #0d6efd;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.news-card-btn:hover {
    background: #0d6efd;

    color: #fff;
}

/* empty */

.news-empty {
    padding: 70px 20px;

    border-radius: 28px;

    background: #fff;

    border: 1px solid rgba(13, 110, 253, 0.08);

    text-align: center;
}

.news-empty-icon {
    font-size: 2.5rem;

    margin-bottom: 16px;
}

.news-empty h5 {
    margin-bottom: 10px;

    color: #1d3557;

    font-weight: 800;
}

.news-empty p {
    margin: 0;

    color: #6c757d;
}

@media (max-width: 768px) {
    .news-card {
        border-radius: 24px;
    }

    .news-card-image {
        height: 220px;
    }

    .news-card-content {
        padding: 22px 20px;
    }

    .news-card-title a {
        font-size: 1rem;

        line-height: 1.5;
    }

    .news-card-desc {
        font-size: 0.88rem;

        line-height: 1.8;
    }

    .news-card-btn {
        width: 100%;
    }
}
/* ===============================
   NEWS SEARCH
================================= */

.news-search-box {
    margin-bottom: 34px;
}

.news-search-group {
    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 22px;

    background: #fff;

    border: 1px solid rgba(13, 110, 253, 0.08);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

/* input */

.news-search-input {
    width: 100%;

    height: 62px;

    padding: 0 22px;

    border: none;
    outline: none;

    background: transparent;

    color: #1d3557;

    font-size: 0.95rem;
}

.news-search-input::placeholder {
    color: #9ca3af;
}

/* button */

.news-search-btn {
    height: 62px;

    padding: 0 26px;

    border: none;

    background: linear-gradient(135deg, #0d6efd, #3f8cff);

    color: #fff;

    font-size: 0.9rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.news-search-btn:hover {
    opacity: 0.92;
}

/* ===============================
   MINI CARD
================================= */

.news-mini-card {
    overflow: hidden;

    height: 100%;

    border-radius: 28px;

    background: #fff;

    border: 1px solid rgba(13, 110, 253, 0.08);

    transition: 0.3s ease;

    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.04);
}

.news-mini-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.08);
}

/* image */

.news-mini-image-wrap {
    position: relative;

    display: block;

    overflow: hidden;
}

.news-mini-image {
    width: 100%;
    height: 210px;

    object-fit: cover;

    transition: transform 1s ease;
}

.news-mini-card:hover .news-mini-image {
    transform: scale(1.06);
}

/* overlay */

.news-mini-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.14), transparent 55%);
}

/* content */

.news-mini-content {
    padding: 22px;
}

/* meta */

.news-mini-meta {
    margin-bottom: 12px;
}

.news-mini-date {
    color: #0d6efd;

    font-size: 0.74rem;
    font-weight: 700;
}

/* title */

.news-mini-title {
    margin-bottom: 12px;

    line-height: 1.5;
}

.news-mini-title a {
    color: #1d3557;

    font-size: 0.98rem;
    font-weight: 800;

    text-decoration: none;

    transition: 0.25s ease;
}

.news-mini-title a:hover {
    color: #0d6efd;
}

/* bidang */

.news-mini-bidang {
    margin-bottom: 20px;

    color: #7a7a7a;

    font-size: 0.82rem;
    font-weight: 600;
}

/* button */

.news-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 12px 16px;

    border-radius: 14px;

    background: rgba(13, 110, 253, 0.08);

    color: #0d6efd;

    text-decoration: none;

    font-size: 0.84rem;
    font-weight: 700;

    transition: 0.25s ease;
}

.news-mini-btn:hover {
    background: #0d6efd;

    color: #fff;
}

/* pagination */

.news-pagination-wrap {
    margin-top: 40px;

    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    .news-search-group {
        border-radius: 18px;
    }

    .news-search-input {
        height: 56px;

        padding: 0 18px;

        font-size: 0.9rem;
    }

    .news-search-btn {
        height: 56px;

        padding: 0 18px;

        font-size: 0.85rem;
    }

    .news-mini-card {
        border-radius: 22px;
    }

    .news-mini-image {
        height: 200px;
    }

    .news-mini-content {
        padding: 20px 18px;
    }
}
