/* =======================================================
   NOOLUYOR - Bundle.app Inspired Clean Design
   Editorial, minimal, content-focused
   ======================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }

:root {
    --bg: #f4f4f4;
    --card: #ffffff;
    --text: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e8e8e8;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.1);
    --radius: 8px;
    --max-w: 1200px;
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: 0.2s ease;
    --accent: #FF4C00;
    --sidebar-bg: #1a1a2e;
    --sidebar-text: #e0e0e0;
    --header-h: 50px;
}

[data-theme="dark"] {
    --bg: #121212;
    --card: #1e1e1e;
    --text: #e0e0e0;
    --text-secondary: #999;
    --text-muted: #666;
    --border: #2a2a2a;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.4);
    --sidebar-bg: #0d0d1a;
    --sidebar-text: #d0d0d0;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #121212;
        --card: #1e1e1e;
        --text: #e0e0e0;
        --text-secondary: #999;
        --text-muted: #666;
        --border: #2a2a2a;
        --shadow: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-hover: 0 4px 12px rgba(0,0,0,0.4);
        --sidebar-bg: #0d0d1a;
        --sidebar-text: #d0d0d0;
    }
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}


/* ====================== HEADER ====================== */
.site-header {
    background: var(--card);
    
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 10px 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo .logo-text { height: 36px; width: auto; }
.site-logo .logo-icon { width: 42px; height: 42px; border-radius: 10px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop search */
.search-desktop {
    display: flex;
}
.search-desktop input {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
    width: 200px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: var(--font);
    transition: width 0.2s, border-color 0.2s;
}
.search-desktop input:focus { width: 280px; border-color: var(--accent); }
.search-desktop input::placeholder { color: var(--text-muted); }

/* Theme toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 7px;
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.theme-toggle:hover { background: var(--bg); color: var(--text); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Mobil search - gizli desktop'ta */
.search-mobile {
    display: none;
}
.search-mobile input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    font-family: var(--font);
}
.search-mobile input::placeholder { color: var(--text-muted); }
.search-mobile svg { color: var(--text-muted); flex-shrink: 0; }

/* Mobil responsive */
@media (max-width: 768px) {
    .header-row { justify-content: center; position: relative; }
    .site-logo { margin: 0 auto; }
    .header-actions {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    .search-desktop { display: none; }
    .search-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 16px 10px;
        max-width: var(--max-w);
        margin: 0 auto;
    }
}

/* ======================
   CATEGORY NAV - Clean text links
   ====================== */
/* Category Bar - ayrı satır, yapışkan */
.category-bar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    
    
    
    overflow: hidden;
}
.category-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-bar-inner::-webkit-scrollbar { display: none; }

.cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--border);
}
.cat-pill:hover {
    background: var(--text);
    color: white;
    border-color: var(--text);
}
.cat-pill.active {
    color: white;
    border-color: transparent;
}
.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cat-pill-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
}
.cat-pill-icon svg {
    width: 12px;
    height: 12px;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.header-nav a:hover {
    color: var(--text);
}
@media (max-width: 768px) {
    .header-nav { display: none; }
}

/* Eski category-nav gizle */
.category-nav { display: none; }

.category-nav-inner::-webkit-scrollbar { display: none; }

.cat-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: color var(--transition);
    position: relative;
    border-bottom: 2px solid transparent;
}

.cat-link:hover {
    color: var(--text);
}

.cat-link.active {
    font-weight: 700;
    color: var(--text);
}

.cat-link .cat-emoji {
    font-size: 14px;
}

/* ======================
   HERO - Newspaper Layout (big left + small right)
   ====================== */
.hero-section {
    padding: 24px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 16px;
    min-height: 420px;
}

/* Main hero (left) */
.hero-main {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}
.hero-main:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.hero-main-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
}
.hero-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
}

.hero-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: inline-block;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

.hero-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
}

