/* featured section starts here  */

.featured {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.featured .gallery .box:first-child {
    border: 1px solid rgba(0, 0, 0, .3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 2rem 1.5rem;
}

.featured .gallery .box:first-child h2 {
    margin-bottom: 1rem;
}

.featured .gallery .box:first-child p {
    margin-top: 10px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #222;
    max-width: 50%;
    /* Membatasi lebar ke 100% dari kontainer induk */
    width: 100%;
    /* Memastikan p mengisi seluruh lebar yang tersedia */
    overflow-wrap: break-word;
    /* Memastikan teks yang panjang akan terputus dengan baik */
    word-wrap: break-word;
}

.featured .gallery .box:first-child a {
    position: absolute;
    bottom: 2rem;
    padding: 1rem 2rem;
    color: white;
    background: #369CB0;
    border-radius: 3rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.featured .gallery .box:first-child a:hover {
    background: #369CB0;
}

.featured .gallery .box:first-child .image {
    width: 40%;
    position: absolute;
    bottom: -1rem;
    right: 2rem;
}

.featured .gallery .box .content {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem 2rem;
}

.featured .gallery .box .content h2 {
    font-weight: 500;
    color: white;
}

.featured .gallery .box .content p {
    font-size: 2rem;
    color: white;
}

.featured .gallery .box .content .review-and-idr {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured .gallery .box .content .review-and-idr .review {
    font-size: 1.3rem;
    color: white;
}

.featured .gallery .box .content .review-and-idr .review i {
    color: #ffa600;
}

.featured .gallery .box .content .review-and-idr p {
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 500;
    color: white;
}


/* featured section ends here  */


/* destination section starts here  */

.destinations {
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.destinations .container {
    width: 100%;
}

.destinations .container .container-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.destinations .container .container-box .heading {
    max-width: 30rem;
}

.destinations .container .container-box .content {
    max-width: 35rem;
}

.destinations .container .container-box .content p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.destinations .container .container-box .content a {
    color: green;
    font-weight: 600;
}

.destinations .container .container-box .content a i {
    margin-left: .5rem;
}

.destinations .container .container-box .content a:hover i {
    margin-left: .1rem;
}

.gallery {
    margin-top: 4rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery .box {
    height: 23rem;
    flex-grow: 1;
    overflow: hidden;
    border-radius: .8rem;
    position: relative;
}

.gallery .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery .box .text {
    position: absolute;
    bottom: 0;
    padding: 1.5rem 2rem;
    left: 0;
    z-index: 1;
}

.gallery .box .text h2 {
    font-size: 1.4rem;
    color: black;
    font-weight: 500;
}

.image {
    margin-bottom: 20px;
}


/* destination section ends here  */


/* article section starts here  */

.article {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-top: 5rem;
}

.article .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.article .container .latest-article,
.article .container .more-article {
    width: 100%;
    flex: 1 0 350px;
}

.article .container .latest-article img {
    width: 100%;
    height: 28rem;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
}

.article .container .latest-article p {
    margin: .8rem 0;
    color: #666;
}

.article .container .latest-article h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.article .container .latest-article .author {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.article .container .latest-article .author img {
    width: 30px;
    height: 30px;
    border-radius: 3rem;
}

.article .container .latest-article .author p {
    font-size: 1.3rem;
}

.article .container .more-article {
    display: grid;
    gap: 1rem;
    overflow: hidden;
}

.article .container .more-article .box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.article .container .more-article .box img {
    width: 135px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: .5rem;
}

.article .container .more-article .text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: black;
}

.article .container .more-article .text li {
    margin-top: .3rem;
    list-style: none;
    color: #333;
    font-size: 1.5rem;
}

@media (max-width: 910px) {
    .destinations .container .container-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .featured .gallery .box:first-child {
        height: 280px;
    }
    .featured .gallery .box:first-child p {
        max-width: 100%;
        font-size: 1.3rem;
    }
    .featured .gallery .box:first-child a {
        margin-bottom: -.5rem;
    }
    .article .container .more-article .text li {
        margin-top: .3rem;
        list-style: none;
        color: #333;
        font-size: 1.4rem;
    }
    .destinations .container .container-box .content {
        font-size: .8rem;
    }
    .feedback .container p {
        font-size: 1rem;
    }
}

@media (max-width: 457px) {
    .featured .gallery .box:first-child {
        height: 280px;
    }
    .featured .gallery .box:first-child a {
        margin-bottom: -.5rem;
    }
    .article .container .latest-article,
    .article .container .more-article {
        width: 100%;
        flex: 1 0 250px;
    }
    .article .container .more-article .box img {
        width: 100px;
        height: 85px;
    }
    .article .container .more-article .text h3 {
        font-size: 1.4rem;
    }
}


/* article section ends here  */