/*
Theme Name: Neft - Motor Oil Theme
Theme URI: https://example.com/neft
Author: Developer
Author URI: https://example.com
Description: Тема WordPress для продажи моторных масел оптом. Тёмный дизайн с жёлтыми акцентами.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neft
Tags: e-commerce, dark, oil, wholesale
*/

/* ============================================
   CSS Variables & Reset
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body { 
    font-family: var(--font-main);
background:#F5F7F9;
    color: #2E2E2E;
    line-height: 1.2;
    overflow-x: hidden;
}


/* ===== Header Styles ===== */
.container{width:1034px; margin: auto;}
.site-header {
    width: 100%;
    padding: 20px ;
  
   
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-logo,
.custom-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.site-title a {
    font-size: 24px;
    font-weight: 700;
    color: #2E2E2E;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    flex: 1;
    padding: 10px 20px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 0 8px rgba(46, 46, 46, 0.04);
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.primary-menu > li {
    display: inline-flex;
}

.primary-menu > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    text-decoration: none;
    color: #2E2E2E;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}


.primary-menu > li > a::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}


.primary-menu > li.icon-trophy > a::before,
.footer__nav li.icon-trophy > a::before {
    background-image: url('images/ball.svg');
}

.primary-menu > li.icon-federation > a::before,
.footer__nav li.icon-federation > a::before {
    background-image: url('images/federation.svg');
}

.primary-menu > li.icon-map > a::before,
.footer__nav li.icon-map > a::before {
    background-image: url('images/map.svg');
}

.primary-menu > li.icon-docs > a::before,
.footer__nav li.icon-docs > a::before {
    background-image: url('images/docs.svg');
}

.primary-menu > li.icon-news > a::before,
.footer__nav li.icon-news > a::before {
    background-image: url('images/news.svg');
}

.primary-menu > li.icon-article > a::before,
.footer__nav li.icon-article > a::before {
    background-image: url('images/article.svg');
}

.primary-menu > li.icon-contacts > a::before,
.footer__nav li.icon-contacts > a::before {
    background-image: url('images/contacts.svg');
}

.primary-menu > li.icon-antidoping > a::before,
.footer__nav li.icon-antidoping > a::before {
    background-image: url('images/antidoping.svg');
}

/* Hover и Active состояния */
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
    color: #00936F; 
}

.primary-menu > li > a:hover::before,
.primary-menu > li.current-menu-item > a::before,
.primary-menu > li.current-menu-ancestor > a::before , .footer__nav li > a:hover::before, .footer__nav li.current-menu-item > a:hover::before, .footer__nav li.current-menu-ancestor > a:hover::before{
    /* Иконка тоже меняет цвет если используется SVG с currentColor */
    filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(5607%) hue-rotate(152deg) brightness(95%) contrast(101%);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #2E2E2E;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #2E2E2E;
    transition: all 0.3s ease;
}

.toggle-icon::before {
    top: -6px;
}

.toggle-icon::after {
    top: 6px;
}





.competitions-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карусель */
.competitions-carousel .owl-stage-outer {
    overflow: visible;
}

