#articles {
    position: relative;
    padding-top: 100px;
    background: #fff;
}

/* ===== Shared: title & "Lihat Semua" button ===== */

.articles-newsmedia__title,
.articles-csr__title {
    color: #fb0a01;
    font-size: 3rem;
    font-family: zlb;
}

.articles-csr__title {
    padding: 2rem 0 0.5rem;
}

.articles-wrapper-button {
    text-align: center;
    margin-top: 2rem;
}

.articles-btn-all {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: #fb0a01;
    color: #fff;
    font-family: jkt;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 2rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.articles-btn-all:hover {
    background: #c40800;
    color: #fff;
    text-decoration: none;
}

/* ===== Berita & Media ===== */

.articles-newsmedia {
    position: relative;
    padding: 2rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin-top: 1.5rem;
}

.news-featured {
    display: block;
    text-decoration: none;
}

.news-featured__img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.news-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-featured__title {
    font-family: zlb;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 1rem 0 0.4rem;
    line-height: 1.35;
}

.news-featured__desc {
    font-family: jkt;
    font-size: 0.85rem;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0 0 0.4rem;
}

.news-featured__date {
    font-family: jkt;
    font-size: 0.75rem;
    color: #999;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-list__item {
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.news-list__img-wrap {
    width: 130px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.news-list__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-list__content {
    flex: 1;
    min-width: 0;
}

.news-list__title {
    font-family: zlb;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.news-list__desc {
    font-family: jkt;
    font-size: 0.75rem;
    color: #6b6b6b;
    line-height: 1.4;
    margin: 0 0 0.3rem;
}

.news-list__date {
    font-family: jkt;
    font-size: 0.7rem;
    color: #999;
}

/* ===== Tanggung Jawab Sosial Perusahaan (CSR) ===== */

.articles-csr {
    position: relative;
    padding: 2rem 0;
    background: #fff;
}

.csr-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    margin-top: 1.5rem;
}

.csr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.csr-item {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.csr-item--featured {
    grid-row: 1 / 3;
}

.csr-item__img-wrap {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.csr-item--featured .csr-item__img-wrap {
    aspect-ratio: 1 / 1.25;
}

.csr-item:not(.csr-item--featured) .csr-item__img-wrap {
    aspect-ratio: 4 / 3;
}

.csr-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.csr-item:hover .csr-item__img {
    transform: scale(1.05);
}

.csr-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.csr-item__caption {
    padding: 10px 0 12px;
    z-index: 2;
    gap: 8px;
    min-height: 75px;
}

.csr-item__title {
    font-family: zlb;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.csr-item__arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csr-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.csr-list__item {
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.csr-list__img-wrap {
    width: 130px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.csr-list__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.csr-list__content {
    flex: 1;
    min-width: 0;
}

.csr-list__title {
    font-family: zlb;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.csr-list__desc {
    font-family: jkt;
    font-size: 0.75rem;
    color: #6b6b6b;
    line-height: 1.4;
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.csr-list__date {
    font-family: jkt;
    font-size: 0.7rem;
    color: #999;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .articles-newsmedia__title,
    .articles-csr__title {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-list {
        gap: 16px;
    }

    .csr-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .csr-grid {
        gap: 12px;
    }

    .csr-list {
        gap: 16px;
    }

    .news-list__img-wrap,
    .csr-list__img-wrap {
        width: 100px;
        height: 76px;
    }

    .articles-btn-all {
        font-size: 0.85rem;
        padding: 0.5rem 1.8rem;
    }
}

/* ===== Load more grid (detik.com-style "muat lebih banyak") ===== */

.articles-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2rem;
}

.articles-more-grid__item {
    display: block;
    text-decoration: none;
}

.articles-more-grid__img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.7rem;
}

.articles-more-grid__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.articles-more-grid__item:hover .articles-more-grid__img-wrap img {
    transform: scale(1.05);
}

.articles-more-grid__title {
    font-family: zlb;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articles-more-grid__desc {
    font-family: jkt;
    font-size: 0.78rem;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articles-more-grid__date {
    font-family: jkt;
    font-size: 0.72rem;
    color: #999;
}

.articles-btn-all {
    border: none;
    cursor: pointer;
    font: inherit;
}

.articles-btn-all[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .articles-more-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
