/* Presentación pública REBI. No cambia navegación, contenido ni comportamiento. */
body.rebi-refresh{--rebi-ink:#193140;--rebi-muted:#607180;--rebi-line:#e1e8ed;--rebi-surface:#f5f8fa;--rebi-accent:#217d9a;--rebi-red:#df2029;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#f8fafb;color:var(--rebi-ink);-webkit-font-smoothing:antialiased}
.rebi-refresh p,.rebi-refresh input,.rebi-refresh textarea,.rebi-refresh button,.rebi-refresh select{font-family:inherit}
.rebi-refresh h1,.rebi-refresh h2,.rebi-refresh h3,.rebi-refresh h4,.rebi-refresh h5,.rebi-refresh h6{font-family:inherit;letter-spacing:-.5px}
.rebi-refresh a{transition:color .18s,background-color .18s,box-shadow .18s,border-color .18s}
.rebi-refresh a:focus-visible,.rebi-refresh button:focus-visible,.rebi-refresh input:focus-visible,.rebi-refresh textarea:focus-visible,.rebi-refresh summary:focus-visible{outline:3px solid #217d9a;outline-offset:4px}

/* Mismo menú y misma apertura del panel en móvil. */
.rebi-refresh .main_menu_wrapper{background:#fff}
.rebi-refresh .main_menu_wrapper .navbar-default{background:rgba(255,255,255,.98);border-bottom:1px solid var(--rebi-line);box-shadow:0 3px 16px #19314008}
.rebi-refresh .main_menu_wrapper.menu_fixed{background:#fff;box-shadow:0 5px 24px #19314012;animation:none!important}
.rebi-refresh .navbar-brand{display:flex;align-items:center;height:84px;padding:8px 0;margin:0!important}
.rebi-refresh .navbar-brand img{display:block;width:112px;height:68px;object-fit:contain;border-radius:0;box-shadow:none}
.rebi-refresh .navbar-default .navbar-nav.main-nav>li>a{color:#354b5b;font-size:14px;font-weight:650;letter-spacing:0;padding:12px 16px;border-radius:9px;text-transform:capitalize}
.rebi-refresh .navbar-default .navbar-nav.main-nav>li>a:hover,.rebi-refresh .navbar-default .navbar-nav.main-nav>li>a:focus{color:var(--rebi-accent);background:#eef5f8}
.rebi-refresh .navbar-default .navbar-nav.main-nav>.active>a{background:#fff0f1;color:#c31d29}
.rebi-refresh .navbar-default .navbar-nav.main-nav>li>a:after{display:none}
.rebi-refresh .main-nav .header_btn a,.rebi-refresh .main-nav>li>a[href="competiciones.php"]{background:var(--rebi-accent)!important;color:#fff!important;border-radius:9px;border:1px solid var(--rebi-accent);padding:12px 19px;line-height:20px;font-size:14px;font-weight:700;box-shadow:0 4px 12px #217d9a15}
.rebi-refresh .main-nav .header_btn a:hover,.rebi-refresh .main-nav>li>a[href="competiciones.php"]:hover{background:#19667f!important;border-color:#19667f}
.rebi-refresh #sidebar{width:320px;max-width:90vw;padding:0;background:#fff!important;box-shadow:12px 0 50px #19314020;overflow-y:auto}
.rebi-refresh #sidebar h1{padding:0 50px 23px 0;margin:28px 22px 0;font-size:24px;line-height:1.4;font-weight:800;color:var(--rebi-ink);background:transparent;text-align:left;border-bottom:1px solid var(--rebi-line)}
.rebi-refresh #sidebar #cssmenu{width:auto;margin:20px 22px}
.rebi-refresh #sidebar #cssmenu>ul>li{border:0;margin:5px 0}
.rebi-refresh #sidebar #cssmenu>ul>li>a{display:block;padding:16px 14px;border:0;border-radius:9px;font-family:inherit;font-size:16px;font-weight:650;text-transform:none;color:#354b5b}
.rebi-refresh #sidebar #cssmenu>ul>li.active>a{background:#fff0f1;color:#c31d29}
.rebi-refresh #sidebar #cssmenu>ul>li>a[href="competiciones.php"]{background:var(--rebi-accent)!important;color:#fff!important}
.rebi-refresh #sidebar #toggle_close{right:18px;top:21px;width:44px;height:44px;line-height:40px;font-size:32px;text-align:center;color:#526675;background:#f1f5f7;border-radius:10px}

/* Títulos y espacios mantienen el orden de las secciones. */
.rebi-refresh .inner_top_header{background-color:#142d3c;background-blend-mode:multiply;margin-top:0;padding:0!important;height:88px;min-height:88px}
.rebi-refresh .page_title_section{background:#f0f5f8;border-bottom:1px solid #e0e8ee;padding:30px 0 28px}
.rebi-refresh .page_title_section .page_header{margin:0}
.rebi-refresh .page_title_section h1{font-size:32px!important;line-height:1.25;font-weight:800;color:var(--rebi-ink);letter-spacing:-.8px;text-transform:none}
.rebi-refresh .page_title_overlay{opacity:0}
.rebi-refresh .section_heading h2,.rebi-refresh .btc_team_left_wrapper h3{font-size:32px;font-weight:800;line-height:1.25;letter-spacing:-.7px;text-transform:none}
.rebi-refresh .btc_team_left_wrapper p,.rebi-refresh .section_heading p{color:var(--rebi-muted);font-size:16px;line-height:1.8}
.rebi-refresh .btc_team_main_wrapper{padding-top:70px;padding-bottom:70px;background:#fff}
.rebi-refresh .btc_team_left_wrapper>span{width:42px;height:4px;border-radius:3px;background:var(--rebi-red)}
.rebi-refresh .tb_work_wrapper{background:#f2f6f8}
.rebi-refresh .tb_work_txt_wrapper li{color:#526775;line-height:1.8}
.rebi-refresh .tb_work_txt_wrapper li i{color:var(--rebi-accent)}
.rebi-refresh .section_1{background:#fff;padding-top:65px;padding-bottom:65px}
.rebi-refresh #subtitulo{padding-top:44px;background:#fff}
.rebi-refresh .port_menu_wrapper{background:#fff}
.rebi-refresh .rebi-season,.rebi-refresh .rebi-campaigns,.rebi-refresh .rebi-league{font-family:inherit}
.rebi-refresh .rebi-division,.rebi-refresh .rebi-campaign-card,.rebi-refresh .rebi-round,.rebi-refresh .rebi-table-scroll{box-shadow:0 6px 24px #19314006}

/* Tarjetas, botones y formularios existentes. */
.rebi-refresh .btc_team_slider_cont_main_wrapper{background:#fff;border:1px solid var(--rebi-line);border-radius:15px;overflow:hidden;box-shadow:0 7px 24px #19314008}
.rebi-refresh .btc_team_img_wrapper{background:#fff}
.rebi-refresh .btc_team_img_cont_wrapper{background:#fff;border:0;padding:20px 14px}
.rebi-refresh .btc_team_img_cont_wrapper h4{font-size:17px;font-weight:750;text-transform:none;color:var(--rebi-ink)}
.rebi-refresh .contect_btn_news ul li a,.rebi-refresh .gallery_btn ul li a{border-radius:9px;letter-spacing:.1px;font-family:inherit;font-weight:700;box-shadow:0 4px 12px #19314008;max-width:100%}
.rebi-refresh .GC_slider_Wrappwer .et_slider_btn a{background:var(--rebi-red);border:1px solid var(--rebi-red);border-radius:9px;color:#fff;font-family:inherit;font-weight:700;box-shadow:0 5px 20px #0002}
.rebi-refresh .GC_slider_Wrappwer .et_slider_btn a:hover{background:#bc1b26;border-color:#bc1b26}
.rebi-refresh .owl-theme .owl-nav [class*=owl-]{border-radius:8px;box-shadow:0 3px 12px #19314008}
.rebi-refresh .blogone{background:#f4f7f9}
.rebi-refresh .blogone .blog-post-wrapper{background:#fff;border:1px solid var(--rebi-line);border-radius:15px;overflow:hidden;box-shadow:0 7px 26px #19314007;margin-bottom:26px}
.rebi-refresh .blogone .blog-post-wrapper .post-thumbnail{border-radius:0;min-height:185px}
.rebi-refresh .blogone .blog-post-wrapper .post-thumbnail>img{width:100%;height:100%;object-fit:cover;object-position:center top}
.rebi-refresh .blogone .blog-post-wrapper .blog-content{height:auto!important;min-height:245px;padding:23px 24px 20px}
.rebi-refresh .blogone .blog-post-wrapper .entry-title{font-size:19px;line-height:1.4;font-weight:800;text-transform:none;letter-spacing:-.3px}
.rebi-refresh .blogone .blog-post-wrapper .entry-title a{color:var(--rebi-ink)}
.rebi-refresh .blogone .blog-post-wrapper .entry-meta p,.rebi-refresh .blogone .blog-post-wrapper .entry-content p{font-family:inherit;font-size:14px;line-height:1.75;color:var(--rebi-muted);text-transform:none}
.rebi-refresh .blogone .blog-post-wrapper .entry-footer{background:#fff;border-top:1px solid #edf1f4;padding:14px 24px}
.rebi-refresh .blogone .blog-post-wrapper .entry-footer a{font-family:inherit;font-size:13px;color:var(--rebi-accent);font-weight:750}
.rebi-refresh .portfolio_img_wrapper{border-radius:14px;overflow:hidden;box-shadow:0 6px 22px #1931400c;border:1px solid #e5ebef}
.rebi-refresh .portfolio_img{border-radius:inherit}
.rebi-refresh .portfolio_img_overlay{border-radius:inherit}
.rebi-refresh .portfolio_img .portfolio_img_overlay{transform:none;background:linear-gradient(0deg,#142d3c38,transparent 48%);pointer-events:none}
.rebi-refresh .portfolio_img .portfolio_img_text{top:auto;left:auto;right:14px;bottom:14px;transform:none}
.rebi-refresh .portfolio_img .portfolio_img_text a.search{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:11px;background:#fff;color:var(--rebi-accent);box-shadow:0 3px 14px #142d3c20;pointer-events:auto}
.rebi-refresh .portfolio_img .portfolio_img_text a.search i{color:var(--rebi-accent);font-size:17px;line-height:1;margin:0}
.rebi-refresh .botones-ligas{border-radius:12px;box-shadow:0 5px 18px #19314012}
.rebi-refresh .contact_info_section{background:#fff}
.rebi-refresh .contact_info_section .icon_text{height:100%;padding:28px 18px;border:1px solid var(--rebi-line);border-radius:14px;background:#fff;box-shadow:0 5px 22px #19314005}
.rebi-refresh .contact_info_section .icon_text>i{color:var(--rebi-accent);font-size:32px}
.rebi-refresh .contact_info_section .icon_text h4{font-size:18px;font-weight:750;color:var(--rebi-ink);margin:15px 0 12px;text-transform:none}
.rebi-refresh .contact_info_section .icon_text p{color:var(--rebi-muted);font-size:14px;line-height:1.8}
.rebi-refresh .comments_form_section{background:#f3f7f9!important}
.rebi-refresh .form-control,.rebi-refresh .contect_form1 input,.rebi-refresh .contect_form2 input,.rebi-refresh .contect_form3 input,.rebi-refresh .contect_form4 textarea{border:1px solid #d5e0e7!important;border-radius:9px!important;background:#fff;color:#243e50;font-size:15px!important;box-shadow:none;transition:border-color .18s,box-shadow .18s}
.rebi-refresh .form-control:focus,.rebi-refresh input:focus,.rebi-refresh textarea:focus{border-color:var(--rebi-accent)!important;box-shadow:0 0 0 3px #217d9a12!important}
.rebi-refresh .btn{border-radius:9px;font-family:inherit;font-weight:700}
.rebi-refresh #return-to-top{width:44px;height:44px;border-radius:12px;box-shadow:0 5px 20px #bd17232b}
.rebi-refresh #return-to-top i{font-size:27px;left:13px;top:7px}

/* Pie compacto con los mismos enlaces y datos de contacto. */
.rebi-refresh .footer_wrapper{background:#162c3a;padding-top:52px}
.rebi-refresh .footer_wrapper .section2_wrapper{padding-bottom:30px;border-bottom:1px solid #ffffff14}
.rebi-refresh .footer_wrapper .section2_wrapper>.row{display:flex;justify-content:space-between;gap:45px;flex-wrap:wrap;margin:0}
.rebi-refresh .footer_wrapper .section2_wrapper>.row>div{float:none;width:auto;padding:0;max-width:100%}
.rebi-refresh .footer_wrapper .section2_wrapper>.row>.col-xs-6.col-sm-6.col-md-6.col-lg-6{display:none}
.rebi-refresh .footer_wrapper .section2_wrapper>.row>div:last-child{min-width:340px}
.rebi-refresh .footer_wrapper h4{font-size:15px;line-height:1.4;font-weight:750;text-transform:none;letter-spacing:.1px;padding-bottom:20px;color:#fff}
.rebi-refresh .footer_wrapper h4:after{width:28px;height:3px;border-radius:2px;margin-top:10px;background:#4c9db6}
.rebi-refresh .footer_wrapper .section2_wrapper ul li{margin-bottom:11px}
.rebi-refresh .footer_wrapper .section2_wrapper ul li a,.rebi-refresh .footer_wrapper .widget_8 ul li span{color:#c2d0da;font-size:14px;line-height:1.7}
.rebi-refresh .footer_wrapper .section2_wrapper ul li a:hover{color:#fff}
.rebi-refresh .footer_wrapper .widget_8 ul li i{color:#80b8ca}
.rebi-refresh .footer_wrapper .widget_8{padding-top:0;margin-top:0}
.rebi-refresh .footer_wrapper .widget_8>.row,.rebi-refresh .footer_wrapper .widget_8 ul>.row{display:flex;align-items:center;gap:13px;margin:18px 0 0}
.rebi-refresh .footer_wrapper .widget_8 ul>.row>div{width:auto;padding:0;margin:0!important}
.rebi-refresh .footer_wrapper .widget_8 .contect_btn_news{margin:0}
.rebi-refresh .footer_wrapper .widget_8 .contect_btn_news ul li{margin:0}
.rebi-refresh .footer_wrapper .section2_bottom{background:#122532;padding:22px 0;color:#becbd5;font-size:13px;line-height:1.7}
.rebi-refresh .footer_wrapper .section2_bottom p,.rebi-refresh .footer_wrapper .section2_bottom a{color:#becbd5;font-size:13px}
.rebi-refresh .footer_wrapper .section2_bottom a:hover{color:#fff}

/* Solo presentación del aviso: conserva sus botones y su lógica de aceptación. */
.rebi-refresh .cookies{left:auto;right:22px;bottom:22px;width:410px;max-width:calc(100% - 44px);height:auto!important;box-sizing:border-box;background:#fff!important;color:#193140!important;border:1px solid #dfe6ec;border-radius:14px;padding:23px!important;box-shadow:0 14px 55px #1931402b;z-index:1500;text-align:left}
.rebi-refresh .cookies .cookies__titulo{font-size:20px;line-height:1.3;color:#193140!important;text-transform:none;font-weight:800;margin:0 0 10px;letter-spacing:-.3px}
.rebi-refresh .cookies .cookies__texto{font-size:14px;line-height:1.7;color:#607180!important;margin:0 0 18px}
.rebi-refresh .cookies .cookies__botones{display:flex;gap:10px;justify-content:flex-start}
.rebi-refresh .cookies .cookies__boton{flex:1;min-height:43px;padding:10px 13px;border:1px solid #217d9a;border-radius:8px;font-size:13px;font-weight:700;line-height:1.4;font-family:inherit;box-shadow:none}
.rebi-refresh .cookies .cookies__boton--no{background:#fff;color:#21718b}
.rebi-refresh .cookies .cookies__boton--si{background:#217d9a;color:#fff}

@media(min-width:768px){
    .rebi-refresh .main_menu_wrapper .navbar>.container{display:flex;align-items:center;justify-content:space-between;min-height:84px}
    .rebi-refresh .main_menu_wrapper .navbar>.container:before,.rebi-refresh .main_menu_wrapper .navbar>.container:after{display:none}
    .rebi-refresh .main_menu_wrapper .navbar-header{float:none;flex-shrink:0}
    .rebi-refresh .main_menu_wrapper .navbar-collapse{padding:0;margin-left:auto}
    .rebi-refresh .main_menu_wrapper .navbar-nav{display:flex;align-items:center;gap:5px;float:none!important;margin:0}
    .rebi-refresh .main_menu_wrapper .navbar-nav>li{float:none}
    .rebi-refresh .main_menu_wrapper .header_btn{margin:0 0 0 10px}
}
@media(min-width:768px) and (max-width:991px){
    .rebi-refresh .navbar-default .navbar-nav.main-nav>li>a{padding:11px 12px;font-size:13px}
    .rebi-refresh .main-nav .header_btn a,.rebi-refresh .main-nav>li>a[href="competiciones.php"]{padding:11px 14px;font-size:13px}
}
@media(max-width:767px){
    .rebi-refresh .inner_top_header{height:74px;min-height:74px}
    .rebi-refresh .navbar-default{height:74px;min-height:74px}
    .rebi-refresh .navbar-brand{height:74px;padding:6px 0}
    .rebi-refresh .navbar-brand img{width:98px;height:61px}
    .rebi-refresh .navbar-header{position:relative;margin:0}
    .rebi-refresh .navbar-toggle{right:0;top:15px;margin:0;padding:10px 11px;border:1px solid #dce6eb;border-radius:9px;background:#f3f7f9}
    .rebi-refresh .navbar-toggle .icon-bar,.rebi-refresh .navbar-toggle:hover .icon-bar{background:#217d9a!important;width:22px;height:2px}
    .rebi-refresh .navbar-toggle .icon-bar:first-of-type{margin-top:0!important}
    .rebi-refresh.rebi-nav-collapse .navbar-collapse{position:absolute;left:0;right:0;top:74px;z-index:1100;margin:0;padding:12px 20px;background:#fff;border-top:1px solid var(--rebi-line);border-bottom:1px solid var(--rebi-line);box-shadow:0 8px 20px #19314012}
    .rebi-refresh.rebi-nav-collapse .navbar-collapse .navbar-nav{margin:0;float:none}
    .rebi-refresh.rebi-nav-collapse .navbar-collapse .navbar-nav>li{float:none;margin:4px 0}
    .rebi-refresh.rebi-nav-collapse .navbar-collapse .navbar-nav>li>a{padding:13px 15px}
    .rebi-refresh .page_title_section{padding:25px 0 24px}
    .rebi-refresh .page_title_section h1{font-size:27px!important;line-height:1.3}
    .rebi-refresh .section_heading h2,.rebi-refresh .btc_team_left_wrapper h3{font-size:27px;line-height:1.3}
    .rebi-refresh .btc_team_main_wrapper{padding-top:45px;padding-bottom:45px}
    .rebi-refresh .btc_team_left_wrapper p,.rebi-refresh .section_heading p{font-size:15px;line-height:1.8}
    .rebi-refresh .section_1{padding-top:45px;padding-bottom:45px}
    .rebi-refresh #subtitulo{padding-top:32px}
    .rebi-refresh .contact_info_section .icon_text{margin-bottom:17px;padding:24px 20px}
    .rebi-refresh .blogone .blog-post-wrapper .blog-content{min-height:0}
    .rebi-refresh .footer_wrapper{padding-top:37px}
    .rebi-refresh .footer_wrapper .section2_wrapper>.row{gap:29px}
    .rebi-refresh .footer_wrapper .section2_wrapper>.row>div{width:100%;min-width:0!important}
    .rebi-refresh .footer_wrapper .widget_5 ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .rebi-refresh .footer_wrapper .widget_5 ul li{margin:0}
    .rebi-refresh .footer_wrapper .section2_bottom{padding:20px 0}
    .rebi-refresh .cookies{left:16px;right:16px;bottom:16px;width:auto;max-width:none;padding:20px!important}
}
@media(prefers-reduced-motion:reduce){
    .rebi-refresh a,.rebi-refresh button,.rebi-refresh .main_menu_wrapper{transition:none!important;animation:none!important}
}
