/* ========================================
   GENERAL RESET & TYPOGRAPHY
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F3F5FB;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111827;
}

a {
    text-decoration: none;
    color: #1A73E8;
}

a:hover {
    color: #0A58B8;
}

/* ========================================
   LAYOUT CONTAINER
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 16px;
    }
}

/* ========================================
   FINAL HEADER (TÜM ÇAKIŞMALAR TEMİZLENDİ)
======================================== */
/*********************************************
 * KMSORGU – Kurumsal Premium Header Tasarımı
 *********************************************/

/* HEADER ARKA PLAN */
.site-header {
    background: linear-gradient(135deg, #052C64, #001B46);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

/* HEADER CONTAINER */
.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F7FAFF;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.logo svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 4px rgba(255,255,255,0.25));
}

/* =======================
   MASAÜSTÜ MENÜ
======================= */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu li a {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 4px;
    color: #E9F2FF;
    opacity: 0.92;
    transition: all .25s ease;
}



.nav-menu li a:hover {
    opacity: 1;
    color: #e6af0a;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Aktif Menü */
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    background: #FABB05;
    color: #052C64 !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0px 4px 10px rgba(255, 215, 80, 0.4);
}

/* =======================
   GİRİŞ BUTONU
======================= */
.btn-login {
    background: linear-gradient(135deg, #FFD451, #FFCC2F);
    color: #052C64;
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: .25s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 8px rgba(255, 209, 45, 0.35);
}

.btn-login:hover {
    background: #FFFFFF;
    border-color: #FFD451;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 209, 45, 0.45);
}

/* =======================
   MOBİL MENÜ
======================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: 0;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: #F7FAFF;
    border-radius: 3px;
}

/* Mobilde açılan menü */
@media (max-width: 768px) {

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        background: #052C64;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        padding: 90px 30px;
        gap: 24px;
        box-shadow: -3px 0 18px rgba(0,0,0,0.4);
    }

    .nav-menu.active li a {
        font-size: 18px;
        color: #FFFFFF;
        opacity: 1;
    }

    .btn-login {
        display: none;
    }
}

/* ========================================
   POST CARD
======================================== */
.post-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 35, 95, 0.08);
    padding: 20px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 50px rgba(15, 35, 95, 0.12);
}

.post-thumbnail {
    width: 100%;
    height: 112px;
    border-radius: 16px;
    object-fit: cover;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #4B5563;
}

.post-category-badge {
    background: #E7F1FF;
    color: #1A73E8;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
}

.post-title {
    font-size: 22px;
    line-height: 1.3;
    color: #0C1E5B;
    font-weight: 800;
    margin-bottom: 12px;
}

.post-title a {
    color: inherit;
}

.post-title a:hover {
    color: #1A73E8;
    text-decoration: underline;
}

.post-excerpt {
    color: #4B5563;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-author {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 16px;
}

.read-more {
        display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #FABB05;
    color: #052C64;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s 
ease;
    box-shadow: 0 4px 10px rgba(250, 187, 5, 0.35);
}

.read-more svg {
    transition: transform 0.2s ease;
}

.read-more:hover svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .post-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .post-thumbnail {
        height: auto;
        max-height: 180px;
        width: 100%;
    }
}

/* ========================================
   SIDEBAR
======================================== */
.sidebar {
    position: sticky;
    top: 24px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 24px;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.widget-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #E7F1FF;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.quick-query-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quick-query-item {
    border-radius: 20px;
    padding: 16px;
    color: white;
}

.query-desc {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.query-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FABB05;
    color: #052C64 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
}

.category-list {
    list-style: none;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #111827;
}

.category-count {
    color: #9CA3AF;
    font-size: 14px;
}

@media (max-width: 768px) {
    .sidebar {
        position: static;
    }
}

/* ========================================
   PAGINATION
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #1A73E8;
}

.pagination .current {
    background: #E7F1FF;
    font-weight: 600;
}

/* ========================================
   FOOTER
======================================== */
/* ===========================
   FOOTER
=========================== */

.site-footer {
    margin-top: 40px;
    background: #022456;
    color: #E5E7EB;
    padding-top: 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
    gap: 32px;
    padding: 0 24px 24px;
}

.footer-col {
    font-size: 14px;
}

.footer-logo-main {
    font-size: 20px;
    font-weight: 800;
    color: #FABB05;
}

.footer-desc {
    margin-top: 10px;
    color: #9CA3AF;
    line-height: 1.6;
}

.footer-copy-small {
    margin-top: 8px;
    font-size: 13px;
    color: #6B7280;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #E5E7EB;
}

.footer-links ul,
.footer-latest ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-latest li {
    margin-bottom: 6px;
}

