:root {
    --primary-yellow: #FBBF24;
    --primary-yellow-dark: #F59E0B;
    --accent-black: #111827;
    --dark-bg: #111827;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --success: #10b981;
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Manrope', sans-serif; 
    color: var(--text-main); 
    background: var(--light-bg); 
    line-height: 1.7;
    
}

h1, h2, h3, h4 { 
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Progress Bar (для страниц тем) */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-yellow-dark));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Header */
header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Playfair Display', serif;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: var(--text-main);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section (главная) */
.hero {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}
.hero-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 580px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item strong { 
    display: block; 
    font-size: 2.5rem; 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item span { 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Order Form (на главной) */
.hero-form {
    background: var(--card-bg);
    padding: 42px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    color: var(--text-main);
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-form h3 { 
    margin-bottom: 28px; 
    font-size: 1.6rem; 
    text-align: center;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}
.form-group { margin-bottom: 20px; }
.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    font-size: 0.85rem; 
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-yellow);
    outline: none;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
    background: var(--card-bg);
}
.hero-form .btn { width: 100%; }
.form-note { 
    font-size: 0.75rem; 
    color: var(--text-light); 
    margin-top: 16px; 
    text-align: center;
    line-height: 1.6;
}

/* Trust Badges */
.trust-section {
    padding: 50px 0;
    background: var(--card-bg);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.trust-scroll {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: var(--light-bg);
    border-radius: 50px;
    transition: all 0.3s ease;
}
.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.trust-score {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.trust-stars { color: #fbbf24; font-size: 1rem; }
.trust-label { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }

/* Advantages */
.advantages { 
    padding: 40px 0; 
    background: var(--light-bg);
}
.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.section-tag {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.section-title { 
    font-size: 2.5rem; 
    margin-bottom: 20px;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}
.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 30px;
}
.adv-card {
    background: var(--card-bg);
    padding: 42px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.adv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 28px;
}
.adv-card h4 { 
    font-size: 1.35rem; 
    margin-bottom: 16px;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}
.adv-card p { 
    font-size: 0.95rem; 
    color: var(--text-light); 
    line-height: 1.8;
}

/* Services (Тарифы) */
.services { 
    padding: 40px 0; 
    background: var(--dark-bg);
    color: #ffffff;
}
.services .section-title { color: #ffffff; }
.services .section-subtitle { color: rgba(255,255,255,0.7); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 30px;
}
.service-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}
.service-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.service-card.popular {
    border-color: var(--primary-yellow);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.05) 0%, rgba(0,0,0,0.2) 100%);
}
.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.service-name { 
    font-size: 1.6rem; 
    font-weight: 700; 
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}
.service-price {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    line-height: 1;
}
.service-period { 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.6); 
    margin-bottom: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.service-list { 
    text-align: left; 
    margin: 36px 0;
    padding: 0 12px;
}
.service-list li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
}
.service-list li::before {
    content: '✓';
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.2rem;
}
.service-list li.no { 
    color: rgba(255,255,255,0.3);
    text-decoration: line-through;
}
.service-list li.no::before { 
    content: '✕'; 
    color: rgba(255,255,255,0.3);
}

/* Topics (Примеры) */
.topics { 
    padding: 40px 0; 
    background: var(--light-bg);
}
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 28px;
    margin-top: 30px;
}
.topic-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-yellow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.topic-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.topic-card:hover {
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
    transform: translateX(6px);
}
.topic-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.topic-title { 
    font-weight: 600; 
    font-size: 1.05rem; 
    line-height: 1.6;
    color: var(--text-main);
}

