/* ==================== GLIGHTBOX ==================== */

/* Оверлей */
.goverlay {
    background: rgba(11, 43, 59, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Описание слайда */
.gslide-description {
    background: rgba(11, 43, 59, 0.9) !important;
    padding: 16px 20px !important;
}

.gslide-description .gslide-title {
    color: #ffffff !important;
    font-family: "Inter", sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.gslide-description .gslide-desc {
    color: #cddfe8 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.9rem !important;
}

/* Кнопки prev/next */
.gbtn.gnext,
.gbtn.gprev {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(4px);
}

.gbtn.gnext:hover,
.gbtn.gprev:hover {
    background: #f3b33d !important;
    border-color: #f3b33d !important;
    transform: scale(1.1);
}

.gbtn.gnext svg,
.gbtn.gprev svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
}

.gbtn.gnext:hover svg,
.gbtn.gprev:hover svg {
    stroke: #0b2b3b !important;
}

/* Кнопка закрытия */
.gclose.gbtn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    top: 20px !important;
    right: 20px !important;
    transition: all 0.3s ease !important;
}

.gclose.gbtn:hover {
    background: #f3b33d !important;
    border-color: #f3b33d !important;
    transform: rotate(90deg) !important;
}

.gclose.gbtn svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #ffffff !important;
}

.gclose.gbtn:hover svg {
    stroke: #0b2b3b !important;
}

/* Счётчик */
.gslide-number {
    color: #ffffff !important;
    background: rgba(11, 43, 59, 0.8) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    bottom: 20px !important;
    right: 20px !important;
}

.gslide-number .current {
    color: #f3b33d !important;
    font-weight: 700 !important;
}

/* Курсор при наведении на кликабельную картинку */
a.glightbox img {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.glightbox:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(243, 179, 61, 0.25);
}

/* Иконка увеличения в углу */
a.glightbox {
    position: relative;
    display: inline-block;
}

a.glightbox::after {
    content: "⛶";
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(11, 43, 59, 0.8);
    color: #f3b33d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

a.glightbox:hover::after {
    opacity: 1;
}

/* ==================== БЕЛЫЙ ФОН В GLIGHTBOX ==================== */

/* Изображение внутри лайтбокса */
.gslide-image img {
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Описание под картинкой */
.gslide-description {
    background: #ffffff !important;
    color: #1e293b !important;
    border-radius: 0 0 8px 8px;
}

.gslide-description .gslide-title {
    color: #0b2b3b !important;
}

.gslide-description .gslide-desc {
    color: #475569 !important;
}

/* ==================== СКРЫВАЕМ ПОДПИСЬ В GLIGHTBOX ==================== */
.gslide-description {
    display: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .gbtn.gnext,
    .gbtn.gprev {
        width: 42px !important;
        height: 42px !important;
    }
    .gclose.gbtn {
        width: 38px !important;
        height: 38px !important;
        top: 10px !important;
        right: 10px !important;
    }
    a.glightbox::after {
        width: 28px;
        height: 28px;
        font-size: 14px;
        bottom: 6px;
        right: 6px;
    }
}

