/* MAIN IMAGE */
.main-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* SIDEBAR */
.gallery-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-item img.small-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

/* ================= SIDEBAR RIGHT ================= */
/* ================= SIDEBAR RIGHT ================= */
.sidebar-box {
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ================= WHY CHOOSE ================= */
.sidebar-box h4 {
    color: #dc3545;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("/img/check.png");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ================= SUPPORT 24/7 ================= */
.support-box {
    border: 2px solid #dc3545;
    border-radius: 12px;
    background: #fff;
}

.support-title {
    color: #dc3545;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.support-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
}

.support-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-phone {
    font-size: 20px;
    font-weight: 700;
    color: #0a6847;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .sidebar-box {
        margin-top: 20px;
    }
}

/* EDIT BTN*/
.edit-btn img {
    width: 32px;
    cursor: pointer;
    transition: 0.2s;
}

.edit-btn img:hover {
    transform: scale(1.1);
}

.blog-meta-footer {
    line-height: 1.8;
}
/* DELETE BTN */
.delete-btn img {
    width: 32px;
    cursor: pointer;
    transition: 0.2s;
    filter: grayscale(100%);
}

.delete-btn img:hover {
    transform: scale(1.1);
    filter: none;
}
/* ===== GALLERY GRID ===== */
.gallery-item {
    cursor: pointer;
}

.more-overlay {
    pointer-events: none;
}

/* ===== MODAL GALLERY ===== */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

#galleryMainImg {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    margin-bottom: 12px;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbs .thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
}

.gallery-thumbs .thumb:hover {
    opacity: 1;
}
