/*
====================
slider
====================
 */
 .glide-05 {
    position: relative;
    width: 100%;
}
[data-glide-el="track"] {
    cursor: pointer;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    /* Set fixed dimensions to prevent layout shifts */
    width: 100%;
    height: auto;
    contain: layout; /* Improve performance by isolating layout */
}
[data-glide-el="track"] ul.slider-items {
    white-space: nowrap;
    flex-wrap: nowrap;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    touch-action: pan-y;
    will-change: transform;
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    padding: 0;
    transform: translateZ(0); /* Force GPU acceleration */
    contain: layout; /* Improve performance by isolating layout */
}
[data-glide-el="track"] ul.slider-items li img {
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    height: 100%;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
    will-change: transform; /* Hint browser about transform changes */
    backface-visibility: hidden; /* Reduce composite layers */
    /* Prevent layout shifts during loading */
    min-height: 1px;
    /* Force hardware acceleration */
    transform: translateZ(0);
}
[data-glide-el="controls[nav]"] {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 8px;
}
[data-glide-el="controls[nav]"] > button > span {
    /* block h-2 w-2 rounded-full bg-slate-500 transition-colors duration-300 */
    display: block;
    height: 8px;
    width: 8px;
    transition: all 0.3s ease;
    transition-duration: 300ms;
}
[data-glide-el="controls[nav]"] > button {
    background-color: #e0e0e0;
    border-radius: 9999px;
}
[data-glide-el="controls[nav]"] > button.isActiveSlider {
    background-color: var(--stroke-red);
    width: 30px;
}
.glide__arrow {
    display: none;
    position: absolute;
    padding: 8px;
    transform: translateY(-100%);
    background: linear-gradient(
        73deg,
        rgba(232, 35, 32, 0.8) 20.62%,
        rgba(250, 80, 77, 0.8) 136.74%
    );
    border-radius: 9999px;
    top: 50%;
}
.glide__arrow.glide__arrow--left {
    left: -20px;
}
.glide__arrow.glide__arrow--right {
    right: -20px;
}
.section-center:has(.glide__arrow) {
    padding-bottom: 24px;
}
.section-center:has(#header-slider-content) {
    position: relative;
}
#header-slider-content {
    position: absolute;
    z-index: 2;
    width: 94%;
    left: 3%;
    /*padding: 32px 52px;*/
    padding: 12px 24px;
    color: white;
    height: fit-content;
    bottom: 4rem;
}
h1 {
    font-family: var(--general-sans-600);
    font-size: 24px;
    line-height: 24px;
}
h1 + p {
    /*font-size: 24px;*/
    font-size: 18px;
    line-height: 32px; /* 133.333% */
    margin-bottom: 40px;
    max-width: 50%;
    display: none;
}
#header-slider-content .booking-btn1 {
    /*display: inline-flex;*/
    display: none;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    font-family: var(--general-sans-600);
    background: linear-gradient(71deg, #e82320 23.31%, #fa504d 135.49%);
    box-shadow: var(--red-button-shadow);
    margin-bottom: 74px;
}
#header-slider-content_search {
    /*display: grid;*/
    display: none;
    justify-content: space-between;
    gap: 50px;
    grid-template-columns: 1fr 170px;
    background-color: white;
    padding: 16px 20px;
    border-radius: 24px;
}
#header-slider-content_search label,
#header-slider-content_search input {
    display: block;
    width: 100%;
}
#header-slider-content_search label,
#header-slider-content_search input {
    background-color: var(--stroke-gray);
    position: relative;
    height: 100%;
    border-radius: 24px;
}
#header-slider-content_search label span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
}
#header-slider-content_search input {
    padding-left: 48px;
    color: black;
}
.cari-paket {
    background: var(--red-gradient-button);
    box-shadow: var(--red-button-shadow);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    gap: 4px;
    font-family: var(--general-sans-600);
    align-items: center;
    font-size: 16px;
    width: 100%;
    justify-content: center;
}
.cari-paket span {
    display: block;
}
/*
    katalog paket
*/
.title-button-more {
    margin-bottom: 24px;
}
.title-button-more h2 {
    color: #151515;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.title-button-more h2 span:last-child {
    display: none;
}
.title-button-more,
.title-button-more a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title-button-more a {
    border: 1px solid var(--stroke-red);
    padding: 8px;
    border-radius: 8px;
    gap: 8px;
    box-shadow:
        0 0 0 0 rgba(229, 52, 52, 0.15),
        0 4px 8px 0 rgba(229, 52, 52, 0.15),
        0 14px 14px 0 rgba(229, 52, 52, 0.13),
        0 32px 19px 0 rgba(229, 52, 52, 0.08),
        0 57px 23px 0 rgba(229, 52, 52, 0.02),
        0 89px 25px 0 rgba(229, 52, 52, 0);
    font-weight: var(--general-sans-600);
    color: var(--stroke-red);
}

