/* ==========================================================================
   LetMeKnows - Modern Blog & Rehberler Stylesheet
   Version: 3.0.0
   ========================================================================== */

/* Design Tokens */
:root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --primary-light: #ede9fe;
    --primary-subtle: #f5f3ff;
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    --accent-pink: #ec4899;
    --accent-amber: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-card: #e2e8f0;
    --border-card-hover: #c4b5fd;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --card-shadow-hover: 0 20px 40px -12px rgba(124, 58, 237, 0.16), 0 6px 14px -3px rgba(15, 23, 42, 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 9999px;
    --font-heading: "Outfit", sans-serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   Standard LetMeKnows Navbar (Identical to Landing Page index.html)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card, rgba(124, 58, 237, 0.12));
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 25px rgba(124, 58, 237, 0.05);
}

.navbar-container {
    max-width: 1300px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;
    height: 38px;
    line-height: 1;
}

.navbar-logo img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-logo span {
    font-family: 'Caveat', cursive;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary, #7C3AED), var(--accent-pink, #EC4899));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: inline-block;
}

.navbar-menu {
    display: none;
}

.navbar-buttons {
    display: flex;
    margin-left: auto;
    margin-right: 0.4rem;
    gap: 0.45rem;
}

.btn-nav {
    padding: 0.42rem 0.8rem;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}

