.ct-section {
width:100%;
background-size:cover;
background-repeat:repeat;
}
.ct-section>.ct-section-inner-wrap {
display:flex;
flex-direction:column;
align-items:flex-start;
}
.ct-div-block {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.ct-new-columns {
display:flex;
width:100%;
flex-direction:row;
align-items:stretch;
justify-content:center;
flex-wrap:wrap;
}
.ct-link-text {
display:inline-block;
}
.ct-link {
display:flex;
flex-wrap:wrap;
text-align:center;
text-decoration:none;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-link-button {
display:inline-block;
text-align:center;
text-decoration:none;
}
.ct-link-button {
background-color: #1e73be;
border: 1px solid #1e73be;
color: #ffffff;
padding: 10px 16px;
}
.ct-image {
max-width:100%;
}
.ct-fancy-icon>svg {
width:55px;height:55px;}
.ct-inner-content {
width:100%;
}
.ct-slide {
display:flex;
flex-wrap:wrap;
text-align:center;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-nestable-shortcode {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-comments {
width:100%;
text-align:left;
}
.oxy-comment-form {
width:100%;
}
.oxy-login-form {
width:100%;
}
.oxy-search-form {
width:100%;
}
.oxy-tabs-contents {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab-content {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-testimonial {
width:100%;
}
.oxy-icon-box {
width:100%;
}
.oxy-pricing-box {
width:100%;
}
.oxy-posts-grid {
width:100%;
}
.oxy-gallery {
width:100%;
}
.ct-slider {
width:100%;
}
.oxy-tabs {
display:flex;
flex-wrap:nowrap;
flex-direction:row;
align-items:stretch;
}
.ct-modal {
flex-direction:column;
align-items:flex-start;
}
.ct-span {
display:inline-block;
text-decoration:inherit;
}
.ct-widget {
width:100%;
}
.oxy-dynamic-list {
width:100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
			.ct-div-block,
			.oxy-post-content,
			.ct-text-block,
			.ct-headline,
			.oxy-rich-text,
			.ct-link-text { max-width: 100%; }
			img { flex-shrink: 0; }
			body * { min-height: 1px; }
		}            .oxy-testimonial {
                flex-direction: row;
                align-items: center;
            }
                        .oxy-testimonial .oxy-testimonial-photo-wrap {
                order: 1;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo {
                width: 125px;                height: 125px;                margin-right: 20px;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo-wrap, 
            .oxy-testimonial .oxy-testimonial-author-wrap, 
            .oxy-testimonial .oxy-testimonial-content-wrap {
                align-items: flex-start;                text-align: left;            }
            
                                                            .oxy-testimonial .oxy-testimonial-text {
                margin-bottom:8px;font-size: 21px;
line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
                                    .oxy-testimonial .oxy-testimonial-author {
                font-size: 18px;
-webkit-font-smoothing: subpixel-antialiased;
            }
                            

                                                .oxy-testimonial .oxy-testimonial-author-info {
                font-size: 12px;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
             
            
                        .oxy-icon-box {
                text-align: left;                flex-direction: column;            }
            
                        .oxy-icon-box .oxy-icon-box-icon {
                margin-bottom: 12px;
                align-self: flex-start;            }
            
                                                                        .oxy-icon-box .oxy-icon-box-heading {
                font-size: 21px;
margin-bottom: 12px;            }
            
                                                                                    .oxy-icon-box .oxy-icon-box-text {
                font-size: 16px;
margin-bottom: 12px;align-self: flex-start;            }
            
                        .oxy-icon-box .oxy-icon-box-link {
                margin-top: 20px;                            }
            
            
            /* GLOBALS */

                                                            .oxy-pricing-box .oxy-pricing-box-section {
                padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
text-align: center;            }
                        
                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                justify-content: center;            }
            
            /* IMAGE */
                                                                                    .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-graphic {
                justify-content: center;            }
            
            /* TITLE */
                                                            
                                    .oxy-pricing-box .oxy-pricing-box-title-title {
                font-size: 48px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-title-subtitle {
                font-size: 24px;
            }
            

            /* PRICE */
                                                .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                                                flex-direction: row;                                            }
            
                                    .oxy-pricing-box .oxy-pricing-box-currency {
                font-size: 28px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-main {
                font-size: 80px;
line-height: 0.7;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-decimal {
                font-size: 13px;
            }
                        
                                    .oxy-pricing-box .oxy-pricing-box-term {
                font-size: 16px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-sale-price {
                font-size: 12px;
color: rgba(0,0,0,0.5);
                margin-bottom: 20px;            }
            
            /* CONTENT */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-content {
                font-size: 16px;
color: rgba(0,0,0,0.5);
            }
            
            /* CTA */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-cta {
                justify-content: center;            }
            
        
                                .oxy-progress-bar .oxy-progress-bar-background {
            background-color: #000000;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);            animation: none 0s paused;        }
                
                .oxy-progress-bar .oxy-progress-bar-progress-wrap {
            width: 85%;        }
        
                                                        .oxy-progress-bar .oxy-progress-bar-progress {
            background-color: #66aaff;padding: 40px;animation: none 0s paused, none 0s paused;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);        
        }
                
                        .oxy-progress-bar .oxy-progress-bar-overlay-text {
            font-size: 30px;
font-weight: 900;
-webkit-font-smoothing: subpixel-antialiased;
        }
        
                        .oxy-progress-bar .oxy-progress-bar-overlay-percent {
            font-size: 12px;
        }
        
        .ct-slider .unslider-nav ol li {border-color: #ffffff; }.ct-slider .unslider-nav ol li.unslider-active {background-color: #ffffff; }.ct-slider .ct-slide {
				padding: 0px;			}
		
                        .oxy-superbox .oxy-superbox-secondary, 
            .oxy-superbox .oxy-superbox-primary {
                transition-duration: 0.5s;            }
            
            
            
            
            
        
        
        
        
            .oxy-shape-divider {
                width: 0px;
                height: 0px;
                
            }
            
            .oxy_shape_divider svg {
                width: 100%;
            }
            .oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .sub-menu{
box-shadow:px px px px ;}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a div{
margin-left:0px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
width:30px;
height:30px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon{
padding-top:15px;
padding-right:15px;
padding-bottom:15px;
padding-left:15px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon, .oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon{
top:20px;
left:20px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
width:24px;
height:24px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon, .oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container{
background-color:#ffffff;
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-open-container{
background-image:url();
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item-has-children > a svg, .oxy-pro-menu .oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item-has-children > a svg{
font-size:24px;
}

.oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-open-container .menu-item-has-children ul, .oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-off-canvas-container .menu-item-has-children ul{
background-color:rgba(0,0,0,0.2);
border-top-style:solid;
}

.oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .oxy-pro-menu-list{
                    flex-direction: row;
               }
.oxy-pro-menu .oxy-pro-menu-container .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .menu-item, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .menu-item{
                    align-items: flex-start;
                }

            .oxy-pro-menu .oxy-pro-menu-off-canvas-container{
                    top: 0;
                    bottom: 0;
                    right: auto;
                    left: 0;
               }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item a, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }

            .oxy-site-navigation {
--oxynav-brand-color:#4831B0;
--oxynav-neutral-color:#FFFFFF;
--oxynav-activehover-color:#EFEDF4;
--oxynav-background-color:#4831B0;
--oxynav-border-radius:0px;
--oxynav-other-spacing:8px;
--oxynav-transition-duration:0.3s;
--oxynav-transition-timing-function:cubic-bezier(.84,.05,.31,.93);
}

.oxy-site-navigation .oxy-site-navigation__mobile-close-wrapper{
text-align:left;
}

.oxy-site-navigation > ul{ left: 0; }
.oxy-site-navigation {
                        --oxynav-animation-name: none; 
                    }

                .oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1){ 
                    background-color: var(--oxynav-brand-color);
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                    border: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2){ 
                    background: transparent;
                    border: 1px solid currentColor;
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2):not(:hover) > img{
                    filter: invert(0) !important;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover{
                    background-color: var(--oxynav-activehover-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a{
                    color: var(--oxynav-neutral-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a::after{
                    color: var(--oxynav-neutral-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > button, .oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }

                .ct-section-inner-wrap, .oxy-header-container{
  max-width: 1400px;
}
body {font-family: 'Onder';}body {line-height: 1.6;font-size: 16px;font-weight: 400;color: #404040;}.oxy-nav-menu-hamburger-line {background-color: #404040;}h1, h2, h3, h4, h5, h6 {font-family: 'Unbounded';font-size: 36px;font-weight: 700;}h2, h3, h4, h5, h6{font-size: 30px;}h3, h4, h5, h6{font-size: 24px;}h4, h5, h6{font-size: 20px;}h5, h6{font-size: 18px;}h6{font-size: 16px;}a {color: #0074db;text-decoration: none;}a:hover {text-decoration: none;}.ct-link-text {text-decoration: ;}.ct-link {text-decoration: ;}.ct-link-button {border-radius: 3px;}.ct-section-inner-wrap {
padding-top: 75px;
padding-right: 20px;
padding-bottom: 75px;
padding-left: 20px;
}.ct-new-columns > .ct-div-block {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}.oxy-header-container {
padding-right: 20px;
padding-left: 20px;
}@media (max-width: 992px) {
				.ct-columns-inner-wrap {
					display: block !important;
				}
				.ct-columns-inner-wrap:after {
					display: table;
					clear: both;
					content: "";
				}
				.ct-column {
					width: 100% !important;
					margin: 0 !important;
				}
				.ct-columns-inner-wrap {
					margin: 0 !important;
				}
			}
.social-icons {
}
.sc-icon:hover{
color: #ffffff;}.sc-icon:hover
>svg {width: 18px;height: 18px;}.sc-icon:hover{
transform:scale3d(1.3,1.3,1.3);}
.sc-icon {
color: #cccccc;}.sc-icon 
>svg {width: 18px;height: 18px;}.sc-icon {
 transition-duration:0.4s;
}
.hr-logo {
}
.hero {
 text-align:center;
 z-index:0;
}
.hero .ct-section-inner-wrap {
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
}
.hero:not(.ct-section):not(.oxy-easy-posts),
.hero.oxy-easy-posts .oxy-posts,
.hero.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ry-cards-grid {
}
.top-bar {
 z-index:10000;
 position:relative;
}
.header {
 z-index:10000;
}
.news-sc {
}
.news-sc .ct-section-inner-wrap {
padding-top: 150px;
}
@media (max-width: 1400px) {
.news-sc {
}
.news-sc .ct-section-inner-wrap {
padding-top: 120px;
}
}

@media (max-width: 991px) {
.news-sc {
}
.news-sc .ct-section-inner-wrap {
padding-top: 90px;
}
}

@media (max-width: 767px) {
.news-sc {
}
.news-sc .ct-section-inner-wrap {
padding-top: 60px;
}
}

@media (max-width: 479px) {
.news-sc {
}
.news-sc .ct-section-inner-wrap {
padding-top: 40px;
}
}

.ry-section-header {
 padding-bottom:0px;
}
.ry-section-header:not(.ct-section):not(.oxy-easy-posts),
.ry-section-header.oxy-easy-posts .oxy-posts,
.ry-section-header.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
}
@media (max-width: 991px) {
.ry-section-header {
}
.ry-section-header:not(.ct-section):not(.oxy-easy-posts),
.ry-section-header.oxy-easy-posts .oxy-posts,
.ry-section-header.ct-section .ct-section-inner-wrap{
display:flex;
}
}

@media (max-width: 479px) {
.ry-section-header {
 gap:0px;
}
.ry-section-header:not(.ct-section):not(.oxy-easy-posts),
.ry-section-header.oxy-easy-posts .oxy-posts,
.ry-section-header.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:column;
align-items:center;
gap:0px;
}
}

.ry-sect-title {
}
@media (max-width: 991px) {
.ry-sect-title {
 line-height:2;
}
}

@media (max-width: 479px) {
.ry-sect-title {
 text-align:center;
}
}

.ry-text-link {
}
.ry-news-card {
}
.ry-news-thumb {
}
.ry-news-category {
}
.ry-news-content {
}
.ry-news-date {
}
.ry-news-title {
 line-height:1.8;
}
.ttable_video_col {
}
.ttable_video_col:not(.ct-section):not(.oxy-easy-posts),
.ttable_video_col.oxy-easy-posts .oxy-posts,
.ttable_video_col.ct-section .ct-section-inner-wrap{
display:flex;
align-items:stretch;
align-content:stretch;
}
.ry-video-card {
}
@media (max-width: 991px) {
.ry-video-card {
}
}

.ry-video-thumb {
}
.ry-play-icon {
color: #333333;}.ry-play-icon 
>svg {width: 55px;height: 55px;}.ry-play-icon {
}
.ry-video-content {
}
.ry-video-date {
}
.ry-video-title {
 line-height:0;
}
.ttable_vid-sc {
}
.photos-sc {
}
.ry-photo-card {
}
.ry-photo-thumb {
}
.ry-photo-content {
}
.ry-photo-title {
 line-height:0;
}
.ry-sponsors-section {
}
.ry-sponsors-section .ct-section-inner-wrap {
padding-top: 20px;
padding-bottom: 20px;
}
.ry-league-row {
 padding-left:10px;
 padding-right:10px;
}
.ry-sponsor-item {
}
.ry-club-row {
}
.ry-club-track {
}
.ry-sponsor-slide {
}
.swiper {
}
.ry-club-slider {
 --carousel-space-between:40px;
}
.ry-club-slider {
                        --carousel-cell-width: calc((100% - (5 * var(--carousel-space-between))) / 6);
                        }

                        @media (max-width: 1400px) {
.ry-club-slider {
}
.ry-club-slider {
                        --carousel-cell-width: calc((100% - (3 * var(--carousel-space-between))) / 4);
                        }

                        }

@media (max-width: 991px) {
.ry-club-slider {
 --carousel-space-between:30px;
}
.ry-club-slider {
                        --carousel-cell-width: calc((100% - (2 * var(--carousel-space-between))) / 3);
                        }

                        }

@media (max-width: 767px) {
.ry-club-slider {
 --carousel-space-between:20px;
}
.ry-club-slider {
                        --carousel-cell-width: calc((100% - (2 * var(--carousel-space-between))) / 3);
                        }

                        }

.swiper-wrapper {
}
.swiper-slide {
}
.ry-slide-link {
}
.ry-club-slide {
}
.ry-sponsor-img {
}
.ry-footer {
}
.ry-footer-desc {
}
.ry-socials-row {
}
.ry-socials-row:not(.ct-section):not(.oxy-easy-posts),
.ry-socials-row.oxy-easy-posts .oxy-posts,
.ry-socials-row.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
}
.ry-footer-title {
}
@media (max-width: 1400px) {
.ry-footer-title {
}
}

.ry-footer-menu {
}
.ry-footer-socials {
}
.ry-soc-btn {
}
.ry-contact-list {
}
.ry-copyright-row {
}
.ry-copyrught {
}
.ry-copyright {
}
.ry-news-card-img {
}
.ry-news-card-body {
}
.ry-news-meta {
}
.load-more {
 border-radius:0px;
}
.ry-media-card-img {
}
.ry-media-card {
}
.ry-media-card-body {
}
.ry-media-meta {
}
.ry-media-title {
}
.ry-thumb-wrapper {
}
.video-type {
}
.video-type:not(.ct-section):not(.oxy-easy-posts),
.video-type.oxy-easy-posts .oxy-posts,
.video-type.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:column;
}
.ry-single-hero {
 background-color:#141414;
}
.ry-single-hero .ct-section-inner-wrap {
padding-top: 60px;
padding-bottom: 60px;
}
@media (max-width: 767px) {
.ry-single-hero {
}
.ry-single-hero .ct-section-inner-wrap {
padding-top: 40px;
padding-right: 10px;
padding-bottom: 40px;
padding-left: 10px;
}
}

.ry-article-body {
 width:60%;
}
@media (max-width: 991px) {
.ry-article-body {
 width:100%;
}
}

@media (max-width: 767px) {
.ry-article-body {
 width:100%;
}
}

@media (max-width: 479px) {
.ry-article-body {
 width:100%;
}
}

.ry-meta-badge {
}
@media (max-width: 479px) {
.ry-meta-badge {
}
}

.ry-sidebar {
 width:40%;
}
.ry-sidebar-card {
}
.ry-sidebar-img {
}
.ry-sidebar-content {
 padding-top:15px;
}
.ry-sidebar-content:not(.ct-section):not(.oxy-easy-posts),
.ry-sidebar-content.oxy-easy-posts .oxy-posts,
.ry-sidebar-content.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:column;
align-items:flex-start;
}
.ry-sidebar-title {
 font-size:8px;
}
.ry-sidebar-date {
 font-size:8px;
}
.ry-thumb-box {
}
.ry-small-play {
}
.ry-card-title {
}
.ry-card-body {
}
.ry-card-date {
}
.ry-competitions-section {
}
.ry-competition-section {
}
.ry-comp-nav {
}
.ry-comp-nav:not(.ct-section):not(.oxy-easy-posts),
.ry-comp-nav.oxy-easy-posts .oxy-posts,
.ry-comp-nav.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
}
.ry-nav-item {
}
.active {
}
.ry-league-section {
 position:relative;
}
.ry-table-interface {
 width:100%;
}
.ry-nav-links {
}
.ry-nav-links:not(.ct-section):not(.oxy-easy-posts),
.ry-nav-links.oxy-easy-posts .oxy-posts,
.ry-nav-links.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
}
.ry-table-interfacery-table-interface {
}
.ry-match-center-mode {
}
.ry-matches-content {
}
.ry-match-center-page {
}
@media (max-width: 479px) {
.ry-match-center-page {
}
.ry-match-center-page .ct-section-inner-wrap {
padding-top: 20px;
}
}

.ry-mc-nav {
}
.ry-mc-nav:not(.ct-section):not(.oxy-easy-posts),
.ry-mc-nav.oxy-easy-posts .oxy-posts,
.ry-mc-nav.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:row;
}
.ry-mc-grid-wrapper {
}
.ry-mc-link {
}
.ry-match-page-section {
}
.ry-match-nav {
}
.ry-back-link {
}
.ry-squad-page {
}
.ry-player-page-section {
}
@media (max-width: 479px) {
.ry-player-page-section {
}
.ry-player-page-section .ct-section-inner-wrap {
padding-top: 30px;
padding-right: 5px;
padding-left: 5px;
}
}

.ry-partners-page {
}
@media (max-width: 479px) {
.ry-partners-page {
}
.ry-partners-page:not(.ct-section):not(.oxy-easy-posts),
.ry-partners-page.oxy-easy-posts .oxy-posts,
.ry-partners-page.ct-section .ct-section-inner-wrap{
display:flex;
}
}

.ry-page-title {
}
.ry-partners-grid {
}
.ry-partner-card {
}
.ry-partner-card:not(.ct-section):not(.oxy-easy-posts),
.ry-partner-card.oxy-easy-posts .oxy-posts,
.ry-partner-card.ct-section .ct-section-inner-wrap{
display:flex;
}
@media (max-width: 991px) {
.ry-partner-card {
}
.ry-partner-card:not(.ct-section):not(.oxy-easy-posts),
.ry-partner-card.oxy-easy-posts .oxy-posts,
.ry-partner-card.ct-section .ct-section-inner-wrap{
display:flex;
}
}

.ry-partner-logo-box {
}
@media (max-width: 991px) {
.ry-partner-logo-box {
 width:100%;
}
}

.ry-partner-content {
}
.ry-partner-content:not(.ct-section):not(.oxy-easy-posts),
.ry-partner-content.oxy-easy-posts .oxy-posts,
.ry-partner-content.ct-section .ct-section-inner-wrap{
display:flex;
}
@media (max-width: 991px) {
.ry-partner-content {
}
.ry-partner-content:not(.ct-section):not(.oxy-easy-posts),
.ry-partner-content.oxy-easy-posts .oxy-posts,
.ry-partner-content.ct-section .ct-section-inner-wrap{
display:flex;
}
}

@media (max-width: 479px) {
.ry-partner-content {
}
.ry-partner-content:not(.ct-section):not(.oxy-easy-posts),
.ry-partner-content.oxy-easy-posts .oxy-posts,
.ry-partner-content.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:column;
align-items:center;
}
}

.ry-partner-name {
}
.ry-partner-desc {
}
.ry-partner-cta {
}
.ry-partner-cta:not(.ct-section):not(.oxy-easy-posts),
.ry-partner-cta.oxy-easy-posts .oxy-posts,
.ry-partner-cta.ct-section .ct-section-inner-wrap{
display:flex;
flex-direction:column;
align-items:center;
}
.ry-cta-desc {
}
.ry-cta-title {
}
.ry-btn-primary {
}
.ry-docs-page {
}
.ry-contacts-page {
}
.ball-shadow {
}
.oxy-preloader_image {
 width:70px;
 height:70px;
}
.ry-tab-partners {
}
.ry-hidden-tab {
}
.ry-tab-promo {
}
.league-banner-link {
}
.hero-home-mob {
}
.ry-media-grid {
}
.ry-ajax-grid {
}
.ry-ajax-scroller {
}
.ry-interview-content {
}
.ry-category-badge {
}
.ry-meta-wrapper {
}
.ry-ticket-promo {
}
.ry-ticket-text {
}
.ry-ticket-btn {
}
.ry-page-hero {
}
.ry-meta-date {
}
.ry-meta-cat {
}
.ry-404-section {
}
.ry-404-title {
}
.ry-404-subtitle {
}
.ry-404-btn {
}
.ry-404-quick-links {
}
.ry-404-quick-link {
}
/* =========================================
   МОБИЛЬНОЕ МЕНЮ
   ========================================= */

/* ГЛАВНЫЙ КОНТЕЙНЕР */
.oxy-pro-menu-open-container {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100vh !important;
    
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; 
    align-items: center !important;
    
    padding-top: 100px !important; 
    padding-bottom: 40px !important;
    overflow-y: auto !important;
    z-index: 100000 !important;
}

/* ЛОГОТИП ПО ЦЕНТРУ (WATERMARK) */
.oxy-pro-menu-open-container::before {
    content: "";
    position: fixed; inset: 0;
    
    background-color: #0B0B0B;
    
    background-image: url('https://rubin-yalta.ru/storage/raznoe/r13.webp'); 
    
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80%; 
    
    opacity: 0.2; 
    filter: grayscale(100%); 
    
    z-index: -1; 
    pointer-events: none;
}

/* ПУНКТ МЕНЮ */
.oxy-pro-menu-open-container .menu-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 20px 0 !important;
    margin: 0 !important;
}

/* ТЕКСТ ССЫЛКИ */
.oxy-pro-menu-open-container .menu-item > a {
    font-family: 'Onder', sans-serif !important;
    font-size: 36px !important;
    line-height: 1 !important;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 0px !important;
    padding-top: 20px !important;
    
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    
    display: block !important;
    width: auto !important;
    margin-bottom: 0px !important;
    transition: all 0.2s ease;
}

/* ХОВЕР */
.oxy-pro-menu-open-container .menu-item > a:hover,
.oxy-pro-menu-open-container .menu-item.current-menu-item > a {
    color: #d82e40 !important;
    -webkit-text-stroke: 0px transparent !important;
    text-shadow: 0 0 30px rgba(220, 37, 37, 0.8) !important;
}

/* СТРЕЛКА */
.oxy-pro-menu-dropdown-icon-click-area{
  margin: 0px !important;
}
.oxy-pro-menu-open-container .oxy-pro-menu-dropdown-icon {
    position: static !important;
    font-size: 10px !important;
    color: #d82e40 !important;
    margin-top: 5px !important;
    
    transform: none; 
    transition: transform 0.3s ease;
}

/* ПОДМЕНЮ */
.oxy-pro-menu-open-container .sub-menu {
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-top: 15px !important;
}

.oxy-pro-menu-open-container .sub-menu .menu-item {
    border-bottom: none !important;
    padding: 8px 0 !important;
    min-height: auto !important;
}

.oxy-pro-menu-open-container .sub-menu .menu-item a {
    font-family: 'Unbounded', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #888 !important;
    -webkit-text-stroke: 0px !important;
    text-shadow: none !important;
}

.oxy-pro-menu-open-container .sub-menu .menu-item a:hover {
    color: #fff !important;
}

/* =========================================
   КНОПКА "КУПИТЬ БИЛЕТЫ" (ВЫРАВНИВАНИЕ)
   ========================================= */
.oxy-pro-menu-open-container .menu-item.ry-ticket-btn {
    border-bottom: none !important;
    padding-top: 50px !important; 
    padding-bottom: 60px !important;
}

.oxy-pro-menu-open-container .menu-item.ry-ticket-btn > a {
    background-color: #d82e40 !important;
    color: #FFFFFF !important;
    
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0% 100%);
    
    font-family: 'Onder', sans-serif !important;
    font-size: 24px !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    height: 60px !important; 
    padding: 0 50px !important;
    
    -webkit-text-stroke: 0px !important;
    text-shadow: none !important;
    width: auto !important;
    margin: 0 auto !important;
}

.oxy-pro-menu-open-container .menu-item.ry-ticket-btn > a:hover {
    background-color: #fff !important;
    color: #d82e40 !important;
}

/* =========================================
   СОЦ СЕТИ МОБИЛЬНОЕ МЕНЮ
   ========================================= */

.ry-mobile-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    
    width: 100%;
    margin-top: 5px; 
    padding-bottom: 50px; 
    z-index: 10;
}

.ry-soc-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 50px;
    height: 50px;
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    transition: all 0.3s ease;
}

.ry-soc-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    transition: transform 0.3s ease; 
}

/* --- ОПТИЧЕСКАЯ КОРРЕКЦИЯ --- */

/* TELEGRAM: Двигаем влево (-1px) и чуть вниз (1px), чтобы компенсировать форму */
.ry-tg svg {
    transform: translateX(-1px) translateY(1px);
}

/* --- ХОВЕР ЭФФЕКТЫ --- */
.ry-soc-icon:hover {
    background: #d82e40;
    border-color: #d82e40;
    color: #fff;
    box-shadow: 0 0 20px rgba(220, 37, 37, 0.6);
}

/* При наведении сохраняем смещение Telegram + добавляем легкий подскок */
.ry-tg:hover svg {
    transform: translateX(-2px) translateY(-2px);
}
.ry-vk:hover svg, .ry-max:hover svg {
    transform: translateY(-2px);
}

/* =========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================= */
@media (max-width: 768px) {

    .oxy-pro-menu-open-container * {
        box-sizing: border-box !important;
    }

    /* УБИВАЕМ ЖЕСТКУЮ ШИРИНУ OXYGEN */
    .menu-shapka-container,
    div[class*="menu-shapka"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
    }

    /* ГЛАВНЫЙ КОНТЕЙНЕР */
    .oxy-pro-menu-open-container {
        width: 100% !important;
    }

    /* СПИСОК (UL) */
    #menu-shapka,
    .oxy-pro-menu-list {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important; 
    }

    /* ПУНКТ МЕНЮ (LI) */
    .oxy-pro-menu-open-container .menu-item {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        
        width: 100% !important;
        margin: 0 !important;
        
        padding-top: 15px !important;
        padding-bottom: 0px !important;
        
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }

    /* Ссылка */
    .oxy-pro-menu-open-container .menu-item > a {
        font-size: 18px !important;
        width: auto !important;
        max-width: 95% !important;
        margin: 0 auto !important; 
    }

    /* ПОДМЕНЮ */
    .oxy-pro-menu-open-container .sub-menu {
        width: 100% !important;
        padding: 5px 0 0 0 !important;
    }

    .oxy-pro-menu-open-container .sub-menu .menu-item {
        padding-top: 2px !important;      
        padding-bottom: 2px !important; 
        border: none !important;
    }

    .oxy-pro-menu-open-container .sub-menu .menu-item > a {
        font-size: 14px !important;
        padding: 5px 0 !important;
        line-height: 1.2 !important;
    }

    /* КНОПКА "КУПИТЬ БИЛЕТ" */
    .oxy-pro-menu-open-container .menu-item.ry-ticket-btn {
        padding-top: 30px !important;
        padding-bottom: 10px !important;
        border: none !important;
        width: 100% !important;
    }

    .oxy-pro-menu-open-container .menu-item.ry-ticket-btn > a {
        font-size: 10px !important; 
        height: 50px !important;
        padding: 0 30px !important;
        max-width: 85% !important; /* Чуть меньше, чтобы точно не лезло в края */
        
        clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0% 100%);
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
    }

    /* 8. СОЦСЕТИ */
    .ry-mobile-socials {
        margin-top: 15px !important;
        gap: 20px !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

/* =========================================
   КНОПКА КУПИТЬ БИЛЕТЫ НА ПК
   ========================================= */
@media (min-width: 769px) {

    /* Сбрасываем лишние отступы у самого пункта (li) */
    .oxy-pro-menu-list .menu-item.ry-ticket-btn {
        display: flex;
        align-items: center;
        margin-left: 10px !important;
    }

    .oxy-pro-menu-list .menu-item.ry-ticket-btn > a {
        background-color: #d82e40 !important;
        color: #ffffff !important;
        
        /* скос (полигон) */
        clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0% 100%);
        
        padding: 12px 35px !important;
        height: auto !important;
        
        /* ТИПОГРАФИКА */
        font-family: 'Onder', sans-serif !important;
        font-size: 10px !important;
        text-transform: uppercase;
        text-decoration: none !important;
        
        -webkit-text-stroke: 0px !important; 
        border: none !important;
        
        transition: all 0.3s ease;
    }

    /* ЭФФЕКТ ПРИ НАВЕДЕНИИ */
    .oxy-pro-menu-list .menu-item.ry-ticket-btn > a:hover {
        background-color: #ffffff !important; /* Белая кнопка */
        color: #d82e40 !important; /* Красный текст */
        transform: translateY(-3px); /* Легкий подскок */
        box-shadow: 0 10px 20px rgba(220, 37, 37, 0.4); /* Тень */
    }
}

/* =========================================
   DESKTOP HEADER
   ========================================= */

.oxy-header-wrapper {
    background-color: rgba(11, 11, 11, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border-bottom: 2px solid #d82e40 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* РАЗДЕЛИТЕЛИ (СЛЕШИ) */
@media (min-width: 992px) {
    /* Знак > означает "только дети первого уровня". 
       Вложенные пункты это правило теперь проигнорируют. */
    .oxy-pro-menu-list > .menu-item:not(.ry-ticket-btn):not(:last-child)::after {
        content: "/";
        display: inline-block;
        color: #444; /* Темно-серый */
        margin-left: 20px;
        margin-right: 5px;
        transform: skewX(10deg);
        font-size: 10px;
    }
    
    .oxy-pro-menu-list > .menu-item {
        margin-right: 10px !important; 
    }
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ (ГЛАВНОЕ МЕНЮ) */
@media (min-width: 992px) {
    .oxy-pro-menu-list > .menu-item > a {
        position: relative;
        transition: color 0.3s ease;
    }

    /* Красная полоска снизу */
    .oxy-pro-menu-list > .menu-item:not(.ry-ticket-btn) > a::before {
        content: "";
        position: absolute; bottom: -5px; left: 0;
        width: 0%; height: 2px;
        background-color: #d82e40;
        transition: width 0.3s ease;
    }

    .oxy-pro-menu-list > .menu-item:not(.ry-ticket-btn) > a:hover::before {
        width: 100%;
    }
    
    .oxy-pro-menu-list > .menu-item:not(.ry-ticket-btn) > a:hover {
        color: #ffffff !important;
        text-shadow: 0 0 10px rgba(255,255,255,0.3);
    }
}

/* СТИЛИЗАЦИЯ ВЫПАДАЮЩИХ СПИСКОВ (ДРОПДАУНЫ) */
@media (min-width: 992px){
.oxy-pro-menu-list .sub-menu {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-top: 2px solid #d82e40 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8) !important;
    padding: 15px !important;
    min-width: 220px !important;
}

/* Пункты внутри дропдауна */
.oxy-pro-menu-list .sub-menu .menu-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Ссылки внутри дропдауна */
.oxy-pro-menu-list .sub-menu .menu-item a {
    font-family: 'Unbounded', sans-serif !important; 
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: #ccc !important;
    padding: 10px 15px !important;
    display: block !important;
    transition: all 0.2s ease;
    background: transparent !important;
    
    /* Убираем стили главного меню */
    text-shadow: none !important;
    -webkit-text-stroke: 0px !important;
}

/* Ховер внутри дропдауна */
.oxy-pro-menu-list .sub-menu .menu-item a:hover {
    color: #fff !important;
    background-color: #d82e40 !important;
    transform: translateX(5px);
}

/* Убираем слеши внутри дропдауна */
.oxy-pro-menu-list .sub-menu .menu-item::after {
    display: none !important;
}
}

/* =========================================
   ЛОГОТИП ПО ЦЕНТРУ (ТЕЛЕФОН + ПЛАНШЕТ)
   ========================================= */
.oxy-pro-menu-open-container::before {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important;
    width: 100% !important; 
    height: 100vh !important;
    
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    
    background-size: 80% !important; 
    
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================
   "ЕЩЁ" ОТКРЫВАЕТСЯ ПО КЛИКУ НА ТЕКСТ
   ========================================= */
@media (max-width: 991px) {
    
    .oxy-pro-menu-open-container .menu-item-has-children {
        position: relative !important;
    }

    .oxy-pro-menu-dropdown-icon-click-area::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
        cursor: pointer;
    }
}/* Контейнер для карточек */
.ry-cards-grid {
    display: grid;
    /* Три колонки по 1 фракции (абсолютно равные) */
    grid-template-columns: 1fr 1fr 1fr; 
    
    /* Отступы между карточками */
    gap: 30px; 
    
    /* Ограничиваем ширину, чтобы на огромных мониторах не разъезжалось */
    width: 100%;
    max-width: 1600px; 
    
    /* Центруем сам контейнер внутри секции */
    margin: 0 auto; 
    align-items: start;
}

/* Чтобы сами карточки растягивались на всю ширину своей колонки */
.ry-cards-grid > div, 
.ry-cards-grid .ry-card { 
    width: 100%; 
    height: 100%; /* Одинаковая высота */
}

#hero-home{
  margin-top: 0px;
}

#hero-home-mob{
  margin-top: -80px;
}
/* АДАПТИВ (На планшетах и телефонах - в одну колонку) */
@media (max-width: 992px) {
    .ry-cards-grid {
        grid-template-columns: 1fr; /* Одна колонка */
        /*max-width: 500px; /* Чтобы на телефоне не было слишком широко */
    }
}/* =========================================
   ЗАГОЛОВОК СЕКЦИИ (SPLIT STYLE)
   ========================================= */

/* 1. КОНТЕЙНЕР (Выравнивает по краям) */
.ry-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Выравнивает по центру высоты */
    width: 100%;
    margin-bottom: 40px;
}

/* 2. ЗАГОЛОВОК (Слева) */
.ry-sect-title {
    font-family: 'Onder', sans-serif;
    font-size: 20px;
    line-height: 2;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

/* Красный акцент */
.ry-sect-title span {
    color: #d82e40;
}

/* 3. ССЫЛКА (Справа, без кнопки) */
.ry-text-link {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    color: #888; 
    text-decoration: none;
    transition: all 0.3s ease;
    
    display: flex;
    align-items: center;
    gap: 8px; 
}

/* Стрелочка через CSS */
.ry-text-link::after {
    content: "→";
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* ХОВЕР */
.ry-text-link:hover {
    color: #d82e40; /* Становится красной */
}

.ry-text-link:hover::after {
    transform: translateX(5px); /* Стрелка уезжает вправо */
    color: #d82e40;
}

/* =========================================
   АДАПТИВ
   ========================================= */
@media (max-width: 996px) {
    .ry-section-header {
        flex-direction: column; /* Ставим друг под друга */
        align-items: flex-start; /* Выравниваем по левому краю */
        gap: 15px;
    }
    
    .ry-sect-title {
        font-size: 16px; /* Чуть меньше заголовок */
    }
    
    .ry-text-link {
        margin-left: 2px; /* Небольшая коррекция */
        color: #d82e40; /* На мобильных лучше сразу показать цвет, ховера нет */
        font-size: 14px;
    }
}

/* =========================================
   ID Репитера: #_dynamic_list-23-2239
   ========================================= */

/* 1. СЕТКА (GRID) */
#_dynamic_list-23-2239 {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    grid-template-rows: 380px 380px !important;
    gap: 20px !important;
    grid-template-areas: 
        "big small1" 
        "big small2" !important;
    
    width: 100% !important;
    flex-direction: unset !important;
    justify-content: unset !important;
}

#_dynamic_list-23-2239 > div {
    margin: 0 !important; padding: 0 !important;
    width: 100% !important; height: 100% !important;
}

#_dynamic_list-23-2239 > div:nth-child(1) { grid-area: big !important; }
#_dynamic_list-23-2239 > div:nth-child(2) { grid-area: small1 !important; }
#_dynamic_list-23-2239 > div:nth-child(3) { grid-area: small2 !important; }


/* =========================================
   2. КАРТОЧКА
   ========================================= */

#_dynamic_list-23-2239 .ry-news-card {
    position: relative !important; /* Обрезает ядерную ссылку */
    overflow: hidden !important;   /* ВАЖНО: Без этого ссылка вылезет на соседей */
    
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important; height: 100% !important;
    background: #0b0b0b !important;
    border: 1px solid #222 !important;
    transition: border-color 0.3s ease !important;
    align-items: flex-start !important;
}

#_dynamic_list-23-2239 .ry-news-card:hover {
    border-color: #d82e40 !important;
}

/* КАРТИНКА */
#_dynamic_list-23-2239 .ry-news-thumb {
    display: block !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important; position: relative !important;
    /* Убираем overflow hidden отсюда, чтобы не мешал слоям, режем на уровне карты */
    flex-shrink: 0 !important;
}

#_dynamic_list-23-2239 .ry-news-thumb img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

#_dynamic_list-23-2239 .ry-news-card:hover .ry-news-thumb img {
    transform: scale(1.08) !important;
}

/* КОНТЕНТ */
#_dynamic_list-23-2239 .ry-news-content {
    padding: 20px !important;
    display: flex !important; flex-direction: column !important;
    z-index: 10 !important;
    width: 100% !important;
    align-items: flex-start !important;
    /* Убираем pointer-events манипуляции, ссылка сама справится */
}

/* 3. ЯДЕРНАЯ ССЫЛКА (FIX ДЛЯ БОЛЬШОЙ КАРТЫ) */

#_dynamic_list-23-2239 .ry-news-title a {
    color: #fff !important;
    font-family: 'Onder', sans-serif !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    transition: color 0.3s ease !important;
    /* position: static !important; НЕЛЬЗЯ static, иначе after не прилипнет */
}

/* ЭТО ГЛАВНЫЙ FIX: */
#_dynamic_list-23-2239 .ry-news-title a::after {
    content: "";
    position: absolute;
    /* Делаем область клика ГИГАНТСКОЙ, чтобы она вылезла из подвала наверх */
    top: -500% !important; 
    left: -500% !important; 
    width: 1000% !important; 
    height: 1000% !important;
    z-index: 100; /* Поверх всего */
}

#_dynamic_list-23-2239 .ry-news-card:hover .ry-news-title a {
    color: #d82e40 !important;
}

/* =========================================
   МЕТА-ДАННЫЕ: ДАТА + КАТЕГОРИЯ
   ========================================= */

/* 1. ОБЕРТКА (Держит дату и бейдж в одну линию) */
#_dynamic_list-23-2239 .ry-meta-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important; /* Отступ до заголовка */
    z-index: 12 !important;
    position: relative !important;
    pointer-events: none !important; /* ВАЖНО: пропускает клик к твоей ядерной ссылке */
}

/* 2. ДАТА (Слегка корректируем твой текущий класс) */
#_dynamic_list-23-2239 .ry-news-date {
    font-family: 'Unbounded', sans-serif !important;
    font-size: 10px !important; 
    color: #aaa !important;
    margin: 0 !important; /* Убираем нижний отступ, им управляет wrapper */
    line-height: 1 !important;
}

/* 3. БЕЙДЖ КАТЕГОРИИ (Glassmorphism) */
#_dynamic_list-23-2239 .ry-category-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    background: rgba(216, 46, 64, 0.1) !important; 
    border: 1px solid rgba(216, 46, 64, 0.3) !important; 
    color: #d82e40 !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    line-height: 1 !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 0 !important;
}

