.hero-section p{
    font-size: 18px;
}

/* most popular */
.most-popular {
    background: url("../img/backgrounds/most-popular.png") no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    width: 100%;
    max-width: 100vw;
    height: auto;
    margin-top: -160px;
    /* Negative margin to pull it up */
    z-index: 100 !important;
    position: relative;
    overflow-x: hidden !important;
}

.most-popular .btn1-custom {
    padding: 10px 27px;
    background-color: rgba(217, 217, 217, 0.52);
    border: 1px solid var(--color-white);
    border-radius: 10px;
    transition: all 0.4s ease;
}

.most-popular .btn1-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #4c8fff;
    box-shadow: 0 0 15px rgba(76, 143, 255, 0.5);
    transition: all 0.4s ease;
}

.most-popular .most-popular-title {
    font-size: 55px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper .swiper-slide {
    width: 240px;
    height: 360px;
    background: rgba(255, 255, 255, 0.2);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

/* Most popular - jarak & border radius rapi di mobile */

/* Laptop 1024px - portrait format */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .swiper .swiper-slide {
        width: 240px;
        height: 360px;
    }
}

@media screen and (max-width: 768px) {
    .most-popular {
        margin-top: -60px;
    }

    .most-popular .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .most-popular .col-md-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .swiper .swiper-slide {
        border-radius: 14px;
    }

    .swiper-slide img {
        border-radius: 14px;
    }

    .swiper .swiper-slide {
        width: 200px;
        height: 300px;
        border-radius: 12px;
    }

    .swiper-slide img {
        border-radius: 12px;
    }
}

@media screen and (max-width: 480px) {
    .most-popular .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .swiper .swiper-slide {
        width: 170px;
        height: 255px;
        border-radius: 14px;
    }

    .swiper-slide img {
        border-radius: 14px;
    }
}

@media screen and (max-width: 375px) {
    .swiper .swiper-slide {
        width: 160px;
        height: 230px;
    }
}

@media screen and (max-width: 1120px) {
    .most-popular {
        margin-top: -100px;
        /* Moderate for tablets/small laptops */
    }
}


/* editor's pick for you */
.editor{
    padding: 30px 0 30px 0;
}
.editor-title {
    gap: 16px;
    display: flex;
    align-items: center;
}
.editor-line {
    flex-grow: 1;
    height: 3px;
    border-radius: 2px;
    background: var(--color-white);
}
.editor .news-editor {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--color-white);
    border-radius: 10px;
    transition: all 0.4s ease;
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}
.editor .news-editor:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 25px #0040ff6f;
    border-color: rgba(0, 150, 255, 0.7);
}
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.featured-card {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.featured-image-wrapper{
    width: 300px;
    height: auto;
}
.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.featured-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}
.featured-label {
    font-size: 0.85rem;
    color: #bbb;
}
.featured-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 8px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.article-card {
    display: flex;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.article-image-wrapper {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
    padding: 10px;
}
.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.article-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}
.article-description {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.4;
}
@media (max-width: 992px) {
    .editor{
        padding: 0px 0 30px 0;
    }
    .grid-layout {
        grid-template-columns: 1fr;
    }
    .featured-card {
        grid-row: auto;
        min-height: 400px;
    }
    .featured-image-wrapper{
        height: auto;
    }
    .featured-title {
        font-size: 1.5rem;
    }
    .featured-content {
        padding: 20px;
    }
    .article-card {
        flex-direction: column;
    }
    .article-image-wrapper{
        width: 100%;
        height: 100%;
    }
    .article-image {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 12px;
        object-fit: fill;
    }
    .article-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .editor-title h3{
        font-size: 19px;
    }
    .featured-card {
        grid-row: auto;
        min-height: 320px;
    }
    .featured-title {
        font-size: 1rem;
    }
    .article-title {
        font-size: 1rem;
    }
    .article-description {
        font-size: 0.8rem;
    }
}
@media (max-width: 372px) {
    .editor-title{
        display: block;
    }
    .editor-title h3{
        font-size: 18px;
        text-align: center;
        justify-content: center;
    }
    .editor-line {
        display: none;
    }   
}
/* fresh blog */
.fresh-blog{
    padding-top: 20px ;
}
.fresh-blogs {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    background: transparent;
}
.blog-image {
    flex: 0 0 40%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255);
}
.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.blog-des {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.blog-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}
.blog-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.5;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}
.badge-category {
    padding: 4px 10px;
    background-color: #2f2f2f;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
@media (max-width: 1000px) {
    .fresh-blogs {
        flex-direction: column;
    }
    .blog-image {
        width: 100%;
        height: 200px;
    }
    .blog-des {
        padding-top: 15px;
    }
}

/* category */
.news-category-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.category-image {
    position: relative;
    height: 220px;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    height: auto;
    aspect-ratio: 3 / 4;
}

.category-overlay {
    padding: 12px;
}

.news-category-card:hover img {
    transform: scale(1.05);
    transition: 0.3s ease;
}

/* Category overlay title */
.category-title {
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}

.category-icon {
    font-size: 20px;
    color: #ffffff;
}
.type {
    margin-top: 8px;
    color: #fff;
    font-size: 13px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
}

.meta-item i {
    font-size: 14px;
}