@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #FDFDFD;
    --surface: #FFFFFF;
    --text: #181814;
    --secondary: #66625D;
    --line: #DDD9D0;
    --accent: #D45A4E;
}

body.page-dusunce {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ── Typography ── */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}
.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Container ── */
.ds-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Page Header (Hero) ── */
.ds-header {
    padding: 96px 0 60px;
}
.ds-header h1 {
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
    max-width: 800px;
}
.ds-header p {
    font-size: 28px;
    color: var(--secondary);
    max-width: 620px;
    margin-bottom: 30px;
    line-height: 1.4;
}
.ds-meta {
    font-size: 12px;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

/* ── Hero Section (Öne Çıkan) ── */
.ds-hero {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 40px;
    margin-bottom: 120px;
    align-items: center;
}
.ds-hero-content {
    padding-right: 20px;
}
.ds-badge {
    font-size: 12px;
    color: var(--secondary);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}
.ds-hero h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
    cursor: pointer;
    transition: color 0.3s ease;
}
.ds-hero h2:hover {
    color: var(--secondary);
}
.ds-hero-meta {
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 0.05em;
}
.ds-hero p {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 30px;
}
.ds-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}
.ds-link:hover {
    transform: translateX(4px);
    color: var(--text);
}
.ds-hero-img-wrap {
    overflow: hidden;
    aspect-ratio: 16/9;
}
.ds-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.ds-hero:hover .ds-hero-img-wrap img {
    transform: scale(1.02);
}

/* ── Article Grid ── */
.ds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 96px;
}
.ds-card {
    background: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.ds-card:hover {
    transform: scale(1.02);
}
.ds-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--line);
}
.ds-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ds-card-cat {
    font-size: 12px;
    color: var(--secondary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
}
.ds-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text);
    transition: transform 0.3s ease;
}
.ds-card:hover h3 {
    transform: translateY(-2px);
}
.ds-card p {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ds-card-meta {
    font-size: 12px;
    color: var(--secondary);
    letter-spacing: 0.02em;
}

/* ── Editorial Quote ── */
.ds-quote-section {
    background-color: #F4F3EF;
    padding: 96px 20px;
    text-align: center;
    margin-bottom: 96px;
}
.ds-quote-text {
    font-size: clamp(36px, 4vw, 48px);
    color: var(--text);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.3;
}
.ds-quote-author {
    font-size: 1rem;
    color: var(--secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ds-quote-author::before {
    content: '— ';
}

/* ── Popular Section ── */
.ds-popular {
    margin-bottom: clamp(80px, 10vw, 130px);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

/* Sol taraf: editoryal başlık bloğu */
.ds-popular-aside {
    position: relative;
    padding-right: 10px;
}
.ds-popular-eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 22px;
}
.ds-popular-aside h2 {
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    line-height: 1.05;
    color: var(--text);
    margin: 0 0 24px;
    font-weight: 500;
}
.ds-popular-aside p {
    max-width: 30ch;
    color: var(--secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 32px;
}
.ds-popular-progress {
    width: min(420px, 100%);
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    margin-bottom: 36px;
    overflow: hidden;
}
.ds-popular-progress span {
    display: block;
    width: 18%;
    height: 100%;
    background: var(--text);
    border-radius: 2px;
}
.ds-popular-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    background: var(--surface);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ds-popular-cta:hover {
    border-color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -18px rgba(24,24,20,0.4);
    color: var(--text);
}
.ds-popular-cta .ds-cta-ico { display: inline-flex; color: var(--secondary); }
.ds-popular-cta .ds-cta-arrow { color: var(--secondary); transition: transform .25s ease; }
.ds-popular-cta:hover .ds-cta-arrow { transform: translateX(4px); color: var(--text); }

/* Sağ taraf: numaralı sade liste (çizgi ayraçlı, kutusuz) */
.ds-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.ds-popular-item {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 34px);
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: opacity .25s ease;
}
.ds-popular-item:last-child { border-bottom: none; }
.ds-popular-item:hover { opacity: 0.72; }
.ds-popular-thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    background: #EDE9E0;
}
.ds-popular-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-popular-num {
    flex: 0 0 auto;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    color: var(--text);
    min-width: 52px;
    text-align: center;
}
.ds-popular-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.ds-popular-title {
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--text);
    font-weight: 500;
    margin: 0;
    overflow-wrap: anywhere;
}
.ds-popular-author {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 400;
}
.ds-popular-meta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--secondary);
    white-space: nowrap;
}
.ds-popular-meta svg { flex: 0 0 auto; opacity: 0.85; }

