/* Önemli Yerler — kompakt liste (navbar/footer hariç) */
body.kp-site section.oy-hero.hero-header {
    height: auto !important;
    min-height: 300px !important;
    max-height: none !important;
    padding: 6.4rem 1rem 2.6rem !important;
    margin-bottom: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    body.kp-site section.oy-hero.hero-header {
        height: auto !important;
        min-height: 230px !important;
        max-height: none !important;
        padding: 5.4rem 0.85rem 2rem !important;
    }
}

.oy-hero .oy-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.oy-hero h1,
.oy-hero .kp-hero-title {
    font-size: clamp(1.7rem, 2.6vw, 2.25rem) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem !important;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    padding: 0 0.4rem;
    word-break: break-word;
}

.oy-hero .breadcrumb {
    margin: 0 auto !important;
    font-size: 0.82rem;
    max-width: 100%;
    justify-content: center;
}

.oy-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.15rem 1rem 2.5rem;
}

.oy-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.oy-toolbar h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1f24;
    margin: 0;
    letter-spacing: -0.02em;
}

.oy-toolbar h2 i {
    color: #1b7a57;
    margin-right: 0.35rem;
}

.oy-count {
    display: inline-block;
    margin-left: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0e4633;
    background: rgba(27, 122, 87, 0.12);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    vertical-align: middle;
}

.oy-add {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.48rem 0.9rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(27, 122, 87, 0.28);
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.oy-add:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(27, 122, 87, 0.36);
}

.oy-search-bar {
    margin-bottom: 0.85rem;
}

.oy-search-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.45rem;
    align-items: stretch;
}

.oy-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.oy-search-input i {
    position: absolute;
    left: 0.75rem;
    color: #1b7a57;
    font-size: 0.85rem;
    pointer-events: none;
}

.oy-search-input input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0.55rem 0.75rem 0.55rem 2.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1f24;
    outline: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.oy-search-input input:focus {
    border-color: rgba(27, 122, 87, 0.45);
    box-shadow: 0 0 0 3px rgba(27, 122, 87, 0.12);
}

.oy-search-select,
.oy-search-btn {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 700;
    color: #3a4450;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.oy-search-select {
    min-width: 7.5rem;
    padding: 0.55rem 0.7rem;
}

.oy-search-btn {
    width: 2.6rem;
    color: #fff;
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    border: none;
}

.oy-search-btn:hover {
    filter: brightness(1.03);
}

.oy-search-row--firma {
    grid-template-columns: minmax(9.5rem, 0.95fr) 1.4fr auto auto;
}

.oy-search-cat {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .oy-search-row--firma {
        grid-template-columns: 1fr auto;
    }

    .oy-search-row--firma .oy-search-cat {
        grid-column: 1 / -1;
    }

    .oy-search-row--firma .oy-search-input {
        grid-column: 1 / 2;
    }

    .oy-search-row--firma .oy-search-select:not(.oy-search-cat) {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .oy-search-row:not(.oy-search-row--firma) {
        grid-template-columns: 1fr auto;
    }

    .oy-search-row:not(.oy-search-row--firma) .oy-search-select {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }
}

.oy-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.oy-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    color: #3a4450;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.oy-chip span {
    font-size: 0.68rem;
    font-weight: 700;
    color: #6a7480;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 0.05rem 0.38rem;
}

.oy-chip:hover {
    color: #0e4633;
    border-color: rgba(27, 122, 87, 0.45);
    background: #fff;
}

.oy-chip.is-active {
    color: #fff;
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    border-color: transparent;
}

.oy-chip.is-active span {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}

.oy-filter-mobile {
    display: none;
    margin-bottom: 1rem;
}

.oy-filter-mobile label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3a4450;
    margin-right: 0.5rem;
}

.oy-filter-mobile select {
    flex: 1;
    border-radius: 10px;
    border: 1px solid #dce3ea;
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.oy-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.oy-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(20, 30, 40, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.oy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 30, 40, 0.12);
    color: inherit;
}

.oy-card-media {
    position: relative;
    height: 148px;
    background: linear-gradient(145deg, #e8f0d8, #d7e4c4);
    overflow: hidden;
}

.oy-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
    color: transparent;
    font-size: 0;
}

.oy-card:hover .oy-card-media img {
    transform: scale(1.05);
}

.oy-card-ph {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1b7a57;
    gap: 0.35rem;
}

.oy-card-ph i {
    font-size: 1.8rem;
    opacity: 0.7;
}

.oy-card-ph span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #5b6570;
}

.oy-card-cat {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: rgba(26, 31, 36, 0.62);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
}

.oy-card-body {
    padding: 0.7rem 0.8rem 0.8rem;
}

.oy-card-body h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1a1f24;
    margin: 0 0 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oy-card-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.72rem;
    color: #6a7480;
    font-weight: 600;
}