/* Убиваем синюю ссылку и прозрачность для мыши (чтобы работал клик по карточке) */
#_dynamic_list-23-2239 .ry-category-badge a {
    color: #d82e40 !important;
    text-decoration: none !important;
    pointer-events: none !important;
}


/* =========================================
   4. СПЕЦИФИКА
   ========================================= */

/* --- БОЛЬШАЯ (СЛЕВА) --- */
#_dynamic_list-23-2239 > div:nth-child(1) .ry-news-thumb {
    position: absolute !important; top: 0; left: 0; height: 100% !important; 
    z-index: 0 !important;
}

/* Градиент */
#_dynamic_list-23-2239 > div:nth-child(1) .ry-news-thumb::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.1) 50%) !important; 
    z-index: 1 !important;
}

/* Контент */
#_dynamic_list-23-2239 > div:nth-child(1) .ry-news-content {
    position: absolute !important; bottom: 0; left: 0;
    justify-content: flex-end !important; padding-bottom: 10px !important;
    background: transparent !important; 
    z-index: 20 !important; 
}

#_dynamic_list-23-2239 > div:nth-child(1) .ry-news-title {
    font-size: 14px !important; margin-bottom: 10px !important;
}


/* --- МАЛЕНЬКИЕ (СПРАВА) --- */
#_dynamic_list-23-2239 > div:not(:nth-child(1)) .ry-news-thumb {
    height: 100% !important; position: absolute !important; top: 0; left: 0; 
    z-index: 0 !important;
}
#_dynamic_list-23-2239 > div:not(:nth-child(1)) .ry-news-thumb::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 70%) !important; 
    z-index: 1 !important;
}
#_dynamic_list-23-2239 > div:not(:nth-child(1)) .ry-news-content {
    flex-grow: 1 !important; justify-content: flex-end !important;
    background: transparent !important; position: relative; 
    z-index: 20 !important;
}
#_dynamic_list-23-2239 > div:not(:nth-child(1)) .ry-news-title {
    font-size: 8px !important;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    #_dynamic_list-23-2239 {
        display: flex !important; flex-direction: column !important; height: auto !important;
    }
    #_dynamic_list-23-2239 > div {
        min-height: 450px !important;
    }
    #_dynamic_list-23-2239 > div:nth-child(1) .ry-news-title {
    font-size: 10px !important; margin-bottom: 10px !important;
    }
    #_dynamic_list-23-2239 .oxy-repeater-pages-wrap{
      display:none;
    }
}/* =========================================
   ВИДЕО-ВИДЖЕТ (YOUTUBE STYLE 16:9)
   ========================================= */