/* ── Tematik Koleksiyonlar ── */
.ds-collections {
    margin-bottom: clamp(80px, 10vw, 130px);
}
.ds-collections-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto clamp(36px, 5vw, 56px);
}
.ds-collections-eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}
.ds-collections-head {
    border-bottom: 1px solid #1F1F1F;
    padding-bottom: 1rem;
    margin-bottom: 2.6rem;
}
.ds-collections-head h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--text);
    margin: 0 0 14px;
    font-weight: 500;
}
.ds-collections-head p {
    color: var(--secondary);
    font-size: 1.02rem;
    margin: 0;
}
.ds-collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ds-col-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ds-col-card:hover {
    border-color: #cfc9bd;
    transform: translateY(-4px);
    box-shadow: 0 22px 50px -30px rgba(24,24,20,0.5);
}
.ds-col-media {
    display: block;
    aspect-ratio: 16 / 9;
    height: 132px;
    overflow: hidden;
    background: var(--line);
}
.ds-col-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.ds-col-card:hover .ds-col-media img { transform: scale(1.05); }
.ds-col-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 24px;
}
.ds-col-name {
    font-size: 1.6rem;
    line-height: 1.15;
    color: var(--text);
    font-weight: 500;
}
.ds-col-desc {
    color: var(--secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}
.ds-col-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text);
    font-weight: 600;
}
.ds-col-arrow { transition: transform .25s ease; }
.ds-col-card:hover .ds-col-arrow { transform: translateX(4px); }

/* ── Pre-Footer ── */
.ds-pre-footer {
    text-align: center;
    padding: 36px 20px;
    border-top: 1px solid var(--line);
    margin-bottom: 20px;
}
.ds-pre-footer p {
    font-size: 24px;
    color: var(--secondary);
    font-style: italic;
}
.ds-browse-all {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 30px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--text);
}
.ds-browse-all span { transition: transform .25s ease; display: inline-block; }
.ds-browse-all:hover span { transform: translateX(5px); }

/* ── Responsive ── */
/* Mobilde yatay kayma olmasın: main içeriğini kırp (body overflow-x propagation
   sorununu bypass eder, dikey scroll'u etkilemez) */
.page-dusunce main { overflow-x: clip; }

@media (max-width: 991px) {
    .ds-hero { grid-template-columns: 1fr; }
    .ds-hero-img-wrap { order: -1; }
    .ds-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-popular { grid-template-columns: 1fr; gap: 48px; }
    .ds-popular-aside { padding-right: 0; }
    .ds-popular-aside::before { display: none; }
    .ds-popular-aside p { max-width: none; }
    .ds-collections-grid { grid-template-columns: repeat(2, 1fr); }
    /* Tek sütuna inince grid item'ları izin verilen genişliği aşmasın
       (min-width:auto varsayılanı mobilde yatay taşma yaratıyordu) */
    .ds-hero-content, .ds-hero-img-wrap { min-width: 0; max-width: 100%; }
    .ds-hero-content h2 { overflow-wrap: break-word; word-break: break-word; }
    .ds-hero-img-wrap img { max-width: 100%; height: auto; }
}
@media (max-width: 767px) {
    .ds-grid { grid-template-columns: 1fr; }
    .ds-header h1 { font-size: 48px; }
    .ds-collections-grid { grid-template-columns: 1fr; }
    .ds-popular-item { flex-wrap: wrap; padding: 16px 18px; gap: 14px; }
    .ds-popular-num { order: -1; font-size: 1.9rem; min-width: 0; }
    .ds-popular-thumb { width: 60px; height: 60px; }
    .ds-popular-body { flex-basis: 100%; order: 3; }
    .ds-popular-meta { margin-left: auto; }
    .ds-popular-title { font-size: 1.25rem; }
}