.site-footer a {
    color: #E5E7EB;
    text-decoration: none;
}

.site-footer a:hover {
    color: #FABB05;
}

.footer-bottom {
    border-top: 1px solid #1F2937;
    padding: 10px 0 14px;
    margin-top: 4px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 0 24px;
    color: #6B7280;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* ---------------------------
   SINGLE PAGE LAYOUT
--------------------------- */
.single-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}
@media(max-width:900px){
    .single-wrapper { grid-template-columns: 1fr; }
}

/* ---------------------------
   BREADCRUMB
--------------------------- */
.breadcrumb {
    font-size: 15px;
    margin-bottom: 20px;
    color:#6B7280;
}
.breadcrumb a { color:#1A73E8; }

/* ---------------------------
   HERO
--------------------------- */
.single-hero {
    background:white;
    border-radius:28px;
    box-shadow:0 20px 50px rgba(15,35,95,0.08);
    padding:32px;
}
.hero-thumbnail {
    width:100%;
    height:370px;
    border-radius:24px;
    object-fit:cover;
    margin-bottom:20px;
}
.single-title {
    font-size:34px;
    font-weight:800;
    margin-bottom:16px;
}
.single-meta {
    display:flex;
    gap:18px;
    color:#4B5563;
    font-size:15px;
}

/* ---------------------------
   İÇERİK
--------------------------- */
.single-content {
    margin-top:30px;
    padding:38px;
    background:white;
    border-radius:28px;
    box-shadow:0 20px 50px rgba(15,35,95,0.08);
    font-size:18px;
    line-height:1.8;
}
.single-content img {
    border-radius:22px;
    margin:24px 0;
}

/* ---------------------------
   PAYLAŞIM
--------------------------- */
.single-share-box {
    margin-top:40px;
}
.big-share-buttons {
    display:flex;
    gap:12px;
    margin-top:10px;
}
.big-share-buttons a {
    width:48px;
    height:48px;
    background:#FFD451;
    color:#052C64;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    transition:.25s;
}
.big-share-buttons a:hover {
    background:white;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

/* ---------------------------
   CTA
--------------------------- */
.single-cta {
    background:#052C64;
    color:white;
    padding:40px;
    margin:40px 0;
    text-align:center;
    border-radius:28px;
}
.single-cta h3 { font-size:26px; }
.cta-button {
    display:inline-block;
    padding:14px 32px;
    background:#fabb05;
    border-radius:999px;
    margin-top:18px;
    font-size:18px;
    font-weight:700;
    color:#052C64;
    transition:.25s;
}
.cta-button:hover {
    background:white;
}

/* ---------------------------
   YAZAR KUTUSU
--------------------------- */
.author-box {
    display:flex;
    gap:20px;
    background:white;
    padding:32px;
    border-radius:28px;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
    margin-top:30px;
}
.author-box img {
    width:110px;
    height:110px;
    border-radius:50%;
}
.author-social a {
    margin-right:10px;
    font-size:20px;
}

/* ---------------------------
   İLGİLİ YAZILAR
--------------------------- */
.related-posts {
    margin-top:40px;
}
.related-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:14px;
}
.related-item {
    background:white;
    padding:18px;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
    transition:.25s;
}
.related-item:hover {
    transform:translateY(-4px);
}
.related-item img {
    width:100%;
    height:130px;
    object-fit:cover;
    border-radius:14px;
}
.related-item h4 {
    margin-top:10px;
    font-size:17px;
    font-weight:700;
}

/* ---------------------------
   FAQ
--------------------------- */
.faq-box {
    margin-top:40px;
    background:white;
    padding:32px;
    border-radius:28px;
}
.faq-box details {
    margin-bottom:18px;
    cursor:pointer;
    font-size:18px;
}
.faq-box details summary {
    font-weight:700;
}
.faq-box details p {
    padding:10px 0 0 5px;
}
/* ===========================
   CATEGORY LISTE GÖRÜNÜMÜ
=========================== */

.category-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.9fr);
    gap: 32px;
}

@media (max-width: 900px) {
    .category-container {
        grid-template-columns: 1fr;
    }
}

.archive-header {
    margin-bottom: 24px;
}

.archive-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.archive-description {
    color: #6B7280;
    font-size: 15px;
}

/* Kart liste alanı */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Kartın kendisi */
.post-card {
    display: flex;
    gap: 18px;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 35, 95, 0.08);
}

.post-thumb-link {
    flex-shrink: 0;
}

.post-thumbnail {
    width: 170px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
}

.post-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Meta satır */
.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 6px;
}