/*
button tab katalog paket
 */
#tabs-katalog-paket {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    overflow-x: scroll;
    margin-left: 24px;
    padding-bottom: 32px;
    padding-right: 3rem;
}
#tabs-katalog-paket::-webkit-scrollbar {
    display: none;
}

.tab-katalog-paket_btn {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    border: 1px solid var(--stroke-gray);
    box-shadow: var(--shadow);
    background-color: white;
}
.tab-katalog-paket_btn.active {
    border: 1px solid var(--stroke-green);
}
.tab-katalog-paket_btn > span {
    display: block;
}
.tab-katalog-paket_btn > span img {
    height: 32px;
    width: 32px;
    max-width: unset;
}
.tab-katalog-paket_btn > span:last-child {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
}
.tab-katalog-paket_btn-title {
    font-size: 14px;
    font-family: var(--general-sans-600);
    line-height: 20px; /* 142.857% */
    background: linear-gradient(
        35deg,
        #151515 17.46%,
        #3d3d3d 58.62%,
        #595959 87.32%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tab-katalog-paket_btn-subtitle {
    color: #4f4f4f;
    font-size: 12px;
    line-height: 18px; /* 150% */
    white-space: nowrap;
}

#cards-container {
    display: grid;
    gap: 24px;
    grid-template-rows: 1fr;
    justify-content: space-between;
    grid-template-columns: repeat(8, 302px);
}
#cards::-webkit-scrollbar {
    display: none;
    width: 100%;
}
#cards {
    padding: 0 0 0 8px;
    overflow-y: scroll;
}
#tabs-and-cards {
    margin-bottom: 32px;
    padding-inline: 0;
    min-height: 400px; /* Fixed height to prevent layout shift */
}

/* Loading and error states to prevent layout shifts */
.loading-indicator,
.error-message {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.error-message {
    color: #d32f2f;
    background-color: #ffebee;
}

/*
gallery
*/
.title-gallery_mobile,
.title-gallery_desktop {
    color: #202227;
    font-family: var(--general-sans-600);
    font-size: 20px;
    line-height: 28px; /* 140% */
}
.title-gallery_desktop {
    display: none;
}
#gallery {
    max-height: 480px;
    overflow: hidden;
    margin-bottom: 5rem;
    position: relative;
}
#gallery-container {
    column-count: 3;
    column-gap: 8px;
    padding-top: 24px;
}
#gallery-container .gallery-item {
    display: inline-block;
    margin-bottom: 16px;
    width: 100%;
    cursor: pointer;
}
.gallery-item {
    border-radius: 16px;
    overflow: hidden;
}
#gallery_button-see-more {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    padding: 64px 0;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) -187.31%,
        #fff 150px
    );
    box-shadow:
        0 0 0 0 rgba(232, 232, 232, 0.1),
        0 -17px 37px 0 rgba(232, 232, 232, 0.1),
        0 -67px 67px 0 rgba(232, 232, 232, 0.09),
        0 -150px 90px 0 rgba(232, 232, 232, 0.05),
        0 -267px 107px 0 rgba(232, 232, 232, 0.01),
        0 -417px 117px 0 rgba(232, 232, 232, 0);
    backdrop-filter: blur(4.5px);
}
#gallery_button-see-more button {
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: var(--red-button-shadow);
    border: 1px solid var(--stroke-red);
    color: var(--stroke-red);
    font-size: 12px;
    font-family: var(--general-sans-600);
    line-height: 24px;
}

/*
  artikel
*/
#lihat-semua-artikel_desktop {
    display: none;
}
.title-button-more:has(> #lihat-semua-artikel) {
    margin-bottom: 16px;
}
.title-artikel {
    padding-bottom: 24px;
}
#article-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.single-article {
    width: 100%;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 25% 75%;
    grid-template-rows: 116px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}