/* Карточка соревнования */
.competition-item {
    padding: 10px;
    border-left: 1px solid var(--ico-main, #898F91);
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    box-sizing: border-box;
}

.competition-item:first-child {
    border-left: none;
}

/* Верхняя строка с датой и статусом */
.competition-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.competition-date {
    color: var(--ico-main, #898F91);
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.competition-date.active {
    color: var(--hover, #00936F);
}

.competition-status {
    color: var(--ico-main, #898F91);
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

/* Название соревнования */
.competition-title {
    color: var(--mait-text, #2E2E2E);
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

/* Кнопки навигации */
.competitions-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 35px; /* Добавляем место для стрелок */
    box-sizing: border-box;
}

.competitions-carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
        margin: 0 -35px;
}

.competitions-carousel-wrapper .owl-nav button {
    pointer-events: auto;
    width: 24px;
    height: 24px;
    background: white !important;
    box-shadow: 0px 0px 8px rgba(46, 46, 46, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0; /* Чтобы кнопки не сжимались */
}

.competitions-carousel-wrapper .owl-nav button:hover {
    box-shadow: 0px 0px 12px rgba(46, 46, 46, 0.1);
}

.competitions-carousel-wrapper .owl-nav button span {
    font-size: 0;
    display: block;
    width: 4px;
    height: 8px;
}

.competitions-carousel-wrapper .owl-nav button.owl-prev span {
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='8' viewBox='0 0 4 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.18e-07 3.66667C-4.4906e-05 3.62289 0.00856025 3.57953 0.0253209 3.53909C0.0420815 3.49865 0.066667 3.46192 0.0976662 3.431L3.43098 0.0976871C3.56123 -0.0325622 3.77215 -0.0325622 3.90231 0.0976872C4.03248 0.227937 4.03256 0.438852 3.90231 0.569018L0.804663 3.66667L3.90231 6.76432C4.03256 6.89457 4.03256 7.10548 3.90231 7.23565C3.77206 7.36582 3.56115 7.3659 3.43098 7.23565L0.0976662 3.90233C0.066667 3.87142 0.0420815 3.83469 0.0253209 3.79425C0.00856025 3.7538 -4.4906e-05 3.71045 3.18e-07 3.66667Z' fill='%23898F91'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.competitions-carousel-wrapper .owl-nav button.owl-next span {
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='8' viewBox='0 0 4 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 3.66664C4.00004 3.71042 3.99144 3.75378 3.97468 3.79422C3.95792 3.83466 3.93333 3.8714 3.90233 3.90231L0.569018 7.23563C0.438768 7.36588 0.227853 7.36588 0.097687 7.23563C-0.032479 7.10538 -0.0325623 6.89446 0.097687 6.7643L3.19534 3.66664L0.0976871 0.568994C-0.0325622 0.438744 -0.0325622 0.227828 0.0976871 0.0976624C0.227936 -0.0325036 0.438852 -0.0325869 0.569018 0.0976624L3.90233 3.43098C3.93333 3.46189 3.95792 3.49863 3.97468 3.53907C3.99144 3.57951 4.00004 3.62287 4 3.66664Z' fill='%23898F91'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.competitions-carousel-wrapper .owl-nav button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* Название соревнования */
.competition-title {
    color: var(--mait-text, #2E2E2E);
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.competition-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.competition-title a:hover {
    color: var(--hover, #00936F);
}
/* Блок "Все видео" / "Все новости" */
.view-all-link-wrapper {
    display: flex;
    justify-content: flex-end;
    
}

.view-all-link {
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    text-decoration: none;
    color: var(--hover, #00936F);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    opacity: 0.7;
}

.view-all-link__text {
    color: inherit;
    word-wrap: break-word;
}

.view-all-link__arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.view-all-link:hover .view-all-link__arrow {
    transform: translateX(3px);
}


/* =========================
   FOOTER
   ========================= */
.site-footer { margin-top:25px;
    width: 100%;
    padding: 50px 40px;
    background: #E0E0E0;
    box-sizing: border-box;
}

.footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Меню футера (та же структура, что в шапке) */
.footer__nav {
    width: 100%;
}

.footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.footer__nav-list > li.icon-trophy > a::before,
.footer__nav-list > li.icon-federation > a::before,
.footer__nav-list > li.icon-map > a::before,
.footer__nav-list > li.icon-docs > a::before,
.footer__nav-list > li.icon-news > a::before,
.footer__nav-list > li.icon-article > a::before,
.footer__nav-list > li.icon-contacts > a::before,
.footer__nav-list > li.icon-antidoping > a::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Добавьте background-image как в шапке */
}



.footer__nav-list > li {
    display: inline-flex;
}

.footer__nav-list > li > a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2E2E2E;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    transition: opacity .2s ease;
}

/* Иконки в футере — цвет #2E2E2E (переопределяем через CSS-классы из хедера) */
.footer__nav-list > li > a:before {
     filter: brightness(0) saturate(100%) invert(18%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(97%) contrast(83%);


}

.footer__nav-list > li > a:hover {
    color:#00936F;
}

/* Информационные блоки */
.footer__info {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding: 20px 0;
}

.footer__col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col-title {
    color: #2E2E2E;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.4;
}

.footer__col-text,.footer__col-text a {
    color: #2E2E2E;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5; text-decoration:none;
}
.footer__col-text a:hover {text-decoration:underline;}

/* Соцсети + логотип */
.footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer__socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__socials-title {
    margin-bottom: 0;
}

.footer__socials-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer__social-link {
    display: inline-flex;
    transition: opacity .2s ease;
}

.footer__social-link:hover {
    opacity: 0.7;
}

.footer__social-icon {
    width: 30px;
    height: 30px;
}

.footer__logo {
    display: block;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.footer__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Копирайт + соглашение */
.footer__legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #898F91;
}

.footer__copyright {
    color: #898F91;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
}

.footer__agreement {
    color: #898F91;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 12px;
    text-decoration: underline;
    transition: opacity .2s ease;
}

.footer__agreement:hover {
    opacity: 0.7;
}





/* ============================================
   PARTNERS
============================================ */
.partners {
    width: 100%;
   
    box-sizing: border-box;
}

.partners__inner {
    max-width: 1034px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    box-sizing: border-box;
}

.partners__title {
    margin: 0;
    height: 36px;
    color: #2E2E2E;
    font-family: 'Lato', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
	width:100%;
}

.partners__grid {
    align-self: stretch;
    display: flex;
 justify-content: center;
    gap: 50px;
    justify-items: center;
    align-items: center;
}

.partners__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 156px;
    min-height: 45px;
}

.partners__logo {
    display: block;
    max-width: 100%;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.partners__item:hover .partners__logo {
    opacity: 0.7;
}


/* ============================================
   БЛОК НОВОСТЕЙ
============================================ */
.news-block {
    width: 100%;
    padding: 0px 0;
    background: #f5f7f9;
}

.news-block__container {
    max-width: 1034px;
    margin: 0 auto;
    padding: 0px;
}

.news-block__title {
    color: #2E2E2E;
    font-size: 30px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: 1.2;
	display: flex;
    justify-content: space-between;
    align-items: center;
	
}

.news-block__grid {
      display: grid;
    grid-template-columns: repeat(3, 1fr); /* Фиксированно 3 колонки */
    gap: 30px;
    margin-bottom: 0px;
    justify-content: start; /* Не растягивать */
}

.news-block__item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-block__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-block__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.news-block__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-block__item:hover .news-block__img {
    transform: scale(1.05);
}

.news-block__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-block__item-title {
    margin: 0;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #2E2E2E;
	 display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    hyphens: auto;
}

.news-block__item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-block__item-title a:hover {
    color: #00936F;
}

.news-block__date {
    color: #898F91;
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Пагинация для архива новостей */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.news-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--mait-text, #2E2E2E);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.news-pagination .page-numbers:hover {
    background: var(--hover, #00936F);
    color: #ffffff;
}

.news-pagination .page-numbers.current {
    background: var(--hover, #00936F);
    color: #ffffff;
    cursor: default;
}

.news-pagination .pagination-arrow {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.news-pagination .pagination-prev {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='15' viewBox='0 0 8 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7.49997C-0.00009 7.58952 0.01712 7.6782 0.05064 7.76092C0.08416 7.84365 0.13333 7.91878 0.19533 7.98201L6.86196 14.8002C7.12246 15.0666 7.54429 15.0666 7.80463 14.8002C8.06496 14.5338 8.06512 14.1023 7.80463 13.8361L1.60933 7.49997L7.80463 1.16384C8.06512 0.897422 8.06512 0.466001 7.80463 0.199751C7.54413 -0.0664988 7.1223 -0.0666685 6.86196 0.199751L0.19533 7.01792C0.13333 7.08115 0.08416 7.15629 0.05064 7.23902C0.01712 7.32174 -0.00009 7.41042 0 7.49997Z' fill='%2300936F'/%3E%3C/svg%3E");
}

.news-pagination .pagination-next {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='15' viewBox='0 0 8 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 7.49997C8.00009 7.58952 7.98288 7.6782 7.94936 7.76092C7.91584 7.84365 7.86667 7.91878 7.80467 7.98201L1.13804 14.8002C0.877537 15.0666 0.455706 15.0666 0.195374 14.8002C-0.064958 14.5338 -0.0651246 14.1023 0.195374 13.8361L6.39067 7.49997L0.195374 1.16384C-0.0651245 0.897422 -0.0651245 0.466001 0.195374 0.199751C0.455873 -0.0664988 0.877704 -0.0666685 1.13804 0.199751L7.80467 7.01792C7.86667 7.08115 7.91584 7.15629 7.94936 7.23902C7.98288 7.32174 8.00009 7.41042 8 7.49997Z' fill='%2300936F'/%3E%3C/svg%3E");
}

.news-pagination a:hover .pagination-prev {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='15' viewBox='0 0 8 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7.49997C-0.00009 7.58952 0.01712 7.6782 0.05064 7.76092C0.08416 7.84365 0.13333 7.91878 0.19533 7.98201L6.86196 14.8002C7.12246 15.0666 7.54429 15.0666 7.80463 14.8002C8.06496 14.5338 8.06512 14.1023 7.80463 13.8361L1.60933 7.49997L7.80463 1.16384C8.06512 0.897422 8.06512 0.466001 7.80463 0.199751C7.54413 -0.0664988 7.1223 -0.0666685 6.86196 0.199751L0.19533 7.01792C0.13333 7.08115 0.08416 7.15629 0.05064 7.23902C0.01712 7.32174 -0.00009 7.41042 0 7.49997Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.news-pagination a:hover .pagination-next {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='15' viewBox='0 0 8 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 7.49997C8.00009 7.58952 7.98288 7.6782 7.94936 7.76092C7.91584 7.84365 7.86667 7.91878 7.80467 7.98201L1.13804 14.8002C0.877537 15.0666 0.455706 15.0666 0.195374 14.8002C-0.064958 14.5338 -0.0651246 14.1023 0.195374 13.8361L6.39067 7.49997L0.195374 1.16384C-0.0651245 0.897422 -0.0651245 0.466001 0.195374 0.199751C0.455873 -0.0664988 0.877704 -0.0666685 1.13804 0.199751L7.80467 7.01792C7.86667 7.08115 7.91584 7.15629 7.94936 7.23902C7.98288 7.32174 8.00009 7.41042 8 7.49997Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Хлебные крошки Yoast SEO */
#breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    flex-wrap: wrap;
}

/* Убираем стандартные обёртки Yoast */
#breadcrumbs > span {
    display: contents;
}

#breadcrumbs span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ico-main, #898F91);
}

/* Ссылки - серый цвет */
#breadcrumbs a {
    color: var(--ico-main, #898F91);
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
}

#breadcrumbs a:hover {
    color: var(--hover, #00936F);
}

/* Текущая страница (последняя) - зелёный цвет */
#breadcrumbs .breadcrumb_last {
    color: var(--hover, #00936F);
    font-weight: 400;
}

/* Скрываем стандартный разделитель Yoast (обычно это » или >) */
#breadcrumbs .breadcrumb_separator,
#breadcrumbs .breadcrumb-separator {
    display: none !important;
}

/* Добавляем стрелку-разделитель после каждого элемента, кроме последнего */
#breadcrumbs span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 11px;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='11' viewBox='0 0 6 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5.49998C6.00007 5.56564 5.98716 5.63068 5.96202 5.69134C5.93688 5.75201 5.9 5.80711 5.8535 5.85348L0.853527 10.8535C0.658153 11.0488 0.34178 11.0488 0.146531 10.8535C-0.048718 10.6581 -0.048843 10.3417 0.146531 10.1465L4.79301 5.49998L0.146531 0.853484C-0.0488435 0.65811 -0.0488435 0.341734 0.14653 0.146485C0.341904 -0.0487651 0.658278 -0.0488901 0.853527 0.146485L5.8535 5.14648C5.9 5.19285 5.93688 5.24795 5.96202 5.30861C5.98716 5.36928 6.00007 5.43431 6 5.49998Z' fill='%23898F91'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}


/* ========================================
   SINGLE POST (Отдельная запись)
   ======================================== */


.single-post__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хлебные крошки */
.breadcrumbs-wrapper {
    margin-bottom: 30px;
}

/* Заголовок и метаданные */
.single-post__header {
    margin-bottom: 30px;
}

.single-post__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--mait-text, #2E2E2E);
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: 'Lato', sans-serif;
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.single-post__date {
    color: var(--ico-main, #898F91);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.single-post__category {
    color: var(--ico-main, #898F91);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}

.single-post__category a {
    color: var(--hover, #00936F);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single-post__category a:hover {
    opacity: 0.7;
}

/* Изображение записи */
.single-post__thumbnail {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.single-post__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент записи */
.single-post__content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mait-text, #2E2E2E);
    font-family: 'Lato', sans-serif;
    margin-bottom: 40px;
}

.single-post__content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--mait-text, #2E2E2E);
}

.single-post__content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 12px;
    color: var(--mait-text, #2E2E2E);
}

.single-post__content p {
    margin-bottom: 20px;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.single-post__content ul,
.single-post__content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post__content li {
    margin-bottom: 10px;
}

.single-post__content a {
    color: var(--hover, #00936F);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.single-post__content a:hover {
    opacity: 0.7;
}

.single-post__content blockquote {
    border-left: 4px solid var(--hover, #00936F);
    padding: 15px 20px;
    margin: 25px 0;
    background: #f9f9f9;
    font-style: italic;
    color: var(--ico-main, #898F91);
}

/* Теги */
.single-post__tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
}

.single-post__tags-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--mait-text, #2E2E2E);
}

.single-post__tags-list a {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    color: var(--ico-main, #898F91);
    font-size: 13px;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.single-post__tags-list a:hover {
    background: var(--hover, #00936F);
    color: #ffffff;
}

/* Навигация между записями */
.single-post__navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.single-post__nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--mait-text, #2E2E2E);
    transition: color 0.3s ease;
    max-width: 45%;
}

.single-post__nav-link:hover {
    color: var(--hover, #00936F);
}

.single-post__nav-arrow {
    font-size: 24px;
    color: var(--hover, #00936F);
    flex-shrink: 0;
}

.single-post__nav-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.single-post__nav-label {
    font-size: 12px;
    color: var(--ico-main, #898F91);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-post__nav-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.single-post__nav-next {
    margin-left: auto;
    text-align: right;
}


/* Выравнивание вправо */
.alignright {
    float: right;
    margin: 10px 0 10px 20px;
    display: block;
    clear: none;
}

/* Выравнивание влево */
.alignleft {
    float: left;
    margin: 10px 20px 10px 0;
    display: block;
    clear: none;
}

/* По центру */
.aligncenter {
    display: block;
    margin: 10px auto;
    clear: both;
}

/* Без выравнивания */
.alignnone {
    display: block;
    margin: 10px 0;
    clear: both;
}

/* Адаптив для single post */
@media (max-width: 768px) {
    .single-post__title {
        font-size: 24px;
    }
    
    .single-post__content {
        font-size: 15px;
    }
    
    .single-post__navigation {
        flex-direction: column;
    }
    
    .single-post__nav-link {
        max-width: 100%;
    }
    
    .single-post__nav-next {
        margin-left: 0;
        text-align: left;
    }
}
.single-post__navigation{margin-bottom:50px;}

/* ========================================
   PAGE (Статические страницы)
   ======================================== */



.page-content__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок страницы */
.page-content__header {
    margin-bottom: 30px;
}

.page-content__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--mait-text, #2E2E2E);
    line-height: 1.3;
    font-family: 'Lato', sans-serif;
}

/* Изображение страницы */
.page-content__thumbnail {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.page-content__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент страницы */
.page-content__body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--mait-text, #2E2E2E);
    font-family: 'Lato', sans-serif;
}

.page-content__body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--mait-text, #2E2E2E);
}

.page-content__body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 12px;
    color: var(--mait-text, #2E2E2E);
}

.page-content__body p {
    margin-bottom: 20px;
}

.page-content__body img {
   
    border-radius: 8px;
   
}

.page-content__body ul,
.page-content__body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content__body li {
    margin-bottom: 10px;
}

.page-content__body a {
    color: var(--hover, #00936F);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.page-content__body a:hover {
    opacity: 0.7;
}

.page-content__body blockquote {
    border-left: 4px solid var(--hover, #00936F);
    padding: 15px 20px;
    margin: 25px 0;
    background: #f9f9f9;
    font-style: italic;
    color: var(--ico-main, #898F91);
}

/* Таблицы */
.page-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content__body table th,
.page-content__body table td {
    padding: 12px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.page-content__body table th {
    background: #f5f5f5;
    font-weight: 700;
}


/* ========================================
   CONTACTS PAGE (Страница контактов)
   ======================================== */

.contacts-page {
    background: #f8f9fa;
    padding: 40px 0;
}

.contacts-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок */
.contacts-page__header {
    margin-bottom: 30px;
}

.contacts-page__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--mait-text, #2E2E2E);
    font-family: 'Lato', sans-serif;
    line-height: 1.3;
}

/* Обёртка карты с равными отступами */
.contacts-page__map-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Карта с адаптивной высотой */
.map-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    margin: 0;
    padding: 0;
}

/* Карточка с контактами поверх карты */
.contacts-card {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    width: 420px;
    max-width: calc(100% - 80px);
    z-index: 10;
}

.contacts-card__item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.contacts-card__item:first-child {
    padding-top: 0;
}

.contacts-card__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contacts-card__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--mait-text, #2E2E2E);
    margin: 0 0 6px;
    font-family: 'Lato', sans-serif;
}

.contacts-card__text {
    font-size: 14px;
    color: var(--ico-main, #898F91);
    line-height: 1.5;
    font-family: 'Lato', sans-serif;
    margin: 0;
}

.contacts-card__link {
    display: inline-block;
    font-size: 14px;
    color: var(--hover, #00936F);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.contacts-card__link:hover {
    opacity: 0.7;
    text-decoration: underline;
}



/* ===== Контейнер секции ===== */
.media-categories {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}

/* ===== Блок одной категории ===== */
.media-block {
    width: 507px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.10);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 50px;
}

/* ===== Шапка блока ===== */
.media-block__header {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.media-block__title {
    color: #2E2E2E;
    font-size: 30px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin: 0;
}

.media-block__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00936F;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: opacity .2s ease;
}
.media-block__more:hover { opacity: 0.7; }

/* ===== Сетка карточек ===== */
.media-block__grid {
     display: flex;
   width:100%;
    gap: 20px;
   
}

/* ===== Карточка ===== */
.media-card {
   width: 100%;
    max-width: 223px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease;
}
.media-card:hover { transform: translateY(-4px); }

.media-card__image {
    align-self: stretch;
    height: 148.63px;
    border-radius: 20px;
    overflow: hidden;
}
.media-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-card__body {
    align-self: stretch;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.media-card__title {
    align-self: stretch;
    color: #2E2E2E;
    font-size: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.media-card__date {
    align-self: stretch;
    text-align: right;
    color: #898F91;
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

/* ===== Пустое состояние ===== */
.media-block__empty {
    color: #898F91;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}



/* Галерея турнира */
.tournament-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px;
}

.tournament-gallery__title {
    font-size: 32px;
    font-weight: 700;
    color: #2E2E2E;
    margin-bottom: 30px;
    text-align: left;
}

.tournament-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tournament-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tournament-gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tournament-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tournament-gallery__item:hover img {
    transform: scale(1.05);
}

/* Overlay эффект при наведении */
.tournament-gallery__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournament-gallery__item:hover::after {
    opacity: 1;
}

/* Иконка увеличения */
.tournament-gallery__item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 40px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tournament-gallery__item:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Fancybox кастомизация */
.fancybox__caption {
    font-size: 16px;
    padding: 10px 20px;
}

.fancybox__toolbar {
    background: rgba(0, 0, 0, 0.8);
}

/* ===== Видео блок ===== */
.video-block {
    width: 100%;
    padding: 0px 0;
}

.video-block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.video-block__title {
    color: #2E2E2E;
    font-size: 30px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin: 0;
}

.video-block__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00936F;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.video-block__more:hover {
    opacity: 0.7;
}

.video-block__more::after {
    content: '›';
    font-size: 20px;
}

/* Сетка видео - 2 колонки */
.video-block__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-block__item {
    position: relative;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-block__item:hover {
    transform: translateY(-5px);
}

.video-block__thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.video-block__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-block__item:hover .video-block__thumbnail img {
    transform: scale(1.05);
}

/* Иконка play */
.video-block__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.video-block__item:hover .video-block__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Overlay эффект */
.video-block__thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-block__item:hover .video-block__thumbnail::after {
    opacity: 1;
}


.mar25{padding-top:25px; padding-bottom:25px;}


/* ===== Адаптив ===== */
@media (max-width: 1100px) {
    .media-categories { flex-direction: column; align-items: stretch; }
    .media-block { width: 100%; }
}
@media (max-width: 560px) {
    .media-block__grid { flex-direction: column; }
    .media-block__title { font-size: 24px; }
    .media-card__title { font-size: 17px; }
}






/* Сообщение "Новостей не найдено" */
.news-block__no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ico-main, #898F91);
    font-size: 16px;
    font-family: 'Lato', sans-serif;
}

/* Галлерея турнира */
.photo-block {
            display: inline-flex;
            flex-direction: column;
            align-items: flex-start;
           
           
        }

        .photo-block__title {
            align-self: stretch;
            color: #2E2E2E;
            font-size: 30px;
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            word-wrap: break-word;
        }

      .photo-block__gallery {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 колонок на десктопе */
    gap: 20px;
}

       .photo-block__item {
    width: 100%;
    aspect-ratio: 156 / 90; /* сохраняем пропорции */
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

        .photo-block__item:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .photo-block__item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 10px;
        }


/* Responsive */
@media (max-width: 1024px) {
    .primary-menu {
        gap: 15px;
    }
    
    .primary-menu > li > a {
        font-size: 12px;
    }
	 .footer__nav-list {
        gap: 16px;
    }
    .footer__nav-list > li > a {
        font-size: 12px;
    }
    .footer__info {
        gap: 30px;
    }
}

@media (max-width: 768px) {
	
	body.menu-open {
    overflow: hidden;
}
	
	.mar25{padding-top:15px; padding-bottom:25px;}
	.container{max-width:400px;}
	    /* Шапка */
    .site-header {
        padding: 12px 15px;
    }

    .header-inner {
        gap: 10px;
        flex-wrap: nowrap;
        align-items: center;
		max-width:400px;
    }

    /* Логотип */
    .site-logo,
    .custom-logo {
        width: 48px;
        height: 48px;
    }

    .site-title a {
        font-size: 18px;
    }

    /* Навигация */
	
	.primary-menu > li > a::before{min-width:22px; width:22px; height:22px;}
	
    .main-navigation {
        order: 3;
        width: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        flex: 0 0 auto;
        position: relative;
    }

    /* Бургер */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(46, 46, 46, 0.06);
        border: none;
        cursor: pointer;
        margin-left: 10px;
    }

    /* Иконка бургера */
    .toggle-icon,
    .toggle-icon::before,
    .toggle-icon::after {
        width: 22px;
        height: 2px;
        background: #2E2E2E;
        transition: all .3s ease;
    }

    .toggle-icon {
        position: relative;
        background: transparent;
    }
    .toggle-icon::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 0;
    }
    .toggle-icon::after {
        content: '';
        position: absolute;
        top: 6px;
        left: 0;
    }

    /* Бургер → крестик */
    .menu-toggle.active .toggle-icon {
        background: transparent;
    }
    .menu-toggle.active .toggle-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    .menu-toggle.active .toggle-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Выпадающее мобильное меню */
    .primary-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: -150px;
        right: -15px;
        flex-direction: column;
        gap: 0;
        padding: 10px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(46, 46, 46, 0.12);
        z-index: 100;
        opacity: 0;
        transform: translateY(-10px);
		        width: 210px;
    }

    .primary-menu.toggled {
        display: flex;
        animation: menuFadeIn .25s ease forwards;
    }

    @keyframes menuFadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .primary-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .primary-menu > li:last-child {
        border-bottom: none;
    }

    .primary-menu > li > a {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 15px;
        width: 100%;
        border-radius: 12px;
        font-size: 14px;
    }

    .primary-menu > li > a:hover {
        background: #f5f7f9;
    }

    /* Футер */
    .site-footer {
        padding: 30px 15px;
    }

   .footer__nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
}

.footer__nav-list > li {
    width: 100%;
}

.footer__nav-list > li > a {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    font-size: 12px;
}

    

    .footer__info {
        flex-direction: column;
        gap: 20px;
    }

    .footer__bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Новости */
    .news-block {
        padding: 30px 0;
    }

    .news-block__container {
        padding: 0 15px;
    }

    .news-block__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .news-block__title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .news-block__image {
        height: 180px;
    }

    .news-block__item-title {
        font-size: 16px;
    }

    /* Партнёры */
    .partners__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
    }

    .partners__item {
        max-width: 120px;
    }

    /* Контакты */
    .contacts-page {
        padding: 30px 0 40px;
    }

    .contacts-page__title {
        font-size: 24px;
    }

    .contacts-card {
        padding: 20px 25px;
        margin-top: -60px;
    }

    .contacts-card__item {
        padding: 12px 0;
    }

    /* Пагинация */
    .news-pagination {
        gap: 5px;
        margin-top: 30px;
    }

    .news-pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 13px;
    }

    /* Галерея турнира */
    .tournament-gallery__title {
        font-size: 24px;
    }

    .tournament-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tournament-gallery {
        padding: 20px 10px;
    }

    /* Страницы */
    .page-content__title {
        font-size: 24px;
    }

    .page-content__body {
        font-size: 15px;
    }

    .page-content__body table {
        font-size: 14px;
    }

    .page-content__body table th,
    .page-content__body table td {
        padding: 8px;
    }

    /* Хлебные крошки */
    #breadcrumbs {
        font-size: 11px;
        gap: 8px;
    }

    #breadcrumbs span:not(:last-child)::after {
        width: 5px;
        height: 9px;
    }

    /* Карусель соревнований */
    .competitions-carousel-wrapper {
        padding: 0 30px;
    }

    .competitions-carousel-wrapper .owl-nav button {
        width: 20px;
        height: 20px;
    }

    /* Фото-блок */
    .photo-block__gallery {
        justify-content: center;
    }

    .photo-block__title {
        text-align: center;
        width: 100%;
    }

    /* Single post */
    .single-post__title {
        font-size: 24px;
    }

    .single-post__content {
        font-size: 15px;
    }

    .single-post__navigation {
        flex-direction: column;
    }

    .single-post__nav-link {
        max-width: 100%;
    }

    .single-post__nav-next {
        margin-left: 0;
        text-align: left;
    }

.media-block{gap:25px;}
.media-card{    width: 100%;
    max-width: 100%;}
	.media-card__image{height:200px;}
	.photo-block__gallery{grid-template-columns: repeat(3, 1fr); gap: 20px;}
	.partners__title{font-size:24px;}
	.partners__inner{gap:25px;}
	.partners__grid{flex-wrap: wrap; gap:20px;}
	.partners__logo{max-height: 35px;}
	
	
	.footer__info{padding:0px;}
	.page-content__body .content img{width:100% !important; height:auto !important; margin:0px; margin-top:10px; margin-bottom:10px; float:none;}
.single-post__title{margin-bottom:0px;}
.contacts-card{position:static; width:100%; max-width:100%;}
.contacts-page__map-wrapper,.map-container{overflow: visible; box-shadow:none;}
.contacts-page__map-wrapper{margin-bottom:0px;}
.map-container{padding:0px; display: table; margin-bottom:30px;}
.map-container iframe{position:static; height:300px !important;}
.contacts-card{margin:0; transform: translateY(0%);}
}












/* ===== Секция слайдера ===== */
.hero-slider-section { 
    width: 100%;
    max-width: 1920px;
    height: 600px;
    margin: 25px auto;
    position: relative;
    overflow: hidden;
	
}

.hero-slider {
    width: 100%;
    height: 600px;
}

/* ===== Слайд ===== */
.hero-slide {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-slide__img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* ===== Навигация OwlCarousel ===== */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 373px;
    pointer-events: none;
    margin: 0;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    pointer-events: all;
    width: 50px;
    height: 50px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.70) !important;
    border: none !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0 !important;
    outline: none;
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background: rgba(255, 255, 255, 0.90) !important;
}

/* Скрываем стандартный текст навигации */
.hero-slider .owl-nav button span {
    display: none;
}

/* Стрелка "назад" */
.hero-slider .owl-nav button.owl-prev::before {
    content: '';
    display: block;
    width: 16px;
    height: 29px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='29' viewBox='0 0 16 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.89105e-06 14.5001C-0.000176942 14.3269 0.0338527 14.1555 0.100134 13.9955C0.166414 13.8356 0.263639 13.6904 0.386228 13.5681L13.568 0.38631C14.0831 -0.128769 14.9172 -0.128769 15.4319 0.38631C15.9467 0.901389 15.947 1.73547 15.4319 2.25022L3.18209 14.5001L15.4319 26.7499C15.947 27.265 15.947 28.0991 15.4319 28.6138C14.9169 29.1286 14.0828 29.1289 13.568 28.6138L0.386228 15.432C0.263639 15.3098 0.166414 15.1645 0.100134 15.0046C0.0338527 14.8446 -0.000176958 14.6732 1.89105e-06 14.5001Z' fill='%23898F91'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Стрелка "вперёд" */
.hero-slider .owl-nav button.owl-next::before {
    content: '';
    display: block;
    width: 16px;
    height: 29px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='29' viewBox='0 0 16 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.8182 14.4999C15.8184 14.6731 15.7844 14.8445 15.7181 15.0045C15.6518 15.1644 15.5546 15.3096 15.432 15.4319L2.25022 28.6137C1.73514 29.1288 0.90106 29.1288 0.38631 28.6137C-0.128439 28.0986 -0.128768 27.2645 0.38631 26.7498L12.6362 14.4999L0.386309 2.2501C-0.12877 1.73502 -0.12877 0.900936 0.386309 0.386187C0.901388 -0.128562 1.73547 -0.128892 2.25021 0.386187L15.432 13.568C15.5546 13.6902 15.6518 13.8355 15.7181 13.9954C15.7844 14.1554 15.8184 14.3268 15.8182 14.4999Z' fill='%23898F91'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Состояние "disabled" для кнопок */
.hero-slider .owl-nav button.owl-prev.disabled,
.hero-slider .owl-nav button.owl-next.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}


/* ===== Анимация листания влево (уход) ===== */
@keyframes slideOutLeft {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(-100%, 0, 0);
        opacity: 0;
    }
}

.slideOutLeft {
    animation-name: slideOutLeft;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* ===== Анимация листания справа (появление) ===== */
@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.slideInRight {
    animation-name: slideInRight;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* ===== Анимация листания вправо (уход) ===== */
@keyframes slideOutRight {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
    }
}

.slideOutRight {
    animation-name: slideOutRight;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* ===== Анимация листания слева (появление) ===== */
@keyframes slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.slideInLeft {
    animation-name: slideInLeft;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* ===== Адаптивность ===== */
@media (max-width: 1600px) {
    .hero-slider .owl-nav {
        padding: 0 200px;
    }
}

@media (max-width: 1200px) {
    .hero-slider .owl-nav {
        padding: 0 100px;
    }
}

@media (max-width: 768px) {
    .hero-slider-section,
    .hero-slider,
    .hero-slide,
    .hero-slide__img {
        height: 400px;
    }

    .hero-slider .owl-nav {
        padding: 0 20px;
    }

    .hero-slider .owl-nav button.owl-prev,
    .hero-slider .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
    }

    .hero-slider .owl-nav button.owl-prev::before,
    .hero-slider .owl-nav button.owl-next::before {
        width: 13px;
        height: 23px;
    }
}

@media (max-width: 480px) {
    .hero-slider-section,
    .hero-slider,
    .hero-slide,
    .hero-slide__img {
        height: 300px;
    }
}