.oy-card-meta i {
    color: #1b7a57;
    margin-right: 0.2rem;
}

.oy-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #6a7480;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
}

.oy-empty i {
    font-size: 2rem;
    opacity: 0.4;
    margin-bottom: 0.6rem;
}

.oy-pager {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.oy-pager a,
.oy-pager span {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: #3a4450;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e5e9ee;
}

.oy-pager a:hover {
    color: #0e4633;
    border-color: #1b7a57;
}

.oy-pager .is-active {
    color: #fff;
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    border-color: transparent;
}

.oy-pager .is-disabled {
    opacity: 0.45;
}

@media (max-width: 1199.98px) {
    .oy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.kp-site section.oy-hero.hero-header {
        min-height: 210px !important;
        padding: 5.2rem 0.85rem 1.8rem !important;
    }

    .oy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .oy-card-media {
        height: 128px;
    }

    .oy-filters {
        display: none;
    }

    .oy-filter-mobile {
        display: flex;
        align-items: center;
    }

    .oy-toolbar h2 {
        font-size: 0.98rem;
    }

    .oy-add {
        padding: 0.42rem 0.7rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 419px) {
    .oy-grid {
        grid-template-columns: 1fr;
    }

    .oy-card-media {
        height: 160px;
    }
}

/* ——— Detay sayfası ——— */
.oy-detail-head {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 0.9rem;
    box-shadow: 0 6px 18px rgba(20, 30, 40, 0.05);
    margin-bottom: 0.9rem;
}

.oy-detail-title {
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    color: #1a1f24;
    margin: 0 0 0.45rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.oy-detail-badges .badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    margin-right: 0.25rem;
}

.oy-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: #6a7480;
}

.oy-detail-meta i {
    color: #1b7a57;
    margin-right: 0.2rem;
}

.oy-detail .display-5 {
    display: none;
}

.oy-detail > .row {
    --bs-gutter-x: 1rem;
}

.oy-detail .row.g-4 {
    --bs-gutter-y: 0.85rem;
}

.oy-detail .card-body {
    padding: 0.95rem 1rem !important;
}

.oy-detail .card-header {
    padding: 0.65rem 1rem !important;
}

.oy-detail .card-header h5 {
    font-size: 0.95rem;
}

.oy-detail img[style*="height: 450px"] {
    height: 280px !important;
    border-radius: 14px !important;
}

.oy-detail img[style*="height: 200px"],
.oy-detail div[style*="height: 200px"] {
    height: 140px !important;
}

.oy-detail #map {
    height: 240px !important;
}

.oy-detail .mb-5 {
    margin-bottom: 1.1rem !important;
}

.oy-detail .mb-4 {
    margin-bottom: 0.9rem !important;
}

.oy-detail .py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.oy-detail .btn-lg,
.oy-detail .btn.w-100.mb-4 {
    padding: 0.5rem 0.85rem;
    font-size: 0.86rem;
    border-radius: 10px !important;
}

.oy-detail .icerik-ekle-card .card-body {
    padding: 1rem !important;
}

.oy-detail .icerik-ekle-card h5 {
    font-size: 0.98rem;
}

@media (max-width: 767.98px) {
    .oy-detail img[style*="height: 450px"] {
        height: 200px !important;
    }

    .oy-page {
        padding: 0.9rem 0.75rem 1.8rem;
    }

    .oy-hero .breadcrumb {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem !important;
    }
}

/* Tüm iç sayfa hero'ları (Extra menü ve diğerleri) */
body.kp-site .hero-header:not(.kp-ilce-hero):not(.kp-hero-shell):not(.kp-dernek-hero):not(.oy-hero) {
    height: auto !important;
    min-height: 300px !important;
    max-height: none !important;
    padding: 6.4rem 1rem 2.6rem !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.kp-site .hero-header:not(.kp-ilce-hero) .container.py-5,
body.kp-site .hero-header:not(.kp-ilce-hero) .py-5,
body.kp-site .hero-header:not(.kp-ilce-hero) .pt-lg-3,
body.kp-site .hero-header:not(.kp-ilce-hero) .mt-lg-3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

body.kp-site .hero-header:not(.kp-ilce-hero) h1,
body.kp-site .hero-header:not(.kp-ilce-hero) .kp-hero-title,
body.kp-site .hero-header:not(.kp-ilce-hero) .display-3,
body.kp-site .hero-header:not(.kp-ilce-hero) h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.25rem) !important;
    font-weight: 800 !important;
    margin-bottom: 0.45rem !important;
    line-height: 1.2 !important;
}

body.kp-site .hero-header nav.d-none.d-md-block {
    display: block !important;
}