/* Side cards (right) */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-side-card {
    display: flex;
    gap: 12px;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    flex: 1;
    min-height: 0;
}
.hero-side-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.hero-side-img {
    width: 140px;
    flex-shrink: 0;
    overflow: hidden;
}
.hero-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-side-body {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hero-side-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: inline-block;
}

.hero-side-body h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.hero-side-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* ======================
   AD SLOTS
   ====================== */
.ad-slot {
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    margin: 20px auto;
    min-height: 90px;
}

.ad-slot[data-size="728x90"] {
    max-width: 728px;
    height: 90px;
}

.ad-slot[data-size="300x250"] {
    max-width: 300px;
    height: 250px;
    margin: 0 auto 20px;
}

.ad-slot[data-size="responsive"] {
    width: 100%;
    min-height: 120px;
}

/* ======================
   MAIN LAYOUT - 2 col + sidebar
   ====================== */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    padding: 24px 0 40px;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ======================
   NEWS GRID - 2 columns
   ====================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Card */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .card-img img {
    transform: scale(1.03);
}

.card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: inline-block;
}

.card-body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-source {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.card-source .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* Full-width first card */
.news-card.card-featured {
    grid-column: 1 / -1;
}

.news-card.card-featured .card-img {
    aspect-ratio: 21/9;
}

.news-card.card-featured .card-body h3 {
    font-size: 22px;
}

/* ======================
   SIDEBAR - Dark background
   ====================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-block {
    background: var(--sidebar-bg);
    border-radius: var(--radius);
    padding: 20px;
    color: var(--sidebar-text);
}

.sidebar-block-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-block-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #e94560;
    border-radius: 2px;
}

/* Trending list */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: opacity var(--transition);
}

.trending-item:last-child { border-bottom: none; }
.trending-item:hover { opacity: 0.8; }

.trending-num {
    font-size: 20px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    min-width: 28px;
    line-height: 1;
}

.trending-info h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--sidebar-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.trending-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-meta svg {
    width: 12px;
    height: 12px;
}

/* Sidebar categories */
.sidebar-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-cat {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: var(--sidebar-text);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-cat-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
}
.sidebar-cat-icon svg {
    width: 14px;
    height: 14px;
}

.sidebar-cat:hover {
    background: rgba(255,255,255,0.15);
}

.sidebar-cat-count {
    opacity: 0.5;
    margin-left: 2px;
}

/* Sidebar Chains */
.sidebar-chains-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-chain-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.sidebar-chain-item:hover {
    background: rgba(255,255,255,0.08);
}

.sidebar-chain-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-chain-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-chain-thumb-placeholder {
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-chain-thumb-placeholder svg {
    width: 18px;
    height: 18px;
    color: var(--sidebar-text);
    opacity: 0.4;
}

.sidebar-chain-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sidebar-chain-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--sidebar-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-chain-meta {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.sidebar-chain-all {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 10px;
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: opacity 0.2s;
}

.sidebar-chain-all:hover { opacity: 0.8; }

/* ======================
   PAGINATION
   ====================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 32px 0;
}

.pagination a,
.pagination span {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition);
    color: var(--text-secondary);
}

.pagination a:hover {
    background: var(--card);
    color: var(--text);
}

.pagination span.active {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.pagination .dots {
    color: var(--text-muted);
}

/* ======================
   ARTICLE PAGE
   ====================== */
.article-page {
    padding-bottom: 40px;
}

.breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--text); }

.breadcrumb .sep { color: var(--text-muted); }

.article-hero-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-hero-wrap img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    object-fit: cover;
}
.image-source {
    text-align: right;
    font-size: 11px;
    color: var(--text-muted, #888);
    margin-top: 6px;
    padding-right: 4px;
    font-style: italic;
    opacity: 0.8;
}

.article-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0;
}

.article-header {
    margin-bottom: 24px;
}

.article-badge {
    margin-bottom: 10px;
}

.article-badge a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.article-header h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 14px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
    align-items: center;
}