.single-article:last-child {
    display: none;
}
.single-article > div {
    overflow: hidden;
}
.single-article_image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.single-article > div:last-child {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.single-article > div:last-child p {
    display: none;
}
.single-article_info .tanggal {
    text-transform: capitalize;
    font-size: 10px;
}
.single-article_info,
.single-article_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.single-article h4 {
    line-height: 24px;
    font-family: var(--general-sans-600);
    text-transform: capitalize;
}
.like-comment {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: end;
}
.like-comment > div {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-family: var(--general-sans-500);
}

/*
  pembimbing dan ustadz
*/
#pembimbing-ustadz_main {
    display: none;
}
#pembimbing-ustadz_mini {
    display: flex;
    gap: 24px;
    flex-direction: column;
}
.pembimbing-ustadz_item-small {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: 1fr;
    padding: 16px;
    gap: 16px;
    box-shadow: var(--drop-shadow);
    border-radius: 24px;
}
.pembimbing-ustadz_item-small img {
    height: 72px;
    width: 72px;
    border-radius: 16px;
    object-fit: cover;
}
.pembimbing-ustadz_item-small h4 {
    line-height: 24px;
    margin-bottom: 8px;
    font-family: var(--general-sans-600);
}
.pembimbing-ustadz_item-smalls-container {
    display: flex;
    position: relative;
    height: 100%;
}
.pembimbing-ustadz_item-smalls {
    display: flex;
    gap: 24px;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition:
        opacity 50ms ease-in-out,
        transform 200ms ease-in-out,
        visibility 50ms ease-in-out;
    opacity: 0;
    visibility: hidden;
}
@keyframes op {
    0% {
        opacity: 0;
    }
    80% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.pembimbing-ustadz_item-smalls.active-pembimbing_slider {
    visibility: visible;
    transform: translateX(0);
    opacity: 1;
}
.pembimbing-ustadz_item-smalls.next {
    transform: translateX(100%) rotateY(90deg);
    opacity: 0;
    /*width: 0;*/
    visibility: hidden;
}
.pembimbing-ustadz_item-smalls.last {
    transform: translateX(-50%) rotateY(90deg);
    opacity: 0;
    visibility: hidden;
}
#pembimbing-ustadz_mini_title-arrow,
#pembimbing-ustadz_main_title-arrow > div:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#pembimbing-ustadz_mini_title-arrow {
    margin-bottom: 24px;
}
#pembimbing-ustadz_mini_title-arrow button {
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--drop-shadow);
}
#pembimbing-ustadz_mini_title-arrow h2 {
    font-family: var(--general-sans-600);
    font-size: 20px;
}
.pembimbing-ustadz_item-small .truncate-3-lines:before,
.pembimbing-ustadz_item-small .truncate-3-lines:after {
    content: '"';
}
#pembimbing-ustadz {
    padding-bottom: 40px;
    margin-bottom: 500px;
}
/*
  testimoni
*/
#testimoni {
    position: relative;
}
#testimoni h2 {
    font-family: var(--general-sans-600);
    font-size: 20px;
    line-height: 28px;
    padding-bottom: 24px;
}
#testimoni_items {
    margin-bottom: 40px;
    padding-bottom: 40px;
}
#testimoni_items .glide__slides {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    padding: 2rem 0;
}
#testimoni_items [data-glide-el="track"] {
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}
#testimoni_items .glide__slides::-webkit-scrollbar {
    display: none;
}
#testimoni_items .glide__slides::-webkit-scrollbar-track {
    display: none;
}
#testimoni_items .glide__slides::-webkit-scrollbar-thumb {
    display: none;
}
.testimoni_item {
    max-width: 340px !important;
    width: 340px;
    min-width: 340px !important;
    flex-grow: 0;
    flex-shrink: 0;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    padding: 20px;
    display: flex;
    gap: 24px;
    flex-direction: column;
    height: fit-content;
}
.testimoni_item img {
    height: 48px;
    width: 48px;
    border-radius: 999px;
    object-fit: cover;
}
.testimoni_item .truncate-5-lines:before,
.testimoni_item .truncate-5-lines:after {
    content: '"';
}
.testimoni_item-profile {
    display: flex;
    justify-content: start;
    gap: 16px;
    align-items: start;
}
.testimoni_item-profile h5 {
    font-family: var(--general-sans-600);
    line-height: 24px;
}
.testimoni_item-profile p {
    font-size: 14px;
}
#testimoni_title-button {
    padding-inline: 24px;
}
#testimoni_title-button .hide {
    display: none;
}

