/*
Theme Name: Developer News Theme
Theme URI: https://jurnalurban.ro
Author: Developer
Author URI: https://jurnalurban.ro
Description: Tema profesionala de stiri pentru Jurnal Urban - complet personalizabila prin Customizer
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: developer-theme
Tags: news, magazine, responsive, customizer, featured-images, custom-colors, custom-menu
*/

/* ============================================
   CSS VARIABLES - CUSTOMIZABLE VIA CUSTOMIZER
   ============================================ */
:root {
    /* Colors */
    --primary-color: #e53935;
    --secondary-color: #1a1a2e;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0,0,0,0.1);

    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    --font-size-base: 16px;
    --line-height: 1.6;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;

    /* Layout */
    --container-width: 1200px;
    --sidebar-width: 300px;
    --header-height: 60px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   LAYOUT - CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
    background: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--secondary-color), #16213e);
    padding: var(--spacing-xs) 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.current-date {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.current-date svg {
    width: 14px;
    height: 14px;
}

.weather-widget {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-links svg {
    width: 14px;
    height: 14px;
}

/* Main Header */
.main-header {
    background: var(--bg-dark);
    padding: var(--spacing-sm) 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img,
.site-logo img,
.custom-logo {
    max-height: 45px !important;
    width: auto !important;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-secondary);
    letter-spacing: -0.5px;
}

.site-title span {
    color: var(--primary-color);
}

.site-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* Header Search */
.header-search {
    flex: 0 0 300px;
    margin: 0 var(--spacing-xl);
}

.search-form {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--spacing-sm) var(--spacing-md);
    color: #fff;
    font-size: 0.9rem;
}

.search-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    background: var(--primary-color);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--accent-color);
}

.search-form svg {
    width: 18px;
    height: 18px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.dark-mode-toggle {
    background: rgba(255,255,255,0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

/* Navigation */
.main-navigation {
    background: linear-gradient(135deg, var(--primary-color), #c62828);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primary-menu {
    display: flex;
    align-items: stretch;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    background: rgba(0,0,0,0.2);
}

.primary-menu > li > a svg {
    width: 16px;
    height: 16px;
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.primary-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.primary-menu .sub-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.primary-menu .sub-menu li a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: var(--spacing-lg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    padding: var(--spacing-sm);
    cursor: pointer;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Breaking News Ticker */
.breaking-news {
    background: var(--secondary-color);
    padding: var(--spacing-sm) 0;
    overflow: hidden;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.breaking-label {
    background: var(--primary-color);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 3px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 1;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--secondary-color), transparent);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--secondary-color), transparent);
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    flex-shrink: 0;
    padding: 0 var(--spacing-xl);
    white-space: nowrap;
}

.ticker-item a {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.ticker-item a:hover {
    color: var(--primary-color);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.site-main {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--spacing-xl);
}

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

.content-wrapper.sidebar-left {
    grid-template-columns: var(--sidebar-width) 1fr;
}

.content-wrapper.sidebar-left .site-sidebar {
    order: -1;
}

/* ============================================
   HOMEPAGE - HERO SECTION
   ============================================ */
.hero-section {
    margin-bottom: var(--spacing-xl);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-md);
    min-height: 500px;
}

.hero-main {
    grid-row: span 2;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-main .post-thumbnail {
    position: absolute;
    inset: 0;
}

.hero-main .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-main:hover .post-thumbnail img {
    transform: scale(1.05);
}

.hero-main .post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-xl);
}

.hero-main .post-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: var(--spacing-sm);
}

.hero-main .post-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-main .post-title a {
    color: #fff;
}

.hero-main .post-title a:hover {
    color: var(--primary-color);
}

.hero-main .post-excerpt {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-main .post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.hero-secondary {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-secondary .post-thumbnail {
    height: 100%;
}

.hero-secondary .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-secondary:hover .post-thumbnail img {
    transform: scale(1.05);
}

.hero-secondary .post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
}

.hero-secondary .post-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 3px var(--spacing-xs);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: var(--spacing-xs);
}

.hero-secondary .post-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.3;
}

