#about-hero {
    background-image: linear-gradient(328.26deg, rgba(17, 17, 17, 0) 41.97%, #111111 104.09%), url('../images/news-release/banner-hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 520px;
    background-position: center;
    width: 100%;
    border-bottom-right-radius: 140px;
    border-bottom-left-radius: 140px;
    clear: both;
    /* Put hero back into normal flow but lift it under the nav */
    position: relative;
    margin-top: -102px;
    /* same offset pattern as #home-top-banner */
    z-index: 1;
    /* allow later content to stack above if needed */
}

#articles-list {
    padding-bottom: 80px;
    padding-top: 20px;
}

#section-detail-content .container {
    padding-bottom: 30px;
}

#gallery-photo {
    padding-bottom: 40px;
}

.gp-wrapper {
    padding: 0;
}

/* Herb Detail - Slick Gallery */
.gp-item {
    margin: 0px 6px;
}

.gp-wrapper {
    position: relative
}

.gp-slider-for .slick-slide img {
    max-height: 545px;
    object-fit: cover;
}

.gp-slider-for img {
    border-radius: 16px
}

.gp-slider-nav {
    position: relative;
    margin-top: 16px;
    width: 90%;
    margin-left: auto;
    margin-right: auto
}

.gp-slider-nav .slick-list {
    margin: 0 3%
}

.gp-item {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent
}

.gp-item img {
    object-fit: cover;
    height: 150px;
    border-radius: 12px
}

.gp-slider-nav .slick-current .gp-item {
    border-color: #A66BC4;
    box-shadow: 0 0 0 4px rgba(166, 107, 196, 0.15)
}

/* Arrows */
.slick-arrow {
    display: flex;
    align-items: center;
    justify-content: center
}

.slick-arrow.slick-disabled {
    opacity: .4;
    cursor: not-allowed
}

.slick-prev:before {
    left: -15px;
}

.slick-next:before {
    right: -15px;
}

.al-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 24px;
}

.al-item-date {
    font-size: 12px;
    color: #A378B5;
    line-height: 18px;
    margin-top: 24px;
}

.al-item-content {
    margin-top: 10px;
}

.al-item-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.al-item-content h4 {
    font-size: 24px;
    font-family: 'IBMPlexSansThai-Medium';
    line-height: 32px;
}

.al-item-img img {
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

.al-item {
    cursor: pointer;
    position: relative;
}


.al-item-viewmore {
    opacity: 0;
    background: #9B7EBDCC;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    border-radius: 24px;
    transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -webkit-transition: opacity 1s ease-in-out;

}

.al-item-viewmore a {
    opacity: 0;
    position: absolute;
    background: unset;
    border: 1px solid #FFF;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    transition: all 1.5s;
}

.al-item-viewmore a:hover {
    color: #A378B5;
    background: white;
}

.al-item:hover .al-item-viewmore {
    opacity: 1;
    transition: opacity 1s ease-in-out;
    -moz-transition: opacity .55s ease-in-out;
    -webkit-transition: opacity .55s ease-in-out;
}

.al-item:hover .al-item-viewmore a {
    opacity: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sbc-content h4 {
    font-size: 18px;
    font-family: 'IBMPlexSansThai-SemiBold';
    margin-bottom: 0px;
}

/* Responsive tweaks */
@media (min-width:768px) {
    .container {
        padding: 0px 25px;
    }
}

@media (max-width: 992px) {
    #about-hero {
        background-image: url('../images/news-release/banner-hero.jpg');
        margin-top: 25px;
        border-bottom-right-radius: 120px;
        border-bottom-left-radius: 120px;
        min-height: 420px;
        height: 420px;
    }

    .al-list {
        grid-template-columns: auto auto;
    }

    .al-item-img img {
        height: 220px;
    }
     #section-detail-content .container{
        padding-bottom:10px;
    }
}

@media (max-width:767px) {
    #about-hero {
        border-bottom-left-radius: 80px;
        border-bottom-right-radius: 80px;
        min-height: 340px;
        height: 340px;
    }

    #articles-list {
        padding-bottom: 60px;
    }

    .al-list {
        grid-template-columns: 1fr;
    }

    .al-item-img img {
        height: auto;
        max-height: 300px;
    }

    .al-item-content p {
        margin-bottom: 0px;
        font-size: 14px;
        line-height: 20px;
    }

    #section-detail-top h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .slick-prev:before,
    .slick-next:before {
        height: 35px;
        width: 35px;
    }

    .gp-wrapper {
        width: 100%;
        margin: 0 auto;
    }

    .slick-next {
        right: 0;
    }

    .gp-slider-nav {
        width: 100%;
    }

    .slick-prev,
    .slick-prev:before {
        left: 0;
    }

    .slick-next:before {
        right: 0px;
    }

    .hp-item img {
        max-height: 100%;
    }

    .gp-item img {
        width: auto !important;
        margin: 0 auto;
    }
   
}