/* Основные стили */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ffe8e0;
    --secondary-color: #ff9e1f;
    --accent-color: #ffd166;
    --dark-color: #1a1a1a;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f8f8f8;
    --border-color: #eaeaea;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
    transition: var(--transition);
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.dark-mode .site-header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: -2px;
}

body.dark-mode .logo-subtitle {
    color: #a0a0a0;
}

.menu-toggle, .search-toggle, .theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark-color);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .menu-toggle,
body.dark-mode .search-toggle,
body.dark-mode .theme-toggle {
    color: #e0e0e0;
}

.menu-toggle:hover, .search-toggle:hover, .theme-toggle:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

body.dark-mode .menu-toggle:hover,
body.dark-mode .search-toggle:hover,
body.dark-mode .theme-toggle:hover {
    background-color: #333;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.subscribe-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.main-nav {
    padding: 15px 0;
    transition: max-height 0.3s ease;
    max-height: 500px;
    overflow: hidden;
}

body.dark-mode .main-nav {
    background-color: #1a1a1a;
}

.main-nav.collapsed {
    max-height: 0;
    padding: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .nav-list li {
        width: 100%;
    }
}

.nav-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
    border-radius: 4px;
}

body.dark-mode .nav-list a {
    color: #c0c0c0;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

body.dark-mode .nav-list a:hover,
body.dark-mode .nav-list a.active {
    background-color: rgba(255, 107, 53, 0.1);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    width: calc(100% - 24px);
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Основной контент */
.main-content {
    padding: 30px 0 60px;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

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

/* Герой-секция на главной */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

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

.hero-main .featured {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 0;
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background-color: var(--white);
}

body.dark-mode .news-content {
    background-color: #1a1a1a;
}

.headline {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--dark-color);
}

body.dark-mode .headline {
    color: #ffffff;
}

.excerpt {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

body.dark-mode .excerpt {
    color: #b0b0b0;
}

.meta {
    display: flex;
    gap: 15px;
    color: var(--medium-gray);
    font-size: 14px;
    margin-top: auto;
    flex-wrap: wrap;
}

body.dark-mode .meta {
    color: #888;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--dark-color);
}

body.dark-mode .section-title {
    color: #ffffff;
}

.latest-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.latest-item:hover {
    transform: translateX(5px);
}

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

.latest-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 8px 0 5px;
    line-height: 1.4;
    color: var(--dark-color);
}

body.dark-mode .latest-item h3 {
    color: #e0e0e0;
}

/* Категории */
.category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-label {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.category.world {
    background-color: #ffe8e0;
    color: var(--primary-dark);
}

body.dark-mode .category.world {
    background-color: rgba(255, 107, 53, 0.2);
    color: #ffb099;
}

.category.business {
    background-color: #fff4e6;
    color: #e67e22;
}

body.dark-mode .category.business {
    background-color: rgba(230, 126, 34, 0.2);
    color: #f8c471;
}

.category.economy {
    background-color: #fff9e6;
    color: #f39c12;
}

body.dark-mode .category.economy {
    background-color: rgba(243, 156, 18, 0.2);
    color: #f8d05f;
}

.category.politics {
    background-color: #f0e6ff;
    color: #8e44ad;
}

body.dark-mode .category.politics {
    background-color: rgba(142, 68, 173, 0.2);
    color: #d2b4de;
}

.category.us {
    background-color: #ffe6e6;
    color: #c0392b;
}

body.dark-mode .category.us {
    background-color: rgba(192, 57, 43, 0.2);
    color: #f1948a;
}

.category.markets {
    background-color: #e6f7ff;
    color: #2980b9;
}

body.dark-mode .category.markets {
    background-color: rgba(41, 128, 185, 0.2);
    color: #85c1e9;
}

.category.sports {
    background-color: #e6fff2;
    color: #27ae60;
}

body.dark-mode .category.sports {
    background-color: rgba(39, 174, 96, 0.2);
    color: #82e0aa;
}

/* Секции новостей */
.news-sections {
    margin-top: 40px;
}

.news-section {
    margin-bottom: 50px;
}

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

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.see-all:hover {
    text-decoration: underline;
    gap: 8px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.dark-mode .news-card {
    background-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

body.dark-mode .news-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0;
    line-height: 1.3;
    color: var(--dark-color);
}

body.dark-mode .news-card h3 {
    color: #ffffff;
}

.news-card .excerpt {
    font-size: 15px;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Подкасты */
.podcast-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 158, 31, 0.05));
    border-radius: var(--border-radius);
}

body.dark-mode .podcast-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 158, 31, 0.1));
}

