/* PT Kampanyalar — tema-nötr, .pt-kmp- namespace'li stiller */

.pt-kmp-archive {
    padding: 40px 0 60px;
}

/* Başlık */
.pt-kmp-head {
    text-align: center;
    margin-bottom: 32px;
}
.pt-kmp-head-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}
.pt-kmp-head-sub {
    font-size: 16px;
    color: #666;
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

/* Sekmeler */
.pt-kmp-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    background: #f2f3f5;
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    margin: 0 auto 36px;
}
.pt-kmp-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
    white-space: nowrap;
}
.pt-kmp-tab.is-active {
    background: #f4811f; /* markette kırmızı vurgu; tema rengine göre değiştirilebilir */
    color: #fff;
}
.pt-kmp-count {
    display: inline-block;
    min-width: 20px;
    padding: 1px 7px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .12);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}
.pt-kmp-tab.is-active .pt-kmp-count {
    background: rgba(255, 255, 255, .25);
}

/* Paneller */
.pt-kmp-panel {
    display: none;
}
.pt-kmp-panel.is-active {
    display: block;
}

/* Grid */
.pt-kmp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Kart */
.pt-kmp-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.pt-kmp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
}
.pt-kmp-card-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
    overflow: hidden;
}
.pt-kmp-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pt-kmp-card-thumb-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e2e2e2);
}
.pt-kmp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}
.pt-kmp-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
}
.pt-kmp-card-title a {
    color: inherit;
    text-decoration: none;
}
.pt-kmp-card-title a:hover {
    color: #f4811f;
}
.pt-kmp-card-excerpt {
    font-size: 14px;
    color: #6b6b6b;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.pt-kmp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.pt-kmp-card-date {
    font-size: 12px;
    color: #999;
}
.pt-kmp-card-link {
    display: inline-block;
    padding: 9px 16px;
    background: #f4811f;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background .25s ease;
    white-space: nowrap;
}
.pt-kmp-card-link:hover {
    background: #b70310;
}

/* Biten kampanya kartları soluk */
.pt-kmp-panel--pasif .pt-kmp-card-thumb img {
    filter: grayscale(100%) brightness(.85);
}

.pt-kmp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}

/* ---------- Tekil (fallback) ---------- */
.pt-kmp-single-hero {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}
.pt-kmp-single-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.pt-kmp-single-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 0 60px;
}
.pt-kmp-back {
    display: inline-block;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    margin-bottom: 16px;
}
.pt-kmp-back:hover {
    color: #f4811f;
}
.pt-kmp-single-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.25;
}
.pt-kmp-single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.pt-kmp-single-date {
    font-size: 14px;
    color: #666;
}
.pt-kmp-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.pt-kmp-badge--aktif {
    background: #1a7f37;
}
.pt-kmp-badge--pasif {
    background: #9aa0a6;
}
.pt-kmp-single-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.pt-kmp-single-content img {
    max-width: 100%;
    height: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .pt-kmp-head-title { font-size: 23px; }
    .pt-kmp-head-sub { font-size: 15px; }
    .pt-kmp-grid { grid-template-columns: 1fr; }
    .pt-kmp-single-title { font-size: 24px; }
    .pt-kmp-tabs { width: 100%; }
    .pt-kmp-tab { flex: 1; justify-content: center; padding: 9px 10px; }
}
