/*
Theme Name: BAYROQDOR24
Theme URI: https://bayroqdor24.uz
Author: BAYROQDOR24 Team
Author URI: https://bayroqdor24.uz
Description: O'zbekiston Respublikasi harbiy yangiliklari va mudofaa sohasidagi eng ishonchli axborot portali uchun maxsus WordPress mavzusi. Military news portal theme with modern design.
Version: 2.3.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bayroqdor24
Tags: news, magazine, military, grid-layout, custom-menu, custom-logo, featured-images, translation-ready, rtl-language-support

BAYROQDOR24 - Military News Portal Theme
*/

/* ================================
   CSS Variables
   ================================ */
:root {
    /* Primary Colors - Military Green */
    --primary-dark: #1a4d1a;
    --primary: #228b22;
    --primary-light: #32cd32;
    --primary-lighter: #3cb371;
    
    /* Accent Colors - Gold/Bronze */
    --accent-gold: #ffd700;
    --accent-bronze: #daa520;
    --accent-copper: #cd853f;
    
    /* Background Colors - LIGHT */
    --bg-dark: #e8f5e9;
    --bg-main: #f5f9f5;
    --bg-card: #ffffff;
    --bg-hover: #e0f0e0;
    
    /* Text Colors */
    --text-primary: #1a2e1a;
    --text-secondary: #3d5c3d;
    --text-muted: #6b8b6b;
    --text-light: #ffffff;
    
    /* Danger/Alert */
    --danger: #dc3545;
    --danger-light: #ff4757;
    
    /* Borders */
    --border-color: #228b22;
    --border-light: rgba(34, 139, 34, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 100, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 100, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 100, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Spacing */
    --container-max: 1400px;
    --section-padding: 40px;
}

/* ================================
   Reset & Base
   ================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

/* ================================
   Container
   ================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   TOP BAR
   ================================ */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-bottom: 3px solid var(--accent-gold);
    padding: 10px 0;
}

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

