/* * LivingInCH - Ultimate News Portal Theme
 * Version: 5.0 (Monolithic Build)
 * Description: Fully integrated, responsive, and clean code structure.
 */

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette */
    --primary: #DA291C;       /* Swiss Red */
    --primary-dark: #B01C11;  /* Darker Red for Hover */
    --dark: #1F2937;          /* Charcoal Black */
    --gray: #6B7280;          /* Muted Gray */
    --light: #F3F4F6;         /* Light Gray Background */
    --white: #FFFFFF;         /* Pure White */
    --border: #E5E7EB;        /* Border Color */
    
    /* Layout */
    --footer-bg: #111827;     /* Footer Background */
    --container-width: 1200px;
    --radius: 6px;            /* Default Border Radius */
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-main);
    background-color: var(--white); /* Fix: Ensures page background is light gray */
    color: var(--dark);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 15px; }
.d-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* =========================================
   2. HEADER SECTION
   ========================================= */

/* Top Bar (Dark Strip) */
.top-bar {
    background: var(--dark);
    color: #9CA3AF;
    font-size: 11px;
    padding: 6px 0;
    border-bottom: 1px solid #374151;
}
.top-links a { margin-left: 15px; color: #E5E7EB; }
.top-links a:hover { color: var(--white); }

/* Main Header (White Area) */
.main-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 3px solid var(--primary);
}
.main-header .container { justify-content: flex-start; gap: 40px; }

/* Logo Styling */
.brand-logo {
    font-size: 28px; font-weight: 800; color: var(--dark);
    line-height: 1; display: flex; flex-direction: column; flex-shrink: 0;
}
.brand-logo span { color: var(--primary); }
.brand-logo small {
    font-size: 10px; color: var(--gray); font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-top: 4px;
}

/* Search Bar Styling */
.search-bar { flex: 1; position: relative; max-width: 600px; }
.search-bar input {
    width: 100%; padding: 12px 15px;
    border: 1px solid #D1D5DB; border-radius: var(--radius);
    background: #F9FAFB; font-size: 14px;
}
.search-bar input:focus { border-color: var(--primary); outline: none; }
.search-bar button {
    position: absolute; right: 6px; top: 6px;
    background: var(--primary); color: var(--white);
    border: none; width: 30px; height: 30px;
    border-radius: 4px; cursor: pointer;
}