.post-category-badge {
    background: #E5EDFF;
    color: #1D4ED8;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* Başlık */
.post-title {
    font-size: 18px;
    margin: 4px 0 6px;
}

.post-title a {
    color: #111827;
    text-decoration: none;
}

.post-title a:hover {
    color: #052C64;
}

/* Özet */
.post-excerpt {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 10px;
}

/* Alt satır: yazar + buton */
.post-footer-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-author {
    font-size: 13px;
    color: #6B7280;
}

/* DEVAMINI OKU BUTONU */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #FABB05;          /* İstediğin renk */
    color: #052C64;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
    box-shadow: 0 4px 10px rgba(250, 187, 5, 0.35);
}

.read-more-btn:hover {
    background: #FFE28F;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

/* Mobil uyum */
@media (max-width: 640px) {
    .post-card {
        flex-direction: column;
    }

    .post-thumbnail {
        width: 100%;
        height: 180px;
    }

    .post-footer-row {
        flex-direction: row;
        gap: 8px;
    }
}
.author-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.author-avatar-img {
    border-radius: 50%;
    width: 72px;
    height: 72px;
}

.author-header-text .archive-title {
    margin-bottom: 6px;
}
/* ===========================
   İÇİNDEKİLER TABLOSU (TOC)
=========================== */

.post-toc {
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
}

.post-toc-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.post-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-toc li {
    margin-bottom: 6px;
    font-size: 14px;
}

.post-toc a {
    text-decoration: none;
    color: #1D4ED8;
}

.post-toc a:hover {
    text-decoration: underline;
}
.single-main-full {
    max-width: 800px;
    margin: 0 auto;
}
/* ===========================
   SIDEBAR GENEL
=========================== */

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Genel widget kutusu */
.sidebar-widget {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(15, 35, 95, 0.06);
    font-size: 14px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

/* ===========================
   CTA WIDGET (KM / HASAR)
=========================== */

.sidebar-cta-widget {
    border-left: 4px solid #FABB05;
    background: linear-gradient(180deg, #053B93 0%, #0A58B8 100%);
    
}

.sidebar-cta-widget .sidebar-title {
    color: #FABB05;
    margin-bottom: 8px;
}

.sidebar-cta-widget .sidebar-text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
	color: #ffffff;
}

.sidebar-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.sidebar-cta-btn.primary {
    background: #FABB05;
    color: #052C64;
    box-shadow: 0 4px 12px rgba(250, 187, 5, 0.35);
}

.sidebar-cta-btn.primary:hover {
    background: #FFE28F;
}

.sidebar-cta-btn.secondary {
    background: transparent;
    color: #E5E7EB;
    border-color: #ffffff;
}

.sidebar-cta-btn.secondary:hover {
    border-color: #FABB05;
    color: #FABB05;
}

.sidebar-cta-note {
    font-size: 12px;
    color: #9CA3AF;
}

/* ===========================
   POPÜLER YAZILAR
=========================== */

.sidebar-popular-widget .sidebar-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-post-item + .sidebar-post-item {
    margin-top: 8px;
}

.sidebar-post-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.sidebar-post-title {
    font-size: 13px;
    color: #111827;
    margin-bottom: 2px;
}

.sidebar-post-meta {
    font-size: 12px;
    color: #6B7280;
}

.sidebar-post-link:hover .sidebar-post-title {
    color: #052C64;
}

/* ===========================
   KATEGORİ LİSTESİ
=========================== */

.sidebar-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-category-item + .sidebar-category-item {
    margin-top: 6px;
}

.sidebar-category-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #E5EDFF;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 600;
}

.category-count {
    font-size: 12px;
    color: #6B7280;
}

/* Responsive ufak düzeltme */
@media (max-width: 900px) {
    .sidebar-inner {
        margin-top: 20px;
    }
}
/* ===========================
   KM FİYAT KARTI
=========================== */

.sidebar-km-price-widget {
    background: #0849a5;
    color: #E5E7EB;
    border-radius: 18px;
    border: 1px solid #1F2937;
}

.sidebar-km-price-widget .sidebar-title {
    color: #FABB05;
}

.sidebar-km-price-list {
    list-style: none;
    margin: 8px 0 10px;
    padding: 0;
}

.sidebar-km-price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 6px;
}

.km-price-name {
    color: #E5E7EB;
}

.km-price-badge {
    background: #FABB05;
    color: #052C64;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.sidebar-cta-btn.small {
    padding: 6px 14px;
    font-size: 12px;
    margin-top: 6px;
}

.sidebar-km-price-note {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 6px;
}

/* ===========================
   TRAFİK CEZASI BANNER
=========================== */

.sidebar-banner-trafik {
    background: radial-gradient(circle at top left, #F97316, #B91C1C 45%, #111827 100%);
    color: #F9FAFB;
}

.sidebar-banner-trafik .sidebar-title {
    color: #FEF3C7;
}
