/* İç detay sayfaları ortak (yeni tasarım): haber, duyuru, makale... */
.kpd-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1040; pointer-events: none; }
.kpd-progress span { display: block; height: 100%; width: 0; background: var(--gold-grad); box-shadow: 0 0 12px rgba(201, 165, 90, .7); transition: width .1s linear; }

.kpd-hero { position: relative; overflow: hidden; color: #fff; background: var(--g-950); padding: 160px 0 70px; }
.kpd-hero__bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(22px) saturate(120%); opacity: .6; transform: scale(1.08); }
.kpd-hero--duz .kpd-hero__bg { filter: none; opacity: .45; inset: 0; transform: none; }
.kpd-hero__shade {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(900px 420px at 15% 0%, rgba(201, 165, 90, .2), transparent 60%),
        linear-gradient(180deg, rgba(4, 21, 14, .72) 0%, rgba(6, 35, 26, .84) 60%, rgba(4, 21, 14, .96) 100%);
}
.kpd-hero__in { position: relative; z-index: 3; max-width: 980px; }
.kpd-crumb {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 22px;
    padding: 8px 16px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(233, 211, 154, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.kpd-crumb a { color: rgba(255, 255, 255, .86); text-decoration: none; transition: color .2s; }
.kpd-crumb a:hover { color: var(--gold-2); }
.kpd-crumb a i { margin-right: 6px; color: var(--gold); }
.kpd-crumb > i { font-size: .55rem; color: var(--gold); opacity: .8; }
.kpd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.kpd-badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font-size: .72rem; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}
.kpd-badge i { color: var(--gold-2); }
.kpd-badge.is-gold { background: var(--gold-grad); color: var(--g-900); border: 0; }
.kpd-title {
    font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.3vw, 3.3rem); line-height: 1.12; margin: 0 0 22px;
    background: linear-gradient(180deg, #fff 45%, #f3e7c6 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    text-wrap: balance;
}
.kpd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.kpd-meta > span, .kpd-meta > a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.kpd-meta > a:hover { color: var(--gold-2); }
.kpd-meta i { color: var(--gold); }
.kpd-meta__yazar { color: #fff !important; font-weight: 800; }
.kpd-meta__yazar img, .kpd-meta__yazar > i {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold);
    display: inline-grid; place-items: center; background: var(--g-700);
}

/* Gövde */
.kpd-main { position: relative; z-index: 4; padding: 40px 0 80px; background: var(--silk); }
.kpd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.kpd-article { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.kpd-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }

.kpd-cover { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--g-900); border: 1px solid rgba(201, 165, 90, .25); }
.kpd-cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; }

.kpd-card { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(201, 165, 90, .14); }
.kpd-card__head { margin-bottom: 18px; }
.kpd-card__head h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--g-800); margin: 0; }
.kpd-card__head h2 em { font-style: normal; color: var(--gold-3); font-size: 1.1rem; }
.kpd-body { padding: 36px 44px 34px; }

.kpd-tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: -8px -14px 22px 0; }
.kpd-tools__lbl { font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.kpd-tools button {
    min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 0; background: var(--silk); color: var(--g-700);
    font-weight: 800; font-size: .86rem; box-shadow: inset 0 0 0 1px rgba(201, 165, 90, .3); transition: all .2s;
}
.kpd-tools button:hover { background: var(--g-700); color: var(--gold-2); }
.kpd-tools__sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

.kpd-lead {
    position: relative; margin: 0 0 28px; padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 1.28rem; line-height: 1.6; color: var(--g-800); font-weight: 500;
}
.kpd-lead::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--gold-grad); }

.kpd-prose { font-size: 1.08rem; line-height: 1.9; color: #2f3d37; overflow-wrap: anywhere; }
.kpd-prose > *:first-child { margin-top: 0; }
.kpd-prose p { margin: 0 0 1.25em; }
.kpd-prose h2, .kpd-prose h3, .kpd-prose h4 { font-family: var(--serif); color: var(--g-800); line-height: 1.3; margin: 1.6em 0 .6em; }
.kpd-prose h2 { font-size: 1.6em; }
.kpd-prose h3 { font-size: 1.35em; }
.kpd-prose h4 { font-size: 1.15em; }
.kpd-prose a { color: var(--g-500); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(201, 165, 90, .6); text-underline-offset: 3px; }
.kpd-prose a:hover { color: var(--g-700); }
.kpd-prose img { max-width: 100%; height: auto !important; border-radius: 16px; margin: 1em 0; box-shadow: var(--shadow); }
.kpd-prose figure { margin: 1.6em 0; }
.kpd-prose figcaption { font-size: .82em; color: var(--muted); text-align: center; margin-top: 8px; }
.kpd-prose blockquote {
    margin: 1.8em 0; padding: 22px 26px 22px 60px; position: relative; border-radius: 18px; background: var(--silk);
    font-family: var(--serif); font-size: 1.12em; font-style: italic; color: var(--g-800);
}
.kpd-prose blockquote::before { content: '\201C'; position: absolute; left: 18px; top: 4px; font-size: 3.4rem; line-height: 1; color: var(--gold); font-style: normal; }
.kpd-prose blockquote p:last-child { margin-bottom: 0; }
.kpd-prose ul, .kpd-prose ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.kpd-prose li { margin-bottom: .4em; }
.kpd-prose li::marker { color: var(--gold-3); font-weight: 800; }
.kpd-prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 2em 0; opacity: 1; }
.kpd-prose strong, .kpd-prose b { color: var(--g-900); }
.kpd-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.kpd-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.kpd-table { overflow-x: auto; margin: 1.5em 0; border-radius: 14px; border: 1px solid var(--line); }
.kpd-table table { width: 100%; border-collapse: collapse; font-size: .92em; }
.kpd-table th, .kpd-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.kpd-table th { background: var(--silk); color: var(--g-800); }

