        :root {
            /* Pastel Renkler */
            --pastel-mint: #B8E0D2;
            --pastel-lavender: #D6CDEA;
            --pastel-peach: #F8D5C2;
            --pastel-sky: #A8D5E5;
            --pastel-rose: #F2C6C6;
            --pastel-lemon: #F5E6A3;

            /* Temel Renkler */
            --bg-primary: #FAFBFD;
            --bg-secondary: #FFFFFF;
            --bg-card: #FFFFFF;
            --text-primary: #2D3748;
            --text-secondary: #5A6778;
            --text-muted: #8B95A5;
            --border-color: #E8ECF2;
            --shadow-soft: 0 4px 20px rgba(0,0,0,0.04);
            --shadow-hover: 0 8px 32px rgba(0,0,0,0.08);
            --gradient-header: linear-gradient(135deg, #B8E0D2 0%, #A8D5E5 50%, #D6CDEA 100%);

            /* Tema Renkleri (PHP tarafından override edilir) */
            --theme-primary: #5BA89A;
            --theme-secondary: #4A9489;
            --theme-accent: #7BC4B6;
            --theme-light: #B8E0D2;
            --theme-lighter: #E8F5F1;
            --theme-dark: #3D7A70;
            --theme-text: #2D5A52;
            --theme-muted: #A8D5C8;
        }

        .dark {
            --bg-primary: #1A1D23;
            --bg-secondary: #22262E;
            --bg-card: #2A2F38;
            --text-primary: #F0F2F5;
            --text-secondary: #B8C0CC;
            --text-muted: #7A8494;
            --border-color: #363D49;
            --shadow-soft: 0 4px 20px rgba(0,0,0,0.2);
            --shadow-hover: 0 8px 32px rgba(0,0,0,0.3);
            --gradient-header: linear-gradient(135deg, #3D5A52 0%, #3A5263 50%, #4A4268 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Exo', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.7;
            transition: all 0.3s ease;
        }

        /* Header */
        .header {
            background: var(--gradient-header);
            padding: 2rem 0;
            position: relative;
            overflow-x: clip;
            overflow-y: visible;
            z-index: 100;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 60%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
            animation: pulse 8s ease-in-out infinite;
            z-index: 0;
            pointer-events: none;
            overflow: hidden;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
            50% { transform: scale(1.1) rotate(10deg); opacity: 0.8; }
        }

        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: var(--bg-card);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: var(--shadow-soft);
        }

        .logo-text {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.5px;
        }

        .logo-text span {
            font-weight: 300;
            opacity: 0.8;
        }

        .header-nav {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            position: relative;
            z-index: 100;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.7rem 1.1rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            position: relative;
            background: transparent;
        }

        .nav-link i {
            font-size: 0.85rem;
            color: var(--theme-primary);
            transition: all 0.3s;
        }

        .nav-link:hover {
            background: var(--theme-lighter);
            color: var(--theme-primary);
        }

        .nav-link:hover i {
            transform: scale(1.1);
        }

        .nav-link-cta {
            background: var(--theme-primary);
            color: white !important;
        }

        .nav-link-cta i {
            color: white !important;
        }

        .nav-link-cta:hover {
            background: var(--theme-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px var(--theme-muted);
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            width: 44px;
            height: 44px;
            border: none;
            background: var(--theme-lighter);
            border-radius: 12px;
            color: var(--theme-primary);
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .mobile-menu-btn:hover {
            background: var(--theme-primary);
            color: white;
        }

        /* Mega Menu */
        .nav-mega-dropdown {
            position: relative;
        }

        .nav-mega-toggle {
            cursor: pointer;
        }

        .dropdown-arrow {
            font-size: 0.65rem;
            margin-left: 0.25rem;
            transition: transform 0.3s ease;
        }

        .nav-mega-dropdown:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(15px);
            min-width: 480px;
            background: var(--bg-card);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            padding: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            border: 1px solid var(--border-color);
            overflow: hidden;
        }

        .nav-mega-dropdown:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(8px);
        }

        .mega-menu-inner {
            padding: 1.5rem;
        }

        .mega-menu-header {
            text-align: center;
            padding-bottom: 1.25rem;
            margin-bottom: 1.25rem;
            border-bottom: 2px solid var(--theme-lighter);
        }

        .mega-menu-header h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .mega-menu-header h3 i {
            color: var(--theme-primary);
        }

        .mega-menu-header p {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .mega-menu-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }

        .mega-menu-item {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            padding: 0.85rem 1rem;
            border-radius: 14px;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .mega-menu-item:hover {
            background: var(--theme-lighter);
            border-color: var(--theme-light);
            transform: translateX(5px);
        }

        .mega-item-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .mega-item-info {
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
        }

        .mega-item-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-primary);
        }

        .mega-item-count {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .mega-menu-empty {
            grid-column: span 2;
            text-align: center;
            padding: 2rem;
            color: var(--text-muted);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -320px;
            width: 300px;
            height: 100vh;
            background: var(--bg-card);
            z-index: 2000;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: -10px 0 40px rgba(0,0,0,0.2);
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text-primary);
        }

        .mobile-menu-close {
            width: 36px;
            height: 36px;
            border: none;
            background: var(--theme-lighter);
            border-radius: 10px;
            color: var(--theme-primary);
            cursor: pointer;
            transition: all 0.3s;
        }

        .mobile-menu-close:hover {
            background: var(--theme-primary);
            color: white;
        }

        .mobile-menu-nav {
            padding: 1rem;
        }

        .mobile-nav-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.25rem;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 12px;
            margin-bottom: 0.5rem;
            transition: all 0.3s;
        }

        .mobile-nav-link i {
            width: 20px;
            text-align: center;
            color: var(--theme-primary);
        }

        .mobile-nav-link:hover {
            background: var(--theme-lighter);
            color: var(--theme-primary);
        }

        .mobile-nav-group {
            margin: 0.5rem 0;
            background: var(--bg-primary);
            border-radius: 14px;
            padding: 0.75rem;
        }

        .mobile-nav-group-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--text-primary);
        }

        .mobile-nav-group-title i {
            color: var(--theme-primary);
        }

        .mobile-nav-sublink {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 1rem 0.7rem 2.5rem;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            border-radius: 10px;
            transition: all 0.3s;
        }

        .mobile-nav-sublink:hover {
            background: var(--bg-card);
            color: var(--theme-primary);
            padding-left: 2.75rem;
        }

        .mobile-menu-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Dark Mode Adjustments */
        .dark .mega-menu {
            background: var(--bg-card);
            border-color: var(--border-color);
        }

        .dark .mega-menu-item:hover {
            background: var(--theme-dark);
        }

        .dark .mobile-menu {
            background: var(--bg-card);
        }

        /* Dropdown Menu - Legacy */
        .nav-dropdown {
            position: relative;
            z-index: 1000;
        }

        .nav-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .dropdown-arrow {
            font-size: 0.65rem;
            transition: transform 0.3s ease;
        }

        .nav-dropdown:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            min-width: 200px;
            background: var(--bg-card);
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            padding: 0.75rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
            border: 1px solid var(--border-color);
        }

        .nav-dropdown:hover .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .nav-dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            color: var(--text-primary);
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.2s ease;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .nav-dropdown-item i {
            width: 20px;
            text-align: center;
            color: var(--theme-primary, #5BA89A);
        }

        .nav-dropdown-item:hover {
            background: var(--theme-lighter, #E8F5F1);
            color: var(--theme-primary, #5BA89A);
            padding-left: 1.25rem;
        }

        .dark .nav-dropdown-menu {
            background: var(--bg-card);
            border-color: var(--border-color);
        }

        .dark .nav-dropdown-item:hover {
            background: var(--theme-dark);
            color: var(--theme-lighter);
        }

        /* Category Dropdown - Modern Style */
        .category-dropdown {
            min-width: 280px;
            max-height: 400px;
            overflow-y: auto;
            padding: 0.5rem !important;
        }

        .category-dropdown::-webkit-scrollbar {
            width: 6px;
        }

        .category-dropdown::-webkit-scrollbar-track {
            background: var(--bg-primary);
            border-radius: 3px;
        }

        .category-dropdown::-webkit-scrollbar-thumb {
            background: var(--theme-light);
            border-radius: 3px;
        }

        .category-dropdown .nav-dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 0.9rem;
            margin-bottom: 0.25rem;
            border-radius: 10px;
        }

        .category-dropdown .nav-dropdown-item:last-child {
            margin-bottom: 0;
        }

        .dropdown-item-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .dropdown-item-text {
            flex: 1;
            font-weight: 500;
            color: var(--text-primary);
        }

        .dropdown-item-count {
            background: var(--theme-lighter);
            color: var(--theme-primary);
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .category-dropdown .nav-dropdown-item:hover .dropdown-item-text {
            color: var(--theme-primary);
        }

        .category-dropdown .nav-dropdown-item:hover .dropdown-item-count {
            background: var(--theme-primary);
            color: white;
        }

        .dropdown-empty {
            text-align: center;
            padding: 1.5rem;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .dark .dropdown-item-count {
            background: var(--theme-dark);
            color: var(--theme-lighter);
        }

        .dark .category-dropdown .nav-dropdown-item:hover .dropdown-item-count {
            background: var(--theme-lighter);
            color: var(--theme-dark);
        }

        /* Main Layout */
        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 2rem;
            display: grid;
            grid-template-columns: 1fr 380px;
            position: relative;
            z-index: 1;
            gap: 3rem;
        }

        /* Articles List */
        .articles-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .filter-tabs {
            display: flex;
            gap: 0.5rem;
        }

        .filter-tab {
            padding: 0.5rem 1rem;
            background: transparent;
            border: 1.5px solid var(--border-color);
            border-radius: 25px;
            font-family: 'Exo', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-tab.active,
        .filter-tab:hover {
            background: var(--theme-light, var(--pastel-mint));
            border-color: var(--theme-light, var(--pastel-mint));
            color: var(--theme-text, var(--text-primary));
        }

        .dark .filter-tab.active,
        .dark .filter-tab:hover {
            background: var(--theme-dark, rgba(184, 224, 210, 0.2));
            border-color: var(--theme-muted, var(--pastel-mint));
            color: var(--theme-lighter, #fff);
        }

        /* Article Card */
        .article-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: grid;
            grid-template-columns: 280px 1fr;
            cursor: pointer;
            animation: slideUp 0.6s ease forwards;
            opacity: 0;
            transform: translateY(20px);
        }

        .article-card:nth-child(1) { animation-delay: 0.1s; }
        .article-card:nth-child(2) { animation-delay: 0.2s; }
        .article-card:nth-child(3) { animation-delay: 0.3s; }
        .article-card:nth-child(4) { animation-delay: 0.4s; }
        .article-card:nth-child(5) { animation-delay: 0.5s; }

        @keyframes slideUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        .article-image {
            height: 220px;
            position: relative;
            overflow: hidden;
        }

        .article-image-bg {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            position: relative;
        }

        .article-image-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background: inherit;
            opacity: 0.3;
        }

        .article-image-bg i {
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
        }

        .article-category-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            backdrop-filter: blur(10px);
            background: rgba(255,255,255,0.9);
            color: var(--text-primary);
        }

        .dark .article-category-badge {
            background: rgba(42,47,56,0.9);
        }

        .article-content {
            padding: 1.5rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 0.75rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .article-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            line-height: 1.4;
            transition: color 0.3s ease;
        }

        .article-card:hover .article-title {
            color: var(--theme-primary, #5BA89A);
        }

        .article-excerpt {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1rem;
        }

        .article-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .author-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .author-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--theme-light, var(--pastel-lavender));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--theme-text, var(--text-primary));
        }

        .author-name {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text-primary);
        }

        .read-more-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--theme-primary, #5BA89A);
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            transition: gap 0.3s ease;
        }

        .read-more-btn:hover {
            gap: 0.8rem;
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .sidebar-widget {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: var(--shadow-soft);
            animation: fadeIn 0.6s ease forwards;
            opacity: 0;
        }

        .sidebar-widget:nth-child(1) { animation-delay: 0.2s; }
        .sidebar-widget:nth-child(2) { animation-delay: 0.3s; }
        .sidebar-widget:nth-child(3) { animation-delay: 0.4s; }
        .sidebar-widget:nth-child(4) { animation-delay: 0.5s; }
        .sidebar-widget:nth-child(5) { animation-delay: 0.6s; }
        .sidebar-widget:nth-child(6) { animation-delay: 0.7s; }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .widget-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .widget-title i {
            color: var(--theme-primary, #5BA89A);
        }

        /* Search Widget */
        .search-input-wrapper {
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border: 2px solid var(--border-color);
            border-radius: 14px;
            font-family: 'Exo', sans-serif;
            font-size: 1rem;
            background: var(--bg-primary);
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--theme-light, var(--pastel-mint));
            box-shadow: 0 0 0 4px rgba(var(--theme-light), 0.2);
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
        }

        /* Categories Widget */
        .category-list {
            list-style: none;
        }

        .category-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.85rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .category-item:last-child {
            border-bottom: none;
        }

        .category-item:hover {
            padding-left: 0.5rem;
        }

        .category-item:hover .category-name {
            color: var(--theme-primary, #5BA89A);
        }

        .category-left {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .category-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

        .category-name {
            font-weight: 500;
            color: var(--text-primary);
            transition: color 0.3s ease;
        }

        .category-count {
            background: var(--bg-primary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-secondary);
        }

        /* Popular Posts Widget */
        .popular-post {
            display: flex;
            gap: 1rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .popular-post:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .popular-post:first-child {
            padding-top: 0;
        }

        .popular-post:hover .popular-post-title {
            color: var(--theme-primary, #5BA89A);
        }

        .popular-post-rank {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: var(--theme-light, var(--pastel-sky));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.85rem;
            color: var(--theme-text, var(--text-primary));
            flex-shrink: 0;
        }

        .dark .popular-post-rank {
            background: var(--theme-dark, rgba(168, 213, 229, 0.2));
            color: var(--theme-lighter, #fff);
        }

        .popular-post-info {
            flex: 1;
        }

        .popular-post-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-primary);
            line-height: 1.4;
            margin-bottom: 0.25rem;
            transition: color 0.3s ease;
        }

        .popular-post-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        /* Newsletter Widget */
        .newsletter-widget {
            background: var(--gradient-header) !important;
            position: relative;
            overflow: hidden;
        }

        .newsletter-widget::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -20%;
            width: 50%;
            height: 150%;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
        }

        .newsletter-content {
            position: relative;
            z-index: 1;
        }

        .newsletter-widget .widget-title {
            color: var(--text-primary);
        }

        .newsletter-widget .widget-title i {
            color: var(--text-primary);
        }

        .newsletter-text {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .newsletter-input {
            padding: 1rem;
            border: none;
            border-radius: 12px;
            font-family: 'Exo', sans-serif;
            font-size: 1rem;
            background: var(--bg-card);
            color: var(--text-primary);
        }

        .newsletter-input::placeholder {
            color: var(--text-muted);
        }

        .newsletter-btn {
            padding: 1rem;
            border: none;
            border-radius: 12px;
            font-family: 'Exo', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            background: var(--text-primary);
            color: var(--bg-card);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        /* Health Tip Widget */
        .health-tip {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            background: var(--bg-primary);
            border-radius: 14px;
            border-left: 4px solid var(--theme-primary, var(--pastel-mint));
        }

        .health-tip-icon {
            width: 48px;
            height: 48px;
            background: var(--theme-light, var(--pastel-mint));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
            color: var(--theme-text, var(--text-primary));
        }

        .dark .health-tip-icon {
            background: var(--theme-dark, rgba(184, 224, 210, 0.2));
            color: var(--theme-lighter, #fff);
        }

        .health-tip-content h4 {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
        }

        .health-tip-content p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        /* Tags Widget */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1.5px solid var(--border-color);
            color: var(--text-secondary);
        }

        .tag:hover {
            border-color: var(--theme-light, var(--pastel-mint));
            background: var(--theme-light, var(--pastel-mint));
            color: var(--theme-text, var(--text-primary));
        }

        .dark .tag:hover {
            background: var(--theme-dark, rgba(184, 224, 210, 0.2));
            border-color: var(--theme-muted, var(--pastel-mint));
            color: var(--theme-lighter, #fff);
        }

        /* Social Widget */
        .social-links {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
        }

        .social-link {
            aspect-ratio: 1;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .social-link:hover {
            transform: translateY(-3px);
        }

        .social-link.instagram { background: var(--theme-light); }
        .social-link.twitter { background: var(--theme-lighter); }
        .social-link.youtube { background: var(--theme-muted); }
        .social-link.telegram { background: var(--theme-accent); }

        .dark .social-link.instagram { background: var(--theme-dark); }
        .dark .social-link.twitter { background: var(--theme-dark); }
        .dark .social-link.youtube { background: var(--theme-dark); }
        .dark .social-link.telegram { background: var(--theme-dark); }

        /* Modern Social Buttons */
        .social-links-modern {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: white;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .social-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }
        .social-btn.facebook { background: #1877f2; }
        .social-btn.twitter { background: #1da1f2; }
        .social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
        .social-btn.youtube { background: #ff0000; }
        .social-btn.linkedin { background: #0077b5; }
        .social-btn.pinterest { background: #bd081c; }

        /* Stats Widget */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .stat-item {
            text-align: center;
            padding: 1rem;
            background: var(--bg-primary);
            border-radius: 14px;
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--theme-primary, #5BA89A);
            margin-bottom: 0.25rem;
        }

        .stat-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .main-container {
                grid-template-columns: 1fr 320px;
            }
        }

        @media (max-width: 992px) {
            .main-container {
                grid-template-columns: 1fr;
            }

            .sidebar {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }

            .newsletter-widget {
                grid-column: span 2;
            }
        }

        @media (max-width: 768px) {
            .article-card {
                grid-template-columns: 1fr;
            }

            .article-image {
                height: 180px;
            }

            .header-nav {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
                align-items: center;
                justify-content: center;
            }

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

            .newsletter-widget {
                grid-column: span 1;
            }

            .filter-tabs {
                flex-wrap: wrap;
            }

            .main-container {
                padding: 1.5rem 1rem;
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--theme-muted, var(--pastel-mint));
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--theme-accent, #9DD4C4);
        }

        /* Footer */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            margin-top: 2rem;
        }

        .footer-main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem 3rem;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
            gap: 3rem;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .footer-logo-icon {
            width: 48px;
            height: 48px;
            background: var(--gradient-header);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .footer-logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .footer-logo-text span {
            font-weight: 300;
            opacity: 0.8;
        }

        .footer-description {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .footer-social {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .footer-social-link {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .footer-social-link:hover {
            transform: translateY(-3px);
        }

        .footer-social-link.instagram { background: var(--theme-light, var(--pastel-rose)); }
        .footer-social-link.twitter { background: var(--theme-lighter, var(--pastel-sky)); }
        .footer-social-link.youtube { background: var(--theme-muted, var(--pastel-peach)); }
        .footer-social-link.telegram { background: var(--theme-accent, var(--pastel-lavender)); }
        .footer-social-link.linkedin { background: var(--theme-light, var(--pastel-mint)); }

        .dark .footer-social-link.instagram { background: var(--theme-dark); }
        .dark .footer-social-link.twitter { background: var(--theme-dark); }
        .dark .footer-social-link.youtube { background: var(--theme-dark); }
        .dark .footer-social-link.telegram { background: var(--theme-dark); }
        .dark .footer-social-link.linkedin { background: var(--theme-dark); }

        .footer-column h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.75rem;
        }

        .footer-column h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--theme-primary, var(--pastel-mint));
            border-radius: 2px;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-links a:hover {
            color: var(--theme-primary, #5BA89A);
            padding-left: 0.5rem;
        }

        .footer-links a i {
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .footer-links a:hover i {
            opacity: 1;
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .footer-contact-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--theme-primary, #5BA89A);
            flex-shrink: 0;
        }

        .footer-contact-text {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .footer-contact-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .footer-contact-value {
            font-size: 0.95rem;
            color: var(--text-primary);
            font-weight: 500;
        }

        .footer-newsletter {
            background: var(--bg-primary);
            padding: 1.5rem;
            border-radius: 16px;
        }

        .footer-newsletter h4 {
            margin-bottom: 1rem;
            padding-bottom: 0;
        }

        .footer-newsletter h4::after {
            display: none;
        }

        .footer-newsletter p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .footer-newsletter-form {
            display: flex;
            gap: 0.5rem;
        }

        .footer-newsletter-input {
            flex: 1;
            padding: 0.9rem 1rem;
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-family: 'Exo', sans-serif;
            font-size: 0.95rem;
            background: var(--bg-card);
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .footer-newsletter-input:focus {
            outline: none;
            border-color: var(--theme-primary, var(--pastel-mint));
        }

        .footer-newsletter-btn {
            padding: 0.9rem 1.25rem;
            border: none;
            border-radius: 10px;
            background: var(--gradient-header);
            color: var(--text-primary);
            font-family: 'Exo', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .footer-newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(184, 224, 210, 0.4);
        }

        .footer-divider {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-divider-line {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border-color), transparent);
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-copyright {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .footer-copyright a {
            color: var(--theme-primary, #5BA89A);
            text-decoration: none;
            font-weight: 600;
        }

        .footer-bottom-links {
            display: flex;
            gap: 2rem;
        }

        .footer-bottom-links a {
            font-size: 0.9rem;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-bottom-links a:hover {
            color: var(--theme-primary, #5BA89A);
        }

        .footer-badges {
            display: flex;
            gap: 0.75rem;
        }

        .footer-badge {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .footer-badge.ssl {
            background: var(--theme-lighter, rgba(184, 224, 210, 0.3));
            color: var(--theme-dark, #4A9A8A);
        }

        .footer-badge.verified {
            background: var(--theme-light, rgba(168, 213, 229, 0.3));
            color: var(--theme-text, #4A8A9A);
        }

        .dark .footer-badge.ssl {
            background: var(--theme-dark);
            color: var(--theme-lighter);
        }

        .dark .footer-badge.verified {
            background: var(--theme-dark);
            color: var(--theme-lighter);
        }

        /* Footer Responsive */
        @media (max-width: 1200px) {
            .footer-main {
                grid-template-columns: repeat(3, 1fr);
            }

            .footer-brand {
                grid-column: span 3;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 1.5rem;
                padding-bottom: 2rem;
                border-bottom: 1px solid var(--border-color);
                margin-bottom: 1rem;
            }

            .footer-brand-info {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                max-width: 400px;
            }

            .footer-newsletter {
                grid-column: span 3;
                margin-top: 1rem;
            }
        }

        @media (max-width: 768px) {
            .footer-main {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
                padding: 2.5rem 1.5rem 2rem;
            }

            .footer-brand {
                grid-column: span 2;
                flex-direction: column;
                align-items: flex-start;
            }

            .footer-brand-info {
                max-width: 100%;
            }

            .footer-newsletter {
                grid-column: span 2;
            }

            .footer-newsletter-form {
                flex-direction: column;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
                padding: 1.5rem 1rem;
            }

            .footer-bottom-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 1rem 1.5rem;
            }

            .footer-badges {
                flex-wrap: wrap;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .footer-main {
                grid-template-columns: 1fr;
            }

            .footer-brand,
            .footer-newsletter {
                grid-column: span 1;
            }

            .footer-social {
                flex-wrap: wrap;
            }
        }

/* Post Single Page */
.post-single {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    max-width: 900px;
    margin: 0 auto;
}
.post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.post-header .article-category-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}
.post-header h1 {
    font-family: 'Exo', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
}
.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}
.post-content .content-section {
    margin-bottom: 2rem;
}
.post-content h2, .post-content h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}
.post-content p {
    margin-bottom: 1rem;
}
.post-content ul, .post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}
.post-content blockquote {
    border-left: 4px solid var(--pastel-mint);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}
.post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--theme-muted);
}
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 20px;
    color: var(--text-muted);
}
.logo {
    text-decoration: none;
}
a.filter-tab {
    text-decoration: none;
}
.category-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.popular-post {
    text-decoration: none;
    color: inherit;
}

/* ===================== */
/* Article List Style (Homepage) */
/* ===================== */
.article-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid transparent;
}

.article-list-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--theme-primary, #5BA89A);
}

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

.article-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.article-list-item:hover .article-list-title {
    color: var(--theme-primary, #5BA89A);
}

.article-list-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-list-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-list-meta i {
    font-size: 0.75rem;
    color: var(--theme-primary, #5BA89A);
}

.article-list-category {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Category Header Banner */
.category-header-banner {
    background: var(--gradient-header);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-header-banner h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.category-header-banner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Mobile responsive for list items */
@media (max-width: 768px) {
    .article-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .article-list-category {
        align-self: flex-start;
    }

    .article-list-meta {
        gap: 1rem;
    }
}

/* ===================== */
/* Post Detail Card Styles */
/* ===================== */
.post-detail-card {
    display: block !important;
    grid-template-columns: 1fr !important;
    cursor: default !important;
    padding: 2rem;
}

.post-detail-card:hover {
    transform: none !important;
}

.post-detail-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.post-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--theme-light, var(--pastel-mint)), var(--theme-lighter, var(--pastel-sky)));
    border-radius: 20px;
    color: var(--theme-text, var(--text-primary));
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.post-category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--theme-muted, rgba(184, 224, 210, 0.4));
}

.post-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.post-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-meta-item i {
    color: var(--theme-primary, #5BA89A);
}

.post-detail-content {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.post-detail-content p {
    margin-bottom: 1.25rem;
}

.post-detail-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--theme-light, var(--pastel-mint));
}

.post-detail-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.post-detail-content ul, .post-detail-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.post-detail-content li {
    margin-bottom: 0.5rem;
}

.post-detail-content ul li::marker {
    color: var(--theme-primary, #5BA89A);
}

.post-detail-content blockquote {
    background: linear-gradient(135deg, var(--theme-light, var(--pastel-mint)), var(--theme-lighter, var(--pastel-sky)));
    border: none;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--theme-text, var(--text-primary));
}

.post-detail-content a {
    color: var(--theme-primary, #5BA89A);
    text-decoration: none;
    border-bottom: 1px solid var(--theme-accent, #5BA89A);
}

.post-detail-content a:hover {
    border-bottom-color: transparent;
}

.post-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Post Share Section */
.post-share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000000; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.telegram { background: #0088cc; }

/* Related Posts Section */
.related-posts-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.related-posts-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-posts-section .section-title i {
    color: var(--theme-primary, #5BA89A);
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-post-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.related-post-item:hover {
    border-color: var(--theme-light, var(--pastel-mint));
    transform: translateX(5px);
}

.related-post-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.related-post-info {
    flex: 1;
    min-width: 0;
}

.related-post-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.related-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.related-post-item:hover .related-arrow {
    color: var(--theme-primary, #5BA89A);
    transform: translateX(3px);
}

/* Social Buttons - Enhanced */
.social-btn.telegram { background: #0088cc; }

/* Mobile Responsive for Post Detail */
@media (max-width: 768px) {
    .post-detail-card {
        padding: 1.5rem;
    }

    .post-detail-title {
        font-size: 1.4rem;
    }

    .post-detail-meta {
        gap: 1rem;
    }

    .post-share-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-post-item {
        padding: 0.75rem;
    }

    .related-post-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===================== */
/* Pagination Styles */
/* ===================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 0.75rem;
}

.pagination-btn:hover {
    border-color: var(--theme-primary, #5BA89A);
    color: var(--theme-primary, #5BA89A);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 168, 154, 0.2);
}

.pagination-btn.active {
    background: var(--theme-primary, #5BA89A);
    border-color: var(--theme-primary, #5BA89A);
    color: white;
}

.pagination-btn.active:hover {
    transform: translateY(-2px);
    color: white;
}

.pagination-dots {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0 0.25rem;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.35rem;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

/* ===================== */
/* Latest Posts Widget */
/* ===================== */
.latest-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.latest-post-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.latest-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-post-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.latest-post-link:hover {
    background: var(--bg-primary);
}

.latest-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.latest-post-link:hover .latest-post-title {
    color: var(--theme-primary, #5BA89A);
}

.latest-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===================== */
/* 404 Page Styles */
/* ===================== */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient-header);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-btn.primary {
    background: var(--theme-primary, #5BA89A);
    color: white;
}

.error-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 168, 154, 0.3);
}

.error-btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.error-btn.secondary:hover {
    border-color: var(--theme-primary, #5BA89A);
    color: var(--theme-primary, #5BA89A);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.4rem;
    }

    .error-actions {
        flex-direction: column;
    }
}
