/* Uluslarötesi — Ghost teması
   Marka renkleri: Ana #991D25 · Antrasit #202329 · Arka Plan #F4F1EB · Destek #A79E93 · Vurgu #44566C
   Yazı tipleri: Spectral (başlık) · IBM Plex Sans (metin) · IBM Plex Mono (veri) */

:root {
    --ana: #991D25;
    --antrasit: #202329;
    --zemin: #F4F1EB;
    --destek: #A79E93;
    --vurgu: #44566C;
    --kagit: #FBF9F5;
    --cizgi: #DAD4CA;
    --metin: #202329;
    --soluk: #5E5A55;

    --serif: var(--gh-font-heading, "Spectral"), Georgia, "Times New Roman", serif;
    --sans: var(--gh-font-body, "IBM Plex Sans"), system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;

    --wrap: 1200px;
    --wrap-narrow: 720px;
    --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--zemin);
    color: var(--metin);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--destek); text-underline-offset: 3px; }
a:hover { color: var(--ana); }
:focus-visible { outline: 2px solid var(--ana); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--antrasit); color: #fff; padding: 8px 12px; }

.kicker {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ana);
    text-decoration: none;
    margin: 0 0 0.5rem;
}

.btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    background: var(--ana);
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--ana);
}
.btn:hover { background: #7d171e; color: #fff; }
.btn-outline { background: transparent; color: var(--ana); }
.btn-outline:hover { background: var(--ana); color: #fff; }

/* ---------- Başlık ---------- */
.topbar { background: var(--antrasit); color: #d9d4cc; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: 6px; padding-bottom: 6px; }
.topbar-label { text-transform: uppercase; letter-spacing: 0.12em; }

.masthead { display: flex; align-items: center; justify-content: center; position: relative; padding-top: 28px; padding-bottom: 22px; }
.brand { text-decoration: none; }
.brand-logo { max-height: 64px; width: auto; }
.brand-word {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3.4rem);
    letter-spacing: 0.06em;
    color: var(--antrasit);
    line-height: 1;
}
.brand-word span { color: var(--ana); }
.brand-word--light { color: #fff; font-size: 1.6rem; }

.site-nav { border-top: 1px solid var(--antrasit); border-bottom: 3px double var(--antrasit); background: var(--zemin); }
.site-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; }
.site-nav .nav { display: flex; flex-wrap: wrap; gap: 0 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav .nav a { font-weight: 500; font-size: 0.95rem; text-decoration: none; padding: 0.9rem 0; display: block; }
.site-nav .nav-current a { color: var(--ana); box-shadow: inset 0 -3px 0 var(--ana); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-signin { font-size: 0.9rem; text-decoration: none; color: var(--vurgu); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
    .masthead { justify-content: space-between; padding-top: 18px; padding-bottom: 14px; }
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 1px solid var(--antrasit); background: transparent; cursor: pointer;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 18px; height: 2px; background: var(--antrasit); position: relative; content: "";
    }
    .nav-toggle-bar::before { position: absolute; top: -6px; }
    .nav-toggle-bar::after { position: absolute; top: 6px; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .site-nav-inner { flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
    .site-nav .nav { flex-direction: column; }
    .site-nav .nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--cizgi); }
    .topbar-label { display: none; }
}

/* ---------- Ana sayfa ---------- */
.site-main { min-height: 60vh; }
.hero { padding-top: 2rem; }
.hero-slogan {
    font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--soluk);
    text-align: center; margin: 0 0 2rem;
}
.featured-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--antrasit); }
.featured-lead { grid-row: span 2; }
.featured-side + .featured-side { border-top: 1px solid var(--cizgi); padding-top: 1.5rem; }
@media (max-width: 900px) { .featured-grid { grid-template-columns: 1fr; } .featured-lead { grid-row: auto; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--antrasit); padding-bottom: 0.5rem; }
.section-title { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.section-link { text-decoration: none; color: var(--ana); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.span-all { grid-column: 1 / -1; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Kart ---------- */
.card { display: flex; flex-direction: column; gap: 0.9rem; }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--destek); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.5rem; }
.card-title a { text-decoration: none; }
.card-excerpt { color: var(--soluk); margin: 0 0 0.75rem; }
.card-meta { color: var(--soluk); display: flex; flex-wrap: wrap; gap: 0.4rem; }
.card-meta a { text-decoration: none; color: var(--vurgu); font-weight: 500; }
.card--large .card-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.card--large .card-excerpt { font-size: 1.08rem; }
.span-all .card--large { display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .span-all .card--large { grid-template-columns: 1fr; } }

/* ---------- Arşiv / profil ---------- */
.archive-head { padding-top: 3rem; padding-bottom: 1rem; text-align: center; }
.archive-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 0.75rem; }
.archive-desc { color: var(--soluk); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.profile { display: flex; gap: 2rem; align-items: center; padding-top: 3rem; padding-bottom: 1rem; }
.profile .archive-desc { margin: 0; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 1rem 0 0; color: var(--vurgu); }
@media (max-width: 600px) { .profile { flex-direction: column; text-align: center; } .profile-meta { justify-content: center; } }

.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.avatar--lg { width: 72px; height: 72px; }
.avatar--xl { width: 128px; height: 128px; flex-shrink: 0; }

/* ---------- Yazı ---------- */
.article-head { padding-top: 3rem; text-align: left; }
.article-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.1; margin: 0 0 1rem; }
.article-dek { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--soluk); margin: 0 0 1.5rem; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding: 1rem 0; border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); }
.byline-author { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; }
.byline-meta { color: var(--soluk); }
.article-image { margin: 2rem auto; }
.article-image figcaption, .gh-content figcaption { font-family: var(--mono); font-size: 0.75rem; color: var(--soluk); margin-top: 0.5rem; }

