/*
Theme Name: Twenty Twenty-Three Child
Template: twentytwentythree
*/

@import url("../twentytwentythree/style.css"); /* Подключение родительских стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

header {
    max-height: 110px;
    background: linear-gradient(165deg, #2c5f7c 0%, #1a3a4f 100%);
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

h1 {
    color: #21465e;
    font-size: 44px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.article-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-top: 20px;
    font-style: italic;
}

main {
    padding: 50px 60px 70px;
}

h2 {
    color: #1a3a4f;
    font-size: 36px;
    margin: 60px 0 30px;
    font-weight: 400;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #e74c3c;
}

h3 {
    color: #2c5f7c;
    font-size: 28px;
    margin: 40px 0 20px;
    font-weight: 400;
    font-style: italic;
}

p {
    margin-bottom: 24px;
    font-size: 18px;
    text-align: justify;
    line-height: 1.85;
    color: #34495e;
}

.lead-text {
    background: #ecf7fd;
    border-left: 5px solid #3498db;
    border-right: 5px solid #3498db;
    padding: 40px;
    margin: 40px 0;
    font-size: 19px;
    line-height: 1.9;
    color: #1a3a4f;
    position: relative;
}

.lead-text::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 80px;
    color: rgba(52, 152, 219, 0.2);
    font-family: Georgia, serif;
}

.insight-box {
    background: #fff8e6;
    border-top: 4px solid #f39c12;
    border-bottom: 4px solid #f39c12;
    padding: 35px;
    margin: 35px 0;
    box-shadow: 0 2px 15px rgba(243, 156, 18, 0.1);
}

.insight-box strong {
    color: #d68910;
    font-size: 20px;
    display: block;
    margin-bottom: 15px;
}

.alert-box {
    background: #fdeaea;
    border-top: 4px solid #e74c3c;
    border-bottom: 4px solid #e74c3c;
    padding: 35px;
    margin: 35px 0;
    box-shadow: 0 2px 15px rgba(231, 76, 60, 0.1);
}

.alert-box strong {
    color: #c0392b;
    font-size: 20px;
    display: block;
    margin-bottom: 15px;
}

.highlight-box {
    background: #e8f5e9;
    border-top: 4px solid #27ae60;
    border-bottom: 4px solid #27ae60;
    padding: 35px;
    margin: 35px 0;
    box-shadow: 0 2px 15px rgba(39, 174, 96, 0.1);
}

.highlight-box strong {
    color: #1e8449;
    font-size: 20px;
    display: block;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    font-size: 17px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

th {
    background: #2c5f7c;
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.5px;
}

td {
    padding: 18px 20px;
    border-bottom: 1px solid #ecf0f1;
    color: #34495e;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #ecf7fd;
    transition: background-color 0.2s ease;
}

.faq-section {
    margin-top: 60px;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
}

.faq-section h2 {
    margin-top: 0;
}

.faq-item {
    background: white;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: #2c5f7c;
    color: white;
    padding: 25px 30px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.faq-answer {
    padding: 30px;
    background: white;
    font-size: 17px;
    line-height: 1.8;
    color: #34495e;
    border-top: 3px solid #3498db;
}

a {
    color: #5fb4dd;
    text-decoration: none;
    border-bottom: 1px dotted #5fb4dd;
    transition: all 0.3s ease;
}

a:hover {
    color: #2c5f7c;
    border-bottom: 1px solid #2c5f7c;
}

ul, ol {
    margin: 25px 0;
    padding-left: 40px;
}

li {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #e74c3c);
    margin: 50px auto;
}

footer {
    background: #1a3a4f;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    text-align: center;
    font-size: 15px;
}

@media (max-width: 768px) {
    main {
        padding: 30px 25px;
    }
    
    header {
        padding: 40px 25px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    p, li {
        font-size: 17px;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
}
/* Стили для всех ссылок в шапке сайта */
header .wp-block-group a,
header .wp-block-navigation a {
    color: #5fb4dd;
    font-size: 22px;
    text-decoration: none; /* по желанию: убирает подчеркивание */
}

/* Стили для текста и ссылок внутри изображения в шапке */
header .wp-block-image figcaption,
header .wp-block-image p,
header .wp-block-image a,
header .wp-block-image span,
header .wp-block-image strong,
header .wp-block-image em {
    color: #5fb4dd !important;
    font-size: 22px !important;
}
/* Явная цель: точечный селектор для указанного блока шапки */
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex * {
    color: #5fb4dd !important;
    font-size: 22px !important;
}

/* На всякий случай — отдельно для ссылок внутри (приоритет и состояние) */
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:visited,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:active {
    color: #5fb4dd !important;
    font-size: 22px !important;
    text-decoration: none !important;
}

/* Псевдоэлементы (если текст через ::before/::after генерируется) */
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex::before,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex::after,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex *::before,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex *::after {
    color: #5fb4dd !important;
    font-size: 22px !important;
}

/* Плавный ховер-эффект (цвет #a3e1ff) для элементов внутри точечного селектора шапки */
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:visited,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:active,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex button,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex button:focus,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex .wp-block-site-title,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex .wp-block-site-title a,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex p,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex span,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex strong,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex em {
    transition: color 0.18s ease, background-color 0.18s ease;
}

/* Собственно цвет при наведении */
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex a:focus,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex button:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex button:active,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex .wp-block-site-title:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex p:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex span:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex strong:hover,
.wp-block-group.alignwide.is-content-justification-space-between.is-layout-flex.wp-container-core-group-is-layout-45f8d3fc.wp-block-group-is-layout-flex em:hover {
    color: #a3e1ff !important;
}