.btn-nav-login {
    color: var(--primary, #7C3AED);
    border: 1.5px solid var(--primary, #7C3AED);
    background: transparent;
    transition: all 0.2s ease;
}
.btn-nav-login:hover {
    background: rgba(124, 58, 237, 0.08);
}

.btn-nav-register {
    background: linear-gradient(135deg, var(--primary, #7C3AED), var(--accent-pink, #EC4899));
    color: white !important;
    border: none;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
    transition: all 0.2s ease;
}
.btn-nav-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 4px;
    margin-left: 0.2rem;
}
.mobile-menu-toggle span {
    width: 21px;
    height: 2.5px;
    background: var(--primary, #7C3AED);
    border-radius: 3px;
}

@media (min-width: 769px) {
    .navbar {
        height: 75px;
    }
    .navbar-container {
        padding: 0 2rem;
    }
    .navbar-logo {
        gap: 0.85rem;
        height: 44px;
        transition: transform 0.25s ease;
        will-change: transform;
    }
    .navbar-logo:hover {
        transform: scale(1.03);
    }
    .navbar-logo img {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .navbar-logo span {
        font-size: 2.2rem;
    }
    .navbar-menu {
        display: flex;
        list-style: none;
        gap: 1.75rem;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    .navbar-link {
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--text-muted, #475569);
        text-decoration: none;
        cursor: pointer;
        position: relative;
        padding: 4px 0;
        transition: color 0.25s ease;
        display: inline-flex;
        align-items: center;
    }
    .navbar-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2.5px;
        background: linear-gradient(90deg, var(--primary, #7C3AED), var(--accent-pink, #EC4899));
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
    }
    .navbar-link:hover,
    .navbar-link.active {
        color: var(--primary, #7C3AED);
    }
    .navbar-link:hover::after,
    .navbar-link.active::after {
        transform: scaleX(1);
    }

    /* Destek butonu özel rengi */
    .navbar-link--support {
        color: #F59E0B !important;
        position: relative;
        font-weight: 700;
    }
    .navbar-link--support i,
    .navbar-link--support .fa-heart {
        color: #F59E0B !important;
        transition: transform 0.25s ease, color 0.25s ease;
        will-change: transform;
    }
    .navbar-link--support::after {
        background: linear-gradient(90deg, #F59E0B, #FBBF24) !important;
    }
    .navbar-link--support:hover,
    .navbar-link--support.active {
        color: #FBBF24 !important;
    }
    .navbar-link--support:hover i,
    .navbar-link--support.active i,
    .navbar-link--support:hover .fa-heart,
    .navbar-link--support.active .fa-heart {
        color: #FBBF24 !important;
        transform: scale(1.18);
    }
    .navbar-link--support:hover::after,
    .navbar-link--support.active::after {
        transform: scaleX(1);
    }

    /* İletişim & Destek içindeki Destek kelimesi özel rengi */
    .nav-destek-word {
        color: #F59E0B;
        font-weight: 700;
        margin-left: 2px;
        transition: color 0.25s ease;
    }
    .navbar-link:hover .nav-destek-word,
    .navbar-link.active .nav-destek-word {
        color: #FBBF24;
    }

    .navbar-buttons {
        margin: 0;
        gap: 0.85rem;
    }
    .btn-nav {
        padding: 0.65rem 1.35rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-card, rgba(124, 58, 237, 0.12));
        padding: 1.25rem 1.5rem;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        list-style: none;
        margin: 0;
    }
    .navbar-menu.active,
    .navbar-menu[style*="display: flex"] {
        display: flex !important;
    }
    .navbar-menu .navbar-link {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-primary, #0F172A);
        text-decoration: none;
        padding: 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .navbar-menu .navbar-link--support {
        color: #F59E0B !important;
    }
}

/* ==========================================================================
   Page Layout & Background Atmosphere
   ========================================================================== */
.blogs-page-wrapper {
    position: relative;
    padding-top: 75px;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.05) 0%, rgba(248, 250, 252, 0) 50%);
    min-height: 100vh;
}

@media (max-width: 768px) {
    .blogs-page-wrapper {
        padding-top: 64px;
    }
}

.blogs-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
    width: 100%;
}

/* ==========================================================================
   Top Bar / Hero Header
   ========================================================================== */
.blogs-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.blogs-header-left {
    flex: 1;
    min-width: 300px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    background: var(--primary-light);
    border: 1px solid #ddd6fe;
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.85rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0 0 0.6rem 0;
}

.page-title .title-accent {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    max-width: 650px;
}

/* Search Box with High Legibility & Modern Shape */
.top-bar-right {
    flex-shrink: 0;
}

.search-box {
    position: relative;
    width: 360px;
    max-width: 100%;
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.search-box input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 48px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

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

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), 0 4px 16px rgba(124, 58, 237, 0.08);
}

.search-box input:focus + svg {
    transform: translateY(-50%) scale(1.1);
}

/* ==========================================================================
   Category Tabs (Crisp Borders, Clear Backgrounds, High-Contrast Visibility)
   ========================================================================== */
.categories-container {
    margin-bottom: 2.5rem;
}

.categories-scroll {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 6px 4px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-tab:hover {
    background: #f5f3ff;
    border-color: #a78bfa;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
}

/* Active Category Tab: Bold, 100% Legible White on Purple */
.category-tab.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
    border: 1.5px solid transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35) !important;
    transform: translateY(-1px);
}

.category-tab.active span {
    color: #ffffff !important;
}

/* ==========================================================================
   Featured Section (Premium Showcase Card)
   ========================================================================== */
.featured-section {
    margin-bottom: 3.5rem;
    animation: fadeInSlideUp 0.6s ease-out forwards;
}

.featured-card {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 420px;
    border: 1.5px solid var(--border-card);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

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

.featured-image {
    width: 50%;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.featured-image img,
.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-image img,
.featured-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.featured-content {
    width: 50%;
    padding: 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.85rem;
}

.blog-meta .dot {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.featured-card:hover .featured-title {
    color: var(--primary);
}

.featured-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    flex-shrink: 0;
}

.author-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-btn {
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-pill);
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.86rem;
    border: 1px solid #ddd6fe;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.featured-card:hover .read-more-btn {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    transform: translateX(2px);
}

/* ==========================================================================
   Section Header
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem 0;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.article-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.article-count-badge i {
    color: var(--primary);
}

/* ==========================================================================
   Blog Grid & Cards (Modern, Clean Borders, High Contrast)
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1.5px solid var(--border-card);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInSlideUp 0.5s ease-out forwards;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--border-card-hover);
}

.card-image-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f1f5f9;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .card-image {
    transform: scale(1.06);
}

.card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.42;
    margin: 0 0 0.65rem 0;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-card:hover .card-title {
    color: var(--primary);
}

.card-excerpt {
    font-size: 0.91rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.35rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.read-more-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.blog-card:hover .read-more-link {
    gap: 8px;
    color: var(--primary-hover);
}

/* ==========================================================================
   Blog Detail Reader Modal
   ========================================================================== */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-modal.active .modal-container {
    transform: scale(1);
}

.reading-progress-bar {
    position: sticky;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink));
    width: 0%;
    z-index: 100;
    transition: width 0.1s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #ffffff;
    transform: rotate(90deg) scale(1.05);
    color: var(--primary);
    border-color: var(--primary);
}

.modal-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 3rem;
}

.post-header {
    height: 380px;
    position: relative;
    color: #ffffff;
}

.post-header-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    max-width: 820px;
    line-height: 1.25;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
    opacity: 0.95;
    flex-wrap: wrap;
}

.post-body {
    padding: 2.5rem;
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #334155;
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 0.75rem;
    line-height: 1.4;
}

.post-body p {
    margin-bottom: 1.4rem;
}

.post-body ul, .post-body ol {
    margin: 1.2rem 0 1.5rem 1.5rem;
    color: #334155;
}

.post-body li {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.55rem;
}

.post-body blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 1.2rem 1.6rem;
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
    font-style: italic;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
}

