.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 var(--wp-admin-theme-color, #007cba);
    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: var(--wp-admin-theme-color, #007cba);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
}

.back-btn:hover {
    background: var(--wp-admin-theme-color-darker, #005a87);
    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: var(--wp-admin-theme-color, #007cba);
    color: white;
    border-color: var(--wp-admin-theme-color, #007cba);
}

.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: var(--wp-admin-theme-color, #007cba);
    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: var(--wp-admin-theme-color-darker, #005a87);
}

@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: #e3f2fd;
    color: var(--wp-admin-theme-color, #007cba);
}

.breadcrumb-current {
    background: var(--wp-admin-theme-color, #007cba);
    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: var(--wp-admin-theme-color, #007cba);
    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: var(--wp-admin-theme-color, #007cba);
    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: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px 20px;
    text-align: center;
    color: #856404;
    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;
}

.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 #dc3545;
    padding: 8px 30px 8px 12px;
    border-radius: 4px;
    color: #dc3545;
    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: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.ilan-description {
    margin: 0 0 18px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: center;
    max-height: 60px;
    overflow: hidden;
}

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

.no-results-banner {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 20px;
    color: #856404;
    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: #4a4a4a;
    color: white;
    padding: 10px 20px;
    border: none;
    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 {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-btn.active {
    background: #007cba;
}

.nav-btn:nth-child(2) {
    background: #d32f2f;
}

.nav-btn:nth-child(3) {
    background: #9e9e9e;
}

.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: 280px;
    border: none;
    padding: 25px 20px 20px 20px;
    border-radius: 15px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    box-sizing: border-box;
}

.ilan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

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

.ilan-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
}

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

.ilan-content h3 {
    margin: 0 0 8px 0;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ilan-organization {
    font-size: 12px;
    color: #bdc3c7;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: center;
}

.ilan-content div,
.ilan-description {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #ecf0f1;
    line-height: 1.4;
    text-align: center;
    opacity: 0.9;
}

.ilan-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.ilan-buttons button,
.ilan-buttons a {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.ilan-buttons button:hover,
.ilan-buttons a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.detay-btn {
    background: rgba(0, 124, 186, 0.8) !important;
    border-color: rgba(0, 124, 186, 0.5) !important;
}

.detay-btn:hover {
    background: rgba(0, 124, 186, 1) !important;
}

.vefat-btn {
    background: rgba(220, 53, 69, 0.8) !important;
    border-color: rgba(220, 53, 69, 0.5) !important;
}

.vefat-btn:hover {
    background: rgba(220, 53, 69, 1) !important;
}

.bassagli-btn {
    background: rgba(40, 167, 69, 0.8) !important;
    border-color: rgba(40, 167, 69, 0.5) !important;
}

.bassagli-btn:hover {
    background: rgba(40, 167, 69, 1) !important;
}

.ilan-buttons button:nth-child(2),
.ilan-buttons a:nth-child(2) {
    background: #28a745;
}

.ilan-buttons button:nth-child(3),
.ilan-buttons a:nth-child(3) {
    background: #6c757d;
}

.ilan-buttons button:nth-child(4),
.ilan-buttons a:nth-child(4) {
    background: #ffc107;
    color: #212529;
}

.ilan-buttons button:nth-child(5),
.ilan-buttons a:nth-child(5) {
    background: #17a2b8;
}

.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);
}

.ilan-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.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: #6c757d;
    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: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.sosyal-ilan-error {
    background: #ffebee;
    padding: 20px;
    border: 1px solid #f44336;
    border-radius: 4px;
    color: #c62828;
    text-align: center;
    margin: 20px 0;
}

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

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

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

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

.ilan-card-page .ilan-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ilan-card-page .ilan-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ilan-card-page .no-image {
    font-size: 48px;
    color: #ccc;
}

.ilan-card-page .ilan-content {
    padding: 15px;
}

.ilan-card-page .ilan-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.ilan-card-page .ilan-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 40px;
}

.ilan-card-page .ilan-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ilan-card-page .ilan-buttons a {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
}

.ilan-card-page .detay-btn {
    background: #007cba;
    color: white;
}

.ilan-card-page .detay-btn:hover {
    background: #005a87;
}

.ilan-card-page .vefat-btn {
    background: #dc3545;
    color: white;
}

.ilan-card-page .vefat-btn:hover {
    background: #c82333;
}

.ilan-card-page .bassagli-btn {
    background: #28a745;
    color: white;
}

.ilan-card-page .bassagli-btn:hover {
    background: #218838;
}

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

.vefat-ilan-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.vefat-ilan-image {
    width: 100%;
    height: auto;
    display: block;
}

.vefat-ilan-placeholder {
    background: white;
    border: 2px solid #333;
    padding: 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vefat-ilan-header h4 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
}

.vefat-ilan-body h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.vefat-ilan-footer h5 {
    font-size: 12px;
    font-weight: bold;
    margin: 15px 0 0 0;
    color: #333;
}

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

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

.bassagligi-card:hover {
    transform: translateY(-2px);
}

.bassagligi-image {
    width: 100%;
    height: auto;
    display: block;
}

.bassagligi-placeholder {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bassagligi-header h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
}

.bassagligi-body h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.bassagligi-footer p {
    font-size: 12px;
    margin: 15px 0 0 0;
    color: #666;
}

@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 {
        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);
    }
}

