﻿.kk-page, .kk-notify, .kk-dialog {
    --kk-red: #df1024;
    --kk-line: rgba(0,0,0,.13);
    color: #111;
    font-family: "Plus Jakarta Sans",sans-serif
}

    .kk-page *, .kk-notify *, .kk-dialog * {
        box-sizing: border-box
    }

    .kk-page [hidden], .kk-notify [hidden], .kk-dialog:not([open]) {
        display: none !important
    }

.kk-page {
    width: min(1180px,calc(100% - 32px));
    margin: 35px auto 65px
}

.kk-hero {
    padding: 15px 0 30px;
    border-bottom: 1px solid var(--kk-line);
    margin-bottom: 30px
}

.kk-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.8
}

.kk-hero h1 {
    margin: 12px 0;
    color: #111;
    font-size: clamp(38px,6vw,74px);
    font-weight: 800;
    letter-spacing: -.07em
}

    .kk-hero h1 span {
        color: var(--kk-red)
    }

.kk-hero p {
    font-size: 15px;
    font-weight: 650;
    line-height: 1.8
}

.kk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px
}

.kk-page .kk-btn, .kk-dialog .kk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--kk-line);
    border-radius: 11px;
    background: #fff;
    color: #111 !important;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer
}

.kk-page .kk-primary, .kk-dialog .kk-primary {
    background: var(--kk-red);
    border-color: var(--kk-red);
    color: #fff !important
}

.kk-btn:disabled {
    opacity: .5;
    cursor: default
}

.kk-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin: 20px 0
}

.kk-card, .kk-panel, .kk-task {
    overflow: hidden;
    border: 1px solid var(--kk-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.045)
}

.kk-card {
    display: flex;
    flex-direction: column;
    color: #111;
    text-decoration: none
}

    .kk-card img {
        display: block;
        width: 100%;
        aspect-ratio: 16/10;
        object-fit: cover;
        background: #f5f5f5
    }

        .kk-card img.kk-logo {
            object-fit: contain;
            padding: 35px
        }

.kk-card-content {
    padding: 20px;
    flex: 1
}

.kk-card h3 {
    margin: 10px 0;
    color: #111;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.45
}

.kk-card p {
    color: #111;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8
}

.kk-card small {
    display: block;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.8
}

.kk-section-title {
    margin-top: 30px
}

    .kk-section-title h2, .kk-page h2, .kk-page h3 {
        color: #111;
        font-weight: 800
    }

.kk-panel, .kk-task {
    padding: 23px;
    margin: 18px 0
}

    .kk-task p, .kk-panel p {
        font-size: 13px;
        font-weight: 650;
        line-height: 1.9
    }

.kk-task-list {
    display: grid;
    gap: 10px
}

.kk-message {
    margin: 15px 0;
    padding: 13px 16px;
    border: 1px solid var(--kk-line);
    border-radius: 12px;
    background: #f7f7f7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
    white-space: pre-line
}

.kk-page label {
    display: block;
    margin: 17px 0 7px;
    font-size: 12px;
    font-weight: 800
}

.kk-page input, .kk-page textarea, .kk-page select, .kk-dialog select {
    display: block !important;
    width: 100%;
    min-height: 45px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #d4d4d4;
    border-radius: 11px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6
}

.kk-page .nice-select, .kk-dialog .nice-select {
    display: none !important
}

.kk-page textarea {
    resize: vertical
}

.kk-page fieldset {
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0
}

.kk-page input:focus, .kk-page textarea:focus, .kk-page select:focus {
    outline: 2px solid #111;
    outline-offset: 2px
}

.kk-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px
}

    .kk-toolbar button {
        border: 1px solid #ddd;
        border-radius: 7px;
        padding: 7px 10px;
        background: #fafafa;
        color: #111;
        font-weight: 750
    }

.kk-article {
    max-width: 850px;
    margin: 0 auto
}

    .kk-article > h2 {
        font-size: clamp(29px,4vw,48px);
        line-height: 1.2;
        letter-spacing: -.045em
    }