.kpd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--line); }
.kpd-tags > i { color: var(--gold-3); }
.kpd-tags a { padding: 6px 14px; border-radius: 999px; background: var(--silk); color: var(--g-700); font-size: .8rem; font-weight: 700; text-decoration: none; transition: all .2s; }
.kpd-tags a:hover { background: var(--g-700); color: var(--gold-2); }
.kpd-updated { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }
.kpd-updated i { color: var(--gold-3); margin-right: 6px; }

.kpd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: 999px;
    font-weight: 800; font-size: .9rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, color .2s;
}
.kpd-btn:hover { transform: translateY(-2px); }
.kpd-btn--gold { background: var(--gold-grad); color: var(--g-900); box-shadow: 0 12px 28px rgba(168, 132, 63, .35); }
.kpd-btn--gold:hover { color: var(--g-900); }
.kpd-btn--green { background: linear-gradient(135deg, var(--g-500), var(--g-700)); color: #fff; box-shadow: 0 10px 24px rgba(14, 70, 51, .25); }
.kpd-btn--green:hover { color: var(--gold-2); }
.kpd-btn--line { background: #fff; color: var(--g-700); box-shadow: inset 0 0 0 1.5px rgba(14, 70, 51, .25); }
.kpd-btn--line:hover { color: var(--g-800); box-shadow: inset 0 0 0 1.5px var(--g-500); }
.kpd-btn--block { width: 100%; }

.kpd-share .social-share-container { margin: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.kpd-share__foot { display: flex; justify-content: flex-end; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }

.kpd-author { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: linear-gradient(135deg, #fff, var(--silk)); }
.kpd-author img, .kpd-author__ph { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(201, 165, 90, .55); }
.kpd-author__ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--g-500), var(--g-800)); color: var(--gold-2); font-size: 1.4rem; }
.kpd-author__txt .kpy-eyebrow { margin-bottom: 2px; }
.kpd-author__txt strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--g-800); }
.kpd-author__txt small { color: var(--muted); font-weight: 600; }