/*
  mitra kerja sama
*/
#mitra-kerja-sama_cointainer h2 {
    padding-bottom: 24px;
    font-family: var(--general-sans-600);
    font-size: 20px;
    line-height: 28px;
    text-align: center;
}
#mitra-kerja-sama {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, minmax(110px, 184px));
    align-items: center;
    align-content: center;
    padding-bottom: 40px;
}
.mitra-kerja-sama_item {
    justify-self: center;
    height: 100%;
    padding-inline: 20px;
    border-bottom: 1px solid #c0c3cf;
    width: 100%;
}
.mitra-kerja-sama_item:last-child {
    border-bottom: none;
}
.mitra-kerja-sama_item:nth-child(odd) {
    border-right: 1px solid #c0c3cf;
}
.mitra-kerja-sama_item:nth-child(7) {
    border-bottom: none;
}
.mitra-kerja-sama_item img {
    height: 50%;
    object-fit: scale-down;
    object-position: center;
    transform: translate(-50%, -50%);
    position: relative;
    top: 50%;
    left: 50%;
}
/*
  download apps
*/
#download-apps {
    border-radius: 24px;
    background: linear-gradient(71deg, #e82320 23.31%, #fa504d 135.49%);
    box-shadow:
        0px 0px 0px 0px rgba(239, 52, 48, 0.1),
        0px 25px 56px 0px rgba(239, 52, 48, 0.1),
        0px 102px 102px 0px rgba(239, 52, 48, 0.09),
        0px 229px 137px 0px rgba(239, 52, 48, 0.05),
        0px 407px 163px 0px rgba(239, 52, 48, 0.01),
        0px 635px 178px 0px rgba(239, 52, 48, 0);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    color: white;
    position: relative;
    overflow: hidden;
}
#download-apps:before {
    content: "";
    position: absolute;
    background-image: url("../assets/svg/vectordownload1.svg");
    background-position: bottom center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
