/* --- FİLTRELEME ALANI --- */
.swonie-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding-bottom: 40px; 
}
.filter-dropdown-wrapper {
    position: relative;
    flex-grow: 1;
    min-width: 180px;
}
.filter-dropdown-wrapper::after { 
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 7px;
    height: 7px;
    border: solid #555;
    border-width: 0 2px 2px 0;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

.swonie-gallery-filter {
    width: 100%;
    padding: 0 40px 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 15px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    height: 48px;
}
.swonie-gallery-filter:hover {
    border-color: #aaa;
}

.swonie-filter-reset {
    padding: 0 25px;
    border: 1px solid #1E448C;
    border-radius: 4px;
    background-color: #1E448C;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.swonie-filter-reset:hover {
    background-color: #142e5f;
}

/* --- GALERİ ALANI (FLEXBOX) --- */
.swonie-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}
.swonie-gallery-item {
    box-sizing: border-box;
    padding: 15px;
    transition: opacity 0.35s ease-in-out;
}
.swonie-gallery-item .item-content-wrapper { 
    position: relative; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    width: 100%; 
    height: 100%; 
    display: flex;
    flex-direction: column;
}
.swonie-gallery-item img { 
    display: block; 
    width: 100%;
}
.elementor-widget-ozel_filtreli_galeri.ozel-galeri-aspect-original .item-content-wrapper img { height: auto; }
.elementor-widget-ozel_filtreli_galeri.ozel-galeri-aspect-square .item-content-wrapper img { aspect-ratio: 1 / 1; object-fit: cover; }
.elementor-widget-ozel_filtreli_galeri.ozel-galeri-aspect-landscape .item-content-wrapper img { aspect-ratio: 16 / 9; object-fit: cover; }
.elementor-widget-ozel_filtreli_galeri.ozel-galeri-aspect-portrait .item-content-wrapper img { aspect-ratio: 4 / 5; object-fit: cover; }

.swonie-gallery-item .item-info { 
    padding: 30px 25px 25px;
    text-align: left; 
}
.swonie-gallery-item .item-info .item-title { font-size: 1.1em; font-weight: bold; line-height: 1.3; margin: 0 0 8px 0; color: #1E448C; }
.swonie-gallery-item .item-info .item-description { font-size: 0.9em; line-height: 1.5; margin: 0; color: #1E448C; }


/* --- YENİ EKLENEN VE SORUNU ÇÖZEN KURAL --- */
/* Hover (üzerine gelme) efektini, nereden gelirse gelsin zorla kapatır. */
.swonie-gallery-item .item-content-wrapper:hover img {
    transform: none !important;
}

/* --- PROJE BULUNAMADI MESAJI --- */
.swonie-no-results {
    display: none; /* Başlangıçta gizli */
    text-align: center;
    padding: 40px 15px;
    color: #555;
    font-size: 1.1em;
    width: 100%;
}