/* 1. КОНТЕЙНЕР РЕПИТЕРА */
#_dynamic_list-198-2239 { 
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important; /* Тянемся за соседом (таблицей) */
}

/* 2. САМА КАРТОЧКА */
.ry-video-card {
    display: flex !important;
    flex-direction: column !important; /* Этажи: Картинка сверху, Текст снизу */
    width: 100% !important;
    height: 100% !important;
    
    background: #0b0b0b !important;
    border: 1px solid #222 !important;
    overflow: hidden !important;
    transition: border-color 0.3s ease !important;
    position: relative !important;
}

.ry-video-card:hover {
    border-color: #d82e40 !important;
}

/* 3. КАРТИНКА (СТРОГО 16:9) */
.ry-video-thumb {
    position: relative !important;
    width: 100% !important;
    /* Магия: заставляем блок всегда держать пропорцию 16:9 */
    aspect-ratio: 16 / 9 !important; 
    height: auto !important;
    flex-shrink: 0 !important; /* Запрещаем сжиматься */
    z-index: 1 !important;
}

.ry-video-thumb img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; /* Заполняет 16:9, ничего важного не обрежет */
    display: block !important;
}

/* Затемнение только на картинке */
.ry-video-thumb::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3) !important; /* Легкое затемнение */
    transition: background 0.3s ease !important;
}

.ry-video-card:hover .ry-video-thumb::after {
    background: rgba(0,0,0,0.1) !important; /* Светлеет при наведении */
}


/* 4. КНОПКА PLAY (По центру картинки) */
.ry-play-icon {
    position: absolute !important;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    font-size: 50px !important;
    color: #fff !important;
    opacity: 0.9;
    transition: all 0.3s ease !important;
    pointer-events: none; /* Пропускаем клик */
}

.ry-video-card:hover .ry-play-icon {
    color: #d82e40 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}


/* 5. КОНТЕНТ (ЧЕРНЫЙ ПОДВАЛ) */
.ry-video-content {
    position: relative !important;
    flex-grow: 1 !important; /* ВАЖНО: Растягивается до самого низа карточки */
    
    background: #0b0b0b !important; /* Черный фон текста */
    padding: 25px 25px 10px 25px !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Текст по центру высоты подвала */
    align-items: flex-start !important;
    
    border-top: 1px solid #1a1a1a !important; /* Разделитель */
}

/* ЗАГОЛОВОК */
.ry-video-title a {
    color: #fff !important;
    font-family: 'Onder', sans-serif !important;
    font-size: 10px !important;
    line-height: 2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

/* Растянутая ссылка (Кликается вся карточка) */
.ry-video-title a::after {
    content: ""; position: absolute;
    top: -500%; left: -500%; width: 1000%; height: 1000%;
    z-index: 50;
}

.ry-video-card:hover .ry-video-title a {
    color: #d82e40 !important;
}

/* ДАТА */
.ry-video-date {
    font-family: 'Unbounded', sans-serif !important;
    font-size: 10px !important; color: #888 !important;
    margin-bottom: 12px !important;
    pointer-events: none;
}

/* УБИРАЕМ ОТСТУПЫ У ТАБЛИЦЫ */
.ry-table-col iframe,
.ry-table-col table,
.ry-table-col .wp-block-table,
.ry-table-col p {
    margin-bottom: 0 !important;
}

/* Если шорткод создает лишний контейнер */
.ry-table-col > div {
    margin-bottom: 0 !important;
}

@media (max-width:768px){
  .ry-video-title a {
    font-size: 8px !important;
  }
}/* =========================================
   СЕКЦИЯ ФОТО: СЕТКА 1 (СЛЕВА) + 4 (СПРАВА)
   ID Репитера: #repeater-photo-id
   ========================================= */

/* 1. НАСТРОЙКА ХИТРОЙ СЕТКИ */
#_dynamic_list-281-2239 {
    display: grid !important;
    /* Три колонки: Левая широкая (2 части), правые две поуже (по 1 части) */
    grid-template-columns: 2fr 1fr 1fr !important;
    /* Два ряда фиксированной высоты (например, по 250px) */
    grid-template-rows: 250px 250px !important;
    gap: 20px !important;
    
    width: 100% !important;
    flex-direction: unset !important; /* Сброс оксиджена */
}

/* Сброс отступов у элементов репитера */
#_dynamic_list-281-2239 > div {
    margin: 0 !important; padding: 0 !important;
    width: 100% !important; height: 100% !important;
}

/* --- МАГИЯ РАСКЛАДКИ --- */

/* ПЕРВЫЙ ЭЛЕМЕНТ (БОЛЬШОЙ СЛЕВА) */
/* Занимает 1-ю колонку и растягивается на 2 ряда вниз */
#_dynamic_list-281-2239 > div:nth-child(1) {
    grid-column: 1 / span 1 !important;
    grid-row: 1 / span 2 !important;
}

/* ОСТАЛЬНЫЕ (2,3,4,5) встанут автоматом в правые колонки квадратом 2x2 */


/* =========================================
   2. СТИЛИЗАЦИЯ КАРТОЧКИ (Единый стиль)
   ========================================= */

.ry-photo-card {
    position: relative !important;
    display: flex !important; flex-direction: column !important;
    width: 100% !important; height: 100% !important;
    background: #0b0b0b !important;
    border: 1px solid #222 !important;
    transition: border-color 0.3s ease !important;
    overflow: hidden !important;
}