/* Testimonials (Отзывы) */
.testimonials { 
    padding: 40px 0; 
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
}
.testimonials .section-title { color: #ffffff; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.9); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 30px;
}
.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-6px);
}
.testimonial-stars { 
    color: #fbbf24; 
    margin-bottom: 20px; 
    font-size: 1.3rem;
    letter-spacing: 3px;
}
.testimonial-text { 
    font-size: 1rem; 
    line-height: 1.8; 
    margin-bottom: 26px; 
    opacity: 0.95;
    font-style: italic;
}
.testimonial-author { 
    font-weight: 700; 
    color: #ffffff; 
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq { 
    padding: 40px 0; 
    background: var(--light-bg);
}
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 28px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}
.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-yellow);
    font-weight: 300;
    transition: transform 0.3s ease;
}
.faq-question.active::after { 
    content: '−';
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
    padding: 0 28px;
}
.faq-answer p { 
    padding-bottom: 28px; 
    line-height: 1.8;
    color: var(--text-main);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}
.footer-col h4 { 
    color: #ffffff; 
    margin-bottom: 26px; 
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { 
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}
.footer-col ul li a:hover { 
    color: var(--primary-yellow);
}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Buttons (универсальные) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-primary { 
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}
.btn-primary:hover { 
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.5);
}
.btn-outline { 
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { 
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-large { padding: 22px 50px; font-size: 1.1rem; }

/* Стили для страниц тем (дополнительные) */
.article-hero {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}
.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}
.article-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.article-hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
}
.article-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}
.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    padding: 60px 0;
}

.article-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.article-content h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    color: var(--text-main);
}
.article-content h2:first-child {
    margin-top: 0;
}
.article-content h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary-yellow);
}
.article-content p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--text-main);
    line-height: 1.9;
}

.info-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-yellow);
    margin: 35px 0;
}
.info-box h4 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--text-main);
}
.info-box p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0;
}

.chapter-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-yellow);
    margin: 30px 0;
}
.chapter-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}
.chapter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.chapter-stat { text-align: center; }
.chapter-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.chapter-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.cta-container {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    text-align: center;
    margin: 50px 0;
}
.cta-container h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
}
.cta-container p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.cta-btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-btn-primary {
    background: #ffffff;
    color: var(--primary-yellow);
}
.cta-btn-primary:hover {
    background: var(--primary-yellow);
    color: #ffffff;
}
.cta-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
}
.cta-btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-yellow);
    border-color: #ffffff;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.article-table th {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}
.article-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-main);
}
.article-table tr:hover {
    background: var(--light-bg);
}

.checklist {
    background: var(--light-bg);
    padding: 35px;
    border-radius: var(--radius-md);
    margin: 40px 0;
}
.checklist h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-main);
}
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.checklist-item:last-child {
    border-bottom: none;
}
.checklist-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--primary-yellow);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 3px;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 25px;
}
.toc-card h4 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-main);
}
.toc-list li { margin-bottom: 10px; }
.toc-list a {
    display: block;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-light);
}
.toc-list a:hover, .toc-list a.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: var(--primary-yellow);
    font-weight: 600;
}

.order-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 25px;
}
.order-form h2, .order-form h4 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-main);
}
.order-form .form-group {
    margin-bottom: 15px;
}
.order-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
}
.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #f8fafc;
    transition: all 0.3s ease;
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: var(--primary-yellow);
    outline: none;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
    background: var(--card-bg);
}
.order-form textarea {
    resize: vertical;
    min-height: 80px;
}
.order-form .btn {
    width: 100%;
}

.trust-block {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.trust-block h3, .trust-block h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}
.trust-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-main);
}
.trust-list li:last-child { border-bottom: none; }
.trust-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦ ТЕМ (АДАПТАЦИЯ ПОД МАКЕТ) ===== */

/* Сетка для контейнера страницы темы (класс .content-wrapper) */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    padding: 60px 0;
}

