/*
 * KOD REHBERİ — assets/css/journal.css
 * Blog ve misafir içeriklerinin kart, liste ve detay stilleri.
 * Genel okuma sırası ve örnekler: proje kökündeki KOD-OKUMA-REHBERI.md.
 */

.site-header nav {
    gap:21px
}

.site-header {
    gap:18px
}

.header-cta {
    white-space:nowrap
}

.journal-intro {
    background:#eeebf1
}

.guests-intro {
    background:#eef0e8
}

.journal-section,.guest-section {
    min-height:410px
}

.journal-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:45px 30px
}

.journal-card {
    min-width:0
}

.journal-cover {
    display:block;
    position:relative;
    height:245px;
    background:#eae3ed;
    overflow:hidden
}

.journal-cover>img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s
}

.journal-cover:hover>img {
    transform:scale(1.025)
}

.journal-art {
    display:flex;
    width:100%;
    height:100%;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:radial-gradient(ellipse at bottom right,#d2c2de,transparent 75%),#efebee;
    color:#796286
}

.journal-art b {
    font-size:92px;
    line-height:1.4;
    font-weight:400
}

.journal-art>span {
    font-size:8px;
    letter-spacing:3px
}

.journal-arrow {
    position:absolute;
    bottom:14px;
    right:14px;
    background:var(--paper);
    border-radius:50%;
    width:34px;
    height:34px;
    display:grid;
    place-items:center
}

.journal-meta {
    display:flex;
    justify-content:space-between;
    gap:15px;
    font-size:8px;
    letter-spacing:1px;
    color:var(--purple);
    margin:20px 0 12px
}

.journal-card h3 {
    font-size:27px;
    line-height:1.2;
    margin-bottom:13px;
    overflow-wrap:anywhere
}

.journal-card p {
    font-size:12px;
    line-height:1.8;
    overflow-wrap:anywhere;
    margin-bottom:18px
}

.journal-card .text-link {
    font-size:11px
}

.editorial-empty {
    display:flex;
    align-items:center;
    gap:50px;
    padding:55px;
    background:#f0ecef
}

.editorial-empty>span {
    font-size:120px;
    line-height:1;
    color:#a994b8;
    flex-shrink:0
}

.editorial-empty h2 {
    font-size:38px;
    margin-bottom:18px
}

.editorial-empty p {
    max-width:560px;
    font-size:14px
}

.guest-empty {
    background:#eef0e8
}

.guest-empty>span {
    color:#97a486
}

.public-pagination {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    font-size:12px;
    margin-top:50px
}

.public-pagination .button {
    border-color:var(--line)
}

.blog-article {
    max-width:1100px;
    margin:0 auto;
    padding:55px 30px 80px
}

.article-heading {
    max-width:830px;
    margin:0 auto 42px;
    text-align:center
}

.article-heading h1 {
    font-size:clamp(36px,4.7vw,63px);
    line-height:1.15;
    letter-spacing:-1.5px;
    overflow-wrap:anywhere
}

.article-summary {
    font-size:17px;
    line-height:1.85;
    overflow-wrap:anywhere
}

.article-byline {
    display:flex;
    justify-content:center;
    gap:16px;
    font-size:11px;
    color:var(--purple);
    margin-top:25px
}

.article-cover {
    margin:0 0 50px;
    background:#eee8ef
}

.article-cover img {
    width:100%;
    max-height:610px;
    object-fit:contain
}

.article-body {
    max-width:740px;
    margin:auto;
    font-size:17px;
    line-height:1.95;
    overflow-wrap:anywhere
}

.article-body p {
    color:#606658;
    margin-bottom:28px
}

.article-back {
    margin-top:28px
}

.guest-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:45px 28px
}

.guest-card {
    margin:0;
    min-width:0;
    scroll-margin-top:25px
}

.guest-image {
    display:block;
    height:340px;
    position:relative;
    overflow:hidden;
    background:#edece7
}

.guest-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s
}

.guest-image:hover img {
    transform:scale(1.025)
}

.guest-image>span {
    position:absolute;
    bottom:15px;
    right:15px;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    background:#faf8f3e6;
    border-radius:50%;
    font-size:18px
}

.guest-card figcaption {
    padding:20px 0 0
}

.guest-card .eyebrow {
    font-size:8px;
    margin-bottom:10px
}

.guest-card h3 {
    font-size:25px;
    margin-bottom:12px;
    overflow-wrap:anywhere
}

.guest-card p {
    font-size:12px;
    overflow-wrap:anywhere;
    white-space:pre-line
}

.photo-dialog {
    width:min(920px,94vw);
    max-height:94dvh;
    border:0;
    padding:20px;
    background:var(--paper);
    color:var(--ink);
    overflow:auto;
    box-shadow:0 15px 80px #0005
}

.photo-dialog::backdrop {
    background:#20241dde
}

