#mam-lb {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 20, .94);
    z-index: 99999;
}

#mam-lb.open {
    display: flex;
}

#mam-lb img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}

#mam-lb button {
    position: absolute;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

#mam-lb button:hover {
    background: rgba(255, 255, 255, .25);
}

#mam-lb .lb-close {
    top: 20px;
    right: 20px;
    font-size: 30px;
}

#mam-lb .lb-prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

#mam-lb .lb-next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#mam-lb .lb-count {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    color: #ddd;
    font-size: 14px;
    text-align: center;
}

.iCaseBtmBx p.mam-lead {
    margin-bottom: 26px !important;
    color: #1b1f24 !important;
    font-size: 22px !important;
    line-height: 1.45 !important;
}

.iCaseBtmBx h2.mam-h,
.iCaseBtmBx h3.mam-h {
    margin: 42px 0 16px;
    color: #1b1f24;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}

.iCaseBtmBx h2.mam-h::after,
.iCaseBtmBx h3.mam-h::after {
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 10px;
    background: #318cdd;
    content: "";
}

.iCaseBtmBx ul.mam-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px 28px;
    margin: 4px 0 24px;
    padding: 0;
    list-style: none;
}

.iCaseBtmBx ul.mam-list li {
    position: relative;
    margin: 0;
    padding-left: 30px;
    color: #3d434a;
    font-size: 16px;
    line-height: 1.5;
    list-style: none !important;
}

.iCaseBtmBx ul.mam-list li::before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #318cdd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
    content: "";
}

html.mam-b .content-gallery-layout:has(.content-gallery-media) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

html.mam-b .content-gallery-layout:has(.content-gallery-media)::before,
html.mam-b .content-gallery-layout:has(.content-gallery-media)::after {
    display: none !important;
}

html.mam-b .content-gallery-layout:has(.content-gallery-media) > .iCaseBtmBx {
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.mam-b .content-gallery-layout > .content-gallery-media {
    position: sticky;
    top: 100px;
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.mam-b .slider-for2 .inCaseGMmain img.gallery-img {
    height: auto !important;
    aspect-ratio: 4 / 3;
}

.slider-for2 .inCaseGMmain {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #1b1f24;
}

.slider-for2 .inCaseGMmain img.gallery-img {
    width: 100% !important;
    border-radius: 0 !important;
    background: #1b1f24;
    object-fit: contain !important;
    cursor: zoom-in;
}

.slider-for2 .inCaseGMmain::after {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    content: "\2922  Click to enlarge";
    font-size: 13px;
    pointer-events: none;
}

.slider-for2 .slick-arrow {
    z-index: 5;
}

.slider-nav2 {
    margin-top: 14px;
}

.slider-nav2 .slick-slide {
    opacity: .55;
    transition: opacity .2s;
    cursor: pointer;
}

.slider-nav2 .slick-current,
.slider-nav2 .slick-slide:hover {
    opacity: 1;
}

.slider-nav2 .slick-current img {
    outline: 3px solid #318cdd;
    outline-offset: -3px;
}

@media (max-width: 991px) {
    html.mam-b .content-gallery-layout:has(.content-gallery-media) {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    html.mam-b .content-gallery-layout > .content-gallery-media {
        position: static;
        grid-column: 1;
        grid-row: 1;
    }

    html.mam-b .content-gallery-layout:has(.content-gallery-media) > .iCaseBtmBx {
        grid-row: 2;
    }
}

@media (max-width: 767px) {
    .iCaseBtmBx p.mam-lead {
        font-size: 19px !important;
    }

    .iCaseBtmBx h2.mam-h,
    .iCaseBtmBx h3.mam-h {
        font-size: 21px;
    }
}