/* Красная рамка при наведении */
.ry-photo-card:hover {
    border-color: #d82e40 !important;
}

/* КАРТИНКА (ФОН) */
.ry-photo-thumb {
    position: absolute !important; top: 0; left: 0;
    width: 100% !important; height: 100% !important;
    z-index: 0 !important;
}

.ry-photo-thumb img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; object-position: center center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Зум при наведении */
.ry-photo-card:hover .ry-photo-thumb img {
    transform: scale(1.08) !important;
}

/* Затемнение (Градиент снизу) */
.ry-photo-thumb::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%) !important;
    z-index: 1 !important;
    transition: opacity 0.3s ease !important;
}
/* При наведении чуть светлее 
.ry-photo-card:hover .ry-photo-thumb::after {
   opacity: 0.8 !important;
} */

/* КОНТЕНТ (ТЕКСТ ВНИЗУ) */
.ry-photo-content {
    position: absolute !important; bottom: 0; left: 0; width: 100%;
    padding: 20px !important;
    z-index: 10 !important;
    display: flex !important; flex-direction: column !important;
    align-items: flex-start !important;
    pointer-events: none; /* Пропускаем клик к ссылке */
}

/* ЗАГОЛОВОК + РАСТЯНУТАЯ ССЫЛКА */
.ry-photo-title {
    pointer-events: auto !important; /* Включаем клик */
    margin: 0 !important;
}

.ry-photo-title a {
    color: #fff !important; font-family: 'Onder', sans-serif !important;
    text-transform: uppercase !important; text-decoration: none !important;
    line-height: 2 !important;
    transition: color 0.3s ease !important;
}

/* Трюк: растягиваем ссылку на всю карточку */
.ry-photo-title a::after {
    content: ""; position: absolute;
    top: -500%; left: -500%; width: 1000%; height: 1000%;
    z-index: 100;
}

.ry-photo-card:hover .ry-photo-title a {
    color: #d82e40 !important;
}

/* --- СПЕЦИФИКА РАЗМЕРОВ ТЕКСТА --- */

/* Для большой карточки (1-я) */
#_dynamic_list-281-2239 > div:nth-child(1) .ry-photo-title a {
    font-size: 14px !important;
}
#_dynamic_list-281-2239 > div:nth-child(1) .ry-photo-content {
     padding: 30px !important; /* Отступы побольше */
}

/* Для маленьких карточек (остальные) */
#_dynamic_list-281-2239 > div:not(:nth-child(1)) .ry-photo-title a {
    font-size: 8px !important;
}

/* =========================================
   АДАПТИВ (ПЛАНШЕТ И ТЕЛЕФОН)
   ========================================= */
@media (max-width: 992px) {
     #_dynamic_list-281-2239 {
        /* На планшете перестраиваем в 2 колонки: Большая сверху, 4 снизу */
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 400px 300px 300px !important; /* 1 ряд большой, 2 маленьких */
    }
    /* 1-й элемент на всю ширину */
    #_dynamic_list-281-2239 > div:nth-child(1) {
        grid-column: 1 / span 2 !important;
        grid-row: 1 / span 1 !important;
    }
}

@media (max-width: 768px) {
    #_dynamic_list-281-2239 {
        /* На телефоне всё в один столбик */
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }
    #_dynamic_list-281-2239 > div {
        height: 300px !important; /* Фиксированная высота для всех на мобиле */
    }
    #_dynamic_list-281-2239 > div:nth-child(1) .ry-photo-title a {
      font-size: 10px !important;
    }
    #_dynamic_list-281-2239 > div:not(:nth-child(1)) .ry-photo-title a {
    font-size: 8px !important;
    }
}
/* =========================================
   ГЛАВНАЯ СЕКЦИЯ СПОНСОРОВ
   ========================================= */
.ry-sponsors-section {
    background-color: #080808;
    border-top: 1px solid #222;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
}

/* Общий стиль для всех картинок (Ч/Б -> Цвет) */
.ry-sponsors-section img {
    opacity: 0.7;
    transition: all 0.3s ease;
    /* Запрет перетаскивания картинок мышкой */
    -webkit-user-drag: none;
    user-select: none;
}

/* При наведении на любой блок спонсора картинка становится цветной */
.ry-sponsor-item:hover img,
.ry-club-slide:hover img {
    opacity: 1;
    transform: scale(1.05); /* Легкое увеличение */
}


/* =========================================
   ЧАСТЬ 1: ЛИГА (ВЕРХНИЙ РЯД) - РЕЗИНОВЫЙ
   ========================================= */

.ry-league-row {
    width: 100%;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1a1a1a;
}

/* --- ДЕСКТОП (ОДНА СТРОКА, СЖИМАЕТСЯ) --- */
.ry-league-row .oxy-dynamic-list {
    display: flex;
    
    /* ГЛАВНОЕ: Запрещаем перенос. Только одна строка. */
    flex-wrap: nowrap !important; 
    
    justify-content: center; 
    align-items: center;
    
    /* Используем % для отступов, чтобы они тоже "дышали" */
    gap: 4%; 
    width: 100%;
}

/* Обёртка одного логотипа */
.ry-sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;

    /* МАГИЯ СЖАТИЯ: */
    flex-grow: 0;    /* Не растягиваться шире, чем нужно */
    flex-shrink: 1;  /* РАЗРЕШАЕМ СЖИМАТЬСЯ, если места мало */
    flex-basis: auto; /* Базовый размер по контенту */
    
    /* Ограничиваем максимальную ширину одного блока на больших экранах,
       чтобы они не становились гигантскими, если их мало. 
       15% гарантирует, что влезет минимум 6 штук. */
    max-width: 15%; 
}

/* Сама картинка */
.ry-sponsor-item img {
    /* Картинка подстраивается под ширину своего сжатого родителя */
    width: 100%; 
    height: auto;
    
    object-fit: contain;
    
    /* Но не даем ей стать выше 65px, чтобы не рвать высоту строки */
    max-height: 65px; 
}


/* --- АДАПТИВ ЛИГИ (ПЛАНШЕТЫ И ТЕЛЕФОНЫ) --- */
/* На экранах уже 992px (ноутбуки/планшеты) включаем перенос */
@media (max-width: 992px) {
    .ry-league-row .oxy-dynamic-list {
        /* Возвращаем перенос на новую строку */
        flex-wrap: wrap !important; 
        gap: 20px; /* Фиксированный отступ */
    }
    
    .ry-sponsor-item {
        /* Сбрасываем ограничения ПК */
        max-width: none; 
        flex-basis: auto;
        flex-shrink: 0; /* На мобиле сжиматься не надо */
    }

    .ry-sponsor-item img {
        height: 50px; /* Фиксированная высота на планшете */
        width: auto;  /* Ширина авто */
    }
    
    /* На совсем мелких телефонах - строгая сетка */
    @media (max-width: 768px) {
        .ry-league-row .oxy-dynamic-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 колонки */
            gap: 15px;
            justify-items: center;
        }
        .ry-sponsor-item img {
            height: auto;
            max-height: 40px; /* Логотипы помельче */
            max-width: 100%;
        }
    }
}


/* =========================================
   ЧАСТЬ 2: КЛУБ (OXYEXTRAS CAROUSEL)
   ========================================= */

/* 1. ЯЧЕЙКА (Увеличили высоту, чтобы влезли крупные квадраты) */
.ry-club-slide {
    height: 110px; /* Было 110px. Даем место для роста вверх */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Отступы по бокам важны, чтобы широкие лого не слипались */
    padding: 0 25px; 
    box-sizing: border-box;
    /* border: 1px dashed #333; /* Включи, если хочешь видеть границы ячеек */
}