.gh-content { font-size: 1.1rem; line-height: 1.75; padding-top: 1rem; }
.gh-content > * + * { margin-top: 1.4em; margin-bottom: 0; }
.gh-content h2, .gh-content h3 { font-family: var(--serif); line-height: 1.2; margin-top: 2.2em; }
.gh-content h2 { font-size: 1.8rem; }
.gh-content h3 { font-size: 1.4rem; }
.gh-content blockquote { margin-left: 0; padding-left: 1.25rem; border-left: 3px solid var(--ana); font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.gh-content blockquote.kg-blockquote-alt { border: 0; text-align: center; padding: 0 1rem; }
.gh-content a { color: var(--ana); }
.gh-content hr { border: 0; border-top: 1px solid var(--destek); margin: 2.5em auto; width: 30%; }
.gh-content code { font-family: var(--mono); font-size: 0.9em; background: var(--kagit); padding: 0.1em 0.3em; }
.gh-content pre { background: var(--antrasit); color: #f4f1eb; padding: 1rem; overflow-x: auto; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.gh-content th, .gh-content td { border-bottom: 1px solid var(--cizgi); padding: 0.5rem; text-align: left; }
.post-template .gh-content > p:first-child::first-letter { float: left; font-family: var(--serif); font-weight: 700; font-size: 3.6em; line-height: 0.85; padding: 0.08em 0.1em 0 0; color: var(--ana); }

/* Ghost editör kartları — geniş ve tam genişlik görseller (zorunlu) */
.kg-width-wide { position: relative; width: min(1040px, 100vw - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img { width: 100%; }

.article-foot { padding-top: 2rem; padding-bottom: 2rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.tag-list a { font-family: var(--mono); font-size: 0.75rem; text-decoration: none; border: 1px solid var(--destek); padding: 0.25rem 0.6rem; }
.author-box { display: flex; gap: 1.25rem; padding: 1.5rem; background: var(--kagit); border-top: 3px solid var(--ana); margin-top: 1rem; }
.author-box-name { font-family: var(--serif); margin: 0 0 0.25rem; font-size: 1.3rem; }
.author-box p:last-child { margin: 0; color: var(--soluk); }

.related { padding-bottom: 3rem; }

/* ---------- Yazar Ol ---------- */
.apply-steps ol { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.apply-steps li { background: var(--kagit); border-top: 3px solid var(--ana); padding: 1.25rem; }
.apply-steps li span { color: var(--ana); display: block; margin-bottom: 0.4rem; }
.apply-steps li p { margin: 0.4rem 0 0; color: var(--soluk); font-size: 0.95rem; }
@media (max-width: 700px) { .apply-steps ol { grid-template-columns: 1fr; } }

/* ---------- Sayfalama ---------- */
.pagination { display: flex; justify-content: space-between; align-items: center; margin: 3rem 0; font-family: var(--mono); font-size: 0.85rem; }
.pagination a { text-decoration: none; color: var(--ana); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--antrasit); color: #cfc9c0; margin-top: 4rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-top: 3rem; padding-bottom: 2rem; }
.footer-brand p { max-width: 380px; margin: 0.75rem 0 0; font-size: 0.95rem; }
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a { text-decoration: none; color: #f4f1eb; }
.footer-nav a:hover { color: var(--destek); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1.5rem; border-top: 1px solid #3a3d44; color: var(--destek); }

/* ---------- Hata ---------- */
.error { text-align: center; padding: 6rem var(--gutter); }
.error-code { font-size: 1rem; color: var(--ana); }

/* ---------- Logo boyutları ---------- */
.brand-logo { max-height: 56px; width: auto; max-width: min(380px, calc(100vw - 110px)); }
@media (max-width: 760px) { .brand-logo { max-height: 40px; } }
.footer-logo { display: block; width: min(260px, 100%); height: auto; }