#download-apps:after {
    content: "";
    position: absolute;
    background-image: url("../assets/svg/vectordownload2.svg");
    background-position: bottom center;
    height: 100%;
    width: 100%;
    top: 0;
    background-repeat: no-repeat;
}
#download-apps > div:first-child {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}
#download-apps > div:last-child {
    position: relative;
    z-index: 2;
}
#download-apps > div:first-child img {
    -webkit-box-shadow: 10px 10px 11px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 11px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 11px 0px rgba(0, 0, 0, 0.75);
    border-radius: 28px;
}
.download-bold {
    font-family: var(--general-sans-600);
}
#download_qr {
    display: none;
}
.download-apps_btn {
    padding: 8px 16px;
    background-color: black;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    max-width: 332px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.download-apps_btn p {
    font-size: 12px;
}
.download-apps_btn h5 {
    font-size: 20px;
}
.download-apps_btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
#download-apps h2 {
    font-family: var(--general-sans-600);
    font-size: 20px;
    line-height: 28px;
}
#download-apps > div:last-child > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
/*
  gallery pop-up
*/
#gallery_pop-up {
    transition: all 0.3s ease-in-out;
    position: fixed;
    width: 90%;
    top: 50%;
    right: -100%;
    transform: translate(50%, -50%);
    max-width: 1000px;
    margin-inline: auto;
    /*height: 98vh;*/
    height: 90vh;
    z-index: 999;
    overflow-y: scroll;
    background-color: #fff;
    /*display: none;*/
    padding: 12px;
    border-radius: 24px;
}
/*scrollbar*/
#gallery_pop-up::-webkit-scrollbar,
#preview_gallery-container > div:last-child::-webkit-scrollbar {
    width: 6px;
    height: 8px;
}
/*scroll thumb*/
#gallery_pop-up::-webkit-scrollbar-thumb,
#preview_gallery-container > div:last-child::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 0, 0.3);
    border-radius: 999px;
}
/*scroll track*/
#gallery_pop-up::-webkit-scrollbar-track,
#preview_gallery-container > div:last-child::-webkit-scrollbar-track {
    background: transparent;
    margin: 2.5rem 0;
}
#preview_gallery-container > div:last-child::-webkit-scrollbar-track {
    margin: 1rem;
}
#gallery_pop-up_container {
    column-count: 3;
    column-gap: 8px;
}
#gallery_pop-up_container .gallery-item {
    display: inline-block;
    width: 100%;
    cursor: pointer;
}
#gallery_pop-up_preview {
    /*display: grid;*/
    /*place-items: center;*/
    max-height: 400px;
    /*width: 100%;*/
    width: 0;
    /*height: 100%;*/
    height: 0;
    /* aspect-ratio: 1/1; */
    border-radius: 24px;
    border: 0 solid var(--stroke-gray);
    margin-bottom: 24px;
    overflow: hidden;
    animation: showGallery 0.1s ease-in-out;
    display: none;
}
#gallery_pop-up_preview.open {
    display: block;
    width: 100%;
    height: 100%;
}
#gallery_pop-up_preview-image_container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#preview_gallery-container:has(> #gallery_pop-up_preview.open) {
    grid-template-rows: minmax(auto, 400px) minmax(200px, 300px);
}
#preview_gallery-container:has(> #gallery_pop-up_preview.open)
    > div:last-child {
    max-height: 300px;
}
@keyframes showGallery {
    from {
        height: 0;
        width: 0;
    }
    to {
        opacity: 1;
        height: 100%;
        width: 100%;
        border: 0 solid var(--stroke-gray);
    }
}
#gallery_pop-up_preview img {
    object-fit: scale-down;
    object-position: center;
    max-width: 95%;
    border-radius: 24px;
    max-height: 95%;
}
#preview_gallery-container {
    display: grid;
    grid-template-rows: 1fr;
    gap: 16px;
}
#preview_gallery-container > div:last-child {
    max-height: unset;
    overflow-y: scroll;
    border-radius: 24px;
}

#cards-container:has(.no-package-found) {
    grid-template-columns: 1fr;
}

@media screen and (max-width: 767px) {
    .section-center:has(> #mitra-kerja-sama_cointainer) {
        max-width: 400px;
    }
}

#cards-container:has(.no-package-found) {
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    #pembimbing-ustadz {
        padding-bottom: 40px;
        margin-bottom: 400px;
    }
    #tabs-katalog-paket {
        margin-inline: 24px;
    }
    .title-button-more h2 {
        font-size: 26px;
        line-height: 40px; /* 153.846% */
    }
    .title-button-more h2 span:last-child {
        display: inline-block;
    }
    .title-gallery_mobile {
        display: none;
    }
    .title-gallery_desktop {
        display: block;
        font-size: 26px;
    }
    .section-center:has(#gallery) {
        margin-inline: 24px;
    }
    #gallery-container {
        column-gap: 16px;
    }
    #lihat-semua-artikel_desktop {
        display: flex;
        justify-content: space-between;
        font-size: 18px;
    }
    #lihat-semua-artikel_desktop a {
        font-family: var(--general-sans-600);
        color: var(--stroke-red);
        padding-left: 1rem;
        display: inline-block;
    }
    #lihat-semua-artikel {
        display: none;
    }
    .single-article_info .tanggal,
    .like-comment > div {
        font-size: 16px;
    }
    #pembimbing-ustadz_main-desc {
        bottom: -16px;
        right: -16px;
    }
    /*
    testimoni
  */
    #testimoni_title-button .hide {
        display: block;
    }
    #testimoni_title-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 24px;
        padding-inline: 0;
    }
    #testimoni_title-button > div:last-child {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: end;
    }
    #testimoni_title-button button {
        padding: 8px;
        border-radius: 12px;
        box-shadow: var(--drop-shadow);
    }
    #testimoni_items {
        margin-bottom: 72px;
    }

    /*
    mitra kerja sama
  */
    #mitra-kerja-sama {
        grid-template-columns: repeat(4, 25%);
        grid-template-rows: repeat(2, minmax(110px, 184px));
        padding-bottom: 104px;
        grid-auto-flow: column;
    }
    .mitra-kerja-sama_item:nth-child(odd) {
        border-right: 1px solid #c0c3cf;
    }
    .mitra-kerja-sama_item {
        border-bottom: none;
        border-right: 1px solid #c0c3cf;
    }
    .mitra-kerja-sama_item:nth-child(odd) {
        border-bottom: 1px solid #c0c3cf;
    }
    .mitra-kerja-sama_item:nth-child(7),
    .mitra-kerja-sama_item:nth-child(8) {
        border-right: none;
    }
    #mitra-kerja-sama_cointainer h2 {
        font-size: 38px;
        line-height: 48px;
        padding-bottom: 40px;
    }
    /*
    header slider content
    */
    #header-slider-content {
        bottom: unset;
        top: 0;
    }
    h1 {
        font-size: 40px;
        line-height: 56px; /* 140% */
        padding-bottom: 12px;
        padding-top: 27px;
    }
}