/* Стили для обычных таблиц (без класса) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
table th {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}
table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-main);
}
table tr:hover {
    background: var(--light-bg);
}

/* Блок доверия (переопределение инлайновых стилей) */
.trust-block {
    background-color: var(--light-bg) !important;
    border-left: 4px solid var(--primary-yellow) !important;
    padding: 30px !important;
    border-radius: var(--radius-md);
    margin: 35px 0 !important;
}
.trust-block h3 {
    color: var(--primary-yellow) !important;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.trust-block ul {
    list-style: none;
    padding: 0;
}
.trust-block li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-block li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Стили для заголовка h1 (главный заголовок статьи) – делаем похожим на hero */
.article-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    background: var(--dark-bg);
    color: #ffffff;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.article-content h1::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}
.article-content h1 {
    position: relative;
    z-index: 1;
}

/* Стили для заголовков глав (h2) – делаем крупными, с подчёркиванием */
.article-content h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    color: var(--text-main);
    position: relative;
    padding-bottom: 15px;
}
.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-yellow-dark));
    border-radius: 2px;
}

/* Стили для заголовков подглав (h3) – делаем карточками */
.article-content h3 {
    background: var(--light-bg);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-yellow);
    margin: 30px 0 15px;
    font-size: 1.3rem;
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

/* Стили для списков (ul) внутри .article-content – делаем с маркерами */
.article-content ul {
    list-style: none;
    padding-left: 20px;
    margin: 20px 0;
}
.article-content ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
}
.article-content ul li::before {
    content: '•';
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Стили для блоков с метками "Сложности:" и "Время:" */
.article-content p strong:first-child {
    color: var(--primary-yellow);
    font-size: 1.1rem;
}

/* Стили для примера расчёта – таблица */
#tools + table,
.article-content table {
    width: 100%;
    margin: 30px 0;
}

/* Стили для блоков с двумя путями */
#decision + p,
#decision + p + p {
    padding: 20px;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-yellow);
    margin: 20px 0;
}

/* Стили для финального синего блока (в макете синий с белым текстом) – заменяем на жёлтый */
div[style*="background-color: #e3f2fd"] {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
    color: #ffffff !important;
    border-left: 5px solid #ffffff !important;
    padding: 30px !important;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Mobile адаптация для .content-wrapper */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
}
@media (max-width: 768px) {
    .article-content h1 {
        font-size: 2rem;
        padding: 30px 20px;
    }
    .article-content h2 {
        font-size: 1.8rem;
    }
    .article-content h3 {
        font-size: 1.2rem;
    }
}

/* ===== ИСПРАВЛЕНИЕ СЕТКИ СТРАНИЦЫ ТЕМЫ ===== */
.content-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 60px !important;
    padding: 60px 0 !important;
}

/* Чтобы колонки могли сжиматься, если содержимое слишком широкое */
.content-wrapper > * {
    min-width: 0 !important;
}

/* Убираем возможные лишние ширины у сайдбара и контента */
.sidebar,
.article-content {
    width: auto !important;
    max-width: none !important;
}