/* Navigation Menu */
.main-nav {
    background: #1F2937; position: relative; z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.main-nav ul { display: flex; overflow-x: auto; }
.main-nav a {
    display: block; padding: 12px 18px;
    color: #E5E7EB; font-weight: 600; font-size: 13px;
    border-right: 1px solid #374151; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: var(--primary); color: var(--white); }

/* =========================================
   3. TICKERS (FINANCE & NEWS)
   ========================================= */

/* Finance Ticker (TradingView Container) */
.finance-ticker-container {
    width: 100%; height: 72px; overflow: hidden;
    background: #000; border-bottom: 2px solid var(--primary);
}
.tradingview-widget-container { width: 100% !important; height: 100% !important; }

/* News Ticker (Breaking News) */
.news-ticker-wrap {
    background: var(--white); border-bottom: 1px solid var(--border);
    height: 46px; overflow: hidden; font-family: var(--font-main);
    font-size: 13px; display: flex; align-items: center;
}
.news-ticker-wrap .container { display: flex; align-items: center; height: 100%; }

.ticker-label {
    background: #111; color: var(--white);
    font-weight: 800; padding: 0 15px; height: 100%;
    display: flex; align-items: center; gap: 8px;
    position: relative; z-index: 5; margin-right: 10px;
}
/* ESKİSİ: .ticker-label span:last-child { display: none; } */

/* YENİSİ: Sadece yazıyı gizle, nokta kalsın */
.ticker-label .t-text { display: none; } 
.ticker-label { padding-right: 10px; margin-right: 5px; }
/* Arrow effect for label */
.ticker-label::after {
    content: ''; position: absolute; right: -10px; top: 0;
    border-top: 46px solid #111; border-right: 10px solid transparent;
}

.pulse-dot {
    width: 8px; height: 8px; background-color: var(--primary);
    border-radius: 50%; display: inline-block;
    box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(218, 41, 28, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(218, 41, 28, 0); }
}

.ticker-content {
    flex: 1; overflow: hidden; position: relative; height: 100%;
    mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
}
.ticker-move {
    display: flex; animation: scroll 35s linear infinite;
    white-space: nowrap; align-items: center; height: 100%;
}
.news-ticker-wrap:hover .ticker-move { animation-play-state: paused; }

.ticker-item { margin-right: 40px; display: flex; align-items: center; }
.ticker-item a { color: var(--dark); font-weight: 500; transition: color 0.2s; }
.ticker-item a:hover { color: var(--primary); text-decoration: underline; }
.ticker-item::before { content: "•"; color: #CBD5E1; margin-right: 15px; font-size: 16px; }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   4. HEADLINE AREA (SLIDER & TOOLS)
   ========================================= */
.section-headline { margin-top: 20px; }
.headline-grid {
    display: grid; grid-template-columns: 2fr 1fr; 
    gap: 20px; height: 350px; /* Reduced height as requested */
}

/* Swiper Slider */
.main-slider {
    width: 100%; height: 100%; border-radius: var(--radius);
    overflow: hidden; position: relative; background: #000;
}
.swiper-slide img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.85); transition: transform 6s ease;
}
.swiper-slide-active img { transform: scale(1.05); }

.slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 60px 30px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    color: var(--white); z-index: 10;
}
.slide-caption h2 {
    font-size: 24px; font-weight: 800; line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7); margin-top: 5px;
}
.slide-caption .badge {
    background: #000; color: #FFF; padding: 4px 10px;
    font-size: 10px; font-weight: 900; text-transform: uppercase;
    border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Slider Buttons */
.swiper-button-next, .swiper-button-prev {
    color: #fff !important; width: 36px !important; height: 36px !important;
    background: rgba(0,0,0,0.5); border-radius: 50%; backdrop-filter: blur(4px);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: bold; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--primary); }

