/* Wonderful People Party - Tender Design Theme */
/* Мягкая палитра с нотками нежности и дорогого стиля */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/stat/font/Montserrat-VariableFont_wght.woff2') format('woff2'),
         url('/stat/font/Montserrat-VariableFont_wght.ttf') format('truetype');
}

:root {
    /* Основная цветовая палитра - мягкие пастельные тона */
    --bg-primary: #faf8f5; /* Теплый кремовый */
    --bg-secondary: #f5f1eb; /* Мягкий бежевый */
    --bg-accent: #fffefb; /* Почти белый с теплым оттенком */
    
    /* Акцентные цвета - нежные розовые и персиковые */
    --accent-rose: #f4d1d4; /* Нежный розовый */
    --accent-peach: #f8d7c5; /* Персиковый */
    --accent-lavender: #e8d9e8; /* Лавандовый */
    --accent-mint: #d4e8d9; /* Мятный */
    
    /* Текст - только 2 цвета */
    --text-primary: #000000; /* Черный - основной текст */
    --text-secondary: #fe5654; /* Цвет логотипа - акцентный текст */
    
    /* Акцентные элементы */
    --accent-gold: #d4af6b; /* Приглушенное золото */
    --accent-coral: #fe5654; /* Нежный коралловый */
    
    /* Границы и тени */
    --border-light: #e8e3dc;
    --shadow-soft: rgba(61, 58, 54, 0.08);
    --shadow-medium: rgba(61, 58, 54, 0.12);
}

html {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    background-color: var(--bg-primary);
    color: #000000;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Навигация - нежная и прозрачная */
.navbar {
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
    padding: 0.5rem 0;
}

/* Всегда показываем меню (убираем мобильное меню) */
.navbar-menu {
    display: flex !important;
}

/* Скрываем burger menu */
.navbar-burger {
    display: none !important;
}

.navbar-item {
    color: #000000 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    border-bottom: 2px solid transparent;
}

.navbar-item:hover {
    background-color: var(--bg-secondary) !important;
    color: #36b5fe !important;
    border-bottom-color: #36b5fe;
    text-decoration: none;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        /* background-color: black; */
        /* box-shadow: 0 8px 16px rgba(10, 10, 10, .1); */
        /* padding: .5rem 0; */
    }
}

/* Ссылки */
a, .href {
    color: var(--accent-coral);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover, .href:hover {
    color: #36b5fe;
    border-bottom-color: #36b5fe;
}

/* Меню, лого и соцсети — без подчёркивания при наведении */
.navbar-item,
.navbar-item:hover,
.logo-link,
.logo-link:hover,
.social-link,
.social-link:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Кнопки - мягкие и нежные */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 50px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-peach));
    color: #000000;
    box-shadow: 0 4px 15px var(--shadow-soft);
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    background: linear-gradient(135deg, var(--accent-peach), var(--accent-rose));
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px var(--shadow-soft);
}