.article-meta-bar span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-meta-bar svg {
    width: 14px;
    height: 14px;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-height: none !important;
    overflow: visible !important;
}

.article-content p { margin-bottom: 16px; }
.article-content h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.article-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.article-content img { border-radius: var(--radius); margin: 16px 0; }
.article-content a { color: var(--accent); text-decoration: underline; }
[data-theme="dark"] .article-content a { color: var(--accent); }
.article-content blockquote {
    border-left: 3px solid var(--text-muted);
    padding: 8px 16px;
    margin: 16px 0;
    color: var(--text-secondary);
    font-style: italic;
}
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 6px; }

/* Share buttons */
.share-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition);
    color: #fff;
}

.share-btn:hover { opacity: 0.8; }
.share-btn svg { width: 16px; height: 16px; }
.x-share { background: #000; }
.wa-share { background: #25D366; }
.fb-share { background: #1877F2; }
.copy-share { background: var(--text-secondary); }

/* Story chain - Professional Design */
.chain-section {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.chain-header-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent), #ff7033);
    color: #fff;
}

.chain-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.chain-header-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.chain-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.chain-header-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
}

.chain-header-name {
    font-size: 15px;
    font-weight: 700;
}

.chain-header-name a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.chain-header-name a:hover { opacity: 0.8; }

.chain-sep { opacity: 0.6; margin: 0 2px; }

.chain-header-count {
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.chain-timeline {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    position: relative;
}

.chain-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent) 40%, var(--border));
    border-radius: 2px;
}

.chain-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    position: relative;
    font-size: 14px;
    transition: background 0.2s;
}

.chain-item:hover {
    background: var(--bg);
}

.chain-item-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--card);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-left: 25px;
    margin-top: 18px;
    transition: all 0.2s;
}

.chain-item.current .chain-item-dot {
    width: 14px;
    height: 14px;
    background: var(--accent);
    margin-left: 24px;
    box-shadow: 0 0 0 4px rgba(255, 76, 0, 0.15);
}

.chain-item-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px 12px 14px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.chain-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.chain-item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.chain-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.chain-item:hover .chain-item-title {
    color: var(--accent);
}

.chain-item.current .chain-item-title {
    font-weight: 700;
    color: var(--text);
}

.chain-date {
    font-size: 12px;
    color: var(--text-muted);
}

.chain-item.current .chain-date {
    color: var(--accent);
    font-weight: 500;
}

.chain-current-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(255, 76, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
    margin-top: 2px;
}

.chain-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: background 0.2s;
}

.chain-view-all:hover {
    background: var(--bg);
}

.chain-view-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.chain-view-all:hover svg {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .chain-header-banner { padding: 14px 16px; gap: 10px; }
    .chain-header-icon { width: 36px; height: 36px; }
    .chain-header-name { font-size: 14px; }
    .chain-header-count { font-size: 11px; padding: 3px 10px; }
    .chain-item-thumb { width: 40px; height: 40px; }
    .chain-item-content { padding: 10px 12px 10px 12px; }
    .chain-timeline::before { left: 26px; }
    .chain-item-dot { margin-left: 21px; }
    .chain-item.current .chain-item-dot { margin-left: 20px; }
}

/* Comments */
.comments-section {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.comments-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.comment-count {
    font-size: 12px;
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
}

.comment-form {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    resize: vertical;
    margin-bottom: 8px;
    outline: none;
    transition: border-color var(--transition);
}

.comment-form textarea:focus { border-color: var(--accent); }

.submit-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition);
}

