/* style.css - 1970s Tabloid Edition (Full Restoration) */

:root {
    --bg-paper: #fcf9f0;
    --ink-black: #1a1a1a;
    --accent-gold: #f4d03f;
    --accent-red: #c0392b;
    --border-color: #2c2c2c;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Libre Baskerville', serif;
    --font-sans: 'Oswald', sans-serif;
    --font-nav: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Courier Prime', monospace;
    --image-filter-subtle: grayscale(4%) sepia(3%) contrast(1.01) saturate(0.99);
    --image-filter-hover: none;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-paper);
    color: var(--ink-black);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-red); }

/* --- ARTICLE & INTERNAL LINKS --- */
.article-content a, 
.internal-link {
    color: var(--accent-red) !important;
    text-decoration: underline !important;
    font-weight: 600;
}
.article-content a:hover {
    color: var(--ink-black) !important;
    text-decoration: none !important;
}

img { max-width: 100%; height: auto; display: block; border: 1px solid #000; filter: var(--image-filter-subtle); transition: filter 0.25s ease; }
img:hover { filter: var(--image-filter-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; background: #fffdf5; border-left: 1px solid #ccc; border-right: 1px solid #ccc; min-height: 100vh; }

/* --- MOVIE RATINGS BAR --- */
.movie-ticker {
    background: var(--ink-black);
    color: #fff;
    padding: 5px 0;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow-x: auto;
    border-bottom: 2px solid #000;
}
.movie-ticker span { margin: 0 15px; letter-spacing: 1px; }
.rating-num { color: var(--accent-gold); font-weight: bold; margin-right: 5px; }

/* --- MASTHEAD --- */
.masthead {
    text-align: center;
    padding: 18px 0 14px;
    border-bottom: 4px double #000;
    position: relative;
    margin-bottom: 8px;
}

.logo-wrap {
    display: inline-block;
    width: 140px;
    max-width: 100%;
    background: transparent;
    margin-bottom: 5px;
}
.logo-wrap img { width: 100%; height: auto; border: none !important; filter: none !important; }

.paper-title {
    font-family: var(--font-head);
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    margin: 5px 0;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.issue-meta {
    font-family: var(--font-mono);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 5px 0;
    margin-top: 6px;
}

/* --- NAV STRIP --- */
.nav-strip {
    font-family: var(--font-nav);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px 9px;
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    letter-spacing: 0;
}
.nav-strip::-webkit-scrollbar { display: none; }
.nav-strip a {
    border-bottom: 2px solid transparent;
    color: var(--ink-black);
    flex: 0 0 auto;
    line-height: 1.15;
    padding-bottom: 1px;
    letter-spacing: -0.1px;
    position: relative;
}
.nav-strip a + a::before {
    content: "|";
    display: inline-block;
    margin-right: 4px;
    color: #7a746d;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0;
}
.nav-strip a:hover { border-bottom: 2px solid var(--accent-red); color: var(--accent-red); }

@media (max-width: 1200px) {
    .nav-strip {
        font-size: 0.72rem;
        gap: 4px;
    }
    .nav-strip a + a::before { margin-right: 3px; }
}

@media (max-width: 900px) {
    .nav-strip {
        justify-content: flex-start;
    }
}

/* --- FRONT PAGE LAYOUT --- */
.newspaper-layout { column-count: 3; column-gap: 30px; column-rule: 1px solid #ccc; }
.news-box { break-inside: avoid; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #ccc; }
.headline { font-family: var(--font-head); font-weight: 700; margin: 10px 0; line-height: 1; color: #000; }
.hl-xl { font-size: 3rem; }
.hl-lg { font-size: 2rem; }
.hl-md { font-size: 1.5rem; font-style: italic; }

/* --- ARTICLE PAGE --- */
.article-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 30px; }
.article-content { font-size: 1.2rem; line-height: 1.8; text-align: justify; }
.drop-cap::first-letter { float: left; font-size: 4.5rem; line-height: 0.7; padding-right: 10px; font-family: var(--font-head); font-weight: 900; }

.sidebar { border-left: 1px solid #ccc; padding-left: 30px; }
.sidebar-widget { margin-bottom: 40px; }
.sidebar img { filter: none !important; }
.sidebar img:hover { filter: none !important; }

.editor-desk-widget { margin-bottom: 32px; }
.editor-desk-title {
    margin: 0 0 14px;
    padding: 7px 10px;
    background: #000;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.editor-desk-card {
    background: linear-gradient(180deg, #fffdf7 0%, #f6eee0 100%);
    border: 2px solid #000;
    padding: 14px;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.08);
}
.editor-desk-photo-link {
    display: block;
    width: 200px;
    margin-bottom: 14px;
    margin-left: auto;
    margin-right: auto;
}
.editor-desk-photo {
    width: 200px;
    height: 200px;
    border: 1px solid #000;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
    object-fit: cover;
}
.editor-desk-copy {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2c241d;
}
.editor-desk-copy p {
    margin: 0 0 12px;
}
.editor-desk-copy p:last-child {
    margin-bottom: 0;
}
.editor-desk-copy a {
    color: var(--accent-red);
    text-decoration: underline;
    font-weight: 700;
}
.editor-desk-signoff {
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.35);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* --- SEARCH & AD BOXES --- */
.faux-ad {
    border: 3px double #000;
    padding: 20px;
    text-align: center;
    background: #fdfdf5;
    font-family: var(--font-sans);
    margin-bottom: 25px;
}
.search-ad-input {
    width: 100%;
    padding: 10px;
    font-family: var(--font-mono);
    border: 1px dashed #000;
    background: transparent;
    margin-bottom: 10px;
    text-align: center;
    outline: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.search-ad-button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-family: var(--font-sans);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
    width: 100%;
    letter-spacing: 1px;
}
.search-ad-button:hover { background: var(--accent-red); }

/* --- PAGINATION --- */
.article-pagination { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; border-top: 2px solid #000; padding-top: 20px; }
.article-nav-link { display: block; border: 2px solid #000; padding: 15px; background: #fffdf5; box-shadow: 4px 4px 0px rgba(0,0,0,0.1); }
.article-nav-link:hover { background: var(--accent-gold); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .newspaper-layout { column-count: 1; }
    .article-grid { grid-template-columns: 1fr; }
    .sidebar { border-left: none; padding-left: 0; border-top: 4px double #000; padding-top: 30px; }
    .paper-title { font-size: 3.2rem; }
    .logo-wrap { width: 120px; }
    .editor-desk-card { padding: 12px; }
}

@media (max-width: 600px) {
    .paper-title { font-size: 2.2rem; letter-spacing: -1px; }
    .hl-xl { font-size: 2.2rem; }
    .nav-strip { gap: 6px; font-size: 0.68rem; padding: 7px 4px 9px; }
    .nav-strip a + a::before { margin-right: 3px; }
    .container { padding: 0 10px; }
}

/* Retro Rewind Box */
.retro-rewind-box {
    border: 1px solid #1a1a1a;
    background: linear-gradient(180deg, #fdfaf6 0%, #f6efe4 100%);
    padding: 16px;
    font-family: var(--font-body);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.08);
    position: relative;
}
.retro-rewind-box::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px dashed rgba(0,0,0,0.18);
    pointer-events: none;
}
.rewind-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.7);
    padding-bottom: 10px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.rewind-title {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    background: var(--accent-red);
    color: #fff;
    padding: 4px 10px;
    display: inline-block;
    line-height: 1.2;
}
.rewind-date {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #4a4036;
    letter-spacing: 0.6px;
    white-space: nowrap;
    padding-top: 2px;
}
.rewind-content p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    text-align: left;
    border-left: 3px solid var(--accent-red);
    padding-left: 12px;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .rewind-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rewind-date {
        white-space: normal;
    }
}

/* ========================
   RETRO PAA / DEDIKODU KÖŞESİ
   ======================== */
.retro-paa-box {
    position: relative;
    background-color: #fffdf5;
    border: 3px double #1a1a1a;
    padding: 1.8rem 1.5rem 1.5rem 1.5rem;
    margin: 2.5rem 0 2rem 0;
    font-size: 0.97em;
    line-height: 1.7;
    /* Hafif kağıt/gazete dokusu hissi */
    box-shadow:
        inset 0 0 0 1px rgba(26,26,26,0.08),
        3px 3px 0 rgba(26,26,26,0.08);
}

/* Sol üst badge */
.retro-paa-box::before {
    content: "BEHIND THE SCENES";
    position: absolute;
    top: -1px;
    left: -1px;
    background-color: #b0292e;
    color: #fffdf5;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.85rem 0.2rem;
    border-right: 2px solid #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    line-height: 1.2;
}

/* Alternatif badge: yazı stili */
.retro-paa-box.has-burning::before {
    content: "BURNING QUESTION";
    background-color: #8b2500;
}

/* Dekoratif köşe çizgileri (köşe dekorasyonu) */
.retro-paa-box::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed rgba(26,26,26,0.2);
    pointer-events: none;
}

/* İçindeki H3 başlıklar - daktilo/el yazısı */
.retro-paa-box h3 {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c1a00;
    margin: 1.4rem 0 0.5rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #f4d03f;
    letter-spacing: 0.02em;
}

.retro-paa-box h3:first-child {
    margin-top: 0;
}

/* Normal paragraflar */
.retro-paa-box p {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.97em;
    color: #2c2c2c;
    margin: 0 0 0.8rem 0;
}

/* İçindeki listeler */
.retro-paa-box ul,
.retro-paa-box ol {
    margin: 0.5rem 0 1rem 1.2rem;
    padding-left: 0;
}

.retro-paa-box li {
    font-family: 'Courier Prime', monospace;
    font-size: 0.95em;
    margin-bottom: 0.4rem;
    color: #2c2c2c;
}

/* Strong/italic vurgular ana metinden farklı */
.retro-paa-box strong,
.retro-paa-box b {
    color: #8b2500;
    font-weight: 700;
}

.retro-paa-box em,
.retro-paa-box i {
    font-style: italic;
    color: #444;
}

/* Dashed border'ı badge altında gizle (sol üst köşe temiz kalsın) */
@media not all and (pointer: coarse) {
    /* Sadece klavye/fare ile hover'da hafifçe kabarmasın */
    .retro-paa-box:hover {
        border-color: #000;
    }
}

/* Mobil uyumluluk */
@media (max-width: 600px) {
    .retro-paa-box {
        padding: 1.4rem 1rem 1.2rem 1rem;
        margin: 1.5rem 0;
    }

    .retro-paa-box::before {
        font-size: 0.6rem;
        padding: 0.2rem 0.7rem 0.15rem;
    }

    .retro-paa-box h3 {
        font-size: 1rem;
    }
}