.kk-lead {
    font-size: 17px;
    font-weight: 650;
    line-height: 1.9
}

.kk-author {
    margin: 18px 0;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.8
}

.kk-cover {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    margin: 18px 0;
    background: #f5f5f5
}

.kk-body {
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
    overflow-wrap: anywhere;
    white-space: pre-wrap
}

    .kk-body p {
        margin: 0 0 20px
    }

    .kk-body h3 {
        font-size: 24px;
        margin: 25px 0 12px
    }

    .kk-body blockquote {
        margin: 20px 0;
        padding: 15px 20px;
        border-left: 4px solid #111;
        background: #f7f7f7;
        font-weight: 650
    }

    .kk-body a {
        color: #b20c1c;
        text-decoration: underline
    }

.kk-comments {
    padding-top: 25px;
    margin: 30px 0;
    border-top: 1px solid var(--kk-line)
}

.kk-comment {
    padding: 15px 0;
    border-bottom: 1px solid var(--kk-line)
}

    .kk-comment p {
        font-size: 13px;
        line-height: 1.9;
        white-space: pre-wrap
    }

    .kk-comment small {
        font-size: 10px;
        font-weight: 700
    }

.kk-author-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px
}

.kk-notify {
    position: fixed;
    right: 20px;
    bottom: 110px;
    z-index: 1200
}

    .kk-notify > summary {
        list-style: none;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 7px 25px #0001;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer
    }

        .kk-notify > summary::-webkit-details-marker {
            display: none
        }

.kk-notify-panel {
    position: absolute;
    right: 0;
    bottom: 55px;
    width: min(350px,calc(100vw - 32px));
    max-height: 60dvh;
    overflow: auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 50px #0002
}

    .kk-notify-panel a {
        display: block;
        margin: 8px 0;
        padding: 12px;
        border: 1px solid #eee;
        border-radius: 10px;
        color: #111;
        font-size: 12px;
        font-weight: 650;
        line-height: 1.8;
        text-decoration: none
    }

        .kk-notify-panel a.is-unread {
            border-left: 3px solid var(--kk-red)
        }

.kk-dialog {
    position: fixed;
    inset: 0;
    width: min(450px,calc(100% - 24px));
    max-height: 85dvh;
    margin: auto;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    text-align: center
}

    .kk-dialog::backdrop {
        background: #0006;
        backdrop-filter: blur(5px)
    }

    .kk-dialog img {
        width: 85px;
        height: 85px;
        object-fit: contain
    }

    .kk-dialog p {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.9
    }

    .kk-dialog .kk-actions {
        justify-content: center
    }

@media(max-width:850px) {
    .kk-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .kk-grid, .kk-author-selects {
        grid-template-columns: 1fr
    }

    .kk-page {
        width: calc(100% - 24px)
    }

    .kk-panel, .kk-task {
        padding: 17px
    }

    .kk-body {
        font-size: 16px
    }

    .kk-notify {
        right: 12px;
        bottom: 105px
    }
}
/* Makale kartında yazar alanı */

.kk-page .kk-card-content {
    display: flex;
    flex-direction: column;
}

.kk-card-content > p {
    flex: 1;
}

.kk-card-writer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--kk-line);
}

