/* SLIDER BERANDA BARU */
.slider-blog {
    margin-top: 150px;
    margin-bottom: 100px;
}

.slider-blog .slider-items {
    height: 500px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    border: 1px solid #e5e7e9 !important;
    position: relative;
}

.slider-blog .slider-items img {
    width: 100%;
    height: auto;
}

.slider-blog .slider-items .slider-text {
    position: absolute;
    top: 50%;
    width: 50%;
    left: 50px;
    color: white;
    z-index: 10;
}

.slider-blog .slider-items .slider-shadow {
    width: 100%;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 1px solid #e5e7e9 !important;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    position: absolute;
    z-index: 1;
}

.hero-blog-bg-wrapper {
    padding-left: 5rem;
    padding-right: 5rem;
}

.section-spacing {
    margin-top: 80px;
}

.search {
    padding-left: 5rem;
    padding-right: 5rem;
}

.banner {
    padding-left: 5rem;
    padding-right: 5rem;
}

.search-container {
    max-width: 600px;
}

.carousel-image {
    height: 400px;
    object-fit: cover;
}

.carousel-res {
    height: 500px;
}

.content-blog {
    height: 400px;
    object-fit: cover;
}

.img-topnews {
    width: 50%;
    height: 180px;
    object-fit: cover;
}

.img-detailtopnews {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover;
}

.img-latestnews {
    width: 30% !important;
    height: 180px !important;
    object-fit: cover;
}

.best-card {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 0.375rem;
}

.best-card:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.best-category {
    font-size: 13px;
    color: #6c757d;
}

.best-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.best-date {
    color: #6c757d;
    font-size: 13px;
}

.news-card {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 0.375rem;
}

.news-card:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.news-category {
    font-size: 13px;
    color: #6c757d;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.news-date {
    color: #6c757d;
    font-size: 13px;
}

article .text-muted {
    font-size: 15px;
    color: #000000 !important;
}

article a {
    font-size: 15px;
    color: #000000 !important;
}

.read-more {
    color: white !important;
    background-color: #4477CE;
    text-decoration: none;
}

.section-title {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.view-all {
    color: #4477CE;
    text-decoration: none;
    font-size: 0.875rem;
}

body {
    line-height: 1.6;
    color: #333;
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

.article-topic {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.article-content {
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.divider {
    border-top: 1px solid #eee;
    margin: 3rem 0;
}

.related-articles-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.related-article {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.related-article:last-child {
    border-bottom: none;
}

.article-category {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

.article-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #222;
}

.read-more {
    color: #4477CE;
    text-decoration: none;
    font-weight: 500;
}

.banner-blog {
    padding-top: 100px;
}

.all-blog {
    padding-left: 5rem;
    padding-right: 5rem;
}

@media (max-width: 768px) {
    .hero-bg-wrapper {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    .hero-text {
        font-size: 15px;
        width: 60%;
    }

    .hero-text h2 {
        font-size: 20px;
        line-height: 1.3;
        width: 100%;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.5;
    }
    .search,
    .banner,
    .frame-news,
    .all-blog {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .img-topnews {
        width: 100% !important;
        height: auto !important;
    }

    .img-latestnews {
        /* width: 120px; */
        /* height: auto; */
        /* object-fit: cover; */
        flex-shrink: 0;
        width: 100% !important;
        height: 230px !important;
        object-fit: cover;
    }

    .best-card > div {
        flex: 1;
        min-width: 0;
    }

    .best-card {
        max-height: 100%;
    }

    .best-card {
        flex-direction: column !important;
        align-items: start !important;
    }

    .news-card > div {
        flex: 1;
        min-width: 0;
    }

    /* .news-card .img-latestnews {
        width: 100% !important;
        height: auto !important;
    } */

    .news-card {
        max-height: 110%;
    }

    .news-card {
        flex-direction: column !important;
        align-items: start !important;
    }

    .carousel-image {
        height: 220px;
    }

    .content-blog {
        height: 250px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-topic {
        font-size: 1.2rem;
    }

    .related-articles-title {
        font-size: 1.2rem;
    }

    .share-section .btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .view-all {
        font-size: 0.75rem;
    }

    .banner-blog {
        padding-top: 70px;
    }

    .hero-blog-bg-wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* SLIDER BERANDA BARU */
    .slider-blog {
        margin-top: 70px;
        margin-bottom: 100px;
    }

    .slider-blog .slider-items {
        height: 270px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
        border: 1px solid #e5e7e9 !important;
        position: relative;
    }

    .slider-blog .slider-items img {
        height: 100%;
        width: auto;
    }

    .slider-blog .slider-items .slider-text {
        position: absolute;
        top: 30%;
        width: 50%;
        left: 30px;
        color: white;
        z-index: 10;
    }

    .slider-blog .slider-items .slider-shadow {
        width: 100%;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        border: 1px solid #e5e7e9 !important;
        background: linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0) 50%
        );
        position: absolute;
        z-index: 1;
    }
}

@media (max-width: 430px) {

    .hero-bg-wrapper {
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    .hero-text {
        font-size: 15px;
        width: 60%;
    }

    .hero-text h2 {
        font-size: 20px;
        line-height: 1.3;
        width: 100%;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.5;
    }
}
