/*
Theme Name: Spacious Child
Theme URI: https://themegrill.com/themes/spacious/
Description: Child theme for Spacious
Author: Your Name
Template: spacious
Version: 1.0.0
*/
/*.n2-ss-slide,
.n2-ss-slide-background,
.n2-ss-slide-background-image,
.n2-ss-slide img{
border-radius:20px ;
}*/
/*плавное прокручивание лендинга*/
html {
    scroll-behavior: smooth;
}
/* =====================================================
   LAYOUT ADJUSTMENTS
===================================================== */

#main {
    padding: 0px;
}
#site-title a {
    color: #154C9C !important;
}
#content .post,
#content .page {
    padding-bottom: 0px;
}


/* Выравнивание логотипа */
#header-logo-image img {
    margin: 8px 0px 0px 0px;
}

/* =====================================================
   ACCORDION
===================================================== */

/* summary в одну строку */
details summary {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* Убираем стандартные маркеры */
details summary::-webkit-details-marker {
    display: none !important;
}

details summary::marker {
    content: "" !important;
}

/* Стрелка */
details summary::before {
    content: "▼";
    margin-right: 8px;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}

/* Заголовок */
details summary h5 {
    margin: 0 !important;
    font-size: 17px;
    display: inline-block;
}

/* Контент */
.copy-accordion .accordion-content {
    padding-top: 10px;
}

.donate-buttons {
    text-align: center;
}


/* =====================================================
   TOP BAR FIX — FINAL (Spacious)
===================================================== */

#header-meta {
    padding: 0 !important;
    min-height: 0 !important;
    line-height: 1 !important;
}

#header-meta .inner-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 38px; /* при необходимости можно 40–42px */
}

/* Убираем float модели темы */
#header-meta .small-info-text,
#header-meta .small-menu {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Убираем clearfix Spacious */
#header-meta .inner-wrap::before,
#header-meta .inner-wrap::after {
    display: none !important;
}

/* Текст */
h6 {
    font-size: 16px;
    line-height: 1;
}

#header-meta .textwidget {
    margin: 0 !important;
    padding: 0 !important;
}

/* Соц-иконки */
.small-menu a {
    padding: 5px 0 0 4px;
    font-size: 12px;
}
#header-meta .social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 1px;
}

#header-meta .social-icons img {
    display: block;
    height: 24px;
    width: auto;
}
/* Стили пустого шаблона*/
#blank-page-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.blank-page {
    background: #ffffff;
    margin: 0;
}
/*СПIВПРАЦЯ ТА ПIДТРИМКА*/
.support-block {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    background: #f4f6fa;
    border-radius: 30px;
    margin-bottom: 80px;
}

.support-block--reverse {
    flex-direction: row-reverse;
}

.support-block__image img {
    width: 350px;
    display: block;
}

.support-block__content {
    flex: 1;
}

.support-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #e9ecf5;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .support-block,
    .support-block--reverse {
        flex-direction: column;
        text-align: center;
    }

    .support-block__image img {
        width: 100%;
        max-width: 320px;
    }
}
/*кнопки*/
a.su-button.my-copy-button {
    background-color: #154C9C !important;
    border-color: #154C9C !important;
}

a.su-button.my-copy-button:hover {
    background-color: #f2b705 !important;
    border-color: #f2b705 !important;
}
.su-button {
    background-color: #154c9c !important;
    border-color: #154c9c !important;

}
.su-button:hover {
    background-color: #f2b705 !important;
	border-color: #f2b705 !important;
}
.su-button-style-flat {
    background-color: #154c9c !important;
}
.su-button-style-flat:hover {
    background-color: #f2b705 !important;
}
.button {
	background-color: #154c9c !important;
}
.button:hover {
	background-color: #f2b705 !important;
}
/*заголовки*/
h1 {
    font-weight: 700;
	text-transform: uppercase;
}
/* Кнопка Donate в меню */
.menu-item.donate {
    display: flex;
    align-items: center;
}

.menu-item.donate > a {
    background-color: #1e73be;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #1e73be;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 36px;        /* подгоняет высоту под меню */
}

.menu-item.donate > a:hover {
    background-color: #f2b705;
    border-color: #f2b705;
}

/* Кнопка Аукцион в меню */
.menu-item.donate1 {
    display: flex;
    align-items: center;
}

.menu-item.donate1 > a {
    background-color: #f2b705;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #f2b705;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 36px;        /* подгоняет высоту под меню */
}

.menu-item.donate1 > a:hover {
    background-color: #1e73be;
    border-color: #1e73be;
}
button {
    color: #FFFFFF;
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 25px;
    background-color: #154c9c;
    border: 1px;
    border-radius: 5px;
    font-size: 20px;
}
button > a:hover{
    background-color: #f2b705;
}
/*форма обр связи*/