.kpd-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.kpd-alert i { margin-top: 3px; }
.kpd-alert.is-ok { background: #e8f6ee; color: #12623f; }
.kpd-alert.is-err { background: #fdecec; color: #9b1c1c; }
.kpd-login { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: var(--silk); border: 1px dashed rgba(201, 165, 90, .5); }
.kpd-login p { margin: 0; color: var(--muted); font-size: .92rem; }
.kpd-login div { display: flex; gap: 8px; flex-wrap: wrap; }
.kpd-yorum-form textarea { width: 100%; border-radius: 16px; border: 1.5px solid var(--line); padding: 14px 16px; font: inherit; resize: vertical; background: #fffdf8; transition: border-color .2s, box-shadow .2s; }
.kpd-yorum-form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 165, 90, .15); }
.kpd-yorum-form__alt { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.kpd-yorum-form__alt small { color: var(--muted); font-weight: 700; }
.kpd-yorum-form__alt small.is-warn { color: #b45309; }
.kpd-bos { text-align: center; padding: 28px 10px 6px; color: var(--muted); }
.kpd-bos i { display: block; font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.kpd-yorumlar { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kpd-yorumlar li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: var(--silk); }
.kpd-yorumlar__ph { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--g-700); color: var(--gold-2); font-weight: 800; }
.kpd-yorumlar li > div { flex: 1; min-width: 0; }
.kpd-yorumlar__ust { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.kpd-yorumlar__ust strong { color: var(--g-800); }
.kpd-yorumlar__ust small { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.kpd-yorumlar p { margin: 0; line-height: 1.65; color: #34443d; overflow-wrap: anywhere; }

.kpd-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kpd-rcard { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.kpd-rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kpd-rcard__img { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, var(--g-600), var(--g-900)); color: rgba(233, 211, 154, .5); font-size: 1.8rem; overflow: hidden; }
.kpd-rcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: 1; }
.kpd-rcard:hover .kpd-rcard__img img { transform: scale(1.06); }
.kpd-rcard small { padding: 14px 16px 0; color: var(--gold-3); font-size: .72rem; font-weight: 800; letter-spacing: .5px; }
.kpd-rcard small i { margin-right: 5px; }
.kpd-rcard strong { padding: 6px 16px 18px; font-family: var(--serif); color: var(--g-800); font-size: 1.02rem; line-height: 1.35; }

/* Yan panel */
.kpd-scard { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(201, 165, 90, .14); }
.kpd-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--silk); margin-bottom: 14px; }
.kpd-tabs button { flex: 1; border: 0; background: transparent; padding: 9px 10px; border-radius: 999px; font-weight: 800; font-size: .8rem; color: var(--g-700); display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: all .2s; }
.kpd-tabs button i { color: var(--gold-3); }
.kpd-tabs button.is-on { background: linear-gradient(135deg, var(--g-500), var(--g-800)); color: var(--gold-2); box-shadow: 0 6px 16px rgba(14, 70, 51, .25); }
.kpd-tabs button.is-on i { color: var(--gold-2); }
[data-kpd-pane] { display: none; }
[data-kpd-pane].is-on { display: block; }
.kpd-rank { list-style: none; margin: 0; padding: 0; counter-reset: kpd; }
.kpd-rank li { counter-increment: kpd; border-bottom: 1px dashed var(--line); }
.kpd-rank li:last-child { border-bottom: 0; }
.kpd-rank a { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; padding: 12px 0; text-decoration: none; }
.kpd-rank a::before { content: counter(kpd, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--gold); opacity: .8; }
.kpd-rank strong { color: var(--g-800); font-size: .9rem; line-height: 1.35; transition: color .2s; }
.kpd-rank a:hover strong { color: var(--g-500); }
.kpd-rank small { color: var(--muted); font-size: .74rem; margin-top: 3px; }
.kpd-rank small i { color: var(--gold-3); margin-right: 5px; }
.kpd-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; border-bottom: 1px dashed var(--line); }
.kpd-mini:last-child { border-bottom: 0; }
.kpd-mini__img { position: relative; width: 72px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--g-600), var(--g-900)); color: rgba(233, 211, 154, .5); }
.kpd-mini__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.kpd-mini__txt { min-width: 0; }
.kpd-mini__txt strong { display: block; color: var(--g-800); font-size: .88rem; line-height: 1.3; transition: color .2s; }
.kpd-mini:hover .kpd-mini__txt strong { color: var(--g-500); }
.kpd-mini__txt small { color: var(--muted); font-size: .74rem; }
.kpd-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .84rem; font-weight: 800; color: var(--g-600); text-decoration: none; }
.kpd-link i { font-size: .72rem; transition: transform .2s; }
.kpd-link:hover { color: var(--g-800); }
.kpd-link:hover i { transform: translateX(4px); }
.kpd-scard--cta { text-align: center; background: linear-gradient(160deg, var(--g-700), var(--g-950)); color: #fff; border-color: rgba(233, 211, 154, .25); position: relative; overflow: hidden; }
.kpd-scard--cta::before { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 165, 90, .35), transparent 70%); }
.kpd-scard__ic { position: relative; width: 54px; height: 54px; border-radius: 18px; display: inline-grid; place-items: center; background: var(--gold-grad); color: var(--g-900); font-size: 1.2rem; margin-bottom: 12px; }
.kpd-scard--cta h3 { position: relative; font-family: var(--serif); font-size: 1.25rem; margin: 0 0 6px; color: #fff; }
.kpd-scard--cta p { position: relative; color: rgba(255, 255, 255, .78); font-size: .86rem; line-height: 1.6; margin-bottom: 16px; }

@media (max-width: 1199px) {
    .kpd-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .kpd-body { padding: 32px 32px 30px; }
}
@media (max-width: 991px) {
    .kpd-hero { padding: 120px 0 56px; }
    .kpd-layout { grid-template-columns: 1fr; }
    .kpd-side { position: static; }
}
@media (max-width: 767px) {
    .kpd-hero { padding: 110px 0 44px; }
    .kpd-main { padding-top: 26px; }
    .kpd-meta { gap: 8px 16px; font-size: .8rem; }
    .kpd-body, .kpd-card { padding: 22px 18px; }
    .kpd-tools { margin: -4px 0 18px; }
    .kpd-tools__lbl { display: none; }
    .kpd-lead { font-size: 1.12rem; }
    .kpd-related__grid { grid-template-columns: 1fr 1fr; }
    .kpd-cover { border-radius: 18px; }
}
@media (max-width: 480px) {
    .kpd-related__grid { grid-template-columns: 1fr; }
    .kpd-author { flex-direction: column; text-align: center; }
}
@media print {
    .kpy-header, .kpy-footer, .kpd-side, .kpd-share, #yorumlar, .kpd-related, .kpd-tools, .kpd-progress, .kpy-totop { display: none !important; }
    .kpd-hero { padding: 20px 0; background: none; color: #000; }
    .kpd-hero__bg, .kpd-hero__shade, .kpd-crumb { display: none; }
    .kpd-title { color: #000; -webkit-text-fill-color: #000; background: none; }
    .kpd-meta { color: #333; }
    .kpd-layout { display: block; margin: 0; }
    .kpd-card { box-shadow: none; border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .kpd-rcard, .kpd-rcard__img img, .kpd-btn, .kpd-progress span { transition: none; }
}