body.kp-site .container-xxl.py-5,
body.kp-site .container-xxl.py-4.py-md-5,
body.kp-site .container-xxl.py-4 {
    padding-top: 1.1rem !important;
    padding-bottom: 2rem !important;
    max-width: 1120px;
}

body.kp-site .container-xxl .h2.fw-bold {
    font-size: 1.12rem !important;
}

body.kp-site .col-lg-4 > .card .card-body,
body.kp-site .col-md-6 > .card .card-body {
    padding: 0.75rem 0.85rem !important;
}

@media (max-width: 991.98px) {
    body.kp-site .hero-header:not(.kp-ilce-hero):not(.kp-hero-shell):not(.kp-dernek-hero):not(.oy-hero) {
        min-height: 230px !important;
        padding: 5.4rem 0.85rem 2rem !important;
    }
}

@media (max-width: 767.98px) {
    body.kp-site .hero-header:not(.kp-ilce-hero):not(.kp-hero-shell):not(.kp-dernek-hero):not(.oy-hero) {
        min-height: 210px !important;
        padding: 5.1rem 0.75rem 1.7rem !important;
    }

    body.kp-site .hero-header .lead {
        display: none;
    }

    body.kp-site .oy-hero h1,
    body.kp-site .oy-hero .kp-hero-title {
        font-size: 1.35rem !important;
    }

    body.kp-site .oy-hero .breadcrumb {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem !important;
        max-width: calc(100% - 0.5rem);
    }
}

body.kp-site .col-lg-4 > .card img,
body.kp-site .col-md-6 > .card img,
body.kp-site .col-lg-3 > .card img,
body.kp-site .col-sm-6 > .card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

body.kp-site .container-xxl .card {
    border-radius: 12px !important;
}

@media (max-width: 575.98px) {
    body.kp-site .col-lg-4 > .card img,
    body.kp-site .col-md-6 > .card img,
    body.kp-site .col-lg-3 > .card img,
    body.kp-site .col-sm-6 > .card img {
        height: 132px;
    }

    body.kp-site .container-xxl.py-5,
    body.kp-site .container-xxl.py-4.py-md-5,
    body.kp-site .container-xxl.py-4 {
        padding-top: 0.85rem !important;
        padding-bottom: 1.5rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    body.kp-site .container-xxl .card + .card {
        margin-top: 0.75rem;
    }
}

/* ——— Liste satırı / form (anket, IK, iletişim) ——— */
.oy-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.oy-row {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    box-shadow: 0 8px 22px rgba(20, 30, 40, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.oy-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 30, 40, 0.1);
    color: inherit;
}

.oy-row-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.oy-row-top h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1f24;
    margin: 0;
    line-height: 1.35;
}

.oy-row-excerpt {
    font-size: 0.82rem;
    color: #6a7480;
    line-height: 1.55;
    margin: 0 0 0.45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oy-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6a7480;
}

.oy-row-actions i {
    color: #1b7a57;
    margin-right: 0.2rem;
}

.oy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
}

.oy-badge.is-ok {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
}

.oy-badge.is-muted {
    background: #6c757d;
}

.oy-form {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 1rem 1.1rem 1.15rem;
    box-shadow: 0 8px 22px rgba(20, 30, 40, 0.06);
}

.oy-form label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1f24;
    margin-bottom: 0.3rem;
}

.oy-form .form-control,
.oy-form .form-select {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
}

.oy-form .form-control:focus,
.oy-form .form-select:focus {
    border-color: rgba(27, 122, 87, 0.45);
    box-shadow: 0 0 0 3px rgba(27, 122, 87, 0.12);
}

.oy-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    box-shadow: 0 6px 16px rgba(27, 122, 87, 0.28);
}

.oy-form .btn-submit:hover {
    filter: brightness(1.03);
    color: #fff;
}

.oy-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.oy-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.oy-info-item i {
    color: #1b7a57;
    margin-top: 0.15rem;
    width: 1.1rem;
    text-align: center;
}

.oy-info-item strong {
    display: block;
    font-size: 0.78rem;
    color: #1a1f24;
    margin-bottom: 0.1rem;
}

.oy-info-item span {
    font-size: 0.82rem;
    color: #6a7480;
    font-weight: 600;
}

.oy-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.oy-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    background: rgba(27, 122, 87, 0.12);
    color: #0e4633;
    text-decoration: none;
    font-size: 0.9rem;
}

.oy-social a:hover {
    background: linear-gradient(135deg, #1b7a57 0%, #0e4633 100%);
    color: #fff;
}

.oy-faq details {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.45rem;
}

.oy-faq summary {
    font-size: 0.88rem;
    font-weight: 750;
    color: #1a1f24;
    cursor: pointer;
}

.oy-faq details p {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: #6a7480;
    line-height: 1.55;
}

.oy-note {
    font-size: 0.8rem;
    color: #6a7480;
    margin: 0.35rem 0 0.85rem;
}