.submit-btn:hover { opacity: 0.9; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.login-prompt {
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.login-prompt a { font-weight: 600; color: var(--accent); text-decoration: underline; }
[data-theme="dark"] .login-prompt a { color: var(--accent); }

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.comment-body {
    flex: 1;
}

.comment-author {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-right: 8px;
}

.comment-date {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.5;
}

/* Related */
.related-section {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.related-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-grid .card-body h3 {
    font-size: 14px;
}

/* Floating share */
.floating-share {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 50;
}

.floating-share.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ======================
   CATEGORIES PAGE
   ====================== */
.page-header {
    padding: 32px 0 24px;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
}

.page-header p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding-bottom: 40px;
}

.cat-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.cat-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cat-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}
.cat-card-icon svg {
    width: 22px;
    height: 22px;
}

.cat-card-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.cat-card-count {
    font-size: 12px;
    color: var(--text-muted);
}

.cat-card-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-article {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.3;
}

.mini-article img {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-article span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ======================
   CATEGORY PAGE (filtered)
   ====================== */
.category-hero-full {
    width: 100%;
    padding: 40px 0;
    text-align: center;
}

.category-hero-full h1 {
    margin: 0 0 4px;
}

.sort-bar {
    display: flex;
    gap: 8px;
    padding: 16px 0;
}

.sort-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all var(--transition);
}

.sort-btn:hover { color: var(--text); }

.sort-btn.active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

/* ======================
   SEARCH PAGE
   ====================== */
.search-hero {
    padding: 40px 0 24px;
    text-align: center;
}

.search-box-large {
    max-width: 600px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box-large:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,76,0,0.1);
}

.search-box-large svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-box-large input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--text);
    font-family: var(--font);
}

.search-box-large input::placeholder { color: var(--text-muted); }

.search-hero h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.search-hero .query-text { color: var(--accent); }
[data-theme="dark"] .search-hero .query-text { color: var(--accent); }

.result-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Search result list */
.news-list-card {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: opacity var(--transition);
}

.news-list-card:hover { opacity: 0.8; }

.list-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-body {
    flex: 1;
    min-width: 0;
}

.list-body .card-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 4px;
}

.list-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 4px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    align-items: center;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-meta svg {
    width: 12px;
    height: 12px;
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-results-icon {
    margin-bottom: 16px;
}

.no-results-icon svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

.no-results h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.no-results p {
    font-size: 14px;
}

/* ======================
   ABOUT PAGE
   ====================== */
.about-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-logo-section {
    text-align: center;
    margin-bottom: 24px;
}

.about-app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin: 0 auto 12px;
    box-shadow: var(--shadow);
}

.about-logo-section h1 {
    font-size: 26px;
    font-weight: 800;
}

.about-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}

.about-section {
    margin-bottom: 28px;
}

.about-section .section-heading h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius);
    transition: opacity var(--transition);
    flex: 1;
    min-width: 200px;
}

.download-btn:hover { opacity: 0.9; }

.download-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-label small {
    font-size: 10px;
    opacity: 0.7;
    display: block;
}

.btn-label strong {
    font-size: 14px;
    font-weight: 600;
}

.about-contact {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-contact a { color: var(--accent); text-decoration: underline; }
[data-theme="dark"] .about-contact a { color: var(--accent); }

/* ======================
   LOGIN PAGE
   ====================== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.login-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    width: 100%;
    max-width: 400px;
}

.login-card h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.login-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.login-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}

[data-theme="dark"] .login-error {
    background: #2d1b1b;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus { border-color: var(--accent); }

.login-btn {
    width: 100%;
    padding: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition);
    margin-top: 4px;
}

.login-btn:hover { opacity: 0.9; }

.login-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

.login-footer a { color: var(--accent); font-weight: 600; }
[data-theme="dark"] .login-footer a { color: var(--accent); }

/* ======================
   CHAIN PAGE
   ====================== */
.chain-page-hero {
    background: linear-gradient(135deg, var(--accent), #ff7033);
    padding: 48px 0 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.chain-page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.chain-page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.chain-icon {
    margin-bottom: 12px;
}

.chain-icon svg {
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,0.85);
}

.chain-page-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.chain-stats {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.chain-page-timeline {
    padding: 32px 0 40px;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.chain-page-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 32px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--accent) 60%, var(--border));
    border-radius: 3px;
}

.chain-page-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 56px;
}