@media screen and (min-width: 1024px) {
    #pembimbing-ustadz {
        padding-bottom: 40px;
        margin-bottom: unset;
    }
    .section-center:has(.glide__arrow) {
        padding-bottom: 5rem;
    }

    .glide__arrow {
        display: block;
    }

    [data-glide-el="controls[nav]"] {
        display: none;
    }
    #tabs-katalog-paket {
        padding-inline: 24px;
        max-width: 1344px;
        margin-inline: auto;
        /* width: 100%; */
    }
    #gallery-container {
        padding-top: 48px;
        column-count: 4;
    }
    #gallery {
        max-height: 700px;
    }
    .title-artikel {
        padding-bottom: 32px;
    }
    .single-article:last-child {
        display: grid;
    }
    #pembimbing-ustadz_main {
        display: block;
        position: relative;
    }
    #pembimbing-ustadz_main-desc {
        padding: 24px;
        border-radius: 14px;
        background: linear-gradient(
            73deg,
            rgba(232, 35, 32, 0.8) 20.62%,
            rgba(250, 80, 77, 0.8) 136.74%
        );
        backdrop-filter: blur(2px);
        color: white;
        position: absolute;
        width: 368px;
        height: 185px;
        line-height: 32px;
    }
    #pembimbing-ustadz_main > div:first-child {
        width: 464px;
        height: 496px;
    }
    #pembimbing-ustadz_main img {
        border-radius: 32px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #pembimbing-ustadz_main-desc .pembimbing-ustadz_main-desc-name {
        margin-top: 16px;
        font-family: var(--general-sans-600);
    }
    #pembimbing-ustadz_main-desc .pembimbing-ustadz_main-desc-content {
        margin-top: 0px;
    }
    #pembimbing-ustadz_main-desc .pembimbing-ustadz_main-desc-content p {
        margin-top: 0px;
    }
    #pembimbing-ustadz {
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        padding-bottom: 148px;
    }
    #testimoni h2 {
        padding-bottom: 16px;
    }
    #download-apps {
        margin-bottom: 250px;
        flex-direction: row-reverse;
        padding: 40px;
    }
    #download-apps > div:first-child {
        width: fit-content;
        margin-right: 3rem;
    }
    .download-apps_btns {
        align-items: start;
    }
    .download-apps_btn {
        width: fit-content;
    }
    #download_qr {
        display: block;
        background-color: #fff;
        padding: 10px;
        border-radius: 10px;
    }
    #download_qr > div {
        margin-top: 6px;
        font-size: 10px!important;
        color: #151515;
        display: flex;
        justify-content: center;
    }
    #download-apps > div:last-child > div:last-child {
        display: flex;
        gap: 12px;
        align-items: center;
    }
    #download-apps h2 {
        font-family: var(--general-sans-600);
        font-size: 28px;
        line-height: 40px;
    }
    #download-apps h2 p {
        font-size: 18px;
    }
    #header-slider-content {
        display: block;
    }

    #gallery_pop-up_container {
        column-count: 5;
    }
    #preview_gallery-container {
        display: flex;
        flex-direction: row-reverse;
        gap: 16px;
        align-items: center;
        height: 95%;
    }
    #preview_gallery-container > div:first-child {
        width: 60%;
    }
    #preview_gallery-container > div {
        width: 100%;
    }
    #preview_gallery-container:has(> #gallery_pop-up_preview.open)
        > div:last-child {
        width: 35%;
    }
    #preview_gallery-container:has(> #gallery_pop-up_preview.open)
        > div:first-child {
        width: 60%;
    }
    #preview_gallery-container > div:last-child {
        max-height: unset;
    }
    #gallery_pop-up_preview.open + div #gallery_pop-up_container {
        column-count: 2;
    }
    #preview_gallery-container:has(> #gallery_pop-up_preview.open)
        > div:last-child {
        max-height: 700px;
    }
    #gallery_pop-up_preview {
        max-height: 100%;
    }
    #gallery_pop-up {
        height: 98vh;
    }
    h1 + p {
        display: block;
    }
    #header-slider-content .booking-btn1 {
        display: inline-flex;
    }
    #header-slider-content_search {
        display: grid;
    }
    #header-slider-content {
        padding: 32px 52px;
    }
}
@media screen and (min-width: 1280px) {
    #tabs-katalog-paket {
        margin-inline: auto;
    }
    .tab-katalog-paket_btn {
        display: flex;
        width: 236px;
        padding: 16px 24px;
        align-items: center;
        gap: 16px;
    }
    #cards-container {
        /*grid-template-rows: repeat(2, minmax(450px, auto));*/
        grid-template-columns: repeat(4, 302px);
        gap: 8px;
        justify-content: space-between;
    }
    #cards {
        overflow-y: unset;
    }
    #gallery-container {
        column-count: 5;
        border-radius: 24px;
        margin-bottom: 16px;
        box-shadow: 0px 10px 16px -6px rgba(0, 0, 0, 0.04), 0px 4px 80px -4px rgba(0, 0, 0, 0.04)
    }

    #article-container {
        display: grid;
        height: 416px;
        grid-template-areas:
            "main main sub1 sub1"
            "main main sub2 sub2"
            "main main sub3 sub3";
        grid-template-columns: repeat(4, 1fr);
        margin-bottom: 104px;
    }
    .single-article {
        /*grid-template-columns: 1fr;*/
        grid-template-rows: 1fr;
    }
    .single-article h4 {
        font-size: 18px;
    }
    .single-article:nth-child(1) {
        grid-area: main;
        grid-template-columns: 1fr;
        grid-template-rows: 226px 1fr;
    }
    .single-article:nth-child(2) {
        grid-area: sub1;
    }
    .single-article:nth-child(3) {
        grid-area: sub2;
    }
    .single-article:nth-child(4) {
        grid-area: sub3;
    }

    .single-article:nth-child(1) h4 {
        font-size: 20px;
    }
    .single-article:nth-child(1) > div:last-child {
        gap: 8px;
        justify-content: start;
    }
    .single-article:nth-child(1) .truncate-1-line {
        display: -webkit-box;
        margin-bottom: 46px;
    }
    .like-comment > div {
        font-size: 16px;
    }
    #pembimbing-ustadz_main-desc {
        bottom: -76px;
        right: 0;
    }
    h1 {
        padding-bottom: 24px;
        /*padding-top: 54px;*/
        padding-top: 24px;
    }

    #header-slider-content_search {
        display: grid;
        justify-content: space-between;
        gap: 50px;
        grid-template-columns: 1fr 170px;
        background-color: white;
        /*padding: 32px 40px;*/
        padding: 24px 32px;
        border-radius: 24px;
    }
    .cari-paket {
        border-radius: 16px;
        padding: 16px;
    }
    #header-slider-content .booking-btn1 {
        margin-bottom: 120px;
    }
    #preview_gallery-container:has(> #gallery_pop-up_preview.open)
        > div:last-child {
        max-height: 90vh;
    }
}
@media screen and (min-width: 1440px) {
    .section-center:has(.glide__arrow) {
        max-width: 1344px;
    }
    #tabs-katalog-paket {
        padding-inline: 0;
        max-width: 1344px;
        margin-inline: auto;
        padding-bottom: 48px;
    }
    #tabs-and-cards {
        margin-bottom: 56px;
    }
    h1 {
        font-size: 48px;
        line-height: 48px;
        padding-top: 54px;
    }
    h1 + p {
        margin-bottom: 54px;
        font-size: 24px;
    }
    #header-slider-content .booking-btn1 {
        margin-bottom: 132px;
    }
    #header-slider-content {
        width: 98%;
        left: 1%;
    }
}