.kk-card-writer-copy {
    min-width: 0;
}

    .kk-card-writer-copy strong {
        display: block;
        color: #111;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.6;
    }

    .kk-card-writer-copy small {
        display: block;
        color: #111;
        font-size: 10px;
        font-weight: 650;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

.kk-card-published {
    margin-top: 12px;
    font-size: 10px;
    font-weight: 700;
}

/* Fotoğraf yoksa baş harfler görünür */

.kk-page .kk-avatar {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 17px;
    background: #f2f2f2;
    color: #111;
}

.kk-avatar-initials {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.kk-page .kk-avatar img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    aspect-ratio: 1;
    border-radius: inherit;
    object-fit: cover;
}

/* Solda yazar, sağda makale */

.kk-reading-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

    .kk-reading-layout > .kk-article {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

.kk-author-sidebar {
    min-width: 0;
}

.kk-writer-panel {
    padding: 20px;
    border: 1px solid var(--kk-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .045);
    text-align: center;
}

    .kk-writer-panel > .kk-eyebrow {
        margin-bottom: 17px;
    }

.kk-page .kk-avatar-large {
    width: 142px;
    height: 142px;
    border-radius: 24px;
}

.kk-avatar-large .kk-avatar-initials {
    font-size: 42px;
}

.kk-writer-panel h2 {
    margin: 15px 0 5px;
    color: #111;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.04em;
}

.kk-writer-role {
    margin: 0 0 15px;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.kk-page .kk-writer-bio {
    width: 100%;
    margin-bottom: 12px;
    font-size: 11px;
}

.kk-writer-archive {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #111;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.kk-writer-previous {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--kk-line);
    text-align: left;
}

    .kk-writer-previous > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        color: #111;
        font-size: 12px;
        font-weight: 800;
        list-style: none;
        cursor: pointer;
    }

        .kk-writer-previous > summary::-webkit-details-marker {
            display: none;
        }

        .kk-writer-previous > summary::after {
            content: "+";
            font-size: 18px;
        }

    .kk-writer-previous[open] > summary::after {
        content: "−";
    }

.kk-writer-links {
    margin-top: 10px;
}

    .kk-writer-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
        color: #111;
        text-decoration: none;
    }

        .kk-writer-links a:last-child {
            border-bottom: 0;
        }

    .kk-writer-links strong {
        display: block;
        font-size: 12px;
        font-weight: 750;
        line-height: 1.7;
    }

    .kk-writer-links small {
        display: block;
        margin-top: 4px;
        color: #111;
        font-size: 9px;
        font-weight: 600;
        line-height: 1.6;
    }

    .kk-writer-links a:hover strong {
        text-decoration: underline;
    }

    .kk-writer-links p {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.8;
    }

@media (max-width: 900px) {
    .kk-reading-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
    }

    .kk-writer-panel {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: center;
        gap: 7px 16px;
        text-align: left;
    }

        .kk-writer-panel > .kk-eyebrow {
            grid-column: 1 / -1;
            margin-bottom: 8px;
        }

    #kkWriterPhoto {
        grid-column: 1;
        grid-row: 2 / span 3;
    }

    .kk-page .kk-avatar-large {
        width: 90px;
        height: 90px;
        border-radius: 18px;
    }

    .kk-avatar-large .kk-avatar-initials {
        font-size: 29px;
    }

    .kk-writer-panel h2 {
        grid-column: 2;
        margin: 0;
        font-size: 20px;
    }

    .kk-writer-role {
        grid-column: 2;
        margin: 0;
    }

    .kk-page .kk-writer-bio,
    .kk-writer-archive {
        grid-column: 2;
        width: auto;
        justify-self: start;
        margin: 0;
    }

    .kk-writer-previous {
        grid-column: 1 / -1;
        margin-top: 10px;
    }
}

.kk-page .kk-fixed-writer {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 16px;
    background: #f6f6f6;
    border: 1px solid #dedede;
    border-radius: 16px;
    color: #111;
}

    .kk-page .kk-fixed-writer > i:first-child {
        display: grid;
        place-items: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        font-size: 18px;
    }

    .kk-page .kk-fixed-writer > div {
        flex: 1;
        min-width: 0;
    }

    .kk-page .kk-fixed-writer strong,
    .kk-page .kk-fixed-writer small {
        display: block;
        color: #111;
    }

    .kk-page .kk-fixed-writer strong {
        font-size: 15px;
        font-weight: 800;
    }

    .kk-page .kk-fixed-writer small {
        margin-top: 5px;
        font-size: 11px;
        font-weight: 600;
    }

.kk-page .kk-fixed-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 10px 10px 0;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #f6f6f6;
    color: #111;
    font-size: 11px;
    font-weight: 800;
}