/* ═══ Sinematik Hero (Düşünce) — okumalar/sinema ile aynı dil ═══ */
.ds-cine-wrap { max-width: 1280px; margin: 0 auto clamp(32px, 4vw, 56px); padding: 24px clamp(1.2rem, 4vw, 24px) 0; }
.ds-cine {
    position: relative; min-height: 460px; border-radius: 22px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(30px, 5vw, 66px); isolation: isolate;
}
.ds-cine::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background-color: #141210;
    background-image: var(--ds-cine-img, url('/assets/img/jurnal-hero.jpg'));
    background-size: cover; background-position: var(--ds-cine-pos, center);
    filter: saturate(0.92) contrast(1.04) brightness(0.95);
}
.ds-cine::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.80) 26%, rgba(0,0,0,0.45) 55%,
        rgba(0,0,0,0.12) 78%, rgba(0,0,0,0) 100%);
}
.ds-cine h1 {
    font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.08; margin: 0 0 1.1rem;
    color: #ffffff; max-width: 15ch;
}
.ds-cine p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.12rem, 1.8vw, 1.45rem); line-height: 1.55;
    color: rgba(255, 255, 255, 0.94); margin: 0; max-width: 46ch;
}
@media (max-width: 768px) { .ds-cine { min-height: 360px; } }

/* ═══ Son Paylaşılanlar (sinema tarzı ızgara) + Sinematik söz bandı ═══ */
.ds-latest { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.ds-latest-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.4rem, 5vw, 4rem); }
.ds-latest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.2rem; border-bottom: 1px solid #1F1F1F; margin-bottom: 2.4rem; }
.ds-latest-head h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; color: #181814; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.ds-latest-note { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: #68645D; font-size: 1.05rem; }
.ds-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2vw, 2rem); }
.ds-latest-card { display: block; text-decoration: none; cursor: pointer; transition: transform 0.35s ease; }
.ds-latest-card:hover { transform: scale(1.02); }
.ds-latest-card .dl-frame { aspect-ratio: 16/9; background: #161616; overflow: hidden; margin-bottom: 0.9rem; display: block; }
.ds-latest-card .dl-frame img { width: 100%; height: 100%; object-fit: cover; }
.ds-latest-card .dl-cat { display: block; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #68645D; }
.ds-latest-card .dl-title { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; color: #181814; font-size: 1.35rem; line-height: 1.15; margin: 0.35rem 0 0.15rem; }
.ds-latest-card .dl-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1rem; color: #68645D; margin: 0.5rem 0 0.4rem; }
.ds-latest-card .dl-time { display: block; font-family: 'Inter', sans-serif; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #68645D; }
.ds-latest-empty { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: #68645D; }
@media (max-width: 980px) { .ds-latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-latest-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.ds-scene-band { background: #171717; color: #F8F7F3; text-align: center; padding: clamp(4.5rem, 9vw, 7rem) 0; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-bottom: clamp(36px, 5vw, 64px); }
.ds-scene-band blockquote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.3; margin: 0 auto; max-width: 24ch; }
.ds-scene-band .ds-scene-sign { font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(248,247,243,0.55); margin-top: 1.6rem; }

/* Öne Çıkan artık Son Paylaşılanlar ile aynı hizada; aradaki boşluğu .ds-latest padding'i sağlar */
.ds-featured-wrap { margin-top: clamp(10px, 2vw, 22px); }
.ds-featured-wrap .ds-hero { margin-bottom: 0; }