.button.is-primary {
    background: linear-gradient(135deg, var(--accent-coral), #f8a99d);
    color: white;
}

.button.is-success {
    background: linear-gradient(135deg, var(--accent-mint), #c4ddd0);
    color: #000000;
}

.button.is-info {
    background: linear-gradient(135deg, var(--accent-lavender), #dcc5dc);
    color: #000000;
}

.button.is-large {
    padding: 1.25rem 3rem;
    font-size: 18px;
}

/* Контентные секции */
.section {
    padding: 3rem 1.5rem;
    background-color: transparent;
}

/* Шапка на всю ширину */
.header-section {
    background-color: var(--bg-secondary);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.header-section .container {
    max-width: 1980px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: none;
}

.logo-img {
    width: 392px;
    height: 150px;
    max-width: 100%;
    object-fit: contain;
    height: auto;
    display: block;
}

.header-section .logo-img.is-hidden-touch {
    display: none;
}

.header-section .logo-img.is-hidden-desktop {
    display: block;
}

@media (min-width: 1024px) {
    .header-section .logo-img.is-hidden-touch {
        display: block;
    }
    .header-section .logo-img.is-hidden-desktop {
        display: none;
    }
}

.main-nav {
    justify-content: center;
}

.main-nav .navbar-start {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-wrap: wrap;
}

.main-nav .navbar-start.is-justified-center {
    justify-content: center;
}

.main-nav .navbar-start .navbar-item {
    margin: 0 0.5rem;
}

.content {
    max-width: 1980px;
    margin: 0 auto;
    padding: 2rem;
}

/* Секции главной и внутренних страниц */
.section-title {
    font-size: 2rem;
    font-weight: 350;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-page .section-title {
    text-align: left;
}


.hero-title {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.hero-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-text {
    margin-bottom: 1.5rem;
    max-width: 32em;
}

.section-about,
.section-features,
.section-event-top,
.section-events,
.section-articles,
.section-faq-preview,
.section-cta {
    padding: 3rem 1.5rem;
}

.section-hero {
    padding: 4rem 1.5rem;
    min-height: 420px;
    background-image: url(/stat/img/illustration1.webp);
    background-position: right bottom;
    background-repeat: no-repeat;
    position: relative;
}


/* Второй и третий блоки — фон секции, текст в полупрозрачной колонке */
.section-about.section-with-bg {
    background-image: url(/stat/img/illustration2.webp);
    background-position: left bottom;
    background-repeat: no-repeat;
    min-height: 470px;
    position: relative;
}

.section-features.section-with-bg {
    background-image: url(/stat/img/illustration3.webp);
    background-position: right bottom;
    background-repeat: no-repeat;
    min-height: 470px;
    position: relative;
}

.section-with-bg .section-bg-text-column {
    background: rgba(250, 248, 245, 0.85);
    padding: 1.5rem;
    border-radius: 12px;
}

.section-cta {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin: 2rem 0;
}

.event-actions {
    margin: 2rem 0;
}

.event-actions .button {
    margin: 0.5rem;
}

.event-description {
    margin-top: 2rem;
}

.care-message {
    max-width: 600px;
    margin: 1.5rem auto;
    font-size: 0.95rem;
    text-align: center;
}

/* Временные плейсхолдеры-картинки (замените src на свои иллюстрации) */
.illustration-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-soft);
}

.illustration-placeholder-hero {
    max-height: 320px;
    object-fit: cover;
}

/* Текст hero поверх фона — лёгкий фон для читаемости */
.section-hero .column:first-child {
    background: rgba(250, 248, 245, 0.85);
    padding: 1.5rem;
    border-radius: 12px;
}

.hero-illustration-column {
    min-height: 200px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.illustration-placeholder-about,
.illustration-placeholder-features {
    max-height: 240px;
    object-fit: cover;
}

/* Карточка мероприятия (ссылка) */
.event-card {
    display: block;
    position: relative;
    margin-bottom: 1.5rem;
}

/* FAQ */
.faq-preview-list p {
    margin-bottom: 1.25rem;
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Статьи — превью на списке */
.article-preview {
    margin-bottom: 2.5rem;
}

.article-preview h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.article-preview .button {
    margin: 0.5rem 0 0 0;
}

.content-contact p {
    margin-bottom: 1rem;
}

.sidebar-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Заголовки - только черный цвет */
h1, h2, h3, h4, h5, h6 {
    color: #000000;
    font-weight: 350;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* Два основных цвета текста для читаемости */
.text-primary {
    color: #000000 !important; /* Черный - основной текст */
}

.text-secondary {
    color: #fe5654 !important; /* Цвет логотипа - акцентный текст */
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    font-weight: 350;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
}

/* Параграфы - только черный */
p {
    line-height: 1.8;
    font-size: 16px;
    color: #000000;
    margin-bottom: 1.5rem;
}

/* Акцентный текст - цвет логотипа */
p.text-secondary,
.text-secondary,
.text-accent {
    color: #fe5654;
}

/* Карточки событий */
a[href*="/gallery/"],
a[href*="/event/"] {
    display: block;
    position: relative;
    margin-bottom: 1.5rem;
}

.EventImage {
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px var(--shadow-soft);
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}

.EventImage:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

span.titlepage {
    position: relative;
    top: -107px;
    display: inherit;
    width: 100%;
    padding: 20px;
    background: rgb(0, 0, 0, 0.5);
    font-size: 1em;
}

a:hover .titlepage {
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 
                 0 0 12px rgba(0, 0, 0, 0.7);
}

/* Формы - нежные и чистые */
input.text, textarea.text {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background-color: var(--bg-accent);
    outline: none;
    transition: all 0.3s ease;
    color: #000000;
    font-family: inherit;
    font-size: 16px;
}

input.text:focus, textarea.text:focus {
    border-color: var(--accent-rose);
    box-shadow: 0 0 0 3px rgba(244, 209, 212, 0.2);
    background-color: white;
}

form#forminvite,
form#formmail,
form#formname,
form#formsoc {
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bg-accent), var(--bg-secondary));
    box-shadow: 0 8px 30px var(--shadow-soft);
    font-family: inherit;
    letter-spacing: 0.3px;
    margin: 0 auto;
}

/* Footer на всю ширину */
.footer {
    background-color: var(--bg-secondary);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: 4rem;
}

.footer .content {
    max-width: 1980px;
    margin: 0 auto;
    text-align: center;
    color: #000000;
    font-size: 14px;
}

/* Модальное окно 18+ */
.modal-background {
    background-color: rgba(61, 58, 54, 0.7) !important;
}

.modal-content .box {
    background: linear-gradient(135deg, var(--bg-accent), var(--bg-secondary));
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    border: 1px solid var(--border-light);
}

/* Видео */
video {
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

/* Галерея */
.galery {
    margin-top: 3rem;
    clear: both;
    position: relative;
    z-index: 1;
}

.galery h2 {
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.galery .columns {
    margin-bottom: 2rem;
    margin-top: 0;
}

.galery .columns:last-child {
    margin-bottom: 0;
}

.galery .column {
    padding: 0.5rem;
}

.galery .column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-soft);
    margin-bottom: 1rem;
    display: block;
    cursor: pointer;
}

.galery .column img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

/* Модальное окно для галереи */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 58, 54, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content .item-slide {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

.modal-content .item-slide img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.modal-content .item-slide.active {
    display: block;
}

.modal .prev,
.modal .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(245, 160, 151, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
    text-decoration: none;
}

.modal .prev:hover,
.modal .next:hover {
    background-color: rgba(245, 160, 151, 0.8);
}

.modal .prev {
    left: 2rem;
}

.modal .next {
    right: 2rem;
}

.modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(245, 160, 151, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
}

.modal .modal-close svg {
    width: 24px;
    height: 24px;
    display: block;
}

.modal .modal-close:hover {
    background-color: #fe5654;
    transform: scale(1.1);
}

/* Колонки с контентом */
.columns {
    margin-bottom: 2rem;
}

.column {
    padding: 1rem;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .button {
        padding: 0.875rem 2rem;
        font-size: 15px;
    }
    
    form#forminvite,
    form#formmail,
    form#formname,
    form#formsoc {
        padding: 2rem 1.5rem;
    }
    
    .section-hero {
        padding: 2.5rem 1rem;
    }
    
    .section-hero .column:first-child {
        padding: 1rem;
    }
    
    .section-about.section-with-bg,
    .section-features.section-with-bg {
        min-height: 220px;
    }
    
    .section-with-bg .section-bg-text-column {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
}

/* Специальные акценты для подчеркивания заботы */
.care-accent {
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-peach));
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9em;
    display: inline-block;
}

.tender-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    margin: 2rem 0;
}

/* Убираем черный фон canvas */
#canvas {
    display: none;
}

/* Переопределение стилей для навигации Bulma */
.navbar-brand .navbar-item,
.navbar-menu .navbar-item {
    color: #000000 !important;
}

.navbar-menu .navbar-item:hover {
    background-color: var(--bg-secondary) !important;
}

/* Стили для контентных страниц */
.contentPage {
    padding: 2rem;
    margin: 2rem 0;
}

.contentPage a {
    color: var(--accent-coral);
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contentPage a:hover {
    padding-left: 1rem;
    color: var(--accent-peach);
}

.contentPage a.active-article {
    color: var(--text-primary);
    font-weight: 500;
    border-left: 3px solid var(--accent-coral);
    padding-left: 1rem;
}

/* Боковая панель со статьями */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

/* Контент статьи */
.article-content {
    color: #000000;
    line-height: 1.9;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #000000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content a {
    color: var(--accent-coral);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--accent-peach);
}

/* Улучшенные стили для информации о мероприятии */
.event-info {
    background: linear-gradient(135deg, var(--bg-accent), var(--bg-secondary));
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.event-info h4 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Дополнительные стили для карточек событий - убраны дублирующиеся стили, используются основные выше */

/* Стили для форм регистрации */
form#forminvite label {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
    display: block;
}

form#forminvite button.button {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--accent-coral), #f8a99d);
    color: white;
    font-weight: 500;
}