/* Если сайдбар всё ещё широкий из-за внутренних элементов */
.sidebar {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== ИСПРАВЛЕНИЕ СТРАНИЦЫ ТЕМЫ ===== */

/* Центрируем контент и задаём максимальную ширину */
.content-wrapper {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 60px 24px !important;
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 60px !important;
}

/* Чтобы колонки могли сжиматься */
.content-wrapper > * {
    min-width: 0 !important;
}

/* Убираем возможные лишние ширины */
.sidebar,
.article-content {
    width: auto !important;
    max-width: none !important;
}

/* Перенос длинных слов в сайдбаре */
.sidebar {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Фиксированная ширина сайдбара */
.sidebar {
    width: 350px !important;
}

/* Стили для формы заказа (делаем её по центру) */
.order-form {
    max-width: 1320px !important;
    margin: 20px auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* Медиа-запрос для мобильных */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .sidebar {
        width: auto !important;
    }
}

/* ===== ИСПРАВЛЕНИЕ СЕТКИ И ШИРИНЫ КОЛОНОК (ФИНАЛЬНОЕ) ===== */

/* Основной контейнер сетки */
.content-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 40px !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* Сайдбар с фиксированной шириной и переносом слов */
.sidebar {
    width: 300px !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* Контентная часть – занимает оставшееся место */
.article-content {
    min-width: 0 !important;
    width: auto !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* Центрирование формы заказа */
.order-form {
    max-width: 1320px !important;
    margin: 20px auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* Медиазапрос для мобильных */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .sidebar {
        width: auto !important;
    }
}

/* ===== СКРЫТИЕ САЙДБАРА ===== */
.sidebar {
    display: none !important;
}

/* Превращаем двухколоночную сетку в одноколоночную */
.content-wrapper {
    display: block !important;
    max-width: 900px !important; /* или оставьте 1320px */
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* Центрируем основной контент */
.article-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* ===== УСИЛЕННЫЕ СТИЛИ ДЛЯ СТРАНИЦ ТЕМ ===== */
.article-content h2 {
    font-size: 2rem !important;
    margin: 50px 0 25px !important;
    color: var(--text-main) !important;
    border-bottom: 2px solid var(--primary-yellow) !important;
    padding-bottom: 10px !important;
}

.article-content h3 {
    background: var(--light-bg) !important;
    padding: 20px 25px !important;
    border-radius: var(--radius-md) !important;
    border-left: 4px solid var(--primary-yellow) !important;
    margin: 30px 0 15px !important;
    font-size: 1.3rem !important;
    color: var(--text-main) !important;
}

.article-content ul {
    list-style-type: none !important;
    padding-left: 0 !important;
}

.article-content ul li {
    padding: 5px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.article-content ul li::before {
    content: "✓" !important;
    color: var(--success) !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
}

.article-content p strong {
    color: var(--primary-yellow) !important;
}

/* Блоки "Время:" */
.article-content p:has(strong:contains("Время")) {
    background: var(--light-bg) !important;
    padding: 10px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: bold !important;
}

/* Таблицы */
table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 35px 0 !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-lg) !important;
}
table th {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
    color: #ffffff !important;
    padding: 15px !important;
    text-align: left !important;
}
table td {
    padding: 15px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

/* ===== СТИЛИ ДЛЯ CTA-БЛОКА (из макета 11-1) ===== */
.cta-container {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    text-align: center;
    margin: 50px 0;
}
.cta-header {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.cta-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.cta-button a {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-telegram a {
    background: #ffffff;
    color: var(--primary-yellow);
}
.cta-email a,
.cta-phone a {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
}
.cta-telegram a:hover {
    background: var(--primary-yellow);
    color: #ffffff;
}
.cta-email a:hover,
.cta-phone a:hover {
    background: #ffffff;
    color: var(--primary-yellow);
    border-color: #ffffff;
}

/* ===== ПЕРЕОПРЕДЕЛЕНИЕ ИНЛАЙНОВЫХ СТИЛЕЙ ДЛЯ .trust-block ===== */
.trust-block {
    background-color: var(--light-bg) !important;
    border-left: 4px solid var(--primary-yellow) !important;
    padding: 30px !important;
    border-radius: var(--radius-md);
    margin: 35px 0 !important;
}
.trust-block h3 {
    color: var(--primary-yellow) !important;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.trust-block ul {
    list-style: none;
    padding: 0;
}
.trust-block li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-block li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.2rem;
}
/* ===== СТИЛИ ДЛЯ ТАБЛИЦ ===== */
table {
    width: 100%;
    border-collapse: collapse !important;
    margin: 35px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
table th {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    padding: 15px;
    text-align: left;
}
table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text-main);
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ СТРАНИЦ ТЕМ ===== */

/* Стили для навигации, если используется класс .main-nav */
.main-nav {
    display: flex;
    gap: 32px;
}
.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}

/* Основной контейнер страницы темы */
.content-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Контентная часть */
.article-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Форма заказа */
.order-form {
    max-width: 1200px !important;
    margin: 20px auto !important;
    padding: 30px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Подвал */
footer {
    background: var(--dark-bg) !important;
    color: rgba(255,255,255,0.6) !important;
    padding: 60px 0 30px !important;
    margin-top: 40px !important;
}
.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.footer-col h4 {
    color: #ffffff !important;
    margin-bottom: 20px !important;
    font-size: 1.1rem !important;
}
.footer-col ul li {
    margin-bottom: 10px !important;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.6) !important;
    transition: color 0.3s !important;
}
.footer-col ul li a:hover {
    color: var(--primary-yellow) !important;
}
.copyright {
    text-align: center !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    font-size: 0.85rem !important;
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ СТРАНИЦ ТЕМ (ФИНАЛ) ===== */

/* 1. Шапка: меню вправо */
.header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.main-nav {
    margin-left: auto !important;
    margin-right: 20px !important;
}

/* 2. Заголовок формы – делаем выразительным */
.order-form h2 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

/* 3. Подвал – три колонки в ряд */
.site-footer {
    background: var(--dark-bg) !important;
    color: rgba(255,255,255,0.6) !important;
    padding: 60px 0 30px !important;
}
.footer-section {
    float: left !important;
    width: 30% !important;
    margin-right: 3% !important;
    box-sizing: border-box !important;
}
.footer-section:nth-child(3) {
    margin-right: 0 !important;
}
.footer-section h4 {
    color: #ffffff !important;
    margin-bottom: 20px !important;
    font-size: 1.1rem !important;
}
.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
}
.footer-section li {
    margin-bottom: 10px !important;
}
.footer-section a {
    color: rgba(255,255,255,0.6) !important;
    transition: color 0.3s !important;
}
.footer-section a:hover {
    color: var(--primary-yellow) !important;
}
.footer-bottom {
    clear: both !important;
    text-align: center !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* 4. Временное скрытие нежелательных элементов (если нужно) */
.footer-section li:has(a[href="/reviews"]) {
    display: none;
}
.footer-section li:contains("Телефон:") {
    display: none;
}

/* ===== СТИЛИЗАЦИЯ КНОПКИ ОТПРАВКИ В ФОРМЕ ЗАКАЗА ===== */
.order-form {
    max-width: 1200px !important;
    margin: 20px auto !important;
    padding: 30px 24px !important;
    box-sizing: border-box !important;
}
.order-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    margin-top: 15px;
}
.order-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

/* Стилизованная нумерация тем на главной */
.topic-card.numbered {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.topic-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-yellow);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}
.topic-content {
    flex: 1;
}
@media (max-width: 600px) {
    .topic-number {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ШАПКИ ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
    }
    .logo {
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 8px;
        word-break: break-word;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 8px;
        margin: 5px 0;
    }
    .nav-links a {
        font-size: 0.85rem;
        padding: 4px 8px;
        white-space: nowrap;
    }
    .header-contacts {
        width: 100%;
        text-align: center;
        margin-top: 5px;
        font-size: 0.9rem;
    }
}

/* Для очень маленьких экранов (до 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }
    .nav-links a {
        font-size: 0.75rem;
        padding: 4px 6px;
    }
    .header-contacts {
        font-size: 0.8rem;
    }
}

/* Стили для блога (тема 6) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.blog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.blog-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}
.blog-card h3 a {
    text-decoration: none;
    color: var(--primary-color, #333);
}
.blog-card h3 a:hover {
    text-decoration: underline;
}
.blog-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}
.blog-stats {
    text-align: center;
    margin: 20px 0;
    font-size: 1.1rem;
    color: #555;
}
.blog-search {
    text-align: center;
    margin-bottom: 30px;
}
.blog-search input {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 30px;
    outline: none;
    transition: border 0.2s;
}
.blog-search input:focus {
    border-color: var(--primary-color, #007bff);
}
.no-results {
    text-align: center;
    font-size: 1.1rem;
    color: #999;
    margin: 40px 0;
    display: none;
}