.chain-page-item:last-child {
    margin-bottom: 0;
}

.chain-page-item::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--card);
    box-shadow: 0 0 0 2px var(--accent);
    z-index: 1;
    transition: transform 0.2s;
}

.chain-page-item:hover::before {
    transform: scale(1.2);
}

.chain-page-item .news-list-card {
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: all 0.25s;
    box-shadow: var(--shadow);
}

.chain-page-item .news-list-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
    transform: translateX(4px);
}

.chain-page-date {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ======================
   CHAIN LIST PAGE
   ====================== */
.chain-list-hero {
    background: linear-gradient(135deg, var(--accent), #ff7033);
    padding: 48px 0 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.chain-list-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.chain-list-hero .chain-icon svg { color: rgba(255,255,255,0.85); }

.chain-list-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.chain-list-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 6px;
}

.chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 24px 0 40px;
}

.chain-card {
    border-radius: 14px !important;
    overflow: hidden;
    transition: all 0.3s;
}

.chain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.chain-card .card-img {
    position: relative;
    overflow: hidden;
}

.chain-card .card-img img {
    transition: transform 0.4s ease;
}

.chain-card:hover .card-img img {
    transform: scale(1.05);
}

.chain-card .card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    pointer-events: none;
}

.chain-card-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(255, 76, 0, 0.3);
}

/* ======================
   FOOTER
   ====================== */
.site-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
    margin-top: 40px;
}

.footer-logo-area {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.3px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    padding: 3px 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer-bottom a:hover { color: #fff; }

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ======================
   MOBILE RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-logo-text { height: 100px !important; }
    .footer-logo-icon { height: 45px !important; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-main-img {
        min-height: 260px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-side {
        gap: 10px;
    }

    .hero-side-img {
        width: 100px;
    }

    .hero-side-body h3 {
        font-size: 13px;
    }

    .article-header h1 {
        font-size: 22px;
    }

    .article-content {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }

    .header-search.open {
        display: flex;
    }

    .ad-slot[data-size="728x90"] {
        height: auto;
        min-height: 60px;
    }

    .list-thumb {
        width: 90px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }

    .hero-title { font-size: 18px; }
    .hero-main-img { min-height: 220px; }

    .article-header h1 { font-size: 20px; }

    .page-header h1 { font-size: 22px; }
}

/* Print */
@media print {
    .site-header, .site-footer, .sidebar, .floating-share, .share-section, .ad-slot, .category-nav { display: none; }
    .main-layout { grid-template-columns: 1fr; }
    .article-content { font-size: 14px; }
}

/* Lazy loading fade-in */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s; }
img[loading="lazy"].loaded { opacity: 1; }

/* Ad slot spacing */
.ad-slot { margin: 16px 0; text-align: center; }

/* Desktop: inline search göster, mobil search gizle */
.header-search-mobile { display: none; }
.header-search-desktop { display: flex; }

@media (max-width: 768px) {
    .header-search-mobile { display: flex; }
    .header-search-desktop { display: none !important; }
}

/* Mobil tam ekran düzeltmeleri */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr !important; min-height: auto !important; }
    .hero-side { display: flex; gap: 8px; }
    .hero-side-img { width: 90px; height: 70px; }
    .hero-side-body { padding: 6px 8px 6px 0; }
    .hero-side-body h3 { font-size: 13px; -webkit-line-clamp: 2; }
    .hero-side-meta { font-size: 10px; }
    .hero-main-img { min-height: 220px !important; }
    .news-grid { grid-template-columns: 1fr !important; }
    .main-layout { grid-template-columns: 1fr !important; }
    .sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .footer-logo-row { justify-content: center; }
    .category-bar-inner { padding: 8px 12px; }
    .ad-slot ins { max-width: 100% !important; }
}

/* iOS mobil zoom engelle - font-size 16px minimum */
.search-mobile input { font-size: 16px !important; }
.search-mobile svg { display: none; }