form#forminvite button.button:hover {
    background: linear-gradient(135deg, #f8a99d, var(--accent-coral));
}

/* Анимации для нежности */
@keyframes gentlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.care-message {
    animation: gentlePulse 3s ease-in-out infinite;
    color: var(--accent-coral);
    font-style: italic;
    padding: 1rem;
    background-color: rgba(245, 160, 151, 0.1);
    border-radius: 12px;
    border-left: 3px solid var(--accent-coral);
    margin: 1.5rem 0;
}

/* Стили для текста о заботе */
.has-text-tender {
    color: #fe5654;
    line-height: 1.9;
    font-weight: 300;
}

/* Улучшенная типографика */
.content h1,
.content h2,
.content h3 {
    color: #000000;
    letter-spacing: -0.01em;
}

.content p {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Специальные акценты */
.tender-highlight {
    background: linear-gradient(120deg, var(--accent-rose) 0%, var(--accent-peach) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
    transition: background-size 0.3s ease;
    padding: 0 0.2em;
}

.tender-highlight:hover {
    background-size: 100% 100%;
    color: #000000;
}

/* Адаптивные улучшения */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .header-section {
        padding: 1.5rem 1rem;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .footer {
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .logo-img {
        width: 196px;
        height: 75px;
        object-fit: contain;
    }
    
    .EventImage {
        border-radius: 8px;
    }
    
    .titlepage {
        margin-top: 0.5rem;
        font-size: 1rem;
        display: block;
        position: relative;
    }
    
    a[href*="/gallery/"],
    a[href*="/event/"] {
        display: block;
        margin-bottom: 1.5rem;
    }
    
    .main-nav .navbar-start {
        flex-direction: column;
    }
    
    .main-nav .navbar-start .navbar-item {
        margin: 0.25rem 0;
        width: 100%;
        text-align: center;
    }
    
    .event-info {
        padding: 1.5rem;
    }
    
    .care-message {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .sticky-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .content {
        padding: 1rem;
    }
    
    .contentPage {
        padding: 1.5rem;
    }
    
    .article-content {
        font-size: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        max-width: 1200px;
    }
    
    .header-section .container {
        max-width: 1200px;
    }
    
    .footer .content {
        max-width: 1200px;
    }
}

@media (min-width: 1025px) {
    .content {
        max-width: 1980px;
    }
    
    .header-section .container {
        max-width: 1980px;
    }
    
    .footer .content {
        max-width: 1980px;
    }
}

/* Контейнеры Bulma — переопределяем с 1024px, чтобы центральная секция доходила до 1980px */
@media screen and (min-width: 1024px) {
    .section .container,
    .header-section .container,
    .container {
        max-width: 1980px !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Стили для правил и контентных страниц */
.rules, .about {
    background-color: var(--bg-accent);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 15px var(--shadow-soft);
    margin: 2rem 0;
}

.rules:first-letter {
    font-size: 200%;
    color: var(--accent-coral);
    font-weight: 500;
}

/* Контактная информация */
ul.contact {
    list-style-type: none;
    text-align: center;
    padding: 0;
}

ul.contact > li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-accent);
    border-radius: 12px;
    transition: all 0.3s ease;
}

ul.contact > li:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-soft);
}

/* Социальные иконки */
.fa {
    padding: 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-peach));
    opacity: 0.9;
    transition: all 0.3s ease;
}

.fa:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-soft);
}

/* SVG социальные иконки */
.social-icon {
    display: inline-block;
    width: 54px;
    height: 54px;
    padding: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-peach));
    color: #000000;
    box-sizing: border-box;
    opacity: 0.9;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-soft);
    color: #000000;
}

/* Контейнер для иконок соцсетей под меню */
.social-icons-container {
    margin-top: 1.5rem;
    padding: 0.5rem 0;
    display: block;
}

.social-link {
    display: inline-block;
    margin: 0 0.75rem;
    vertical-align: middle;
}

.social-link .social-icon {
    display: inline-block;
}