.wpcf7 textarea{
    height: 70px;
}
/*блок рядом формой обратной связи*/
.fv-join-card{
background:#f8f8f8;
border:1px solid #dddddd;
border-radius:32px;
padding:60px 40px;
text-align:center;
max-width:500px;
}

.fv-join-card h2{
font-size:34px;
font-weight:800;
line-height:1.2;
margin-bottom:30px;
}

.fv-join-card p{
font-size:20px;
line-height:1.5;
margin-bottom:30px;
}
@media (max-width: 768px) {
    .fv-join-card{
        max-width:100%;
        padding:0px 0px;
        border-radius:24px;
    }

    .fv-join-card h2{
        font-size:22px;
        line-height:1.25;
        margin-bottom:0px;
    }

    .fv-join-card p{
        font-size:16px;
        line-height:1.4;
        margin-bottom:0px;
    }
}


.fv-heart{
width:200px;
}
.wpcf7 input,
.wpcf7 textarea{
    width:100%;
	background-color: #F8F8F8;
    border:1px solid #ddd;
    border-radius:6px;
	margin: 0 0 10px;
	height: 40px;
}

.join-wrapper{
	margin-left: 80px;
    margin-right: 80px;
}
@media (max-width: 768px) {
	.join-wrapper {
		margin-left:2px;
		margin-right:2px;
}
}
/* правая колонка */
.wp-block-columns.join-section > .wp-block-column:last-child{
    display:flex;
	
}

/* форма CF7 */
.wp-block-columns.join-section .wpcf7 form{
    display:flex;
    flex-direction:column;
    width:100%;
	height:100%;   /* добавлено */
}

/* кнопка вниз */
.wp-block-columns.join-section .wpcf7 form p:last-of-type{
    margin-top:auto;
}

/*фон футера*/
.footer-widgets-wrapper {
    background-color: #4f4f4f;
}
/*СЕКЦИИ*/
.section {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #d7d7d7;
    margin-top: 20px;
}

.section-s {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #d7d7d7;
    margin-top: 20px;
	background-color: #f9f9f9;
}
pre {
    border: 0px solid #EAEAEA;
}
.join-section.wp-block-columns{
max-width:900px;
margin-left:auto;
margin-right:auto;
padding:0px 10px;
}
@media (max-width:700px){
.n2-ss-slider-37{
display:none !important;
}
}
/* Responsive YouTube video */
.wp-block-embed__wrapper iframe,
iframe[src*="youtube.com"] {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
}
@media screen and (max-width: 768px) {
    .better-responsive-menu #header-text-nav-container {
        position: relative;
        margin-bottom: 5px;
        border: none;
    }
}
/* =====================================================
   TOP BAR MOBILE FIX
===================================================== */

@media (max-width: 1024px) {

    /* разрешаем увеличение высоты */
    #header-meta .inner-wrap{
        height:auto !important;
        flex-wrap:wrap !important;
        align-items:flex-start !important;
        padding:6px 0;
    }

    /* левая часть */
    #header-meta .small-info-text{
        width:100%;
        margin-bottom:4px;
    }

    /* правая часть */
    #header-meta .small-menu{
        width:100%;
        justify-content:center !important;
		text-align:center !important;
    }

    /* разрешаем перенос текста */
    #header-meta .small-info-text div{
        white-space:normal !important;
        word-break:break-word;
        line-height:1.3;
    }

}
/* =====================================================
   DESKTOP MAIN MENU FIX
===================================================== */

@media screen and (min-width: 992px) {

    .main-navigation .menu-primary-container > ul {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .main-navigation li {
        white-space: nowrap;
    }

    .main-navigation a {
        float: none;
        white-space: nowrap;
    }

    .main-navigation ul li.menu-item-has-children > a {
        display: inline-block;
        white-space: nowrap;
    }

    .main-navigation ul li .sub-toggle {
        position: static;
        display: inline-block;
        transform: rotate(90deg);
        margin-left: 6px;
        vertical-align: middle;
    }

    .main-navigation ul li ul.sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: -99999px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 220px;
        z-index: 999999;
        margin-top: 0;
    }

    .main-navigation ul li:hover > ul.sub-menu,
    .main-navigation ul li.focus > ul.sub-menu {
        left: 0 !important;
    }

    .main-navigation ul li ul.sub-menu li {
        float: none;
        white-space: normal;
        width: 100%;
    }

    .main-navigation ul li ul.sub-menu li a {
        float: none;
        display: block;
        white-space: normal;
    }

}
.kd-foxtrot-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
    margin: 28px 0 40px;
    clear: both;
}

.kd-foxtrot-media__item {
    min-width: 0;
}

.kd-foxtrot-media__item img,
.kd-foxtrot-media__item video {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.kd-foxtrot-media__video {
    justify-self: center;
}

.kd-foxtrot-media__video .wp-video,
.kd-foxtrot-media__video video {
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .kd-foxtrot-media {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kd-foxtrot-media__video {
        width: 100%;
        max-width: 300px;
        justify-self: center;
    }
}