.post-body .key-takeaway-box {
    background: #faf5ff;
    border: 1.5px solid #e9d5ff;
    border-radius: 16px;
    padding: 1.4rem 1.75rem;
    margin: 2rem 0;
}

.post-body .key-takeaway-box h4 {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.05rem;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Public Visitor Footer (Matching Brand Aesthetic)
   ========================================================================== */
.public-visitor-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.92rem;
    margin-top: 5rem;
}

.footer-nav-links {
    max-width: 950px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    font-weight: 600;
}

.footer-link {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link.active {
    color: var(--primary);
}

.footer-copy {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .featured-card {
        flex-direction: column;
        min-height: auto;
    }
    .featured-image,
    .featured-content {
        width: 100%;
    }
    .featured-image {
        height: 280px;
    }
    .featured-content {
        padding: 2rem;
    }
    .featured-title {
        font-size: 1.55rem;
    }
}

@media (max-width: 768px) {
    .public-header-container {
        padding: 0.75rem 1rem;
    }
    .public-nav-links .public-link {
        display: none;
    }
    .blogs-container {
        padding: 1.5rem 1rem 3.5rem;
    }
    .blogs-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .page-title {
        font-size: 2rem;
    }
    .search-box {
        width: 100%;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .post-header {
        height: 260px;
    }
    .post-header-overlay {
        padding: 1.5rem;
    }
    .post-title {
        font-size: 1.6rem;
    }
    .post-body {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.7rem;
    }
    .featured-image {
        height: 220px;
    }
    .featured-content {
        padding: 1.5rem;
    }
    .featured-title {
        font-size: 1.35rem;
    }
    .modal-container {
        width: 95%;
        height: 94vh;
        border-radius: var(--radius-lg);
    }
    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* ==========================================================================
   Kreosus Support Modal (Bize Destek Ol)
   ========================================================================== */
.support-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: supportFadeIn 0.25s ease-out;
}

.support-modal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.75rem 2.25rem 2.25rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    animation: supportModalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes supportFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes supportModalPop {
    from { opacity: 0; transform: scale(0.92) translateY(18px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.support-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 1.4rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.support-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.support-modal-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(251, 191, 36, 0.3));
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.35rem;
    font-size: 1.85rem;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25);
}

.support-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.9rem 0;
    letter-spacing: -0.02em;
}

.support-modal-desc {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.68;
    margin: 0 0 1.75rem 0;
    text-align: left;
}

.support-modal-desc strong {
    color: #1e293b;
    font-weight: 700;
}

.support-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.support-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #ffffff !important;
}

.support-modal-note {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 1.15rem 0 0 0;
}