.podcast-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: none;
    color: var(--dark-color);
}

body.dark-mode .podcast-section .section-title {
    color: #ffffff;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.podcast-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

body.dark-mode .podcast-card {
    background-color: #1e1e1e;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

.podcast-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.podcast-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

body.dark-mode .podcast-card h3 {
    color: #ffffff;
}

.podcast-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 14px;
}

body.dark-mode .podcast-card p {
    color: #a0a0a0;
}

.play-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

/* Страница рубрик */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

body.dark-mode .page-description {
    color: #a0a0a0;
}

.category-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

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

.category-sidebar {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: var(--border-radius);
    height: fit-content;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

body.dark-mode .category-sidebar {
    background-color: #1a1a1a;
    border-color: rgba(255, 107, 53, 0.2);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
}

body.dark-mode .sidebar-title {
    color: #ffffff;
    border-bottom-color: #333;
}

.topics-list {
    list-style: none;
    margin-bottom: 30px;
}

.topics-list li {
    margin-bottom: 8px;
}

.topics-list a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 10px 0;
    border-radius: 4px;
    padding-left: 10px;
}

body.dark-mode .topics-list a {
    color: #a0a0a0;
}

.topics-list a:hover, .topics-list a.active {
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--primary-light);
    padding-left: 15px;
}

body.dark-mode .topics-list a:hover,
body.dark-mode .topics-list a.active {
    background-color: rgba(255, 107, 53, 0.1);
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.popular-item:hover {
    transform: translateX(5px);
}

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

.popular-rank {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 30px;
}

.popular-content h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    color: var(--dark-color);
}

body.dark-mode .popular-content h4 {
    color: #e0e0e0;
}

.category-articles {
    grid-column: 1 / -1;
    margin-top: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.article-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

body.dark-mode .article-card {
    background-color: #1e1e1e;
}

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

.article-content {
    display: flex;
    flex-direction: column;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--dark-color);
}

body.dark-mode .article-card h3 {
    color: #ffffff;
}

.article-card p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

body.dark-mode .article-card p {
    color: #a0a0a0;
}

.article-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Страница поста */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

body.dark-mode .breadcrumb {
    color: #888;
}

