/* 
* ИИ-Инвестиции - Блог об инвестициях в ИИ для малого бизнеса
* Стили CSS для всего сайта
* 2024 год
*/

/* === Сброс стилей === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === Основные переменные === */
:root {
    /* Основная цветовая палитра */
    --primary: #3E64FF;
    --primary-light: #5A7DFF;
    --primary-dark: #2C4DBF;
    --secondary: #23CE6B;
    --secondary-light: #4FD98E;
    --secondary-dark: #1B9E52;
    --accent: #FF7A00;
    
    /* Нейтральные цвета */
    --dark: #272727;
    --gray-dark: #4A4A4A;
    --gray: #737373;
    --gray-light: #B4B4B4;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    
    /* Функциональные цвета */
    --success: #23CE6B;
    --warning: #FFD166;
    --error: #EF476F;
    --info: #118AB2;
    
    /* Типографика */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-headings: 'Montserrat', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Размеры */
    --container-width: 1200px;
    --container-padding: 20px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    
    /* Тени */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
    
    /* Анимации */
    --transition: all 0.3s ease;
}

/* === Базовые стили === */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

a:hover, a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

button, .btn {
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition);
}

button:focus, .btn:focus {
    outline: none;
}

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

ul, ol {
    list-style-position: inside;
}

/* === Типографика === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}

p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
}

/* === Контейнеры === */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === Кнопки === */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover, .btn:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.btn.primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn.primary:hover, .btn.primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn.secondary {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.btn.secondary:hover, .btn.secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
}

.btn.outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn.outline:hover, .btn.outline:focus {
    background-color: var(--primary);
    color: white;
}

.btn.full-width {
    display: block;
    width: 100%;
}

/* === Шапка === */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.logo span {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
    color: var(--gray-dark);
    text-decoration: none;
    position: relative;
}

nav ul li a:hover, 
nav ul li a:focus, 
nav ul li a.active {
    color: var(--primary);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover:after, 
nav ul li a:focus:after, 
nav ul li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 99;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    nav ul li:last-child {
        margin-bottom: 0;
    }
    
    nav ul li a:after {
        display: none;
    }
}

/* === Герой секция === */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
}

/* === Секция "Что вы узнаете здесь" === */
.what-you-learn {
    margin-bottom: 3rem;
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
}

.what-you-learn h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.what-you-learn ul {
    list-style-type: none;
    max-width: 800px;
    margin: 0 auto;
}

.what-you-learn ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: flex-start;
}

.what-you-learn ul li:last-child {
    border-bottom: none;
}

.what-you-learn ul li:before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 1rem;
}

/* === Посты блога на главной === */
.blog-posts {
    margin-bottom: 3rem;
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.post-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.post-content h3 a:hover {
    color: var(--primary);
}

.post-content p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
}

.read-more {
    font-weight: 500;
}

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

/* === Подписка на новости === */
.newsletter {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 2rem;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #E86E00;
    transform: translateY(-2px);
}

@media (max-width: 500px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, 
    .newsletter-form button {
        width: 100%;
    }
}

/* === Футер === */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-links h3,
.footer-posts h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    position: relative;
}

.footer-links h3:after,
.footer-posts h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul,
.footer-posts ul {
    list-style: none;
}

.footer-links ul li,
.footer-posts ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-posts ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-posts ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact address p svg {
    margin-right: 0.75rem;
    color: var(--secondary);
}

.footer-contact address p a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact address p a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.copyright {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.legal-links a:hover {
    color: var(--white);
}

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

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

/* === Страница "О нас" === */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-intro .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.our-values {
    background-color: var(--light-bg);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.our-values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.value-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.team {
    margin-bottom: 3rem;
}

.team h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.team-member p:first-of-type {
    color: var(--primary);
    font-weight: 500;
}

.team-member .social-links {
    display: flex;
    padding: 0 1.5rem 1.5rem;
    gap: 1rem;
}

.team-member .social-links a {
    color: var(--gray);
    transition: var(--transition);
}

.team-member .social-links a:hover {
    color: var(--primary);
}

.cta {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === Страница контактов === */
.contact-details {
    margin-bottom: 3rem;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-card {
    display: flex;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card .icon {
    margin-right: 1.5rem;
    color: var(--primary);
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.info-content p {
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.info-content p:last-child {
    margin-bottom: 0;
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.map-section {
    margin-bottom: 3rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.faq {
    margin-bottom: 3rem;
    background-color: var(--light-bg);
    padding: 3rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--primary-dark);
}

.faq-item p {
    margin-bottom: 0;
    color: var(--gray-dark);
}

/* === Страница статьи === */
.post-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.post-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.post-header .post-meta {
    color: rgba(255, 255, 255, 0.8);
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
}

article.post .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.post-content {
    flex: 2;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.post-sidebar {
    flex: 1;
    min-width: 300px;
}

.sidebar-block {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-block:last-child {
    margin-bottom: 0;
}

.sidebar-block h3 {
    margin-bottom: 1.25rem;
    position: relative;
    font-size: 1.25rem;
}

.sidebar-block h3:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-light);
}

.author-info {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-light);
}

.author-info h3 {
    margin-bottom: 0.75rem;
}

.author-info h3:after {
    left: 50%;
    transform: translateX(-50%);
}

.author-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.related-posts ul {
    list-style: none;
}

.related-posts ul li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.related-posts ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-posts ul li a {
    display: block;
    color: var(--gray-dark);
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition);
}

.related-posts ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.download-box {
    text-align: center;
}

.download-box p {
    margin-bottom: 1.5rem;
}

.subscribe p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
}

.subscribe-form button {
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background-color: var(--primary-dark);
}

.post-overview {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.post-overview h2 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.post-overview ul {
    list-style-type: none;
}

.post-overview ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
}

.post-overview ul li:last-child {
    border-bottom: none;
}

.post-overview ul li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.75rem;
}

.post-main-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

.post-content ul li, 
.post-content ol li {
    margin-bottom: 0.5rem;
}

.post-cta {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid var(--primary-light);
}

.post-cta h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gray-light);
    padding-top: 2rem;
    margin-top: 2rem;
}

.post-nav-prev, 
.post-nav-next {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--primary);
}

.post-nav-prev span {
    margin-right: 0.5rem;
}

.post-nav-next span {
    margin-left: 0.5rem;
}

.formula {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    font-family: monospace;
    font-size: 1.1rem;
}

.case-study {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary);
}

.case-study h4 {
    margin-bottom: 1rem;
    color: var(--secondary-dark);
}

.pro-tip {
    background-color: #fff8e6;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.pro-tip h4 {
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.pro-tip p {
    margin-bottom: 0;
}

/* === Модальное окно === */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    margin: 10% auto;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
}

.modal-icon {
    color: var(--success);
    margin-bottom: 1.5rem;
}

.modal h2 {
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 2rem;
}

/* === Уведомление о cookie === */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1000;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--success);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: var(--secondary-dark);
}

.cookie-btn.customize {
    background-color: var(--gray-light);
    color: var(--dark);
}

.cookie-btn.customize:hover {
    background-color: var(--gray);
    color: white;
}

.cookie-btn.reject {
    background-color: transparent;
    border: 1px solid var(--gray-light);
    color: var(--gray-dark);
}

.cookie-btn.reject:hover {
    background-color: var(--gray-light);
}

.cookie-more {
    font-size: 0.875rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* === Общие утилиты === */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

/* === Адаптивные стили === */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 540px;
        --container-padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .posts-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --container-width: 100%;
        --container-padding: 15px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-navigation a {
        width: 100%;
        justify-content: center;
    }
}