/* Featured Tools Sidebar */
.featured-tools-box {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
}
.ft-header {
    background: var(--dark); color: var(--white); padding: 12px 15px;
    font-weight: 700; font-size: 13px; text-transform: uppercase;
}
.ft-item {
    flex: 1; display: flex; align-items: center; gap: 15px;
    padding: 0 15px; border-bottom: 1px solid var(--light);
    transition: background 0.2s;
}
.ft-item:last-child { border: none; }
.ft-item:hover { background: #F9FAFB; }
.ft-icon {
    width: 38px; height: 38px; background: #EEF2FF; color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.ft-text strong { display: block; font-size: 14px; color: var(--dark); }
.ft-text small { color: var(--gray); font-size: 11px; }

/* =========================================
   5. MAIN CONTENT & SIDEBAR
   ========================================= */
.main-layout {
    display: grid; grid-template-columns: 2.5fr 1fr;
    gap: 40px; margin-top: 40px;
}

/* Section Header */
.section-header {
    border-bottom: 2px solid var(--primary);
    margin-bottom: 20px; padding-bottom: 10px;
}
.section-header h3 {
    font-size: 20px; font-weight: 800; text-transform: uppercase;
    color: var(--dark); display: flex; align-items: center; gap: 10px;
}

/* News List Item */
.news-item-row {
    display: flex; gap: 20px; margin-bottom: 30px;
    background: var(--white); padding: 20px;
    border-radius: var(--radius); border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}
.news-item-row:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: #D1D5DB;
}
.row-img {
    width: 220px; height: 140px; flex-shrink: 0;
    border-radius: 4px; overflow: hidden;
}
.row-img img {
    width: 100%; height: 100%; object-fit: cover; transition: 0.3s;
}
.news-item-row:hover .row-img img { transform: scale(1.05); }

.row-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.row-body .cat-label {
    font-size: 10px; color: var(--primary); font-weight: 800;
    text-transform: uppercase; margin-bottom: 6px;
}
.row-body h2 {
    font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 8px;
}
.row-body h2 a:hover { color: var(--primary); }
.row-body p {
    color: var(--gray); font-size: 14px; margin-bottom: 10px; line-height: 1.5;
}
.meta { font-size: 12px; color: #9CA3AF; }

/* Widgets */
.widget {
    background: var(--white); border: 1px solid var(--border);
    padding: 20px; border-radius: var(--radius); margin-bottom: 30px;
}
.widget-title {
    font-size: 16px; font-weight: 800; text-transform: uppercase;
    border-bottom: 2px solid var(--light); padding-bottom: 10px;
    margin-bottom: 15px; position: relative;
}
.widget-title::after {
    content:''; position: absolute; bottom: -2px; left: 0;
    width: 40px; height: 2px; background: var(--primary);
}

.widget-post {
    display: flex; gap: 15px; margin-bottom: 15px;
    border-bottom: 1px solid #F9FAFB; padding-bottom: 10px; align-items: center;
}
.widget-post:last-child { border: none; padding-bottom: 0; margin-bottom: 0; }
.widget-post .count {
    font-size: 24px; font-weight: 900; color: #E5E7EB; line-height: 1;
}
.widget-post h5 { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--dark); }
.widget-post:hover h5 { color: var(--primary); }

.cat-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-cloud a {
    background: var(--light); padding: 5px 10px; font-size: 12px;
    font-weight: 600; border-radius: 4px; color: #4B5563;
}
.cat-cloud a:hover { background: var(--primary); color: var(--white); }

.cta-widget {
    text-align: center; background: #EEF2FF; border: 1px solid #C7D2FE;
}
.cta-widget i { font-size: 36px; color: var(--primary); margin-bottom: 10px; }
.cta-widget button {
    width: 100%; padding: 10px; background: var(--primary);
    color: var(--white); border: none; border-radius: 4px;
    font-weight: 700; margin-top: 15px; cursor: pointer;
}

/* =========================================
   6. RICH SEO CONTENT & FAQ (New Additions)
   ========================================= */

.rich-seo-section {
    background: var(--white); padding: 60px 0;
    margin-top: 40px; border-top: 1px solid var(--border);
}

.seo-header {
    text-align: center; max-width: 800px; margin: 0 auto 50px;
    padding-bottom: 20px; border-bottom: 1px solid var(--light);
}
.seo-header h1, .seo-header h2 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 15px; }
.seo-header p { font-size: 16px; color: var(--gray); line-height: 1.6; }

.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.seo-card { margin-bottom: 40px; }
.seo-title {
    font-size: 20px; font-weight: 700; color: var(--dark);
    display: flex; align-items: center; gap: 12px; margin-bottom: 15px;
}
.seo-card p { color: var(--gray); font-size: 14px; margin-bottom: 15px; text-align: justify; }

/* Steps Layout */
.seo-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; }
.step-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #4B5563; }
.step-item i { color: #27AE60; margin-top: 4px; }

/* Tips Box */
.seo-tip {
    background: #FFFBEB; border-left: 4px solid #F59E0B;
    padding: 15px; font-size: 13px; color: #92400E; border-radius: 4px;
}

/* Feature Grid */
.feature-grid { display: flex; gap: 15px; }
.feature-box {
    flex: 1; background: var(--light); border: 1px solid var(--border);
    padding: 15px; border-radius: 6px;
}
.feature-box strong { display: block; color: var(--dark); margin-bottom: 5px; }
.feature-box p { margin: 0; font-size: 12px; }

/* Tables */
.seo-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.seo-table th, .seo-table td { border: 1px solid var(--border); padding: 10px; text-align: left; }
.seo-table th { background: #F9FAFB; color: var(--dark); }

/* Topics Grid */
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic-item {
    background: var(--white); border: 1px solid var(--border);
    padding: 12px; border-radius: 6px; text-align: center;
    color: var(--dark); font-weight: 600; font-size: 13px; transition: 0.2s;
}
.topic-item i { display: block; font-size: 20px; color: var(--primary); margin-bottom: 5px; }
.topic-item:hover { border-color: var(--primary); background: #FFF5F5; }

/* Call To Action */
.seo-cta {
    grid-column: 1 / -1; background: #FFF5F5;
    border: 1px solid #FECACA; border-radius: 12px;
    padding: 40px; text-align: center; margin-top: 20px;
}
.seo-cta h4 { font-size: 22px; color: var(--primary); font-weight: 800; margin-bottom: 10px; }
.seo-cta p { font-size: 15px; color: var(--dark); margin-bottom: 20px; }
.btn-seo-cta {
    background: var(--primary); color: #FFF; padding: 12px 30px;
    border-radius: 50px; font-weight: 700; font-size: 15px;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 10px rgba(218, 41, 28, 0.3);
}
.btn-seo-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Modern FAQ Accordion */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 20px; margin-top: 20px; }
.faq-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden; transition: all 0.3s ease;
}
.faq-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--primary); }

