/* ============================================================
   KAMPANYALAR SAYFASI (/kampanyalar)
   Altınyıldız Classics "kampanyalar-s" referansıyla birebir.
   Tüm kurallar .kmp-page altında scoped — site'nin diğer
   stillerini (header/footer/diğer sayfalar) ETKİLEMEZ.
   Root font-size 16px varsayımıyla rem değerleri referansla
   birebir eşleşir.
   ============================================================ */

.kmp-page {
    font-family: 'Urbanist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    letter-spacing: .025em;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 0 64px;
    box-sizing: border-box;
}
.kmp-page *,
.kmp-page *::before,
.kmp-page *::after { box-sizing: border-box; }

/* Sayfa başlığı */
.kmp-title {
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 1.25rem 0 0;
    font-weight: 600;
    text-align: center;
}
.kmp-subtitle {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #6b6b6b;
    margin: .5rem 0 0;
    text-align: center;
    max-width: 48rem;
    padding: 0 1.25rem;
}

/* Opsiyonel sayfa banner'ı */
.kmp-banner {
    width: 100%;
    max-width: 48rem;
    margin: 1.25rem 0 0;
    padding: 0 1.25rem;
}
.kmp-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
}

/* İçerik gövdesi */
.kmp-body {
    margin-top: 1.25rem;
    max-width: 48rem;
    width: 100%;
    padding: 0 1.25rem;
}

/* Kart — komple bir link */
.kmp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .625rem;
    margin-bottom: 1.25rem;
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    color: inherit;
    text-decoration: none;
    transition: background-color .2s cubic-bezier(.4, 0, .2, 1);
}
.kmp-card:hover { background-color: #e2e2e2; }
.kmp-card:last-child { margin-bottom: 0; }

/* Görsel sarmalayıcı */
.kmp-img {
    flex-shrink: 0;
    width: 100%;
    max-width: 32rem;
    border-radius: 1rem;
    overflow: hidden;
}
.kmp-img img {
    width: 100%;
    height: auto;
    display: block;
}
/* Görsel yoksa nötr placeholder (760x405 oranı korunur) */
.kmp-img--empty {
    aspect-ratio: 760 / 405;
    background: linear-gradient(135deg, #e3e3e3 0%, #f4f4f4 50%, #e3e3e3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3b3b3;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Detaylar */
.kmp-details {
    margin-top: .625rem;
    width: 100%;
}
.kmp-card-title {
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0 0 1.25rem;
    font-weight: 600;
}
.kmp-card-subtitle {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1rem;
    margin-bottom: .625rem;
}
.kmp-card ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0;
    font-size: .75rem;
    line-height: 1rem;
}
.kmp-card ul li { margin-bottom: .35rem; }
.kmp-card ul li:last-child { margin-bottom: 0; }

/* Opsiyonel kart CTA etiketi (buton yazısı doluysa) */
.kmp-btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 1rem;
    padding: .55rem 1.4rem;
    background: #1a1a1a;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background-color .2s ease;
}
.kmp-card:hover .kmp-btn { background: #000; }

/* Boş durum */
.kmp-empty {
    text-align: center;
    color: #999;
    padding: 80px 20px;
    font-size: .95rem;
    letter-spacing: .04em;
}

/* ---- Desktop ≥1024px (referans breakpoint) ---- */
@media (min-width: 1024px) {
    .kmp-title { font-size: 1.5rem; line-height: 2rem; margin-top: 3.5rem; }
    .kmp-subtitle { max-width: 72rem; padding: 0; }
    .kmp-banner { max-width: 72rem; padding: 0; }
    .kmp-body { max-width: 72rem; padding-left: 0; padding-right: 0; }

    .kmp-card {
        flex-direction: row;
        padding: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .kmp-details {
        margin-top: 0;
        margin-left: 1.25rem;
        flex: 1 1 0%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .kmp-card-title { font-size: 1.125rem; line-height: 1.75rem; }
    .kmp-card-subtitle { font-size: .875rem; line-height: 1.25rem; }
}