.hero-secondary .post-title a {
    color: #fff;
}

.hero-secondary .post-title a:hover {
    color: var(--primary-color);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.section-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.section-link:hover {
    color: var(--secondary-color);
}

.section-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.section-link:hover svg {
    transform: translateX(3px);
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.news-grid.four-columns {
    grid-template-columns: repeat(4, 1fr);
}

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

/* Article Card */
.article-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow-color);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.article-card .card-thumbnail {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.article-card .card-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .card-thumbnail img {
    transform: scale(1.1);
}

.article-card .card-category {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--primary-color);
    color: #fff;
    padding: 3px var(--spacing-xs);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 1;
}

.article-card .card-content {
    padding: var(--spacing-md);
}

.article-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-title a {
    color: var(--secondary-color);
}

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

.article-card .card-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.8rem;
}

.article-card .card-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-card .card-date svg {
    width: 14px;
    height: 14px;
}

.article-card .card-views {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-card .card-views svg {
    width: 14px;
    height: 14px;
}

/* List Style Article */
.article-list-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.article-list-item .list-thumbnail {
    flex: 0 0 120px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-list-item .list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-list-item:hover .list-thumbnail img {
    transform: scale(1.1);
}

.article-list-item .list-content {
    flex: 1;
}

.article-list-item .list-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.article-list-item .list-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-item .list-title a {
    color: var(--secondary-color);
}

.article-list-item .list-title a:hover {
    color: var(--primary-color);
}

.article-list-item .list-meta {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ============================================
   CATEGORY TABS
   ============================================ */
.category-tabs {
    margin-bottom: var(--spacing-xl);
}

.tabs-header {
    display: flex;
    gap: var(--spacing-xs);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px var(--shadow-color);
    overflow: hidden;
}

.widget-header {
    background: var(--secondary-color);
    color: #fff;
    padding: var(--spacing-md);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.widget-header svg {
    width: 20px;
    height: 20px;
}

.widget-content {
    padding: var(--spacing-md);
}

/* Popular Posts Widget */
.popular-posts-widget .popular-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-posts-widget .popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-posts-widget .popular-number {
    flex: 0 0 30px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
}

.popular-posts-widget .popular-content {
    flex: 1;
}

.popular-posts-widget .popular-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-posts-widget .popular-title a {
    color: var(--secondary-color);
}

.popular-posts-widget .popular-title a:hover {
    color: var(--primary-color);
}

.popular-posts-widget .popular-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Social Widget */
.social-widget .social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.social-widget .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-widget .social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.social-widget .social-btn.facebook { background: #1877f2; }
.social-widget .social-btn.twitter { background: #1da1f2; }
.social-widget .social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-widget .social-btn.youtube { background: #ff0000; }

.social-widget .social-btn svg {
    width: 18px;
    height: 18px;
}

/* Newsletter Widget */
.newsletter-widget .widget-content {
    text-align: center;
}

.newsletter-widget .newsletter-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.newsletter-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newsletter-widget .newsletter-form input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.newsletter-widget .newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-widget .newsletter-form button {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-widget .newsletter-form button:hover {
    background: var(--secondary-color);
}

/* Tags Widget */
.tags-widget .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tags-widget .tag-link {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--bg-secondary);
    color: var(--text-light);
    font-size: 0.8rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tags-widget .tag-link:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Ad Widget */
.ad-widget {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    text-align: center;
}

.ad-widget .ad-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.ad-widget img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

/* ============================================
   SINGLE POST STYLES
   ============================================ */
.single-post-header {
    margin-bottom: var(--spacing-xl);
}

.single-post-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-lg);
    color: var(--text-light);
    font-size: 0.9rem;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.single-post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.single-post-meta svg {
    width: 16px;
    height: 16px;
}

.single-post-meta .author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.single-featured-image {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.single-featured-image img {
    width: 100%;
    height: auto;
}

.single-featured-image figcaption {
    background: var(--bg-secondary);
    padding: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Post Content */
.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-post-content p {
    margin-bottom: var(--spacing-lg);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.single-post-content img {
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) 0;
}

.single-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    background: var(--bg-secondary);
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.single-post-content ul,
.single-post-content ol {
    margin: var(--spacing-lg) 0;
    padding-left: var(--spacing-xl);
}

.single-post-content li {
    margin-bottom: var(--spacing-sm);
}

.single-post-content ul li {
    list-style-type: disc;
}

.single-post-content ol li {
    list-style-type: decimal;
}

.single-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.single-post-content a:hover {
    text-decoration: none;
}

/* Post Tags */
.single-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.single-post-tags .tags-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.single-post-tags a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--bg-secondary);
    color: var(--text-light);
    font-size: 0.85rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.single-post-tags a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.share-buttons .share-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.share-buttons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.share-buttons a:hover {
    transform: scale(1.1);
}

.share-buttons a.facebook { background: #1877f2; }
.share-buttons a.twitter { background: #1da1f2; }
.share-buttons a.whatsapp { background: #25d366; }
.share-buttons a.telegram { background: #0088cc; }
.share-buttons a.email { background: var(--secondary-color); }

.share-buttons svg {
    width: 18px;
    height: 18px;
}

/* Author Box */
.author-box {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-xl);
}

.author-box .author-avatar {
    flex: 0 0 100px;
}

.author-box .author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box .author-info {
    flex: 1;
}

.author-box .author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.author-box .author-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.author-box .author-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.author-box .author-social {
    display: flex;
    gap: var(--spacing-sm);
}

.author-box .author-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.author-box .author-social a:hover {
    background: var(--primary-color);
}

/* Related Posts */
.related-posts {
    margin-top: var(--spacing-xxl);
}

.related-posts .section-header {
    margin-bottom: var(--spacing-lg);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.post-navigation .nav-link {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.post-navigation .nav-link:hover {
    background: var(--secondary-color);
    color: #fff;
}

.post-navigation .nav-link:hover .nav-label {
    color: rgba(255,255,255,0.7);
}

.post-navigation .nav-link:hover .nav-title {
    color: #fff;
}

.post-navigation .nav-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.post-navigation .nav-label svg {
    width: 14px;
    height: 14px;
}

.post-navigation .nav-title {
    font-weight: 600;
    color: var(--secondary-color);
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-next .nav-label {
    justify-content: flex-end;
}

/* Comments */
.comments-section {
    margin-top: var(--spacing-xxl);
}

.comments-section .section-header {
    margin-bottom: var(--spacing-lg);
}

.comment-list {
    margin-bottom: var(--spacing-xl);
}

.comment {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.comment .comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment .comment-content {
    flex: 1;
}

.comment .comment-author {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.comment .comment-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.comment .comment-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.comment .comment-reply {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.comment.reply {
    margin-left: var(--spacing-xxl);
}

/* Comment Form */
.comment-form-wrapper {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.comment-form-wrapper h3 {
    margin-bottom: var(--spacing-md);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
    margin-bottom: var(--spacing-md);
}

.comment-form button {
    padding: var(--spacing-sm) var(--spacing-xl);
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form button:hover {
    background: var(--secondary-color);
}

/* ============================================
   ARCHIVE/CATEGORY PAGES
   ============================================ */
.archive-header {
    background: linear-gradient(135deg, var(--secondary-color), #16213e);
    padding: var(--spacing-xxl) 0;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    color: #fff;
}

.archive-header .archive-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.archive-header .archive-title span {
    color: var(--primary-color);
}

.archive-header .archive-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.archive-header .archive-count {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Archive Filter */
.archive-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.archive-filter .filter-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.archive-filter select {
    padding: var(--spacing-xs) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #fff;
    font-size: 0.9rem;
    cursor: pointer;
}

.archive-filter select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.view-toggle {
    display: flex;
    gap: var(--spacing-xs);
}

.view-toggle button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.view-toggle button:hover,
.view-toggle button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.view-toggle svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a {
    background: var(--bg-secondary);
    color: var(--text-color);
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
}

.pagination .dots {
    background: transparent;
    color: var(--text-light);
}

.pagination .prev,
.pagination .next {
    font-size: 0.9rem;
}

.pagination svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    color: #fff;
    margin-top: auto;
}

/* Footer Widgets */
.footer-widgets {
    padding: var(--spacing-xxl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widgets .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.footer-widget {
    color: rgba(255,255,255,0.8);
}

.footer-widget .widget-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

.footer-widget p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-widget ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: var(--spacing-xs);
}

.footer-widget ul li a svg {
    width: 14px;
    height: 14px;
}

/* Footer About Widget */
.footer-about .footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-about .footer-logo img {
    max-height: 40px;
}

.footer-about .footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-about .footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.footer-about .footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-about .footer-social svg {
    width: 18px;
    height: 18px;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md) !important;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--spacing-lg) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.copyright a {
    color: var(--primary-color);
}

.footer-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-menu a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   DARK MODE
   ============================================ */
body.dark-mode {
    --bg-color: #1a1a2e;
    --bg-secondary: #16213e;
    --text-color: #e0e0e0;
    --text-light: #a0a0a0;
    --border-color: #2a2a4a;
    --shadow-color: rgba(0,0,0,0.3);
}

body.dark-mode .article-card,
body.dark-mode .sidebar-widget {
    background: var(--bg-secondary);
}

body.dark-mode .article-card .card-title a,
body.dark-mode .section-title {
    color: #fff;
}

body.dark-mode .search-form {
    background: rgba(255,255,255,0.05);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1.5fr 1fr;
        min-height: 400px;
    }

    .footer-widgets .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .content-wrapper.sidebar-left .site-sidebar {
        order: 0;
    }

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

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 350px auto auto;
    }

    .hero-main {
        grid-row: span 1;
    }

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

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

    .header-search {
        display: none;
    }

    .single-post-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 20px;
        --spacing-xxl: 30px;
    }

    .top-bar {
        display: none;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .site-branding {
        flex: 1;
    }

    .header-actions {
        order: 2;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
    }

    .primary-menu.active {
        display: flex;
    }

    .primary-menu > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        border-radius: 0;
    }

    .primary-menu .sub-menu li a {
        color: #fff;
        border-color: rgba(255,255,255,0.1);
    }

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

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

    .footer-widgets .container {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .single-post-title {
        font-size: 1.75rem;
    }

    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .archive-header .archive-title {
        font-size: 2rem;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 15px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero-grid {
        grid-template-rows: 250px auto auto;
    }

    .hero-main .post-title {
        font-size: 1.5rem;
    }

    .hero-main .post-overlay {
        padding: var(--spacing-md);
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .social-widget .social-buttons {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, #e8e8e8 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .site-sidebar,
    .share-buttons,
    .post-navigation,
    .comments-section,
    .related-posts,
    .back-to-top {
        display: none !important;
    }

    .content-wrapper {
        grid-template-columns: 1fr !important;
    }

    .single-post-content {
        font-size: 12pt;
    }
}

/* ============================================
   LOAD MORE BUTTON
   ============================================ */
.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.load-more-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ============================================
   CUSTOM LOGO FIX
   ============================================ */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo-link img,
.site-branding .custom-logo {
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
}

/* ============================================
   NO CONTENT MESSAGE
   ============================================ */
.no-content,
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.no-content h2 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.no-content p {
    color: var(--text-light);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs-wrapper {
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-md);
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumb-sep {
    margin: 0 10px;
    color: var(--border-color);
}

.breadcrumbs .current {
    color: var(--secondary-color);
    font-weight: 500;
}

/* ============================================
   CATEGORY WIDGET IN SIDEBAR
   ============================================ */
.categories-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    transition: var(--transition);
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
}

.categories-widget .cat-count {
    color: var(--text-light);
    font-size: 0.85rem;
}