.breadcrumb-link {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

body.dark-mode .breadcrumb-link {
    color: #a0a0a0;
}

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

.breadcrumb i {
    font-size: 10px;
}

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

.meta-details {
    display: flex;
    gap: 20px;
    color: var(--medium-gray);
    font-size: 14px;
}

body.dark-mode .meta-details {
    color: #888;
}

.post-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

body.dark-mode .post-title {
    color: #ffffff;
}

.post-excerpt {
    font-size: 22px;
    color: var(--medium-gray);
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 400;
}

body.dark-mode .post-excerpt {
    color: #b0b0b0;
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.share-bar span {
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-color);
}

body.dark-mode .share-bar span {
    color: #ffffff;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: none;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .share-btn {
    border-color: #444;
    color: #a0a0a0;
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.post-content .featured-image {
    margin-bottom: 30px;
}

.post-content .featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.image-caption {
    font-size: 14px;
    color: var(--medium-gray);
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

body.dark-mode .image-caption {
    color: #888;
}

.article-body {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

body.dark-mode .article-body h2 {
    color: #ffffff;
    border-bottom-color: rgba(255, 107, 53, 0.3);
}

.quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--dark-gray);
    background-color: var(--primary-light);
    padding: 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

body.dark-mode .quote {
    color: #d0d0d0;
    background-color: rgba(255, 107, 53, 0.1);
}

.quote cite {
    display: block;
    font-style: normal;
    font-size: 16px;
    margin-top: 10px;
    color: var(--medium-gray);
}

body.dark-mode .quote cite {
    color: #888;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 600;
    color: var(--dark-color);
}

body.dark-mode .tags-label {
    color: #ffffff;
}

.tag {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

body.dark-mode .tag {
    background-color: #2a2a2a;
    color: #c0c0c0;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.author-box {
    display: flex;
    gap: 20px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-top: 30px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

body.dark-mode .author-box {
    background-color: #1a1a1a;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

body.dark-mode .author-avatar img {
    border-color: rgba(255, 107, 53, 0.3);
}

.author-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

body.dark-mode .author-info h4 {
    color: #ffffff;
}

.author-info p {
    color: var(--medium-gray);
    font-size: 15px;
}

body.dark-mode .author-info p {
    color: #a0a0a0;
}

.related-articles {
    margin-top: 60px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--dark-color);
}

body.dark-mode .related-title {
    color: #ffffff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--white);
}

body.dark-mode .related-card {
    background-color: #1e1e1e;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.15);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-content h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--dark-color);
    flex-grow: 1;
}

body.dark-mode .related-content h4 {
    color: #e0e0e0;
}

/* Футер */
.site-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-section p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.subscribe-link {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #888;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    display: flex;
    gap: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
    }
    
    .nav-list {
        justify-content: flex-start;
        gap: 0;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .headline {
        font-size: 26px;
    }
    
    .post-title {
        font-size: 32px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .category-content {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .podcast-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}        

/* Дополнительные стили для страницы экономики */
        .economics-hero {
            position: relative;
            background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 158, 31, 0.05));
            border-radius: var(--border-radius);
            padding: 40px;
            margin-bottom: 40px;
            overflow: hidden;
        }
        
        .economics-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .stat-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: var(--shadow);
            border-left: 4px solid var(--primary-color);
        }
        
        body.dark-mode .stat-card {
            background-color: #1e1e1e;
        }
        
        .stat-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            color: var(--medium-gray);
        }
        
        .market-indicators {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 40px;
            box-shadow: var(--shadow);
        }
        
        body.dark-mode .market-indicators {
            background-color: #1e1e1e;
        }
        
        .indicators-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .indicator {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-radius: var(--border-radius);
            background-color: var(--light-gray);
            transition: var(--transition);
        }
        
        body.dark-mode .indicator {
            background-color: #252525;
        }
        
        .indicator:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .indicator.up .indicator-change {
            color: #27ae60;
        }
        
        .indicator.down .indicator-change {
            color: #e74c3c;
        }
        
        .indicator-name {
            font-weight: 600;
            font-size: 14px;
        }
        
        .indicator-value {
            font-weight: 700;
            font-size: 18px;
        }
        
        .indicator-change {
            font-size: 14px;
            font-weight: 600;
        }
        
        .economics-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .feature-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            border-top: 4px solid var(--primary-color);
            transition: var(--transition);
        }
        
        body.dark-mode .feature-card {
            background-color: #1e1e1e;
        }
        
        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
        }
        
        .feature-icon {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }
        
        .economics-trending {
            margin-top: 50px;
        }
        
        .trending-topics {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        
        .trending-topic {
            background-color: var(--light-gray);
            color: var(--dark-gray);
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            transition: var(--transition);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        body.dark-mode .trending-topic {
            background-color: #252525;
            color: #c0c0c0;
        }
        
        .trending-topic:hover {
            background-color: var(--primary-color);
            color: var(--white);
            transform: translateY(-2px);
        }
        
        .trending-topic i {
            font-size: 12px;
        }
        
        .economics-calendar {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-top: 40px;
            box-shadow: var(--shadow);
        }
        
        body.dark-mode .economics-calendar {
            background-color: #1e1e1e;
        }
        
        .calendar-events {
            margin-top: 20px;
        }
        
        .calendar-event {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .calendar-event:last-child {
            border-bottom: none;
        }
        
        .event-date {
            background-color: var(--primary-light);
            color: var(--primary-color);
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 14px;
            min-width: 120px;
            text-align: center;
        }
        
        .event-details {
            flex-grow: 1;
            margin-left: 20px;
        }
        
        .event-name {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .event-time {
            font-size: 14px;
            color: var(--medium-gray);
        }
        
        .event-reminder {
            background: none;
            border: 1px solid var(--border-color);
            color: var(--medium-gray);
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .event-reminder:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .economics-newsletter {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: var(--border-radius);
            padding: 40px;
            margin-top: 50px;
            color: white;
            text-align: center;
        }
        
        .newsletter-form {
            display: flex;
            max-width: 500px;
            margin: 30px auto 0;
            gap: 10px;
        }
        
        .newsletter-input {
            flex-grow: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 30px;
            font-size: 16px;
        }
        
        .newsletter-btn {
            background-color: var(--white);
            color: var(--primary-color);
            border: none;
            padding: 15px 30px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        @media (max-width: 768px) {
            .economics-hero {
                padding: 25px;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .calendar-event {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .event-details {
                margin-left: 0;
            }
        }

        /* Дополнительные стили для страницы статьи */
        .article-header {
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 30px;
            margin-bottom: 40px;
        }
        
        .article-meta-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .article-actions {
            display: flex;
            gap: 15px;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: 1px solid var(--border-color);
            color: var(--medium-gray);
            padding: 8px 16px;
            border-radius: 20px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 14px;
        }
        
        body.dark-mode .action-btn {
            border-color: #444;
            color: #a0a0a0;
        }
        
        .action-btn:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .action-btn.bookmarked {
            background-color: var(--primary-light);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .article-main-image {
            margin-bottom: 30px;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .article-main-image img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }
        
        .image-credits {
            display: flex;
            justify-content: space-between;
            padding: 15px 20px;
            background-color: var(--light-gray);
            color: var(--medium-gray);
            font-size: 14px;
        }
        
        body.dark-mode .image-credits {
            background-color: #252525;
        }
        
        .article-body {
            font-size: 19px;
            line-height: 1.8;
            color: var(--dark-color);
            max-width: 800px;
            margin: 0 auto 50px;
        }
        
        body.dark-mode .article-body {
            color: #e0e0e0;
        }
        
        .article-body p {
            margin-bottom: 25px;
        }
        
        .article-body h2 {
            font-size: 28px;
            font-weight: 700;
            margin: 50px 0 25px;
            color: var(--dark-color);
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-light);
        }
        
        body.dark-mode .article-body h2 {
            color: #ffffff;
        }
        
        .article-body h3 {
            font-size: 22px;
            font-weight: 600;
            margin: 40px 0 20px;
            color: var(--dark-color);
        }
        
        body.dark-mode .article-body h3 {
            color: #f0f0f0;
        }
        
        .highlight-quote {
            border-left: 4px solid var(--primary-color);
            padding: 30px 40px;
            margin: 40px 0;
            font-size: 22px;
            font-style: italic;
            line-height: 1.5;
            color: var(--dark-color);
            background-color: var(--primary-light);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        
        body.dark-mode .highlight-quote {
            color: #f0f0f0;
            background-color: rgba(255, 107, 53, 0.1);
        }
        
        .quote-author {
            display: block;
            font-style: normal;
            font-size: 16px;
            margin-top: 15px;
            color: var(--medium-gray);
            font-weight: 600;
        }
        
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 40px 0;
            box-shadow: var(--shadow);
            border-radius: var(--border-radius);
            overflow: hidden;
        }
        
        .data-table th {
            background-color: var(--primary-color);
            color: white;
            padding: 18px 15px;
            text-align: left;
            font-weight: 600;
        }
        
        .data-table td {
            padding: 15px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .data-table tr:last-child td {
            border-bottom: none;
        }
        
        .data-table tr:nth-child(even) {
            background-color: var(--light-gray);
        }
        
        body.dark-mode .data-table tr:nth-child(even) {
            background-color: #252525;
        }
        
        .data-table .change-up {
            color: #27ae60;
            font-weight: 600;
        }
        
        .data-table .change-down {
            color: #e74c3c;
            font-weight: 600;
        }
        
        .infographic {
            background-color: var(--light-gray);
            border-radius: var(--border-radius);
            padding: 30px;
            margin: 40px 0;
            border-left: 4px solid var(--primary-color);
        }
        
        body.dark-mode .infographic {
            background-color: rgba(255, 107, 53, 0.05);
        }
        
        .infographic-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--dark-color);
        }
        
        body.dark-mode .infographic-title {
            color: #ffffff;
        }
        
        .market-timeline {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            position: relative;
        }
        
        .timeline-item {
            text-align: center;
            position: relative;
            flex: 1;
        }
        
        .timeline-point {
            width: 16px;
            height: 16px;
            background-color: var(--primary-color);
            border-radius: 50%;
            margin: 0 auto 10px;
            position: relative;
            z-index: 2;
        }
        
        .market-timeline::before {
            content: '';
            position: absolute;
            top: 8px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: var(--border-color);
            z-index: 1;
        }
        
        .timeline-label {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .timeline-value {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .article-sidebar {
            position: sticky;
            top: 100px;
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }
        
        body.dark-mode .article-sidebar {
            background-color: #1e1e1e;
        }
        
        .sidebar-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
            color: var(--dark-color);
        }
        
        body.dark-mode .sidebar-title {
            color: #ffffff;
        }
        
        .key-facts {
            list-style: none;
            margin-bottom: 25px;
        }
        
        .key-facts li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .key-facts li:last-child {
            border-bottom: none;
        }
        
        .key-facts i {
            color: var(--primary-color);
            font-size: 14px;
        }
        
        .related-stocks {
            margin-top: 25px;
        }
        
        .stock-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .stock-item:last-child {
            border-bottom: none;
        }
        
        .stock-name {
            font-weight: 600;
        }
        
        .stock-price {
            font-weight: 700;
        }
        
        .stock-change.up {
            color: #27ae60;
            font-weight: 600;
        }
        
        .stock-change.down {
            color: #e74c3c;
            font-weight: 600;
        }
        
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 40px 0 30px;
        }
        
        .article-tag {
            background-color: var(--light-gray);
            color: var(--dark-gray);
            padding: 8px 16px;
            border-radius: 30px;
            font-size: 14px;
            text-decoration: none;
            transition: var(--transition);
        }
        
        body.dark-mode .article-tag {
            background-color: #252525;
            color: #c0c0c0;
        }
        
        .article-tag:hover {
            background-color: var(--primary-color);
            color: var(--white);
        }
        
        .author-details {
            display: flex;
            gap: 20px;
            padding: 30px;
            background-color: var(--light-gray);
            border-radius: var(--border-radius);
            margin: 40px 0;
        }
        
        body.dark-mode .author-details {
            background-color: #252525;
        }
        
        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-info {
            flex-grow: 1;
        }
        
        .author-name {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--dark-color);
        }
        
        body.dark-mode .author-name {
            color: #ffffff;
        }
        
        .author-title {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 15px;
        }
        
        .author-bio {
            color: var(--medium-gray);
            margin-bottom: 15px;
        }
        
        .author-social {
            display: flex;
            gap: 15px;
        }
        
        .author-social a {
            color: var(--medium-gray);
            transition: var(--transition);
        }
        
        .author-social a:hover {
            color: var(--primary-color);
        }
        
        .comments-section {
            margin-top: 60px;
            padding-top: 40px;
            border-top: 1px solid var(--border-color);
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .comment-form {
            background-color: var(--light-gray);
            border-radius: var(--border-radius);
            padding: 25px;
            margin-bottom: 40px;
        }
        
        body.dark-mode .comment-form {
            background-color: #252525;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
        body.dark-mode .form-group label {
            color: #e0e0e0;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            font-size: 16px;
            font-family: 'Inter', sans-serif;
            transition: var(--transition);
        }
        
        body.dark-mode .form-control {
            background-color: #1a1a1a;
            border-color: #444;
            color: #e0e0e0;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .submit-comment {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .submit-comment:hover {
            background-color: var(--primary-dark);
        }
        
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .comment {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        body.dark-mode .comment {
            background-color: #1e1e1e;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .comment-author {
            font-weight: 600;
            color: var(--dark-color);
        }
        
        body.dark-mode .comment-author {
            color: #ffffff;
        }
        
        .comment-time {
            color: var(--medium-gray);
            font-size: 14px;
        }
        
        .comment-text {
            color: var(--dark-color);
            line-height: 1.6;
        }
        
        body.dark-mode .comment-text {
            color: #e0e0e0;
        }
        
        .comment-actions {
            display: flex;
            gap: 20px;
            margin-top: 15px;
        }
        
        .comment-action {
            background: none;
            border: none;
            color: var(--medium-gray);
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }
        
        .comment-action:hover {
            color: var(--primary-color);
        }
        
        .article-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }
        
        .nav-article {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            color: var(--dark-color);
            padding: 15px;
            border-radius: var(--border-radius);
            transition: var(--transition);
            max-width: 45%;
        }
        
        body.dark-mode .nav-article {
            color: #e0e0e0;
        }
        
        .nav-article:hover {
            background-color: var(--primary-light);
            color: var(--primary-color);
        }
        
        .nav-article.prev {
            text-align: left;
        }
        
        .nav-article.next {
            text-align: right;
            flex-direction: row-reverse;
        }
        
        .nav-label {
            font-size: 14px;
            color: var(--medium-gray);
            margin-bottom: 5px;
        }
        
        .nav-title {
            font-weight: 600;
            line-height: 1.3;
        }
        
        @media (max-width: 992px) {
            .article-main-image img {
                height: 350px;
            }
            
            .article-body {
                font-size: 17px;
            }
            
            .market-timeline {
                flex-wrap: wrap;
                gap: 30px;
            }
            
            .timeline-item {
                flex: 0 0 calc(50% - 15px);
            }
            
            .article-navigation {
                flex-direction: column;
                gap: 20px;
            }
            
            .nav-article {
                max-width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .article-main-image img {
                height: 250px;
            }
            
            .article-meta-bar {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .article-actions {
                width: 100%;
                justify-content: space-between;
            }
            
            .timeline-item {
                flex: 0 0 100%;
            }
            
            .market-timeline::before {
                display: none;
            }
            
            .timeline-point {
                display: none;
            }
            
            .author-details {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .author-social {
                justify-content: center;
            }
        }