/* --- GALERİ ANA YAPI --- */
.photogallery {
    position: relative;
    transition: opacity 0.3s ease;
}

.photogallery.loading {
    opacity: 0.5;
    pointer-events: none;
}

.photogallery ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* Widget ayarları buraya inline olarak gap ve width yazar */
}

.photogallery li {
    box-sizing: border-box;
}

/* --- GÖRSEL KUTUSU --- */
.vbox-item {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%; /* Widget yüksekliği buraya gelir */
    width: 100%;
}

/* GÖRSEL OTURMA SORUNU ÇÖZÜMÜ */
.vbox-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Ne olursa olsun doldur */
    display: block;
    transition: all 0.5s ease;
}

.vbox-item:hover img {
    transform: scale(1.1);
}

/* --- OVERLAY VE PLUS İKONU (ORİJİNAL) --- */
.plus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    background-color: rgba(0,0,0,0.5); /* Widget'tan değişir */
    z-index: 2;
}

.vbox-item:hover .plus {
    opacity: 1;
}

/* SVG Daire Ayarları */
.plus svg {
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
    display: block;
}

.plus svg circle {
    stroke: #fff; /* Widget'tan değişir */
    stroke-width: 2;
    fill: transparent;
    stroke-dasharray: 302; /* 2 * pi * 48 */
    stroke-dashoffset: 302; /* Başlangıç */
    transition: stroke-dashoffset 0.6s ease;
}

.vbox-item:hover .plus svg circle {
    stroke-dashoffset: 0; /* Bitiş */
}

/* Artı İşareti */
.plus .line1, 
.plus .line2 {
    position: absolute;
    background-color: #fff; /* Widget'tan değişir */
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus .line1 {
    width: 30px;
    height: 2px;
}

.plus .line2 {
    width: 2px;
    height: 30px;
}

/* --- PAGINATION --- */
.talx-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.talx-pagination a, 
.talx-pagination span {
    padding: 8px 14px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.talx-pagination .current, 
.talx-pagination a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}