.sosyal-ilan-gutenberg-block,
.sosyal-ilan-shortcode,
.sosyal-ilan-elementor,
.sosyal-ilan-page,
.sosyal-ilan-detail-page {
    margin: 0;
    font-family: inherit;
    padding-bottom: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sosyal-ilan-page,
.sosyal-ilan-detail-page {
    background: transparent;
}

.person-info-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.person-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    border-radius: 8px;
}

.person-details-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #333;
    min-width: 140px;
    margin-right: 20px;
}

.detail-row span {
    color: #555;
    flex: 1;
}

.taziye-section {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.taziye-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid #666;
    padding-bottom: 10px;
}

.taziye-content {
    line-height: 1.6;
    color: #555;
    font-size: 1.1em;
}

.vefat-ilan-section {
    margin-bottom: 40px;
}

.vefat-ilan-section h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
    font-weight: 600;
}

.vefat-ilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.vefat-ilan-item {
    border: 1px solid #000;
    background: white;
    overflow: hidden;
}

.vefat-ilan-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
}

.vefat-ilan-image:hover {
    transform: scale(1.02);
}

.vefat-ilan-placeholder {
    border: 3px solid #000;
    background: white;
    padding: 0;
}

.vefat-ilan-content {
    padding: 30px;
}

.vefat-ilan-header {
    text-align: center;
    margin-bottom: 30px;
}

.vefat-ilan-header h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.vefat-ilan-header p {
    font-size: 1.1em;
    color: #555;
    margin: 5px 0;
}

.vefat-ilan-header h4 {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
    text-transform: uppercase;
}

.vefat-ilan-body {
    margin-bottom: 30px;
    text-align: left;
}

.vefat-ilan-body p {
    color: #555;
    margin: 10px 0;
    line-height: 1.6;
}

.funeral-info {
    text-align: center !important;
    font-weight: 500;
    margin: 15px 0 !important;
}

.prayer-text {
    text-align: center !important;
    font-weight: 500;
    margin: 15px 0 !important;
}