.date-time {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.date-time .separator {
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-links a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-links a:hover {
    color: var(--accent-gold);
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ================================
   HEADER
   ================================ */
.main-header {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-bottom: 4px solid var(--accent-gold);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

.logo img,
.custom-logo {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) brightness(1.1);
    transition: transform var(--transition-normal);
}

.logo:hover img,
.custom-logo:hover {
    transform: scale(1.05);
}

/* ================================
   NAVIGATION
   ================================ */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul,
.nav-list {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li a,
.nav-list li a {
    display: block;
    padding: 12px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-radius: 6px;
    position: relative;
    transition: all var(--transition-fast);
}

.main-nav li a::after,
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width var(--transition-normal);
}

.main-nav li a:hover,
.main-nav li a.active,
.main-nav li.current-menu-item a,
.main-nav li.current-cat a,
.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255,255,255,0.15);
    color: var(--accent-gold);
}

.main-nav li a:hover::after,
.main-nav li a.active::after,
.main-nav li.current-menu-item a::after,
.main-nav li.current-cat a::after,
.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 80%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ================================
   BREAKING NEWS TICKER
   ================================ */
.breaking-news {
    background: linear-gradient(90deg, var(--danger) 0%, var(--danger-light) 100%);
    padding: 12px 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-label {
    background: var(--text-light);
    color: var(--danger);
    padding: 8px 18px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    animation: pulse 2s infinite;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-text {
    display: flex;
    gap: 80px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-text span {
    font-weight: 600;
    color: var(--text-light);
    font-size: 15px;
}

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

/* ================================
   MAIN CONTENT
   ================================ */
.main-content {
    padding: var(--section-padding) 0;
    background: var(--bg-main);
}

/* ================================
   MAIN CONTENT
   ================================ */
.main-content {
    padding: var(--section-padding) 0;
    background: var(--bg-main);
}

.main-content > .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: var(--section-padding);
}

.hero-main {
    position: relative;
}

.hero-article {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 500px;
    border: 3px solid var(--primary);
}

.hero-article a {
    display: block;
    height: 100%;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.hero-article:hover .hero-image img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(26, 77, 26, 0.95) 0%, rgba(26, 77, 26, 0.4) 50%, transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 1;
}

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    color: var(--primary-dark);
    padding: 8px 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.category-tag.small {
    padding: 5px 12px;
    font-size: 11px;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-excerpt {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hero Sidebar */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-article {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.sidebar-article:hover {
    transform: translateX(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.sidebar-article a {
    display: flex;
    gap: 15px;
    padding: 12px;
}

.sidebar-image {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-light);
}

.sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sidebar-article:hover .sidebar-content h3 {
    color: var(--primary);
}

.sidebar-content .date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ================================
   SECTION STYLES
   ================================ */
.categories-section {
    margin-bottom: var(--section-padding);
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 .icon {
    font-size: 1.8rem;
}

.section-header h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    margin-right: 12px;
    border-radius: 2px;
}

.view-all {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    background: var(--bg-hover);
    padding: 10px 20px;
    border-radius: 6px;
}

.view-all:hover {
    color: var(--text-light);
    background: var(--primary);
    transform: translateX(5px);
}

/* ================================
   ARTICLES GRID
   ================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.articles-grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Article Card */
.article-card {
    background: var(--bg-main);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid var(--border-light);
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(34, 139, 34, 0.25);
}

.article-card a {
    display: block;
}

.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(26, 77, 26, 0.7) 0%, transparent 100%);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.article-card:hover .card-content h3 {
    color: var(--primary);
}

.card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article meta for cards - dark text on light background */
.article-card .card-content .article-meta,
.card-content .article-meta {
    color: var(--text-muted) !important;
}

.article-card .card-content .article-meta span,
.card-content .article-meta span {
    color: var(--text-muted) !important;
}

.card-content .article-meta .date,
.card-content .article-meta .views {
    color: var(--text-muted) !important;
}

/* ================================
   CATEGORY HEADER
   ================================ */
.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.category-header .container {
    position: relative;
    z-index: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    justify-content: flex-start;
}

.category-header .breadcrumb a,
.category-header .breadcrumb span {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
}

.category-header .breadcrumb .separator {
    color: var(--accent-gold);
    font-weight: bold;
}

.category-header .breadcrumb a:hover {
    color: var(--accent-gold);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.category-icon {
    font-size: 3rem;
}

.category-title h1,
.category-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
}

/* ================================
   SINGLE ARTICLE PAGE
   ================================ */
.article-main {
    padding: var(--section-padding) 0;
}

.article-main > .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.article-content {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--bg-hover);
    font-size: 14px;
}

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

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

.breadcrumb .separator {
    color: var(--text-muted);
}

.article-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
}

.article-header .category-tag {
    margin-bottom: 15px;
}

.article-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.article-meta-full {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-meta-full span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-image {
    width: 100%;
}

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

.article-body {
    padding: 30px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2,
.article-body h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-dark);
    margin: 30px 0 15px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--bg-hover);
    font-style: italic;
}

.article-body img {
    border-radius: 8px;
    margin: 20px 0;
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid var(--border-light);
}

.share-label {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.share-btn.telegram { background: #0088cc; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ================================
   SIDEBAR
   ================================ */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
}

.sidebar-widget h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.popular-list {
    list-style: none;
}

.popular-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.popular-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-list a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.popular-list .number {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.popular-list .title {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
}

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

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--bg-hover);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.categories-list a:hover {
    background: var(--primary);
    color: var(--text-light);
}

.categories-list span {
    background: var(--primary);
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.categories-list a:hover span {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Newsletter Widget */
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    color: var(--primary-dark);
}

/* ================================
   FOOTER
   ================================ */
.main-footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-top: 4px solid var(--accent-gold);
    padding: 50px 0 20px;
    margin-top: var(--section-padding);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section.about {
    padding-right: 30px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.footer-section.about p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.footer-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

.footer-section.links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section.links ul li {
    margin-bottom: 12px;
}

.footer-section.links ul li a {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-section.links ul li a:hover {
    color: var(--accent-gold);
    transform: translateX(8px);
}

.footer-section.contact p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.footer-section.contact p strong {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    transform: translateY(-5px);
}

#back-to-top svg {
    width: 26px;
    height: 26px;
    color: var(--text-light);
}

#back-to-top:hover svg {
    color: var(--primary-dark);
}

/* ================================
   WORDPRESS SPECIFIC
   ================================ */
.wp-block-image img {
    border-radius: 8px;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
}

/* Comments */
.comments-area {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--shadow-md);
}

.comments-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.comment-author {
    font-weight: 600;
    color: var(--primary-dark);
}

.comment-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .hero-article {
        min-height: 400px;
    }
    
    .hero-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-main > .container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .main-nav li a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .logo img,
    .custom-logo {
        height: 50px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        border-top: 2px solid var(--accent-gold);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hero-sidebar {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-title h1,
    .category-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-article {
        min-height: auto;
        position: relative;
    }
    
    .hero-image {
        position: relative;
        height: auto;
        min-height: 250px;
    }
    
    .hero-image img {
        position: relative;
        height: auto;
        min-height: 250px;
    }
    
    .hero-content {
        position: relative;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
        padding: 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .hero-excerpt {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-content .article-meta {
        font-size: 12px;
    }
    
    .category-tag {
        padding: 5px 10px;
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .ticker-label {
        display: none;
    }
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card,
.sidebar-article {
    animation: fadeIn 0.5s ease-out;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--text-light);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
    border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ================================
   SITE FOOTER (site-footer class)
   ================================ */
.site-footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-top: 4px solid var(--accent-gold);
    padding: 50px 0 20px;
    margin-top: var(--section-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    color: rgba(255,255,255,0.85);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-logo .logo-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    transition: all var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-menu li a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-menu .count {
    font-size: 12px;
    opacity: 0.7;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent-gold);
}

.contact-item a {
    color: rgba(255,255,255,0.85);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.bottom-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bottom-menu a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.bottom-menu a:hover {
    color: var(--accent-gold);
}

/* ================================
   HEADER ADDITIONS
   ================================ */
.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.logo-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: var(--accent-gold);
}

.lang-switcher {
    display: flex;
    gap: 5px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.lang-btn {
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--primary-dark);
    background: var(--accent-gold);
}

.header-search {
    position: relative;
}

.header-search form {
    display: flex;
    align-items: center;
}

.header-search input {
    width: 200px;
    padding: 10px 40px 10px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.header-search input::placeholder {
    color: rgba(255,255,255,0.6);
}

.header-search input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.15);
    width: 250px;
}

.header-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.header-search button:hover {
    color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    color: var(--text-light);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    transform: translateY(-5px);
    color: var(--primary-dark);
}

/* Nav Menu (WordPress) */
.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 12px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-radius: 6px;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current-cat a {
    background: rgba(255,255,255,0.15);
    color: var(--accent-gold);
}

/* Site main */
.site-main {
    min-height: 50vh;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-search input {
        width: 150px;
    }
    
    .contact-info {
        display: none;
    }
}

@media (max-width: 480px) {
    .lang-switcher {
        margin-left: 10px;
        padding-left: 10px;
    }
    
    .header-search {
        display: none;
    }
}

/* ================================
   SHARE BUTTONS - Styled
   ================================ */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    border-top: 2px solid var(--border-light);
    background: var(--bg-hover);
    border-radius: 0 0 16px 16px;
}

.share-label {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-fast);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.share-btn svg {
    width: 22px;
    height: 22px;
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
}

.share-btn.telegram:hover {
    background: linear-gradient(135deg, #00a0e4 0%, #0088cc 100%);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1877f2 100%);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #4db5f5 0%, #1da1f2 100%);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.4);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .article-share {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
    }
    
    .share-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .share-btn {
        width: 50px;
        height: 50px;
    }
}

/* ================================
   HERO SIDEBAR - Enhanced
   ================================ */
.hero-sidebar .sidebar-article {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.hero-sidebar .sidebar-article:hover {
    transform: translateX(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.hero-sidebar .sidebar-article a {
    display: flex;
    gap: 15px;
    padding: 15px;
}

.hero-sidebar .sidebar-image {
    width: 120px;
    height: 85px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-light);
}

.hero-sidebar .sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.hero-sidebar .sidebar-article:hover .sidebar-image img {
    transform: scale(1.1);
}

.hero-sidebar .sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hero-sidebar .sidebar-content .category-tag {
    align-self: flex-start;
}

.hero-sidebar .sidebar-content .category-tag.small {
    padding: 4px 10px;
    font-size: 10px;
    margin-bottom: 2px;
}

.hero-sidebar .sidebar-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-sidebar .sidebar-article:hover .sidebar-content h3 {
    color: var(--primary);
}

.hero-sidebar .sidebar-content .date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ================================
   HERO GRID - Front Page Layout
   ================================ */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.main-article {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 500px;
    border: 3px solid var(--primary);
    background: var(--bg-card);
}

.main-article .article-link {
    display: block;
    height: 100%;
    position: relative;
}

.main-article .article-image {
    position: absolute;
    inset: 0;
}

.main-article .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.main-article:hover .article-image img {
    transform: scale(1.05);
}

.main-article .article-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%);
}

.main-article .article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    z-index: 2;
}

.main-article .category-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.main-article .article-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.main-article .article-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}

.main-article .article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.main-article .article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-article .article-meta svg {
    opacity: 0.8;
}

/* Sidebar Articles */
.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-article {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.sidebar-article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.sidebar-article .article-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
}

.sidebar-article .article-image {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-article .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.sidebar-article:hover .article-image img {
    transform: scale(1.1);
}

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

.sidebar-article .article-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.sidebar-article .article-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.sidebar-article .article-meta .date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Hero Grid */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .main-article {
        min-height: 400px;
    }
    
    .main-article .article-title {
        font-size: 24px;
    }
    
    .sidebar-articles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .sidebar-article .article-link {
        flex-direction: column;
        padding: 0;
    }
    
    .sidebar-article .article-image {
        width: 100%;
        height: 120px;
    }
    
    .sidebar-article .article-content {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .sidebar-articles {
        grid-template-columns: 1fr;
    }
    
    .sidebar-article .article-link {
        flex-direction: row;
        padding: 12px;
    }
    
    .sidebar-article .article-image {
        width: 100px;
        height: 80px;
    }
    
    .main-article .article-title {
        font-size: 20px;
    }
    
    .main-article .article-content {
        padding: 20px;
    }
}

/* ================================
   CATEGORIES GRID
   ================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-block {
    background: var(--bg-main);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid var(--border-light);
    transition: all var(--transition-fast);
}

.category-block:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* NOTE: Main .category-header styles are at line ~718 for category archive pages */
/* These styles below are for category blocks inside widgets/sidebar - renamed to avoid conflict */
.category-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.category-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.category-name a {
    color: inherit;
    text-decoration: none;
}

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

.category-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: 12px;
}

.category-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-article-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.category-article-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.category-article-card a {
    display: flex;
    gap: 12px;
    padding: 10px;
}

.category-article-card .card-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.category-article-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-article-card .card-content {
    flex: 1;
    padding: 0;
}

.category-article-card .card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.category-article-card .card-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.category-more {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    background: rgba(34, 139, 34, 0.1);
    transition: all var(--transition-fast);
}

.category-more:hover {
    background: var(--primary);
    color: white;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Article Card */
.article-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid var(--border-light);
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(34, 139, 34, 0.25);
}

.article-card a {
    display: block;
}

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

.article-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.article-card .card-content {
    padding: 20px;
}

.article-card .card-content h3,
.article-card .card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.article-card:hover .card-content h3,
.article-card:hover .card-title {
    color: var(--primary);
}

/* Popular Section */
.popular-section {
    padding: 30px 0;
    margin-bottom: var(--section-padding);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.popular-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 2px solid var(--border-light);
    position: relative;
}

.popular-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.popular-card .rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.popular-card a {
    display: flex;
    gap: 15px;
    padding: 15px;
}

.popular-card .card-image {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-card .card-content {
    flex: 1;
    padding: 0;
}

.popular-card .card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.popular-card .card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Video Section */
.video-section {
    padding: 30px 0;
    margin-bottom: var(--section-padding);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(34, 139, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.video-card:hover .play-button {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

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

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .hero-article {
        min-height: 400px;
    }
    
    .hero-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-sidebar {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   VIEW ALL BUTTON - Желтая кнопка
   ================================ */
.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    color: var(--primary-dark);
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ================================
   ARTICLE CARD - Улучшенные карточки
   ================================ */
.article-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid var(--border-light);
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(34, 139, 34, 0.2);
}

.article-card a {
    display: block;
    text-decoration: none;
}

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

.article-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.article-card:hover .card-image img {
    transform: scale(1.08);
}

.article-card .card-content {
    padding: 20px;
}

.article-card .card-content .category-tag {
    margin-bottom: 12px;
}

.article-card .card-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .card-content h3 {
    color: var(--primary);
}

.article-card .card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 500;
}

/* ================================
   PAGE TEMPLATE - Left aligned
   ================================ */
.page-main {
    padding: var(--section-padding) 0;
    background: var(--bg-main);
}

.page-content {
    max-width: 100%;
}

.breadcrumb-wrapper {
    margin-bottom: 15px;
}

.breadcrumb-wrapper .breadcrumb {
    justify-content: flex-start;
    text-align: left;
}

.page-header {
    margin-bottom: 25px;
    text-align: left;
}

.page-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: left;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.page-body h2,
.page-body h3,
.page-body h4 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-body p {
    margin-bottom: 15px;
}

.page-body ul,
.page-body ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-body li {
    margin-bottom: 8px;
}

/* ================================
    margin-top: 15px;
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
}