.photo-dialog>img {
    width:100%;
    height:auto;
    max-height:68dvh;
    object-fit:contain;
    background:#eeeae9
}

.photo-dialog>div {
    padding:20px 10px 5px
}

.photo-dialog h2 {
    font-size:27px;
    margin-bottom:10px;
    overflow-wrap:anywhere
}

.photo-dialog p {
    font-size:13px;
    margin-bottom:0;
    white-space:pre-line;
    overflow-wrap:anywhere
}

.dialog-close {
    position:absolute;
    right:28px;
    top:28px;
    width:38px;
    height:38px;
    border:1px solid #d2cbd6;
    background:var(--paper);
    border-radius:50%;
    font-size:25px;
    color:var(--purple);
    z-index:1;
    line-height:1
}

.journal-welcome {
    padding:35px;
    background:#eee9f0;
    display:flex;
    align-items:center;
    gap:28px
}

.journal-welcome>span {
    font-size:64px;
    color:#9980aa;
    line-height:1
}

.journal-welcome h3 {
    font-size:27px;
    margin:0 0 12px
}

.journal-welcome p {
    font-size:12px;
    margin:0
}

.journal-welcome .text-link {
    margin-left:auto;
    white-space:nowrap
}

.home-guests {
    background:#eef0e8;
    margin:0 22px 65px
}

.home-guests .section {
    padding-top:65px;
    padding-bottom:65px
}

.guest-strip {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px
}

.guest-strip>a {
    position:relative;
    display:block;
    height:290px;
    overflow:hidden
}

.guest-strip img {
    width:100%;
    height:100%;
    object-fit:cover
}

.guest-strip span {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:30px 17px 17px;
    background:linear-gradient(transparent,#1c251ccb);
    color:#fff;
    font:20px/1.25 "Site Serif",serif;
    overflow-wrap:anywhere
}

.guest-welcome {
    max-width:640px;
    font-size:15px;
    line-height:1.9
}

.home-guests .button {
    margin-top:12px
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(max-width:1200px) {
    .header-cta {
        display:none
    }
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(min-width:701px) and (max-width:900px) {
    .site-header {
        height:87px
    }
    .menu-toggle {
        display:block;
        background:transparent;
        border:1px solid #d5cddd;
        color:var(--purple);
        font-size:23px;
        line-height:1;
        width:42px;
        height:42px;
        border-radius:2px
    }
    .site-header nav {
        display:none;
        position:absolute;
        top:87px;
        left:0;
        right:0;
        height:auto;
        background:var(--paper);
        padding:20px 28px;
        border-bottom:1px solid var(--line);
        box-shadow:0 15px 20px #00000012
    }
    .site-header nav.is-open {
        display:flex;
        align-items:flex-start;
        flex-direction:column;
        gap:9px
    }
    .site-header nav a {
        width:100%;
        padding:11px 0
    }
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(max-width:900px) {
    .journal-grid,.guest-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .guest-strip {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .journal-welcome {
        flex-wrap:wrap
    }
    .journal-welcome .text-link {
        margin-left:0
    }
    .editorial-empty {
        padding:35px;
        gap:30px
    }
    .editorial-empty>span {
        font-size:85px
    }
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(max-width:700px) {
    .site-header nav {
        gap:9px
    }
    .journal-grid,.guest-grid {
        grid-template-columns:1fr;
        gap:35px
    }
    .journal-cover {
        height:260px
    }
    .journal-card h3 {
        font-size:28px
    }
    .editorial-empty {
        padding:30px 24px;
        flex-direction:column;
        align-items:flex-start;
        gap:25px
    }
    .editorial-empty h2 {
        font-size:33px
    }
    .editorial-empty p {
        font-size:13px
    }
    .blog-article {
        padding:35px 24px 55px
    }
    .article-summary {
        font-size:15px
    }
    .article-heading h1 {
        font-size:40px
    }
    .article-cover {
        margin-bottom:30px
    }
    .article-body {
        font-size:16px
    }
    .article-heading {
        margin-bottom:30px
    }
    .guest-image {
        height:390px
    }
    .photo-dialog {
        padding:12px
    }
    .dialog-close {
        right:20px;
        top:20px
    }
    .photo-dialog h2 {
        font-size:24px
    }
    .journal-welcome {
        padding:25px;
        gap:20px
    }
    .journal-welcome h3 {
        font-size:27px
    }
    .journal-welcome>span {
        font-size:45px
    }
    .home-guests {
        margin:0 10px 35px
    }
    .home-guests .section {
        padding:45px 20px
    }
    .guest-strip {
        gap:12px
    }
    .guest-strip>a {
        height:240px
    }
    .guest-strip span {
        font-size:18px;
        padding:25px 12px 12px
    }
    .public-pagination {
        gap:14px;
        font-size:10px
    }
    .public-pagination .button {
        padding:12px
    }
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(prefers-reduced-motion:reduce) {
    * {
        transition:none!important
    }
}