/* 2. ССЫЛКА */
.ry-club-slide a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* 3. КАРТИНКА (ГЛАВНЫЙ ФИКС) */
.ry-sponsor-img {
    /* ЛОГИКА ELEMENTOR:
       1. Разрешаем картинке быть высокой (до 90px). Это спасет "Абзац".
       2. Но ограничиваем ширину (100%). Это сдержит "КанцПарк".
    */
    
    max-height: 90px !important; /* Увеличили с 60 до 90. Квадраты вырастут! */
    max-width: 100% !important;  /* Ширина ограничена ячейкой */
    
    width: auto !important;
    height: auto !important;
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Ховер */
.ry-club-slide:hover .ry-sponsor-img {
    opacity: 1;
    transform: scale(1.1);
}

/* АДАПТИВ (ТЕЛЕФОН) */
@media (max-width: 768px) {
    .ry-club-slide {
        height: 100px; /* На телефоне поменьше */
        padding: 0 15px;
    }
    .ry-sponsor-img {
        max-height: 60px !important; /* На телефоне квадраты тоже покрупнее */
    }
}/* =========================================
   FOOTER: FINAL PRO (UPDATED)
   ========================================= */

/* 1. ГЛАВНАЯ СЕКЦИЯ */
.ry-footer {
    background-color: #0B0B0B;
    border-top: 2px solid #d82e40; 
    padding-top: 30px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* ФОНОВЫЙ ЛОГОТИП (WATERMARK) */
.ry-footer::before {
    content: "";
    position: absolute;
    top: 50%; right: -5%;
    transform: translateY(-50%);
    width: 600px; height: 600px;
    background-image: url('https://rubin-yalta.ru/storage/raznoe/r13.webp');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.03; /* Еле заметный */
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%);
}
.ry-footer > .ct-section-inner-wrap { position: relative; z-index: 2; }


/* 2. ТИПОГРАФИКА И ОПИСАНИЕ (ИСПРАВЛЕНО) */
.ry-footer-desc {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-top: 25px;
    margin-bottom: 35px;
    
    /* ФИКС: Разрешаем тексту занимать почти всю ширину колонки */
    max-width: 90%; 
    width: 100%;
}


/* 3. ЗАГОЛОВКИ (ONDER) */
.ry-footer-title {
    font-family: 'Onder', sans-serif;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}


/* 4. ССЫЛКИ И КОНТАКТЫ */
.ry-footer-menu a,
.ry-contact-list a,
.ry-contact-list div { /* div на случай если там текст без ссылки */
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #999;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

/* Эффект при наведении */
.ry-footer-menu a:hover,
.ry-contact-list a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(216, 46, 64, 0.6);
    transform: translateX(10px);
}
.ry-footer-menu a::before {
    content: ""; position: absolute; left: -15px; top: 50%;
    transform: translateY(-50%); width: 0; height: 2px;
    background-color: #d82e40; transition: width 0.3s ease; opacity: 0;
}
.ry-footer-menu a:hover::before { width: 8px; opacity: 1; }


/* 5. СОЦСЕТИ (СТИЛЬ HEADER - ПРОЗРАЧНЫЕ КРУГИ) */
.ry-footer-socials {
    display: flex;
    flex-direction: row;
    gap: 15px; /* Отступ между кружками */
    align-items: center;
}

.ry-soc-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Размер кружка */
    width: 45px;
    height: 45px;
    
    /* СТИЛЬ: Прозрачный с тонкой рамкой */
    background: transparent !important; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 50%;
    
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.ry-soc-btn .ct-fancy-icon {
    font-size: 18px;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Ховер эффект (Красная заливка) */
.ry-soc-btn:hover {
    background-color: #d82e40 !important;
    border-color: #d82e40;
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.6); /* Свечение */
    transform: translateY(-3px);
}


/* 6. НИЖНИЙ КОПИРАЙТ */
.ry-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    display: flex; justify-content: space-between;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px; color: #555;
    text-transform: uppercase; letter-spacing: 1px;
}
.ry-copyright a { color: #777; text-decoration: none; transition: 0.3s; }
.ry-copyright a:hover { color: #d82e40; }


/* АДАПТИВНОСТЬ */
@media (max-width: 991px) {
    .ry-footer-title { font-size: 18px;}
    .ry-footer .ct-columns { display: flex; flex-direction: column; gap: 50px; }
    .ry-copyright { flex-direction: column; gap: 15px; text-align: center; align-items: center; }
}/* ========================
   PAGE HERO (ШАПКА СТРАНИЦЫ)
   ======================== */

.ry-page-hero {
    background-color: #0B0B0B; /* Черный фон */
    
    /* Можно добавить фоновую текстуру или логотип полупрозрачный */
    background-image: linear-gradient(to bottom, rgba(11,11,11,0.8), #0B0B0B), 
                      url('https://rubin-yalta.ru/storage/raznoe/r13.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Параллакс эффект */
    
    padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1a1a1a;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ЗАГОЛОВОК СТРАНИЦЫ (H1) */
.ry-page-hero h1 {
    font-family: 'Onder', sans-serif;
    font-size: 42px; /* Крупно */
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 2;
    
    /* Твой фирменный стиль текста */
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

/* ДЕКОРАТИВНАЯ ЛИНИЯ ПОД ЗАГОЛОВКОМ */
.ry-page-hero h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background-color: #d82e40; /* Красный */
    margin: 10px auto 0 auto; /* По центру */
}

@media (max-width: 992px){
  .ry-page-hero h1{
    font-size: 28px;
  }
}

@media (max-width: 768px){
  .ry-page-hero h1{
    font-size: 18px;
  }
}

/* =========================================
   MOBILE FIXES (NEWS PAGE)
   ========================================= */

@media (max-width: 768px) {
    .ry-page-hero {
        background-image: linear-gradient(to bottom, rgba(11,11,11,0.8), #0B0B0B), 
                      url('https://rubin-yalta.ru/storage/raznoe/krasnyj-rya-crop-ol-scaled.png');
        /* Отключаем параллакс, который мылит картинку */
        background-attachment: scroll !important;     
        /* Позиционируем картинку сверху по центру */
        background-position: center top !important;      
        /* Убеждаемся, что она покрывает блок, но не зумится дико */
        background-size: cover !important; 
    }

}
/* =========================================
   ГЛОБАЛЬНЫЙ ФОН САЙТА
   ========================================= */
html {
    background-color: #0B0B0B;
}

body {
    background-color: #0B0B0B;
    color: #ffffff;
    min-height: 100vh; /* Гарантируем, что сайт всегда во весь экран */
}
/* =========================================
   Media GRID: CARD STYLE
   ========================================= */

/* 1. ОБЩАЯ КАРТОЧКА (ЕСТЕСТВЕННАЯ ВЫСОТА) */
.ry-media-card {
    display: flex;
    flex-direction: column;
    
    /* ГЛАВНОЕ ИЗМЕНЕНИЕ: */
    height: auto !important; /* Высота зависит от контента */
    align-self: start !important; /* Не растягиваться по высоте соседа! */
    
    background-color: #141414;
    border: 1px solid #222;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* Ховер на карточку */
.ry-media-card:hover {
    border-color: #d82e40;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 2. КАРТИНКА */
.ry-media-card-img {
    width: 100%;
    height: auto; 
    max-height: 600px;
    object-fit: cover; 
    filter: grayscale(10%);
    transition: all 0.5s ease;
    display: block;
}

.ry-media-card:hover .ry-media-card-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* 3. КОНТЕНТ СНИЗУ (ПОДЛОЖКА) */
.ry-media-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    
    /* Убираем растягивание */
    flex-grow: 0; 
    
    background-color: #141414;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
}



/* 4. ДАТА (МЕТА) */
.ry-media-meta {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}


/* 5. ЗАГОЛОВОК */
.ry-media-title {
    font-family: 'Unbounded', sans-serif; /* Для чтения лучше Unbounded */
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    
    /* Ограничиваем заголовок 3 строками (чтобы карточки не плясали) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ry-media-card:hover .ry-media-title {
    color: #d82e40; /* Заголовок краснеет */
}


/* 6. КНОПКА "ЗАГРУЗИТЬ ЕЩЕ" (OxyExtras) */
/* Класс кнопки обычно .oxy-load-more-button, проверь в браузере */
.oxy-load-more-button {
    margin-top: 40px !important;
    background-color: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-family: 'Unbounded', sans-serif !important;
    text-transform: uppercase;
    font-size: 14px !important;
    padding: 15px 40px !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    width: auto !important;
    display: inline-block !important;
}

.oxy-load-more-button:hover {
    background-color: #d82e40 !important;
    border-color: #d82e40 !important;
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.4);
}

/* Центруем кнопку */
.oxy-repeater-infinite-scroll {
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

/* СТИЛЬ КНОПКИ "ЗАГРУЗИТЬ ЕЩЕ" */
.load-more {
    background-color: transparent !important; /* Прозрачный фон */
    border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Тонкая серая рамка */
    color: #fff !important;
    
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 1px;
    
    padding: 15px 40px !important;
    margin-top: 40px !important; /* Отступ от новостей */
    cursor: pointer;
    transition: all 0.3s ease !important;
    
    /* Центруем кнопку, если она не по центру */
    display: block !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Эффект при наведении */
.load-more:hover {
    background-color: #d82e40 !important; /* Красная заливка */
    border-color: #d82e40 !important;
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.4); /* Свечение */
    transform: translateY(-3px); /* Легкий подскок */
}

/* Скрываем кнопку-соседа, когда посты кончились */
.oxy-repeater-infinite-scroll-ended ~ .load-more {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ФИКС: Если плагин OxyExtras скрыл кнопку, мы подтверждаем это */
.load-more[style*="display: none"] {
    display: none !important;
}

/* На всякий случай, если плагин добавляет класс контейнеру */
.oxy-repeater-infinite-scroll-ended .load-more,
.oxy-repeater-infinite-scroll-ended ~ .load-more {
    display: none !important;
}

/* =========================================
   MOBILE FIXES (media PAGE)
   ========================================= */

@media (max-width: 768px) {

    /* ТУЛБАР (ВКЛАДКИ И ФИЛЬТР) */
    .ry-toolbar-container {
        flex-direction: column !important; /* Строго вертикально */
        align-items: stretch !important; /* Растягиваем детей на всю ширину */
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    /* Вкладки (Новости, Видео...) */
    .ry-tabs-wrapper {
        justify-content: space-between !important; /* Раскидываем их равномерно */
        width: 100% !important;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Линия-разделитель под вкладками */
        padding-bottom: 15px;
    }
    
    .ry-tab-link {
        font-size: 12px !important; /* Чуть мельче, чтобы влезли "Галерея" */
        flex-grow: 1; /* Чтобы нажимать было удобно (расширяем область клика) */
        text-align: center;
    }

    /* ФИЛЬТР ДАТЫ (СЕЛЕКТ) */
    .ry-filters-wrapper, 
    .ry-select-group {
        width: 100% !important; /* Растягиваем на всю ширину экрана */
    }

    .ry-filter-select {
        width: 100% !important;
        padding: 15px !important; /* Делаем жирнее для пальца */
        font-size: 13px !important;
        background-color: #111 !important; /* Чуть светлее фона, чтобы было видно блок */
        border-color: #333 !important;
    }
    
    /* Стрелочка фильтра */
    .ry-select-arrow {
        right: 20px !important; /* Чуть дальше от края */
    }
}

/* =========================================
   КНОПКА PLAY (ОРИГИНАЛ С ГЛАВНОЙ)
   ========================================= */

/* 1. Обязательно для родителя, чтобы иконка была по центру НЕГО */
.ry-thumb-wrapper {
    position: relative; 
    overflow: hidden; /* Чтобы зум картинки не вылезал */
}

/* 2. Сама иконка (Твой код) */
.ry-play-icon {
    position: absolute !important;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    
    font-size: 50px !important; /* Размер иконки */
    color: #fff !important;
    opacity: 0.9;
    
    transition: all 0.3s ease !important;
    pointer-events: none; /* Клик проходит сквозь иконку к ссылке */
}

/* 3. Эффект при наведении (Адаптировано под текущую карточку) */
.ry-media-card:hover .ry-play-icon {
    color: #d82e40 !important; /* Краснеет */
    transform: translate(-50%, -50%) scale(1.1) !important; /* Растет */
}

/* 4. Зум картинки на фоне (оставляем) */
.ry-news-card:hover .ry-news-card-img {
    transform: scale(1.05);
}


/* =========================================
   СТИЛИ СТАТЬИ (SINGLE POST)
   ========================================= */

/* 1. ЗАГОЛОВОК (ONDER) */
.ry-single-hero h1 {
    font-family: 'Onder', sans-serif !important; /* Убедись, что имя шрифта точное */
    font-weight: 400; /* Обычно акцидентные шрифты жирные сами по себе */
    letter-spacing: normal;
}

/* 2. ОСНОВНОЙ ТЕКСТ (UNBOUNDED - АДАПТАЦИЯ) */
.ry-article-body {
    /* Дизайнер просил Unbounded */
    font-family: 'Unbounded', sans-serif !important;
    
    /* НАСТРОЙКИ ЧИТАБЕЛЬНОСТИ */
    font-weight: 300 !important; /* Используем тонкое начертание (Light), иначе будет жирная каша */
    font-size: 16px;
    line-height: 1.8 !important; /* Увеличиваем высоту строки, Unbounded требует воздуха */
    letter-spacing: 0.3px; /* Чуть разряжаем */
    color: #e0e0e0;
}

/* Заголовки внутри статьи */
.ry-article-body h2, 
.ry-article-body h3 {
    font-family: 'Onder', sans-serif !important; /* Можно и тут Onder для красоты */
    color: #fff;
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.ry-article-body h2 { font-size: 22px; }
.ry-article-body h3 { font-size: 16px; }

/* Параграфы */
.ry-article-body p {
    margin-bottom: 24px; /* Большие отступы между абзацами */
}

/* =========================================
   ССЫЛКИ В ТЕКСТЕ СТАТЬИ
   ========================================= */

.ry-article-body a {
    color: #d82e40 !important; /* Наш фирменный красный */
    text-decoration: none; /* Убираем дефолтное подчеркивание */
    font-weight: 500; 
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

/* Скрытая линия для анимации */
.ry-article-body a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px; /* Толщина линии */
    bottom: 0;
    left: 0;
    background-color: #ffffff; /* Линия будет белой */
    
    /* Изначально прячем линию полностью (0 вместо 0.3) */
    transform: scaleX(0); 
    transform-origin: left; /* Точка старта анимации - левый край */
    transition: transform 0.3s ease;
}

/* Эффект при наведении (Ховер) */
.ry-article-body a:hover {
    color: #ffffff !important; /* Текст тоже становится белым */
}

/* Линия выезжает на 100% */
.ry-article-body a:hover::after {
    transform: scaleX(1); 
}

/* =========================================
   КАРТОЧКИ СТАТИСТИКИ ИГРОКА (Блок-стиль)
   ========================================= */

/* 1. Превращаем список в сетку (грид) */
.ry-article-body ul.is-style-ry-player-stats {
    list-style: none !important; 
    padding: 0 !important;
    margin: 40px 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
}

/* 2. Оформляем каждый пункт как стильную карточку */
.ry-article-body ul.is-style-ry-player-stats li {
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-left: 3px solid #d82e40; 
    padding: 15px 20px;
    margin-bottom: 0 !important; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3 !important;
}

/* 3. Стилизуем ЖИРНЫЙ текст как технический заголовок */
.ry-article-body ul.is-style-ry-player-stats li strong {
    font-size: 11px;
    color: #d82e40; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 6px; 
}

/* Если карточек нечетное количество (3, 5...), последняя занимает всю ширину */
.ry-article-body ul.is-style-ry-player-stats li:last-child:nth-child(odd) {
    grid-column: 1 / -1; /* Растягиваем от первого до последнего края сетки */
}

/* 4. Адаптив: на телефонах выстраиваем в одну колонку */
@media (max-width: 600px) {
    .ry-article-body ul.is-style-ry-player-stats {
        grid-template-columns: 1fr; 
    }
}

/* Цитаты (Blockquote) - Сделаем стильно */
.ry-article-body blockquote {
    border-left: 4px solid #d82e40;
    padding-left: 20px;
    margin: 40px 0;
    font-style: italic;
    color: #fff;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* АТМОСФЕРНЫЙ ФОН */
.ry-single-hero {
    position: relative;
    overflow: hidden; /* Чтобы свечение не вылезало */
    /* Смешиваем черный фон с красным пятном справа */
    background: radial-gradient(circle at 70% 50%, rgba(216, 46, 64, 0.15) 0%, transparent 60%), #141414 !important;
}

/* ВОДЯНОЙ ЗНАК (ЛОГОТИП) */
.ry-single-hero::before {
    content: "";
    position: absolute;
    /* Располагаем слева, за текстом */
    top: 50%;
    left: -5%; 
    transform: translateY(-50%);
    
    width: 60vh; /* Размер зависит от высоты экрана */
    height: 60vh;
    
    background-image: url('https://rubin-yalta.ru/storage/raznoe/krasnyj-rya-crop-ol-scaled.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    
    opacity: 0.03; /* ОЧЕНЬ прозрачный, едва видно */
    filter: grayscale(100%); /* Делаем ч/б, чтобы не спорил с цветами */
    pointer-events: none;
    z-index: 0;
}

/* Убедись, что текст лежит ПОВЕРХ логотипа */
.ry-single-hero > .ct-section-inner-wrap {
    position: relative;
    z-index: 2;
}

/* БЕЙДЖ КАТЕГОРИИ */
.ry-meta-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(216, 46, 64, 0.1); /* Прозрачный красный фон */
    border: 1px solid rgba(216, 46, 64, 0.3); /* Тонкая рамка */
    color: #d82e40;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px); /* Размытие фона под бейджем */
}

/* ЦВЕТ ССЫЛКИ КАТЕГОРИИ */
.ry-single-hero a {
    color: #d82e40 !important; /* Красный по умолчанию */
    text-decoration: none;
    transition: color 0.3s ease;
}

.ry-single-hero a:hover {
    color: #ffffff !important; /* Белый при наведении */
}

/* =========================================
   САЙДБАР: ГОРИЗОНТАЛЬНЫЕ МИНИАТЮРЫ (FINAL)
   ========================================= */

/* 1. КАРТОЧКА (ОБЕРТКА) */
.ry-sidebar-card {
    display: flex;             /* Обязательно flex */
    flex-direction: row;       /* Строго в ряд */
    align-items: stretch;      /* Растягиваем высоту */
    
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-bottom: 15px;       /* Отступ между карточками */
    text-decoration: none;     /* Убираем подчеркивание ссылок */
    overflow: hidden;          /* Обрезаем всё лишнее */
    min-height: 90px;          /* Минимальная высота */
    
    transition: all 0.3s ease;
}

.ry-sidebar-card:hover {
    border-color: #d82e40;
    background-color: #222;
    transform: translateX(-5px);
}

/* 2. КАРТИНКА (СЛЕВА) */
.ry-sidebar-img {
    width: 90px !important;      /* Фиксированная ширина */
    min-width: 90px !important;  /* Не даем сжиматься */
    height: auto !important;     /* Высота авто (растянется stretch-ем) */
    
    object-fit: cover;
    object-position: top center; /* Лица игроков */
    border-right: 1px solid #2a2a2a;
    display: block;              /* Убираем нижние отступы картинок */
}

/* 3. КОНТЕЙНЕР ТЕКСТА (СПРАВА) */
.ry-sidebar-content {
    flex: 1;               /* Занимает всё оставшееся место */
    min-width: 0;          /* !!! ГЛАВНЫЙ ФИКС: разрешает тексту сжиматься !!! */
    
    padding: 10px 15px;    /* Внутренние отступы */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем по вертикали */
}

/* 4. ДАТА */
.ry-sidebar-date {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    color: #d82e40 !important; /* Принудительно красный */
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1;
}

/* 5. ЗАГОЛОВОК */
.ry-sidebar-title {
    font-family: 'Unbounded', sans-serif; /* Или Onder */
    font-size: 13px;       /* Аккуратный размер */
    font-weight: 400;      /* Не жирный */
    line-height: 1.3;
    color: #ffffff !important; /* Принудительно белый (убираем синий) */
    
    /* Разрешаем перенос слов, если они длинные */
    word-wrap: break-word; 
    white-space: normal;   /* Обязательно разрешаем перенос строк */
}

.ry-sidebar-card:hover .ry-sidebar-title {
    color: #d82e40 !important;
}


/* 4. ЛИПКИЙ САЙДБАР (Только для десктопа) */
@media (min-width: 992px) {
    .ry-sidebar {
        position: -webkit-sticky; /* Для Safari */
        position: sticky;
        top: 120px; /* Отступ от верха экрана, чтобы не прилипал к меню */
        align-self: start; /* Важно для работы sticky во флекс-контейнере */
    }
}

/* Отступ между заголовком сайдбара и репитером */
.ry-sidebar h3 {
    margin-bottom: 25px;
}

/* =========================================
   БАННЕР ПОКУПКИ БИЛЕТОВ (Стеклянная кнопка)
   ========================================= */

/* 1. КОНТЕЙНЕР БАННЕРА */
.ry-ticket-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    background-color: #0b0b0b;
    border: 1px solid #222;
    border-left: 4px solid #d82e40;
    padding: 35px 30px; /* Уменьшили внешние отступы */
    margin: 20px 0;
    gap: 20px; /* Уменьшили расстояние между текстом и кнопкой */
    border-radius: 0 !important; 
    box-sizing: border-box;
}

/* 2. ТЕКСТ ПРИЗЫВА */
.ry-ticket-promo .ry-ticket-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px; /* Чуть компактнее */
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
}

/* 3. КНОПКА (Стиль Glassmorphism + SVG Стрелка) */
.ry-ticket-promo .ry-ticket-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Тот самый стиль бейджа */
    background-color: rgba(216, 46, 64, 0.1) !important; /* Полупрозрачный красный */
    border: 1px solid rgba(216, 46, 64, 0.3) !important; /* Тонкая рамка */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    color: #d82e40 !important; 
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    padding: 14px 30px; /* Компактные отступы внутри кнопки */
    border-radius: 0 !important; 
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Красивая SVG-стрелка */
.ry-ticket-promo .ry-ticket-btn::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background-color: currentColor; /* Иконка всегда цвета текста */
    /* Встроенная SVG (Острая диагональная стрелка в спортивном стиле) */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* 4. HOVER С ЭФФЕКТОМ СВЕЧЕНИЯ И УВЕЛИЧЕНИЯ */
.ry-ticket-promo .ry-ticket-btn:hover {
    background-color: rgba(216, 46, 64, 0.25) !important; /* Чуть плотнее фон */
    border-color: #d82e40 !important;
    color: #ffffff !important;
    
    /* Эффект увеличения на 3% */
    transform: scale(1.03);
    
    /* Красное неоновое свечение */
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.4);
}

/* Стрелка уезжает вправо (чтобы она не конфликтовала со scale, выносим ее отдельно) */
.ry-ticket-promo .ry-ticket-btn:hover::after {
    transform: translateX(4px);
}

/* Стрелка слегка дергается вправо при наведении */
.ry-ticket-promo .ry-ticket-btn:hover::after {
    transform: translateX(4px);
}

/* 5. АДАПТИВ */
@media (max-width: 768px) {
    .ry-ticket-promo {
        padding: 25px 20px;
        gap: 15px;
    }
    
    .ry-ticket-promo .ry-ticket-text {
        font-size: 12px;
    }
    
    .ry-ticket-promo .ry-ticket-btn {
        width: 100%; 
    }
}


/* =========================================
   АДАПТИВ: ОСТАВЛЯЕМ ТОЛЬКО 1 КАТЕГОРИЮ
   ========================================= */

@media (max-width: 768px) {
    /* Скрываем вторую ссылку (и последующие, если вдруг их много) */
    .ry-meta-cat span a:nth-of-type(n+2) {
        display: none !important;
    }

    /* Скрываем запятую, которая идет после первой ссылки */
    .ry-meta-cat span {
        font-size: 0; /* Сжимаем пробелы и запятые */
    }
    
    /* Возвращаем нормальный шрифт для первой ссылки */
    .ry-meta-cat span a:first-of-type {
        display: inline-block !important;
        font-size: 10px; 
    }
    .ry-meta-badge{
      font-size: 10px !important;
      padding: 4px 10px;
    }
}

/* =========================================
   СТИЛИЗАЦИЯ ЛАЙТБОКСА
   ========================================= */

/* 1. Делаем фон (оверлей) темным */
.wp-lightbox-overlay .scrim {
    background-color: rgba(11, 11, 11, 0.96) !important; /* Наш темный цвет сайта */
}

/* 2. Красим крестик закрытия в наш фирменный красный */
.wp-lightbox-overlay .close-button {
    fill: #d82e40 !important; /* Встроенный крестик — это SVG, поэтому красим через fill */
    opacity: 1 !important; 
    transition: transform 0.3s ease, fill 0.3s ease !important;
}

/* 3. Эффект при наведении на крестик */
.wp-lightbox-overlay .close-button:hover {
    fill: #ffffff !important; /* При наведении становится белым */
    transform: scale(1.1) !important; /* Чуть увеличивается */
}

/* =========================================
   ГАЛЕРЕЯ: Убираем стандартные отступы WP
   ========================================= */

.wp-block-gallery {
    margin-left: 0 !important;
    margin-right: 0 !important;
    
    /* Оставляем немного воздуха сверху и снизу от текста */
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    
    width: 100% !important; /* Гарантируем, что она растянется на весь контейнер */
}/* =========================================
   СЕТКА ПОХОЖИХ ВИДЕО (YOUTUBE STYLE)
   ========================================= */

/* Эффект зума картинки */
.ry-video-card:hover .ry-thumb-box img {
    opacity: 1;
    transform: scale(1.05);
}

/* 4. ИКОНКА PLAY (По центру миниатюры) */
.ry-small-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px; /* Размер иконки */
    color: #fff;
    opacity: 0.8;
    background: rgba(0,0,0,0.5); /* Полупрозрачный круг */
    border-radius: 50%;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 2;
}

.ry-video-card:hover .ry-small-play {
    background: #d82e40; /* Краснеет при наведении */
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* 5. ТЕКСТ */
.ry-card-body {
    padding: 15px;
}

.ry-card-date {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    color: #888;
    margin-bottom: 5px;
}

.ry-card-title {
    font-family: 'Onder', sans-serif; /* Или Unbounded */
    font-size: 10px;
    line-height: 1.7;
    color: #fff;
    
    /* Обрезка заголовка до 2 строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ry-video-card:hover .ry-card-title {
    color: #d82e40;
}
/* =========================================
   ГАЛЕРЕЯ: БЕЗ КОНФЛИКТОВ (Masonry Fix)
   ========================================= */

/* 1. СЦЕНАРИЙ ПОЯВЛЕНИЯ (Без transform!) */
/* Используем margin-top вместо transform, чтобы освободить свойство для зума */
@keyframes ryFadeInMove {
    0% {
        opacity: 0;
        margin-top: 30px; /* Имитируем движение снизу */
    }
    100% {
        opacity: 1;
        margin-top: 0; /* Встаем на место */
    }
}

/* 2. НАСТРОЙКА ОБЕРТКИ (Ссылка) */
 .oxy-gallery-item {
    display: block;
    opacity: 0; /* Скрыто изначально */
    
    /* Запускаем анимацию появления */
    animation: ryFadeInMove 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    
    /* Важно для зума: обрезаем картинку, когда она растет */
    overflow: hidden;
    margin-bottom: 20px; /* Отступ между блоками Masonry */
    
    /* Убираем любые конфликты трансформации */
    transform: translateZ(0); 
}

/* 3. НАСТРОЙКА КАРТИНКИ (Зум) */
 .oxy-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    
    /* Плавность ТОЛЬКО для зума */
    transition: transform 0.6s ease !important;
    transform-origin: center center;
    
    /* Начальное состояние */
    transform: scale(1);
    will-change: transform; /* Подсказка браузеру для плавности */
}

/* 4. ХОВЕР ЭФФЕКТ */
 .oxy-gallery-item:hover img {
    transform: scale(1.1); /* Увеличиваем только картинку */
}

/* === 5. ОЧЕРЕДНОСТЬ (POPCORN EFFECT) === */
 .oxy-gallery-item:nth-child(1) { animation-delay: 0.05s; }
 .oxy-gallery-item:nth-child(2) { animation-delay: 0.1s; }
 .oxy-gallery-item:nth-child(3) { animation-delay: 0.15s; }
 .oxy-gallery-item:nth-child(4) { animation-delay: 0.2s; }
 .oxy-gallery-item:nth-child(5) { animation-delay: 0.25s; }
 .oxy-gallery-item:nth-child(6) { animation-delay: 0.3s; }
 .oxy-gallery-item:nth-child(7) { animation-delay: 0.35s; }
 .oxy-gallery-item:nth-child(8) { animation-delay: 0.4s; }
 .oxy-gallery-item:nth-child(9) { animation-delay: 0.45s; }
 .oxy-gallery-item:nth-child(10) { animation-delay: 0.5s; }
/* Остальные появятся вместе */
/* =========================================
   1. ФОН: АТМОСФЕРНОЕ СВЕЧЕНИЕ
   ========================================= */
.ry-league-section {
    position: relative;
    background-color: #050505;
    overflow: hidden;
}
.ry-league-section::before {
    content: ''; position: absolute; bottom: -10%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(216, 46, 64, 0.25) 0%, transparent 70%);
    filter: blur(60px); z-index: 0; pointer-events: none;
}
.ry-league-section::after {
    content: ''; position: absolute; top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(68, 17, 85, 0.15) 0%, transparent 70%);
    filter: blur(80px); z-index: 0; pointer-events: none;
}

/* =========================================
   2. ЕДИНАЯ ПАНЕЛЬ
   ========================================= */
.ry-table-interface {
    position: relative; z-index: 2;
    background: rgba(20, 20, 20, 0.6); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    padding-top: 60px;
}

/* =========================================
   3. ШАПКА
   ========================================= */
.ry-nav-links {
    position: absolute; top: 0; left: 0; width: 50%; height: 60px;
    display: flex; align-items: center; padding-left: 30px; gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0,0.2);
}
.ry-nav-links a {
    font-family: 'Unbounded', sans-serif; font-size: 14px;
    text-transform: uppercase; color: #888; text-decoration: none;
    letter-spacing: 1px; transition: color 0.3s; height: 100%;
    display: flex; align-items: center; border-bottom: 2px solid transparent;
}
.ry-nav-links a:hover, .ry-nav-links a.active { color: #fff; }
.ry-nav-links a.active { border-bottom-color: #d82e40; }

.ry-select-wrapper {
    position: absolute !important; top: 0 !important; right: 0 !important;
    width: 50% !important; max-width: none !important; margin: 0 !important;
    height: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); z-index: 10;
}
.ry-table-select {
    height: 60px !important; background: transparent !important; border: none !important;
    text-transform: uppercase; text-align: right !important; padding-right: 50px !important;
    font-size: 14px !important; cursor: pointer !important;
    font-family: 'Unbounded', sans-serif !important; color: #fff !important;
}
.ry-table-select:focus { background: #000 !important; color: #d82e40 !important; }
.ry-select-arrow { right: 30px !important; color: #fff !important; font-size: 10px !important; }

/* =========================================
   4. ТАБЛИЦА (РЕШЕНИЕ ПРОБЛЕМЫ ГРАНИЦ)
   ========================================= */
.ry-table-pane {
    background: transparent !important; border: none !important;
    box-shadow: none !important; padding: 0 !important;
    backdrop-filter: none !important; border-radius: 0 !important;
}

/* ГЛАВНЫЙ FIX: Граница теперь у СТРОКИ (TR), а не у ячейки.
   Это делает линию идеально прямой, даже если внутри Flex. */
.ry tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.ry td {
    border-bottom: none !important; /* Убираем границы ячеек */
    padding: 16px 15px !important; color: #ccc !important;
    vertical-align: middle !important;
}

/* Последняя строка без границы */
.ry tbody tr:last-child { border-bottom: none !important; }

/* Команда (Возвращаем обычный стиль для ПК) */
.ry td.team {
    padding-right: 10px !important;
    font-family: 'Onder', sans-serif !important;
    font-size: 10px !important; letter-spacing: 0.5px;
}
.ry td.team img {
    vertical-align: middle !important; margin-right: 12px !important;
    width: 35px !important; height: 35px !important;
}

/* Заголовки */
.ry thead th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px 10px !important;
}

/* --- ПОДСВЕТКА (HIGHLIGHT) --- */
.ry tbody tr.highlight {
    background: linear-gradient(90deg, rgba(216, 46, 64, 0.15) 0%, transparent 100%) !important;
}
/* Красная линия */
.ry tbody tr.highlight td:first-child { position: relative !important; }
.ry tbody tr.highlight td:first-child::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    background: #d82e40 !important; width: 4px !important;
    box-shadow: 4px 0 15px rgba(216, 46, 64, 0.8);
}
.ry tbody tr.highlight td {
    color: #fff !important; text-shadow: 0 0 10px rgba(0,0,0,0.5);
    background-color: transparent !important;
}
.ry tbody tr.highlight td.rank {
    color: #d82e40 !important; font-size: 16px !important; font-weight: 700 !important;
}

/* =========================================
   5. МОБИЛЬНАЯ АДАПТАЦИЯ (FLEX FIX)
   ========================================= */
@media (max-width: 768px) {
    .ry-table-interface { padding-top: 100px; }

    /* Навигация */
    .ry-nav-links {
        width: 100%; height: 50px; top: 0; justify-content: center;
        border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0; background: rgba(0,0,0,0.4);
    }
    .ry-nav-links a { font-size: 11px; }

    /* Селектор */
    .ry-select-wrapper {
        top: 50px !important; width: 100% !important; height: 50px; border-left: none !important;
    }
    .ry-table-select {
        text-align: center !important; padding-right: 30px !important;
        height: 50px !important; font-size: 11px !important;
    }
    .ry-select-arrow {
        display: block !important; right: 15px !important; top: 50% !important; transform: translateY(-50%);
    }

    /* ТАБЛИЦА */
    .ry td, .ry th { padding: 10px 4px !important; }

    /* ВОЗВРАЩАЕМ FLEX ДЛЯ КОМАНДЫ (Только на мобильных) */
    .ry td.team {
        display: flex !important; /* Flex для выравнивания */
        align-items: center !important; /* Центр по вертикали */
        font-size: 7px !important;
        padding-right: 5px !important;
        min-height: 35px; /* Минимальная высота, чтобы не схлопывалось */
    }

    .ry td.team img {
        width: 20px !important; height: 20px !important; 
        margin-right: 8px !important;
        flex-shrink: 0; /* Запрещаем сжимать логотип */
    }

    .ry td.team span {
        text-align: left !important;
        line-height: 1.7 !important; /* Даем воздуху тексту */
        white-space: normal !important; /* Разрешаем перенос */
        /* Flex сам распределит место, текст не налезет на лого */
    }

    /* Цифры */
    .ry td { font-size: 7px !important; }
    
    /* Уменьшаем место у выделенной команды */
    .ry tbody tr.highlight td.rank { font-size: 10px !important; }
    .ry tbody tr.highlight td:first-child::before { width: 3px !important; }
}/* =========================================
   СТРАНИЦА МАТЧ-ЦЕНТРА (NO PURPLE)
   ========================================= */

/* 1. ФОН СТРАНИЦЫ (Только красный и черный) */
.ry-match-center-page {
    background-color: #050505;
    position: relative;
    min-height: 100vh;
    
    /* ИСПРАВЛЕНО: Убрали фиолетовый. 
       Теперь слева тоже легкий красный оттенок, но очень слабый. */
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(216, 46, 64, 0.2) 0%, transparent 50%), /* Верх-Право */
        radial-gradient(circle at 0% 60%, rgba(216, 46, 64, 0.05) 0%, transparent 50%),  /* Низ-Лево (бывший фиолетовый) */
        radial-gradient(circle at 100% 90%, rgba(216, 46, 64, 0.15) 0%, transparent 50%); /* Низ-Право */
        
    background-attachment: fixed; 
    background-size: 100% 100%;
}

/* Текстура шума (оставляем) */
.ry-match-center-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 2. КОНТЕЙНЕР ИНТЕРФЕЙСА */
.ry-mc-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* 3. НАВИГАЦИЯ (Updated: Underline Style) */
.ry-mc-nav {
    display: flex;
    align-items: center;
    /* Добавляем расстояние между вкладками, так как границ больше нет */
    gap: 40px;     
    height: 60px; /* Фиксируем высоту шапки */
    width: fit-content;
    margin-bottom: 40px;
}

/* Сама ссылка (Твой стиль) */
.ry-mc-link {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    font-weight: 500;
    
    /* Важно для позиционирования линии */
    position: relative;
    display: flex;
    align-items: center;
    height: 100%; /* Ссылка во всю высоту шапки */
    
    /* Сбрасываем старые стили (границы, фоны) */
    background: transparent !important;
    border: none !important;
    padding: 0 !important; /* Убираем паддинги, используем gap родителя */
    
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Активный класс и Ховер (Свечение текста) */
.ry-mc-link:hover,
.ry-mc-link.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    background: transparent !important; /* Гарантия прозрачности */
}

/* Линия подчеркивания (Твой код) */
.ry-mc-link::after {
    content: "";
    position: absolute;
    bottom: 0; /* Прижимаем к самому низу шапки */
    left: 0;
    width: 0%; /* Скрыта */
    height: 2px;
    background-color: #d82e40;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #d82e40; /* Свечение линии */
}

/* Анимация линии */
.ry-mc-link:hover::after,
.ry-mc-link.active::after {
    width: 100%; /* Раскрывается на всю ширину */
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    .ry-mc-nav {
        width: 100%;
        justify-content: center;
        gap: 20px; /* Чуть меньше отступ */
        padding: 0 10px;
        height: 60px;
    }
    
    .ry-mc-link {
        font-size: 11px;
    }
}

/* 4. ТЮНИНГ КАРТОЧЕК */
.ry-match-card {
    background: rgba(30, 30, 30, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}

.ry-match-card:hover {
    background: rgba(40, 40, 40, 0.6) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(216, 46, 64, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
}

/* 5. КНОПКА "ПОКАЗАТЬ ЕЩЕ" */
.ry-load-more {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
}

.ry-load-more:hover {
    background: #d82e40 !important;
    border-color: #d82e40 !important;
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    .ry-mc-nav {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
        padding: 0;
    }
    .ry-mc-link {
        flex: 1;
        text-align: center;
        padding: 15px 10px;
        font-size: 11px;
    }
    .ry-mc-link:last-child {
        border-right: none;
    }
}/* =========================================
   ШАБЛОН СТРАНИЦЫ МАТЧА
   ========================================= */

/* 1. ФОН (Тот же стиль, что и в Матч-центре) */
.ry-match-page-section {
    background-color: #050505;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    
    /* Фиксированные пятна света */
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(216, 46, 64, 0.15) 0%, transparent 60%), /* Сверху по центру (Красный) */
        radial-gradient(circle at 0% 80%, rgba(216, 46, 64, 0.05) 0%, transparent 50%),  /* Слева снизу */
        radial-gradient(circle at 100% 80%, rgba(216, 46, 64, 0.05) 0%, transparent 50%); /* Справа снизу */
        
    background-attachment: fixed;
    background-size: 100% 100%;
}

/* Текстура шума (для единого стиля) */
.ry-match-page-section::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

.ry-mc-wrapper {
    /* Добавляем тень, чтобы блок "парил" над фоном */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    position: relative;
    z-index: 2;
}
/* =========================================
   СТРАНИЦА СОСТАВА (SQUAD PAGE)
   ========================================= */

/* 1. ФОН СТРАНИЦЫ (Фирменный стиль) */
.ry-squad-page {
    background-color: #050505;
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    /* Пятна света (Фиксированные при скролле) */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(216, 46, 64, 0.15) 0%, transparent 50%), /* Красный слева сверху */
        radial-gradient(circle at 90% 60%, rgba(216, 46, 64, 0.1) 0%, transparent 60%);  /* Красный справа снизу */
        
    background-attachment: fixed;
    background-size: 100% 100%;
}

/* Текстура шума (зернистость) */
.ry-squad-page::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* 2. ЗАГОЛОВОК СТРАНИЦЫ */
.ry-page-title {
    font-family: 'Onder', sans-serif;
    font-size: 60px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 80px; /* Большой отступ до игроков */
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 3. КОНТЕЙНЕР ДЛЯ ШОРТКОДА */
.ry-squad-content {
    position: relative;
    z-index: 2;
}

/* 4. ТЮНИНГ ТВОЕГО ПЛАГИНА (Интеграция) */
/* Эти стили дополняют твой CSS, не ломая его */

/* Заголовок секции (Вратари, Защитники...) */
.ry-team-section.ry-section-header {
    /* Добавляем немного свечения заголовкам категорий */
    margin-top: 60px !important; /* Больше воздуха между линиями */
}

/* Карточка игрока (Тень) */
.ry-player-card {
    /* Добавляем глубокую тень, чтобы карточки "висели" в воздухе */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}

/* Анимация при появлении (Опционально) */
.ry-player-card {
    animation: ryCardFadeIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Задержка анимации для красоты (каскадное появление) */
.ry-player-card:nth-child(1) { animation-delay: 0.1s; }
.ry-player-card:nth-child(2) { animation-delay: 0.2s; }
.ry-player-card:nth-child(3) { animation-delay: 0.3s; }
.ry-player-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes ryCardFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    .ry-page-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .ry-team-section.ry-section-header {
        font-size: 16px !important;
        margin-top: 40px !important;
    }
}/* =========================================
   ШАБЛОН СТРАНИЦЫ ИГРОКА
   ========================================= */

/* 1. АТМОСФЕРНЫЙ ФОН */
.ry-player-page-section {
    background-color: #050505;
    position: relative;

    
    /* Фиксированные пятна (как в Матч-центре) */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(216, 46, 64, 0.15) 0%, transparent 60%), /* Слева сверху */
        radial-gradient(circle at 90% 80%, rgba(216, 46, 64, 0.1) 0%, transparent 60%);  /* Справа снизу */
        
    background-attachment: fixed;
    background-size: 100% 100%;
}

/* Шум */
.ry-player-page-section::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* 2. НАВИГАЦИЯ "НАЗАД" */
.ry-player-nav {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.ry-player-back-link {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.ry-player-back-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* 3. ИНТЕГРАЦИЯ ПЛАГИНА */

/* Сбрасываем margin у твоего контейнера, чтобы он встал ровно */
.ry-player-wrapper {
    margin-top: 0 !important;
    
    /* Добавляем тень контейнеру, чтобы он красиво лежал на фоне */
    box-shadow: 0 30px 60px rgba(0,0,0,0.5) !important;
    position: relative;
    z-index: 2;
    
    /* Если хочешь, чтобы сквозь карточку чуть просвечивал фон, 
       можно добавить прозрачность твоему #121212.
       Но твой код задает это внутри <style>, так что лучше оставить solid. */
}/* =========================================
   СТРАНИЦА ПАРТНЕРОВ
   ========================================= */

/* 1. ФОН СТРАНИЦЫ */
.ry-partners-page {
    background-color: #050505;
    position: relative;
    min-height: 100vh;
}

/* 2. СЕТКА ПАРТНЕРОВ */
.ry-partners-grid {
    display: flex;
    flex-direction: column; /* Карточки идут списком друг под другом */
    gap: 30px;
    width: 100%;
}

/* 3. КАРТОЧКА ПАРТНЕРА (Стекло) */
.ry-partner-card {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Растягиваем левую и правую часть одинаково */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0px; /* Строгий стиль */
    transition: all 0.3s ease;
    
    /* АНИМАЦИЯ ПОЯВЛЕНИЯ */
    opacity: 0;
    transform: translateY(30px);
    animation: ryFadeUpCard 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Эффект наведения на карточку */
.ry-partner-card:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(216, 46, 64, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transform: translateY(-5px); /* Легкий взлет */
}

/* --- КАСКАДНАЯ ЗАДЕРЖКА АНИМАЦИИ --- */
/* Oxygen Repeater оборачивает элементы в div с классом .oxy-repeater-item */
.ry-partners-grid .oxy-dynamic-list .oxy-repeater-item:nth-child(1) .ry-partner-card { animation-delay: 0.1s; }
.ry-partners-grid .oxy-dynamic-list .oxy-repeater-item:nth-child(2) .ry-partner-card { animation-delay: 0.2s; }
.ry-partners-grid .oxy-dynamic-list .oxy-repeater-item:nth-child(3) .ry-partner-card { animation-delay: 0.3s; }
.ry-partners-grid .oxy-dynamic-list .oxy-repeater-item:nth-child(4) .ry-partner-card { animation-delay: 0.4s; }
.ry-partners-grid .oxy-dynamic-list .oxy-repeater-item:nth-child(5) .ry-partner-card { animation-delay: 0.5s; }

@keyframes ryFadeUpCard {
    to { opacity: 1; transform: translateY(0); }
}

/* 4. БЛОК С ЛОГОТИПОМ (Слева) */
.ry-partner-logo-box {
    width: 250px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02); /* Чуть светлее фон под логотипом */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: background 0.3s ease;
}

.ry-partner-logo-box:hover {
    background: rgba(255, 255, 255, 0.05); /* Подсветка логотипа при клике */
}

.ry-partner-logo-box img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ry-partner-logo-box:hover img{
  transform: scale(1.05);
}

/* 5. БЛОК С ТЕКСТОМ (Справа) */
.ry-partner-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ry-partner-name {
    font-family: 'Onder', sans-serif;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.ry-partner-desc {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

/* =========================================
   6. CTA БАННЕР (Стать партнером)
   ========================================= */
.ry-partner-cta {
    margin-top: 80px;
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    border: 1px solid rgba(216, 46, 64, 0.3);
    border-left: 5px solid #d82e40; /* Толстая красная линия слева */
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    
    /* Анимация появления для баннера */
    opacity: 0;
    transform: translateY(30px);
    animation: ryFadeUpCard 0.6s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ry-cta-title {
    font-family: 'Onder', sans-serif;
    font-size: 32px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.ry-cta-desc {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Кнопка "Написать нам" */
.ry-btn-primary {
    display: inline-block;
    background: #d82e40;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 0px; /* Строгие углы */
    transition: all 0.3s ease;
    border: 1px solid #d82e40;
}

.ry-btn-primary:hover {
    background: transparent;
    color: #d82e40;
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.4);
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    /* Карточки становятся вертикальными */
    .ry-partner-card {
        flex-direction: column !important;
    }
    
    .ry-partner-logo-box {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 40px 20px;
    }
    
    .ry-partner-content {
        padding: 25px;
        text-align: center;
    }
    
    .ry-partner-name {
        font-size: 11px;
    }
    
    .ry-partner-desc {
        font-size: 11px;
    }
    
    /* CTA баннер */
    .ry-partner-cta {
        padding: 40px 20px;
        border-left: 1px solid rgba(216, 46, 64, 0.3);
        border-top: 5px solid #d82e40; /* Линия уходит наверх */
    }
    
    .ry-cta-title {
        font-size: 16px;
    }
    .ry-cta-desc{
      font-size: 12px;
    }
    .ry-btn-primary{
      font-size: 12px;
    }
}/* =========================================
   СТРАНИЦА ДОКУМЕНТОВ
   ========================================= */

/* Фон страницы (строгий темный) */
.ry-docs-page {
    background-color: #050505;
    position: relative;
    min-height: 100vh;
}

/* СТРОКА ДОКУМЕНТА (ТАБЛИЦА) */
.ry-doc-row {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0px;
    padding: 20px;
    margin-bottom: 15px;
    text-decoration: none !important;
    color: #fff;
    transition: all 0.3s ease;
}

.ry-doc-row:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(216, 46, 64, 0.4);
    transform: translateY(-10px);
    box-shadow: -5px 10px 30px rgba(0,0,0,0.5);
}

/* 1. МИНИАТЮРА */
.ry-doc-thumb {
    width: 50px;
    height: 65px;
    background: #111;
    border: 1px solid #333;
    flex-shrink: 0;
    margin-right: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ry-doc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ry-doc-thumb svg {
    width: 24px;
    height: 24px;
    color: #666;
    margin-bottom: 10px;
}

/* Плашка с форматом (PDF) на миниатюре */
.ry-doc-ext-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: #d82e40;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    padding: 2px 0;
}

/* Если формат DOC или DOCX - синий цвет */
.ry-doc-thumb[data-ext="DOC"] .ry-doc-ext-badge,
.ry-doc-thumb[data-ext="DOCX"] .ry-doc-ext-badge { background: #2196F3; }

/* 2. ИНФОРМАЦИЯ */
.ry-doc-info {
    flex-grow: 1;
    padding-right: 20px;
}

.ry-doc-title {
    font-family: 'Onder', sans-serif;
    font-size: 14px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    line-height: 1.7;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.ry-doc-row:hover .ry-doc-title {
    color: #d82e40; /* Заголовок краснеет при наведении */
}

.ry-doc-desc {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    color: #888;
    line-height: 1.4;
}

/* 3. МЕТА-ДАННЫЕ */
.ry-doc-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 150px;
    flex-shrink: 0;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding-left: 20px;
}

.ry-doc-meta-item {
    display: flex;
    justify-content: space-between;
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
}

.ry-meta-lbl { color: #666; text-transform: uppercase; margin-right: 6px;}
.ry-meta-val { color: #ccc; font-weight: 500; }

/* 4. КНОПКА СКАЧАТЬ (Обновленная с текстом) */
.ry-doc-action {
    width: auto;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    margin-left: 20px; /* Отступ от мета-данных */
}

.ry-doc-btn {
    height: 40px; 
    padding: 0 20px; /* Отступы по бокам для текста */
    border-radius: 0px; /* Строгие углы */
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 10px; /* Расстояние между текстом и иконкой */
    transition: all 0.3s;
    
    /* Стили текста */
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ry-doc-btn svg {
    width: 14px; 
    height: 14px; 
    color: #888; 
    transition: color 0.3s;
}

/* Эффект при наведении на строку (Кнопка загорается) */
.ry-doc-row:hover .ry-doc-btn {
    background: #d82e40;
    border-color: #d82e40;
    color: #fff;
}

.ry-doc-row:hover .ry-doc-btn svg { 
    color: #fff; 
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    .ry-doc-row {
        flex-wrap: wrap;
        padding: 20px 15px; /* Добавили больше воздуха сверху и снизу */
        align-items: flex-start; /* Выравнивание по верхнему краю */
    }
    
    /* Иконка */
    .ry-doc-thumb {
        margin-right: 15px;
        margin-bottom: 15px;
    }
    
    /* Текст с заголовком */
    .ry-doc-info {
        width: calc(100% - 70px); /* 100% минус иконка и отступ */
        padding-right: 0;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 65px; /* Выравниваем по высоте иконки */
    }
    
    .ry-doc-title { 
        font-size: 8px; 
        line-height: 1.7;
        margin-bottom: 0;
    }
    
    /* Блок с Датой и Размером */
    .ry-doc-meta {
        width: 100%;
        border-left: none;
        border-top: 1px dashed rgba(255,255,255,0.15); /* Пунктир сверху */
        padding-left: 0;
        padding-top: 15px;
        padding-bottom: 15px; /* Отступ снизу до кнопки */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .ry-doc-meta-item {
        display: flex;
        align-items: baseline; /* Чтобы буквы и цифры стояли на одной линии */
    }
    
    /* Кнопка */
    .ry-doc-action {
        display: block !important; 
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
    
    .ry-doc-btn {
        width: 100%; /* Растягиваем на всю ширину */
        height: 45px; /* Делаем чуть выше для удобства на телефоне */
        background: transparent;
    }
}/* =========================================
   СТРАНИЦА КОНТАКТОВ
   ========================================= */

/* 1. ФОН СТРАНИЦЫ */
.ry-contacts-page {
    background-color: #050505;
    position: relative;
    min-height: 100vh;
    
    /* Фиксированные пятна (как на других страницах) */
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(216, 46, 64, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(216, 46, 64, 0.1) 0%, transparent 60%);
    background-attachment: fixed;
    background-size: 100% 100%;
}

.ry-contacts-page::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* 2. СЕТКА (2 колонки) */
.ry-contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Правая колонка чуть шире */
    gap: 60px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

/* 3. ЛЕВАЯ КОЛОНКА (Инфо) */
.ry-contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Карточка контакта */
.ry-contact-card {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    transition: all 0.3s ease;
}

.ry-contact-card:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(216, 46, 64, 0.3);
    transform: translateX(10px); /* Слегка сдвигается вправо */
}

/* Иконка */
.ry-c-icon {
    width: 50px;
    height: 50px;
    background: rgba(216, 46, 64, 0.1); /* Легкий красный фон */
    border: 1px solid rgba(216, 46, 64, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 25px;
}

.ry-c-icon svg {
    width: 20px;
    height: 20px;
    color: #d82e40;
}

/* Детали */
.ry-c-label {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.ry-c-value {
    font-family: 'Onder', sans-serif;
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
    text-transform: uppercase;
}

.ry-c-value a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.ry-c-value a:hover {
    color: #d82e40;
}

/* Блок Соцсетей */
.ry-socials-block {
    margin-top: 20px;
    padding: 30px;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ry-socials-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 3px solid #d82e40;
    padding-left: 15px;
}

.ry-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ry-soc-link {
    display: flex;
    align-items: center; /* Центрируем иконку и текст по вертикали */
    gap: 8px; /* Расстояние между иконкой и текстом */
    
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #aaa;
    text-decoration: none;
    text-transform: uppercase;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s;
}

/* Ограничиваем размер иконок */
.ry-soc-link svg {
    width: 16px;
    height: 16px;
    color: currentColor; /* Цвет иконки будет наследоваться от текста */
}

.ry-soc-link:hover {
    background: #d82e40;
    border-color: #d82e40;
    color: #fff;
    box-shadow: 0 0 15px rgba(216, 46, 64, 0.4);
}

/* 4. ПРАВАЯ КОЛОНКА (Форма) */
.ry-contacts-form-box {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ry-form-title {
    font-family: 'Onder', sans-serif;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ry-form-desc {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 30px;
}

/* Универсальные стили для полей формы (подхватит и CF7) */
.ry-contacts-form-box input[type="text"],
.ry-contacts-form-box input[type="email"],
.ry-contacts-form-box input[type="tel"],
.ry-contacts-form-box textarea,
.ry-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 20px;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    margin-bottom: 20px;
    border-radius: 0px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ry-contacts-form-box input:focus,
.ry-contacts-form-box textarea:focus,
.ry-input:focus {
    border-color: #d82e40;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 0 10px rgba(216, 46, 64, 0.1);
}

.ry-contacts-form-box textarea {
    resize: vertical;
    min-height: 120px;
}

/* Универсальные стили для кнопки отправки */
.ry-contacts-form-box input[type="submit"],
.ry-contacts-form-box button,
.ry-btn-submit {
    width: 100%;
    background: #d82e40;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #d82e40;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ry-contacts-form-box input[type="submit"]:hover,
.ry-contacts-form-box button:hover,
.ry-btn-submit:hover {
    background: transparent;
    color: #d82e40;
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.4);
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    .ry-contacts-wrapper {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 40px;
        margin-top: 20px;
    }
    
    .ry-contact-card {
        padding: 20px;
    }
    
    .ry-c-icon {
        width: 40px; height: 40px;
        margin-right: 15px;
    }
    
    .ry-c-value {
        font-size: 8px;
    }
    
    .ry-contacts-form-box {
        padding: 30px 20px;
    }
    
    .ry-form-title {
        font-size: 16px;
    }
}

/* =========================================
   ЯНДЕКС КАРТА НА СТРАНИЦЕ КОНТАКТОВ
   ========================================= */

.ry-map-container {
    margin-top: 80px; /* Отступ от верхних блоков контактов */
    position: relative;
    z-index: 2;
    width: 100%;
}

.ry-map-title {
    font-family: 'Onder', sans-serif;
    font-size: 32px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

/* Рамка вокруг карты (в нашем стиле "стекло") */
.ry-map-frame {
    width: 100%;
    height: 450px; /* Высота карты на ПК */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px; /* Создает эффект паспарту/рамки вокруг самой карты */
}

/* Делаем iframe адаптивным на 100% */
.ry-map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block;
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 768px) {
    .ry-map-container {
        margin-top: 60px;
    }
    
    .ry-map-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .ry-map-frame {
        height: 300px; /* Делаем карту чуть ниже на телефонах */
        padding: 5px; /* Уменьшаем рамку */
    }
}

.wpcf7 form.sent .wpcf7-response-output {
  font-family: Unbounded;
  margin: 0;
}

/* Скрываем плавающий значок reCAPTCHA v3 */
.grecaptcha-badge { 
    visibility: hidden !important;
}

.ry-recaptcha-disclaimer {
    font-family: 'Unbounded', sans-serif;
    font-size: 9px;
    color: #555;
    line-height: 1.4;
    margin-top: 15px;
}

.ry-recaptcha-disclaimer a {
    color: #777;
    text-decoration: underline;
    transition: color 0.3s;
}

.ry-recaptcha-disclaimer a:hover {
    color: #d82e40;
}

/* =========================================
   СЕТКА ДЛЯ ФОРМЫ (В ОДИН РЯД)
   ========================================= */

.ry-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Делим ровно на 2 колонки */
    gap: 20px; /* Расстояние между колонками */
}

/* На мобильных телефонах возвращаем поля в столбик */
@media (max-width: 768px) {
    .ry-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================================
   ФИКС ОТСТУПОВ CONTACT FORM 7
   ========================================= */

/* Убираем отступы у абзацев внутри полей формы */
.ry-form-group p {
    margin: 0 !important;
    padding: 0 !important;
}

/* На всякий случай скрываем переносы строк <br>, если плагин решит их добавить */
.ry-form-group br {
    display: none !important;
}/* 1. Анимация мяча */
.oxy-preloader_image {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: auto;
    position: relative;
    z-index: 10; 
    animation: rySimpleBounce 1.2s infinite;
}

/* 2. Тень */
.ball-shadow {
    width: 60px;
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin: 15px auto 0;
    filter: blur(4px);
    
    position: relative;
    
    animation: rySimpleShadow 1.2s infinite;
}

/* --- Мяч --- */
@keyframes rySimpleBounce {
    0% {
        /* Высшая точка прыжка (в воздухе) */
        transform: translateY(-100px) rotate(0deg); 
        animation-timing-function: ease-in; /* Падает вниз с ускорением */
    }
    50% {
        /* Удар о землю (на уровне тени) */
        transform: translateY(0) rotate(180deg); 
        animation-timing-function: ease-out; /* Отскакивает наверх с замедлением */
    }
    100% {
        /* Возврат в высшую точку */
        transform: translateY(-100px) rotate(360deg); 
    }
}

/* --- СИНХРОННАЯ ТЕНЬ --- */
@keyframes rySimpleShadow {
    0%, 100% {
        transform: scale(0.5); /* Мяч высоко — тень маленькая */
        opacity: 0.1;
        animation-timing-function: ease-in;
    }
    50% {
        transform: scale(1.2); /* Мяч на полу — тень растягивается и становится ярче */
        opacity: 0.7;
        animation-timing-function: ease-out;
    }
}/* 1. Задаем переменную по умолчанию и применяем зум ко всему сайту */
:root {
    --site-zoom: 1;
}

body {
    zoom: var(--site-zoom);
}

/* 2. Починка хедера */
/* Стандартное положение хедера */
#header {
    position: fixed !important; /* Отказываемся от sticky в пользу fixed */
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 999;
}
/* Если пользователь залогинен (виден админ-бар) */
.admin-bar #header {
    top: 32px; /* Высота админ-панели */
}

/* На мобильных устройствах админ-бар меняет высоту или исчезает, 
   поэтому добавим медиа-запрос для точности */
@media screen and (max-width: 782px) {
    /* Убеждаемся, что отступ хедера остается всегда */
    .admin-bar .site-header {
        top: 46px !important;
    }
}
/* Чтобы контент не уезжал под зафиксированный хедер, добавляем отступ к body.
   Замени 80px на реальную высоту твоего хедера */
body {
    padding-top: 80px; 
}

/* 3. Починка Hero-секции */
#hero-home {
    /* Компенсируем искажение vh, деля его на наш коэффициент масштаба */
    height: calc(90vh / var(--site-zoom)) !important;
}

/* 4. Починка баннера лиги */
.league-banner-link {
    display: block;
    width: calc(100vw / var(--site-zoom)) !important;
    margin-left: 50%;
    transform: translateX(-50%); /* Центрируем, если ширина стала больше экрана */
}

.league-banner-link img {
    width: 100%;
    height: auto;
    display: block;
}
/* =======================================================
   ГЛОБАЛЬНЫЕ СТИЛИ ИНТЕРВЬЮ
======================================================= */
.ry-interview-content {
    font-family: 'Unbounded', sans-serif;
    max-width: 760px; /* Идеальная ширина для чтения лонгридов */
    margin: 0 auto; /* Центрируем текст */
    font-size: 18px;
    line-height: 1.8;
    color: #cccccc; /* Мягкий серый, чтобы не резало глаза на черном */
}

/* =======================================================
   БУКВИЦА (Стильная первая буква в начале статьи)
======================================================= */
.ry-interview-content > p:first-of-type::first-letter {
    float: left;
    font-size: 85px;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 15px;
    color: #d82e40; /* Твой фирменный красный */
    font-weight: 900;
}

/* =======================================================
   ОФОРМЛЕНИЕ ДИАЛОГА И ВОПРОСОВ
======================================================= */
/* 1. Отдельный вопрос журналиста (когда абзац целиком жирный) */
.ry-interview-content p > strong:only-child {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    margin-top: 60px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

/* 2. Имена спикеров (например: "Иван Иванов: текст текста...") */
.ry-interview-content p strong:first-child:not(:only-child) {
    color: #d82e40;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    font-weight: 800;
    margin-right: 8px;
}

/* Обычный жирный текст внутри абзаца */
.ry-interview-content strong {
    color: #ffffff;
    font-weight: 700;
}

/* =======================================================
   ЦИТАТЫ (Blockquote)
======================================================= */
.ry-interview-content blockquote {
    font-size: 26px;
    line-height: 1.5;
    font-weight: 400;
    color: #ffffff;
    margin: 70px 0;
    padding: 35px 40px;
    border-left: 4px solid #d82e40;
    background: linear-gradient(to right, rgba(216, 46, 64, 0.05), transparent);
    position: relative;
}

/* Декоративная кавычка */
.ry-interview-content blockquote::before {
    content: "«";
    position: absolute;
    left: -25px;
    top: -20px;
    font-size: 90px;
    color: rgba(216, 46, 64, 0.2);
    font-family: 'Unbounded', sans-serif;
    line-height: 1;
}

.ry-interview-content blockquote p {
    margin: 0;
}

/* Подпись к цитате (если есть) */
.ry-interview-content blockquote cite {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-top: 20px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =======================================================
   ФОТОГРАФИИ И МЕДИАТЕКА
======================================================= */
/* Делаем картинки чуть шире текста для эффекта погружения */
.ry-interview-content figure {
    margin: 60px -60px; 
}

.ry-interview-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ry-interview-content figcaption {
    text-align: center;
    font-size: 14px;
    color: #888888;
    margin-top: 15px;
}

/* =======================================================
   ВРЕЗКА "ДОСЬЕ"
======================================================= */
.ry-interview-content .ry-dossier,
.ry-interview-content .is-style-ry-interview-dossier {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    margin: 60px 0;
}

.ry-interview-content .ry-dossier h3,
.ry-interview-content .is-style-ry-interview-dossier h3 {
    color: #d82e40;
    margin-top: 0;
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.ry-interview-content .ry-dossier ul,
.ry-interview-content .is-style-ry-interview-dossier ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ry-interview-content .ry-dossier li,
.ry-interview-content .is-style-ry-interview-dossier li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 16px;
}

.ry-interview-content .ry-dossier li:last-child,
.ry-interview-content .is-style-ry-interview-dossier li:last-child {
    border-bottom: none;
}

/* =======================================================
   ССЫЛКИ И РАЗДЕЛИТЕЛИ
======================================================= */
.ry-interview-content a {
    color: #d82e40;
    text-decoration: none;
    border-bottom: 1px solid rgba(216, 46, 64, 0.3);
    transition: all 0.3s ease;
}

.ry-interview-content a:hover {
    border-bottom-color: #d82e40;
    background: rgba(216, 46, 64, 0.1);
}

.ry-interview-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    margin: 60px 0;
}

/* =======================================================
   АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА)
======================================================= */
@media (max-width: 992px) {
    /* На мобилках картинки не должны вылазить за экран */
    .ry-interview-content figure {
        margin: 40px 0; 
    }
    .ry-interview-content blockquote {
        padding: 25px 20px;
        margin: 50px 0;
        font-size: 22px;
    }
    .ry-interview-content p > strong:only-child {
        font-size: 20px;
        margin-top: 40px;
    }
}

/* =========================================
   ВСТУПЛЕНИЕ (ЛИД-АБЗАЦ + КОНТУРНАЯ БУКВИЦА)
   ========================================= */

/* Автоматический Block Style для Абзаца */
.ry-interview-content .ry-lead-text,
.ry-interview-content .is-style-ry-interview-lead {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px; 
    line-height: 1.6;
    font-weight: 500;
    color: #ffffff; 
    margin-top: 0;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

/* Контурная буквица */
.ry-interview-content .ry-lead-text::first-letter,
.ry-interview-content .is-style-ry-interview-lead::first-letter {
    float: left;
    font-family: 'Unbounded', sans-serif;
    font-size: 76px; 
    font-weight: 900;
    color: #0b0b0b !important; 
    -webkit-text-stroke: 0 !important; 
    
    text-shadow: 
        -2px -2px 0 #d82e40,  
         2px -2px 0 #d82e40,
        -2px  2px 0 #d82e40,
         2px  2px 0 #d82e40,
        -2px  0   0 #d82e40,
         2px  0   0 #d82e40,
         0   -2px 0 #d82e40,
         0    2px 0 #d82e40 !important;
    
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    
    line-height: 0.8;
    margin-right: 14px; 
    margin-top: 8px; 
}

/* Адаптив для мобильных (Лид-абзац) */
@media (max-width: 768px) {
    .ry-interview-content .ry-lead-text,
    .ry-interview-content .is-style-ry-interview-lead {
        font-size: 18px; 
    }
    
    .ry-interview-content .ry-lead-text::first-letter,
    .ry-interview-content .is-style-ry-interview-lead::first-letter {
        font-size: 56px;
        text-shadow: 
            -1px -1px 0 #d82e40,  
             1px -1px 0 #d82e40,
            -1px  1px 0 #d82e40,
             1px  1px 0 #d82e40 !important;
        margin-right: 10px;
        margin-top: 4px;
    }
}

@media (max-width: 992px){
  #div_block-79-16514{
    width: 100% !important;
  }
}
/* =========================================
   СТРАНИЦА 404
   ========================================= */

/* 1. Контейнер и фон */
.ry-404-section {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important; 
    min-height: 75vh;
    background-color: #0b0b0b;
    
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    
    padding: 50px 20px;
    overflow: hidden;
    z-index: 1;
}

/* Принудительно центрируем внутренние контейнеры Oxygen */
.ry-404-section > .ct-section-inner-wrap,
.ry-404-section > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Водяной знак ОШИБКА (Сделали меньше и прозрачнее) */
.ry-404-section::before {
    content: 'ОШИБКА';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Unbounded', sans-serif;
    font-size: 16vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none; 
}

/* Мелкий технический текст */
.ry-404-section::after {
    content: 'СИСТ.СТАТУС: СТРАНИЦА_НЕ_НАЙДЕНА // КОД: 404';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    color: #d82e40;
    letter-spacing: 2px;
    opacity: 0.3;
    pointer-events: none;
    white-space: nowrap;
}

/* 2. ОГРОМНЫЕ ЦИФРЫ */
.ry-404-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 180px; 
    font-weight: 900;
    line-height: 1;
    margin: 0 auto !important; 
    position: relative;
    text-align: center;
    
    color: #0b0b0b !important; 
    text-shadow: 
        2px 2px 0 #d82e40, -2px -2px 0 #d82e40, 
        2px -2px 0 #d82e40, -2px 2px 0 #d82e40, 
        2px 0 0 #d82e40, -2px 0 0 #d82e40, 
        0 2px 0 #d82e40, 0 -2px 0 #d82e40,
        0 0 30px rgba(216, 46, 64, 0.3) !important;

    animation: ry-glitch-error 4s infinite;
}

/* 3. ПОДЗАГОЛОВОК (Жестко центрировали) */
.ry-404-subtitle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* Возвращаем на место */
    width: 100%;
    gap: 20px; 
    
    font-family: 'Unbounded', sans-serif;
    font-size: 20px; 
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px auto 45px auto !important;
}

.ry-404-subtitle::before,
.ry-404-subtitle::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #d82e40;
    opacity: 0.7;
}

/* 4. КНОПКА ВОЗВРАТА (Вернули классику) */
.ry-404-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: transparent !important; /* Прозрачный фон */
    color: #d82e40 !important; /* Красный текст */
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    padding: 18px 45px;
    border: 2px solid #d82e40 !important; /* Классическая рамка */
    border-radius: 0 !important; 
    margin: 0 auto !important; 
    cursor: pointer;
    transition: all 0.3s ease; 
    width: auto !important; 
    box-shadow: none !important; /* Никаких смещенных теней */
}

/* Эффект нажатия (Свечение) */
.ry-404-btn:hover {
    background-color: rgba(216, 46, 64, 0.25) !important;
    border-color: #d82e40 !important;
    color: #ffffff !important;
    transform: scale(1.03); 
    box-shadow: 0 0 20px rgba(216, 46, 64, 0.4) !important;
}

/* =========================================
   АНИМАЦИЯ: ГЛИТЧ 
   ========================================= */
@keyframes ry-glitch-error {
    0%, 15%, 17%, 50%, 54%, 100% {
        transform: skew(0deg);
        text-shadow: 
            2px 2px 0 #d82e40, -2px -2px 0 #d82e40, 
            2px -2px 0 #d82e40, -2px 2px 0 #d82e40, 
            2px 0 0 #d82e40, -2px 0 0 #d82e40, 
            0 2px 0 #d82e40, 0 -2px 0 #d82e40,
            0 0 30px rgba(216, 46, 64, 0.4);
        color: #0b0b0b;
    }
    16% {
        transform: skew(-15deg) translateX(-5px);
        text-shadow: -4px 0 0 rgba(216, 46, 64, 0.8), 4px 0 0 rgba(255, 255, 255, 0.4);
    }
    51%, 53% {
        transform: skew(0deg);
        text-shadow: none; 
        color: #111;
    }
    52% {
        text-shadow: 0 0 50px #d82e40;
        color: #d82e40;
    }
}

/* 5. АДАПТИВ (Для телефонов) */
@media (max-width: 768px) {
    .ry-404-title {
        font-size: 120px;
    }
    .ry-404-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }
    .ry-404-subtitle::before,
    .ry-404-subtitle::after {
        width: 25px;
    }
    .ry-404-section::before {
        font-size: 18vw; 
    }
    .ry-404-section::after {
        display: none; /* Прячем текст статуса на мобильных, чтобы не было тесно */
    }
}

/* =========================================
   БЫСТРЫЕ ССЫЛКИ НА 404 (Удержание юзера)
   ========================================= */

/* Контейнер для ссылок */
.ry-404-quick-links {
    display: flex !important;
    flex-direction: row;
    gap: 40px; /* Расстояние между ссылками */
    margin-top: 30px; /* Отступ от главной кнопки */
    justify-content: center;
    width: 100%;
}

/* Сами ссылки (Тихий, неброский стиль) */
.ry-404-quick-link {
    color: rgba(255, 255, 255, 0.4) !important; /* Полупрозрачный белый */
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

/* Эффект при наведении: текст краснеет */
.ry-404-quick-link:hover {
    color: #d82e40 !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .ry-404-quick-links {
        flex-direction: column;
        align-items: center; 
        gap: 18px; 
        margin-top: 40px;
    }
    
    .ry-404-quick-link {
        text-align: center;
        width: 100%;
    }
}