.faq-card summary {
    padding: 20px; font-weight: 700; font-size: 15px; color: var(--dark);
    cursor: pointer; list-style: none; display: flex;
    justify-content: space-between; align-items: center;
    background: var(--white); transition: background 0.2s;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary:hover { background: #FDFDFD; }

.q-icon {
    width: 32px; height: 32px; background: var(--light); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 14px; transition: all 0.3s ease;
}
.faq-card[open] summary .q-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }

.faq-answer {
    padding: 0 20px 20px 20px; color: var(--gray); font-size: 14px;
    line-height: 1.6; border-top: 1px solid transparent; animation: fadeIn 0.4s ease;
}
.faq-card[open] .faq-answer { border-top-color: #F0F0F0; padding-top: 15px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   7. FOOTER SECTION
   ========================================= */
.main-footer { background: var(--footer-bg); color: #9CA3AF; margin-top: 60px; font-size: 14px; }
.footer-top { padding: 60px 0; border-bottom: 1px solid #374151; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }

.footer-col h4 {
    color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px;
    text-transform: uppercase; border-left: 3px solid var(--primary); padding-left: 10px;
}
.footer-logo { font-size: 24px; font-weight: 800; color: var(--white); display: inline-block; margin-bottom: 15px; }
.footer-logo span { color: var(--primary); }
.footer-desc { line-height: 1.6; color: #A4B0BE; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; background: #374151; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; transition: 0.3s;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #A4B0BE; transition: 0.2s; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }

.footer-newsletter {
    display: flex; background: #374151; padding: 5px; border-radius: 4px; margin-top: 15px;
}
.footer-newsletter input {
    flex: 1; background: transparent; border: none; padding: 10px; color: var(--white); outline: none;
}
.footer-newsletter button {
    background: var(--primary); color: var(--white); border: none;
    padding: 0 15px; border-radius: 3px; cursor: pointer;
}

.footer-bottom { background: #000; padding: 20px 0; font-size: 13px; }
.legal-links a { margin-left: 20px; color: #7F8FA6; }
.legal-links a:hover { color: var(--white); }

/* =========================================
   8. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .headline-grid { grid-template-columns: 1fr; height: auto; }
    .main-slider { height: 320px; }
    .featured-tools-box { display: none; }
    .main-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .seo-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 10px 0 !important;
        background: var(--dark) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .top-bar .date-display {
        display: none !important;
    }
    .top-bar .container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    .top-bar .top-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .top-bar .top-links a {
        display: inline-block !important;
        color: #E5E7EB !important;
        font-size: 12px !important;
        text-decoration: none !important;
        margin: 0 4px !important;
    }
    .top-bar .sep {
        color: #4B5563 !important;
        margin: 0 4px !important;
        display: inline !important;
    }
    .top-bar .lang-switcher {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .top-bar .lang-switcher a {
        color: #9CA3AF !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        margin: 0 2px !important;
    }
    .top-bar .lang-switcher a.active {
        color: var(--primary) !important;
    }
    .main-header .container { flex-direction: column; align-items: stretch; gap: 15px; }
    .search-bar { max-width: 100%; }
    .ticker-label span:last-child { display: none; }
    .slide-caption h2 { font-size: 18px; }
    .news-item-row { flex-direction: column; }
    .row-img { width: 100%; height: 200px; }
    .seo-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 10px; }
}/* --- MODERN HABER KARTLARI (FİNAL VERSİYON) --- */

/* 1. Kapsayıcı Grid */
.latest-news-grid {
    display: grid;
    /* MASAÜSTÜ: Sığabildiği kadar sığdır (En az 280px genişlikte) */
    /* Bu sayede büyük ekranda 3'lü, 4'lü olur */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* 2. Kart (Link Yapısı) */
a.modern-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none; /* Link çizgisini kaldır */
    color: inherit; /* Rengi bozma */
}

a.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

/* Resim */
.mc-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

a.modern-card:hover .mc-img-wrap img { transform: scale(1.08); }

/* Kategori Etiketi */
.mc-cat {
    position: absolute; bottom: 8px; left: 8px;
    background: var(--primary); color: #fff;
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* İçerik */
.mc-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mc-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--dark);
    /* 2 Satırla sınırla */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

a.modern-card:hover .mc-title { color: var(--primary); }

.mc-excerpt {
    font-size: 13px; color: var(--gray); line-height: 1.5; margin-bottom: 15px;
    /* 3 Satırla sınırla */
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.mc-meta {
    margin-top: auto; padding-top: 10px; border-top: 1px solid #f3f4f6;
    display: flex; justify-content: space-between;
    font-size: 11px; color: #9ca3af; font-weight: 600;
}

/* --- KRİTİK MOBİL AYARLARI (2 Sütun İçin) --- */
@media (max-width: 768px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde ZORLA 2 sütun */
        gap: 12px; /* Araları kısalt */
    }

    /* Kartları küçült ki sığsın */
    .mc-img-wrap { height: 120px; } /* Resim boyunu kıs */
    .mc-body { padding: 10px; } /* İç boşluğu azalt */
    
    .mc-title { font-size: 14px; margin-bottom: 5px; } /* Başlığı küçült */
    .mc-excerpt { display: none; } /* Özeti gizle (Yer kazanmak için) */
    
    .mc-meta { padding-top: 5px; }
    .mc-cat { font-size: 8px; padding: 2px 6px; }
}
/* --- SINGLE POST PAGE STYLES --- */

/* Breadcrumb (Gri şerit) */
.breadcrumb-area {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 30px;
}
.breadcrumb-area a { font-weight: 600; color: var(--dark); }
.breadcrumb-area a:hover { color: var(--primary); }
.breadcrumb-area .sep { margin: 0 8px; color: #ccc; }
.breadcrumb-area .current { color: var(--gray); }

/* Makale Kartı */
.single-post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

/* Makale Başlığı */
.post-header { margin-bottom: 30px; text-align: left; }
.post-meta-top { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.pm-cat { color: var(--primary); }
.pm-date { color: #999; display: flex; align-items: center; gap: 5px; }

.post-header h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
}

.post-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.author-info { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.author-info img { width: 40px; height: 40px; border-radius: 50%; }
.post-date { color: #999; font-size: 13px; }

/* Öne Çıkan Görsel */
.post-featured-image {
    margin: 30px -40px; /* Kenarlara taşır */
    width: calc(100% + 80px);
    height: 400px;
    overflow: hidden;
}
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* İçerik Metni (Typography) */
.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #2d3436;
}
.post-content h2 { font-size: 26px; font-weight: 800; margin-top: 40px; margin-bottom: 20px; color: #000; }
.post-content h3 { font-size: 22px; font-weight: 700; margin-top: 30px; margin-bottom: 15px; }
.post-content p { margin-bottom: 25px; }
.post-content ul, .post-content ol { margin-bottom: 25px; padding-left: 20px; }
.post-content li { margin-bottom: 10px; }
.post-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f9f9f9;
    padding: 20px;
    font-style: italic;
    font-size: 20px;
    margin: 30px 0;
    color: #555;
}
.post-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 20px 0; }

/* Alt Aksiyonlar */
.post-footer-actions {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.tags span { background: #f1f1f1; padding: 5px 10px; font-size: 12px; font-weight: 600; color: #666; border-radius: 4px; margin-right: 5px; }
.share-btns { display: flex; align-items: center; gap: 10px; }
.s-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-size: 14px; transition: 0.2s; }
.s-btn:hover { transform: translateY(-3px); }
.facebook { background: #3b5998; }
.twitter { background: #000; }
.whatsapp { background: #25D366; }

/* Navigasyon Butonları */
.post-nav-links { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 60px; }
.nav-btn {
    flex: 1; padding: 15px 20px; background: #fff; border: 1px solid #ddd;
    border-radius: 6px; font-weight: 700; color: var(--dark);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.2s;
}
.nav-btn:hover { border-color: var(--primary); color: var(--primary); background: #fff5f5; }

/* Yazar Widget */
.author-widget { text-align: center; }
.aw-header img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 15px; border: 3px solid #eee; }
.aw-body h4 { font-size: 18px; margin-bottom: 10px; }
.btn-follow { display: inline-block; background: var(--dark); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-top: 10px; }

/* Sticky Sidebar (Masaüstünde Yan Menüyü Sabitle) */
@media (min-width: 993px) {
    .sidebar-column {
        position: sticky;
        top: 20px; /* Üstten 20px boşluk bırakarak yapışır */
        height: fit-content;
    }
}

/* Mobil Ayarı */
@media (max-width: 768px) {
    .breadcrumb-area {
        padding: 10px 0;
        margin-bottom: 20px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .breadcrumb-area .container {
        display: flex;
        align-items: center;
    }
    
    .single-post-card { 
        padding: 0; 
        border: none; 
        background: transparent; 
        box-shadow: none;
        margin-bottom: 30px;
    }
    
    .post-header h1 { 
        font-size: 24px; 
        line-height: 1.3;
        margin-bottom: 15px; 
        font-weight: 850;
    }
    
    .post-meta-top {
        margin-bottom: 12px;
        font-size: 11px;
    }
    .post-meta-top .pm-date {
        margin-left: 0 !important;
    }
    
    .post-meta-bottom {
        padding-top: 15px;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .post-featured-image { 
        margin: 20px 0; 
        width: 100%; 
        height: auto; 
        aspect-ratio: 16/9;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
    
    .post-content {
        font-size: 16px;
        line-height: 1.7;
        color: #202020;
    }
    
    .post-content h2 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .post-content h3 {
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    
    .post-content p {
        margin-bottom: 20px;
    }
    
    .post-content blockquote {
        margin: 20px 0;
        padding: 15px;
        font-size: 18px;
    }
    
    .post-footer-actions { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 15px;
        padding-top: 20px;
        margin-top: 30px;
    }
    
    .share-btns {
        justify-content: space-between;
        width: 100%;
    }
}
/* --- HEADER BAYRAK AYARI --- */
.header-flag {
    width: 50px;       /* Kare boyut */
    height: 50px;
    flex-shrink: 0;    /* Sıkışmasını engelle */
    margin-left: 25px; /* Arama kutusundan uzaklaştır */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hafif havalı gölge efekti */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.header-flag img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px; /* Köşeleri hafif yumuşat */
}

/* Üzerine gelince hafif sallansın (Hoş bir detay) */
.header-flag:hover {
    transform: scale(1.1) rotate(5deg);
}

/* MOBİL AYARI */
@media (max-width: 768px) {
    /* Mobilde yer darsa bayrağı arama çubuğunun yanına küçük alalım veya gizleyelim */
    /* Şimdilik biraz küçültüp gösterelim */
    .header-flag {
        width: 35px;
        height: 35px;
        margin-left: 0;
        margin-top: 10px; /* Mobilde alt alta geçtiği için */
        align-self: flex-end; /* Sağa yasla */
    }
}