.vefat-ilan-footer {
    text-align: center;
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.vefat-ilan-footer h5 {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.note-text {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.divider {
    font-size: 1.5em;
    color: #333;
    text-align: center;
    margin-top: 15px;
}

.bassagli-ilanlari-section {
    margin-bottom: 40px;
}

.bassagli-ilanlari-section h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
    font-weight: 600;
}

.bassagli-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.bassagli-card {
    border: 1px solid #000;
    background: white;
    overflow: hidden;
}

.bassagli-card img,
.bassagli-ilan-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.bassagli-card img:hover,
.bassagli-ilan-image:hover {
    transform: scale(1.02);
}

.placeholder-card {
    padding: 15px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header h4 {
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-content p {
    font-size: 0.8em;
    color: #555;
    line-height: 1.4;
    margin: 10px 0;
    flex-grow: 1;
}

.card-footer span {
    font-size: 0.7em;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.detail-actions {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 40px;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #666;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #555;
    color: white;
    text-decoration: none;
}


.sosyal-ilan-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.nav-btn {
    padding: 15px 25px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-bottom: none;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-btn:hover,
.nav-btn.active {
    background: #666;
    color: white;
    border-color: #666;
}

.sosyal-ilan-carousel-container {
    position: relative;
    overflow: hidden;
}

.sosyal-ilan-cards-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.sosyal-ilan-cards {
    display: flex;
    gap: 20px;
    min-width: 100%;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-prev,
.carousel-next {
    padding: 10px 15px;
    background: #666;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #555;
}

@media (max-width: 768px) {
    .person-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-header h1 {
        font-size: 2em;
    }

    .ilan-grid {
        grid-template-columns: 1fr;
    }

    .sosyal-ilan-nav-buttons {
        flex-wrap: wrap;
    }

    .nav-btn {
        flex: 1;
        text-align: center;
    }

    .bassagli-cards-grid {
        grid-template-columns: 1fr;
    }

    .vefat-ilan-box {
        margin: 0 10px;
    }

    .vefat-ilan-content {
        padding: 20px;
    }

    .vefat-ilan-header h4 {
        font-size: 1.5em;
    }

    .vefat-ilan-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 10px;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

.breadcrumb-section {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-link,
.breadcrumb-current {
    display: inline-block;
    padding: 6px 12px 6px 8px;
    color: #374151;
    text-decoration: none;
    position: relative;
    background: #ffffff;
    margin-right: 3px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
    transition: all 0.2s ease;
}

.breadcrumb-link:first-child {
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    padding-left: 12px;
}

.breadcrumb-link:hover {
    background: #f5f5f5;
    color: #666;
}

.breadcrumb-current {
    background: #666;
    color: white;
    font-weight: 600;
    padding: 15px;
}

.breadcrumb-separator {
    display: none;
}

.page-header {
    background: transparent;
    padding: 20px 0 0 0;
    border: none;
    position: relative;
}

.page-title {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    background: #666;
    padding: 12px 25px 12px 15px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
}

.page-title::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    height: 3px;
    background: #666;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.page-filters {
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 2px solid #f1f3f4;
    margin-bottom: 25px;
}

.no-results-message {
    padding: 40px 0;
}

.no-results-banner {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px 20px;
    text-align: center;
    color: #666;
    font-weight: 500;
}

.no-results-banner p {
    margin: 0;
    font-size: 1.1em;
}

.filter-group {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.page-size-filter {
    position: relative;
}

.page-size-select {
    background: white;
    border: 1px solid #666;
    padding: 8px 30px 8px 12px;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    min-width: 150px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    cursor: pointer;
}

.page-size-select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.25);
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-icon {
    font-size: 18px;
}

.date-input {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 4px;
    color: #6c757d;
    font-size: 14px;
    min-width: 150px;
}

.location-filter {
    position: relative;
}

.location-select {
    background: white;
    border: 1px solid #666;
    padding: 8px 30px 8px 12px;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    min-width: 200px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.location-select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.25);
}

.ilan-description {
    margin: 0 0 18px 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    max-height: 80px;
    overflow: hidden;
}

.no-results-message {
    padding: 20px;
    text-align: center;
}

.no-results-banner {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.sosyal-ilan-nav,
.page-nav,
.detail-nav {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.nav-btn {
    background: white;
    color: #666;
    padding: 10px 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: #f8f9fa;
    color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-btn.active {
    background: #f8f9fa;
    color: #333;
    border-color: #333;
}

.sosyal-ilan-carousel {
    margin-top: 20px;
}

.ilans-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    width: max-content;
}



.sosyal-ilan-carousel {
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 400px;
    padding: 0 60px;
    box-sizing: border-box;
}

.ilans-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    width: max-content;
    padding: 0;
    margin: 0;
    max-width: calc(100% - 120px);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-prev {
    left: 10px;
    z-index: 20;
}

.carousel-next {
    right: 10px;
    z-index: 20;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.ilan-card {
    flex: 0 0 280px;
    width: auto;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
}

.ilan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Üst Kısım - Beyaz Arkaplan */
.ilan-top-section {
    background: white;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.ilan-top-section h3 {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.taziye-duyurusu {
    font-size: 12px;
    color: #999;
    margin: 0;
    font-weight: 500;
}

/* Orta Kısım - Gri Arkaplan */
.ilan-middle-section {
    background: #666;
    padding: 20px;
    text-align: center;
    color: white;
}

.ilan-middle-section .ilan-image {
    text-align: center;
    margin: 0 auto 15px auto;
    width: 80px;
    height: 80px;
}

.ilan-middle-section .ilan-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}

.ilan-middle-section .ilan-image div {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #bdc3c7;
    margin: 0 auto;
}

.ilan-middle-section .ilan-description {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: white;
    line-height: 1.4;
    text-align: center;
}

.detaylar-goster {
    font-size: 12px;
    color: white;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* Alt Kısım - Beyaz Arkaplan */
.ilan-bottom-section {
    background: white;
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.ilan-bottom-section .ilan-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.vefat-btn-disabled {
    background: #ccc;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid #bbb;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.vefat-btn-disabled:hover {
    background: #bbb;
    color: #555;
}

.bassagli-btn-light {
    background: #e9ecef;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ddd;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.bassagli-btn-light:hover {
    background: #f8f9fa;
    color: #333;
}

.anma-btn-light {
    background: #777;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid #666;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.anma-btn-light:hover {
    background: #666;
    color: white;
}

.tesekkur-btn-light {
    background: #999;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 1px solid #888;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.tesekkur-btn-light:hover {
    background: #888;
    color: white;
}



.detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.person-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.person-image {
    flex-shrink: 0;
}

.person-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.placeholder-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #999;
}

.person-details h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.taziye-detay {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.ilan-section {
    margin-bottom: 40px;
}

.ilan-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.ilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ilan-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.ilan-item:hover {
    transform: translateY(-2px);
}

.ilan-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ilan-item img:hover {
    transform: scale(1.02);
}

.ilan-details {
    padding: 15px;
}

.ilan-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.ilan-veren {
    font-weight: 600;
    color: #333;
}

.ilan-kurum {
    color: #555;
}

.ilan-tarih {
    color: #777;
    font-style: italic;
}

.ilan-info {
    padding: 15px;
}

.ilan-info p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.ilan-veren {
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #888 !important;
    font-style: italic;
}

.detail-actions {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

.back-btn {
    background: #666;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Tekil İlan Detay Sayfası */
.specific-ilan-detail {
    max-width: 800px;
    margin: 0 auto;
}

.ilan-card-large {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.ilan-image-large {
    text-align: center;
    margin-bottom: 20px;
}

.ilan-image-large img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.placeholder-large {
    font-size: 4em;
    color: #ccc;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
}

.ilan-description-large {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ilan-description-large p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 1.1em;
}

.ilan-info-large {
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.ilan-info-large .ilan-date,
.ilan-info-large .ilan-size {
    margin: 5px 0;
    color: #666;
    font-weight: 500;
}

.firma-bilgi {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
}

.sosyal-ilan-page-list {
    margin: 20px 0;
}

.ilans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Sayfa boyutuna göre grid düzeni */
.ilans-grid.grid-quarter {
    grid-template-columns: repeat(4, 1fr);
}

.ilans-grid.grid-half {
    grid-template-columns: repeat(2, 1fr);
}

.ilans-grid.grid-full {
    grid-template-columns: 1fr;
}

.ilans-grid.grid-quarter .ilan-card,
.ilans-grid.grid-half .ilan-card,
.ilans-grid.grid-full .ilan-card {
    width: 100%;
    height: auto;
}

.ilans-grid.grid-quarter .ilan-image,
.ilans-grid.grid-half .ilan-image,
.ilans-grid.grid-full .ilan-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ilans-grid.grid-quarter .ilan-image img,
.ilans-grid.grid-half .ilan-image img,
.ilans-grid.grid-full .ilan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Resim görünümü */
.ilans-grid.image-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

/* Sayfa boyutuna göre resim grid düzeni */
.ilans-grid.image-view.grid-quarter {
    grid-template-columns: repeat(4, 1fr) !important;
}

.ilans-grid.image-view.grid-half {
    grid-template-columns: repeat(2, 1fr) !important;
}

.ilans-grid.image-view.grid-full {
    grid-template-columns: 1fr !important;
}

.image-card {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.image-card img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    display: block;
}

.image-card .placeholder-image {
    width: 100%;
    height: 250px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #999;
}

/* Resim Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.image-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.image-modal-close:hover {
    color: #ccc;
}

/* Tablo Görünümü */
.table-view-container {
    margin: 20px 0;
    overflow-x: auto;
}

.ilans-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.ilans-table thead {
    background-color: #f8f9fa;
}

.ilans-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
}

.ilans-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #555;
}

.ilans-table tbody tr:hover {
    background-color: #f8f9fa;
}

.ilans-table tbody tr:last-child td {
    border-bottom: none;
}

/* Tablo Sütunları */
.ilan-info .ilan-date {
    width: 100% !important;
    font-weight: 500;
}

/* Tablo Sütunları */
.ilan-date {
    width: 12%;
    font-weight: 500;
}

.ilan-konu {
    width: 18%;
    font-weight: 500;
}

.ilan-kisi {
    width: 20%;
    font-weight: 500;
}

.ilan-sehir {
    width: 15%;
}

.ilan-veren {
    width: 20%;
}

.ilan-gor {
    width: 15%;
    text-align: revert;
}

/* İlanı Gör Butonu */
.view-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.view-btn:hover {
    background-color: #555;
    transform: scale(1.1);
}

.view-icon {
    font-weight: bold;
}

@media (max-width: 768px) {
    .sosyal-ilan-nav,
    .page-nav,
    .detail-nav {
        flex-direction: column;
    }
    
    .ilans-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ilan-card-page .ilan-image {
        height: 150px;
    }
    
    .ilan-card-page .ilan-buttons {
        flex-direction: column;
    }
    
    .vefat-ilan-grid,
    .bassagligi-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .page-title {
        font-size: 18px;
        padding: 10px 20px 10px 12px;
    }
    
    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 2px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 12px;
        padding: 5px 10px 5px 6px;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 15px;
    }

    .date-input,
    .location-select,
    .page-size-select {
        width: 100%;
        min-width: auto;
    }
    
    .ilan-description {
        max-height: none;
    }
    
    .ilans-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ilan-card {
        padding: 15px;
        width: 280px;
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .ilan-buttons {
        flex-direction: column;
    }
    
    .ilan-buttons button,
    .ilan-buttons a {
        width: 100%;
    }
    
    .person-info {
        flex-direction: column;
        text-align: center;
    }
    
    .person-image img,
    .placeholder-image {
        width: 120px;
        height: 120px;
    }
    
    .person-details h2 {
        font-size: 24px;
    }
    
    .ilan-grid {
        grid-template-columns: 1fr;
    }
    
    .sosyal-ilan-carousel {
        padding: 0 50px;
    }
    
    .ilans-container {
        max-width: calc(100% - 100px);
    }
}

@media (max-width: 480px) {
    .sosyal-ilan-gutenberg-block,
    .sosyal-ilan-shortcode,
    .sosyal-ilan-elementor {
        margin: 20px 0;
    }
    
    .ilan-image img,
    .ilan-image div {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .ilan-content h3 {
        font-size: 16px;
    }
    
    .ilan-content div {
        font-size: 13px;
    }
    
    .ilan-card {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        flex: 0 0 280px;
        padding: 10px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .sosyal-ilan-carousel {
        padding: 0 50px;
    }
    
    .ilans-container {
        max-width: calc(100% - 80px);
    }
}

/* Page Filters - Taziyeler sayfasındaki gibi */
.page-filters {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.page-filters .filter-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.page-size-filter, .date-filter, .location-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-size-select, .location-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    min-width: 150px;
    cursor: pointer;
}

.page-size-select:focus, .location-select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.date-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
}

.date-input:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.calendar-icon {
    font-size: 16px;
    color: #666;
}

/* Grid Layout Adjustments */
.ilan-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.ilan-grid[style*="repeat(2, 1fr)"] {
    grid-template-columns: repeat(2, 1fr);
}

.ilan-grid[style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(4, 1fr);
}

.ilan-grid[style*="1fr"] {
    grid-template-columns: 1fr;
}

/* İlan Item Styles */
.ilan-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ilan-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ilan-item img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.ilan-details {
    padding: 15px;
}

.ilan-details p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.ilan-details strong {
    color: #333;
    font-weight: 600;
}

.ilan-veren, .ilan-kurum, .ilan-tarih, .ilan-boyut {
    color: #666;
}

.ilan-description {
    color: #333;
    font-style: italic;
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
    .page-filters .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .page-size-filter, .date-filter, .location-filter {
        width: 100%;
        justify-content: center;
    }
    
    .page-size-select, .location-select, .date-input {
        width: 100%;
        min-width: auto;
    }
    
    .ilan-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .page-filters {
        padding: 15px 0;
    }
    
    .ilan-item img {
        height: 150px;
    }
    
    .ilan-details {
        padding: 12px;
    }
}

/* İlan bulunamadı mesajı */
.no-results-message {
    margin: 20px 0;
}

.no-results-banner {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
}

.no-results-banner p {
    margin: 0;
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.detaylar-goster a{
    text-decoration: none;
    color: white;
}