/* ===== CSS и базовые стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background-color: #c8e4ed;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Типография ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    color: #597d89;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: #597d89;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a6a75;
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #597d89;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #4a6a75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #597d89;
    color: #597d89;
}

.btn-secondary:hover {
    background-color: #597d89;
    color: white;
}

/* ===== Шапка сайта ===== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #597d89;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #4a6a75;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #597d89;
}

/* ===== Герой-секция (Главная страница) ===== */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('./images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* ===== Секция "Об авторе" ===== */
.about {
    padding: 80px 0;
    background-color: #fafdfd;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.author-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== Секция "Стиль" ===== */
.genre {
    padding: 80px 0;
    text-align: center;
}

.genre p {
    font-size: 1.1rem;
    max-width: none;
    margin: 0 auto;
    line-height: 1.9;
}

/* ===== Секция "Книги" ===== */
.books {
    padding: 80px 0;
    background-color: #f6fafb;
}

.books h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.book-card {
    background: #c8e4ed;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-post-preview, .all-books-preview {
    background: #ffffff;
}

.book-cover {
    width: 180px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.book-card h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.book-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.all-books-preview {
    text-align: center;
    padding: 3rem;
    background: #c8e4ed;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.all-books-preview p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===== Секция "Блог" ===== */
.blog-preview {
    padding: 80px 0;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.blog-preview > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-preview {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.blog-post-preview:hover {
    transform: translateY(-5px);
}

.blog-post-preview h4 a {
    color: #2c3e50;
}

.blog-post-preview h4 a:hover {
    color: #597d89;
}

.blog-preview > .container > .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===== Секция "Контакты" ===== */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.subscribe-form input:focus {
    outline: none;
    border-color: #597d89;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.8rem;
    color: #597d89;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #4a6a75;
    transform: translateY(-3px);
}

/* ===== Подвал сайта ===== */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 2rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: #bdc3c7;
}

.footer-nav a:hover {
    color: #ecf0f1;
}

/* ===== СТРАНИЦА БИОГРАФИИ ===== */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: #597d89;
}

.breadcrumbs span {
    color: #666;
}

.bio-hero {
    padding: 60px 0;
}

.bio-hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bio-hero-text {
    flex: 1;
}

.bio-hero h1 {
    font-size: 3rem;
    color: #597d89;
    margin-bottom: 1rem;
}

.bio-tagline {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
}

.bio-hero-image {
    flex: 0 0 400px;
}

.main-bio-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.bio-content {
    padding: 60px 0;
}

.bio-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.bio-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #597d89;
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 180px;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    background: #597d89;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    min-width: 140px;
    text-align: center;
    font-size: 1.1rem;
    z-index: 2;
}

.timeline-content h2 {
    color: #597d89;
    margin-bottom: 1.5rem;
}

.timeline-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.timeline-image {
    margin-top: 1.5rem;
}

.timeline-image img {
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bio-quote {
    border-left: 4px solid #597d89;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.publication-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #597d89;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
}

.writing-philosophy {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #597d89;
}

.writing-philosophy h3 {
    color: #597d89;
    margin-bottom: 1.5rem;
}

.writing-philosophy ul {
    list-style-type: none;
}

.writing-philosophy li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.writing-philosophy li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #597d89;
    font-size: 1.2rem;
}

.bio-facts {
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 15px;
}

.bio-facts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.fact-card {
    padding: 2rem 1rem;
}

.fact-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.9;
}

.fact-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.fact-label {
    font-size: 1rem;
    opacity: 0.9;
}

.influences {
    margin: 5rem 0;
}

.influences h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.influences-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.influence-item {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.influence-item:hover {
    transform: translateY(-5px);
}

.influence-item h3 {
    color: #597d89;
    margin-bottom: 1.5rem;
}

.influence-item p {
    line-height: 1.8;
}

.bio-cta {
    background-color: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
}

.bio-cta h2 {
    margin-bottom: 1rem;
}

.bio-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Адаптивность (Mobile First) ===== */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .author-photo {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .author-photo {
        width: 250px;
        height: 250px;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .bio-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .bio-hero-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .bio-timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 160px;
    }
    
    .timeline-year {
        min-width: 70px;
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
    
    .publication-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .bio-hero h1 {
        font-size: 2.2rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .influences-list {
        grid-template-columns: 1fr;
    }
}

/* ===== СТРАНИЦА СТИЛЯ (GENRE) ===== */
.genre-page {
    padding-top: 2rem;
}

.genre-hero {
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.genre-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.genre-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-style: italic;
}

.genre-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.genre-quote cite {
    font-size: 1.1rem;
    opacity: 0.8;
}

.genre-intro {
    padding: 80px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.genre-symbol {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.characteristics {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.characteristics h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.characteristic-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.characteristic-card:hover {
    transform: translateY(-10px);
}

.char-icon {
    font-size: 3rem;
    color: #597d89;
    margin-bottom: 1.5rem;
}

.characteristic-card h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.characteristic-card p {
    line-height: 1.7;
}

.genre-comparison {
    padding: 80px 0;
}

.genre-comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #597d89;
    color: white;
    padding: 1.5rem;
    font-weight: bold;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.comparison-row.highlight {
    background: #f0f7ff;
    border-left: 4px solid #597d89;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-genre {
    font-weight: 600;
    color: #2c3e50;
}

.comparison-focus, .comparison-approach {
    color: #666;
}

.genre-examples {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.genre-examples h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.example-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #597d89;
}

.example-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.book-title {
    font-weight: bold;
    color: #597d89;
    font-size: 1.1rem;
}

.example-theme {
    background: #f0f7ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #4a6a75;
}

.example-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.example-question {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid #597d89;
    font-style: italic;
}

.philosophical-basis {
    padding: 80px 0;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text h2 {
    margin-bottom: 2rem;
}

.philosophy-text > p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-point {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #597d89;
}

.philosophy-point h4 {
    color: #597d89;
    margin-bottom: 0.8rem;
}

.philosophy-point p {
    margin-bottom: 0;
    line-height: 1.6;
}

.philosophy-books {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.target-audience {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.target-audience h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.audience-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
}

.audience-icon {
    font-size: 2.5rem;
    color: #597d89;
    margin-bottom: 1.5rem;
}

.audience-card h3 {
    margin-bottom: 1.2rem;
    color: #2c3e50;
}

.audience-card p {
    line-height: 1.6;
}

.genre-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    text-align: center;
}

.genre-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.genre-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.genre-cta .btn {
    background: white;
    color: #597d89;
}

.genre-cta .btn:hover {
    background: #f8f9fa;
    color: #4a6a75;
}

.genre-cta .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.genre-cta .btn-secondary:hover {
    background: white;
    color: #597d89;
}

/* Адаптивность для страницы стиля */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .comparison-header, .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .genre-hero h1 {
        font-size: 2.5rem;
    }
    
    .genre-subtitle {
        font-size: 1.2rem;
    }
    
    .characteristics-grid {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .example-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .genre-hero h1 {
        font-size: 2rem;
    }
    
    .characteristic-card, .example-card, .audience-card {
        padding: 2rem 1.5rem;
    }
    
    .philosophy-point {
        padding: 1.2rem;
    }
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ СРАВНЕНИЯ ===== */
.comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #597d89;
}

.comparison-card.highlight {
    border-left: 4px solid #e74c3c;
    background: #f8f9fa;
}

.comparison-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.comparison-item {
    margin-bottom: 10px;
    line-height: 1.5;
}

.comparison-item strong {
    color: #597d89;
}

/* Фикс для мобильных */
@media (max-width: 768px) {
    .comparison-card {
        padding: 20px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ ===== */
.comparison-table {
    overflow-x: auto;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-width: 600px;
}

.comparison-header > div,
.comparison-row > div {
    padding: 1rem;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-header > div:last-child,
.comparison-row > div:last-child {
    border-right: none;
}

/* Гарантия читаемости текста */
.genre-page {
    color: #333;
    line-height: 1.6;
}

.characteristic-card,
.example-card, 
.audience-card,
.philosophy-point {
    background: white;
    color: #333;
}