/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */



/* SUBMENUS */

.submenu-rioave {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
}

.submenu-rioave .wp-block-navigation-item__content:hover,
.submenu-rioave .current-menu-item .wp-block-navigation-item__content {
    color: var(--theme-link-initial-color);
}


.submenu-rioave .wp-block-navigation {
    gap: 10px;
    box-shadow: 0px 14px 15px 0px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    min-height: 80px;
    padding: 10px;
}


.contentwidget {
    height: 270px;
}

/*Footer 2024*/
.post-185090 .alignfull {
    margin-bottom: 0;
}


table,th,td {
     
     border-width:0 !important; 
     border-style:none;
     border-color:none;
}



@media only screen and (min-width: 999px) {
    .sfm-pos-left body, .sfm-pos-left #wpadminbar {
        padding-left: 80px !important;
        box-sizing: border-box !important;
    }
}

.contentwidget {
    height: 270px;
        overflow-y: auto;
}


/* Page Passatempo */
body.page-template---publicviewsrevslider-page-template-php.page-id-135717 {
  background: #1f5a3d;
  background-image: url(https://rioavefc.pt/wp-content/uploads/2020/08/bg-rafc-2021.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.rafc-center-logo {
    margin-top: 10%;
}
.cf7-center-form {
    padding: 0 15px!important;
}
.cf7-center-form .wpcf7 input[type="email"] {
    background-color: #ffffff;
    border: 0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.cf7-center-form .wpcf7 .wpcf7-submit {
  padding: 6px 40px!important;
    left:50%;
    transform: translatex(-50%);
}

.wpcf7 .wpcf7-not-valid-tip {
    text-align: center;
    color: #ffffff;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #ffb900;
    border-radius: 4px;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: #46b450;
    border-radius: 4px;
    text-align: center;
}

.cookie-notification {
    z-index: 1;
}

@media (min-width: 690px) {
    .cookie-notification[data-type='type-1'] {
        padding: 0 25px 25px 110px;
    }
}



span.stock.out-of-stock {
  background: #FACF1C;
  color: #2A74D9;
  padding: 5px;
  text-transform: uppercase;
  position: absolute;
  top: 20px;
  left: -4px;
  z-index: 2;
  transform: rotate(-45deg);
    font-size: 13px;
    font-weight: bold;
}
span.stock.out-of-stock:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    transform: rotate(45deg);
    border-width: 20px 20px 0 20px;
    border-color: #FACF1C transparent transparent transparent;
    position: absolute;
    right: -27px;
    bottom: -3px;
}  
span.stock.out-of-stock:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    transform: rotate(-45deg);
    border-width: 20px 20px 0 20px;
    border-color: #FACF1C transparent transparent transparent;
    position: absolute;
    left: -27px;
    bottom: -3px;
}
[data-products="type-1"] .woocommerce-loop-product__link {
    overflow: hidden;
}

#homeclass .elementor-shortcode .contentwidget{
    height: 320px;
    overflow-y: scroll;
}

@media only screen and (max-width: 940px) {

    .contaner-tabela table{
        overflow-x: scroll;
        white-space: nowrap;
        display: block;
        text-overflow: ellipsis;
    }

    .contaner-tabela table .name_club{
        padding-right: 50px!important;
    }
    
}



/* Formulário votação do jogador da época*/
.frm_image_options .frm_image_option_container:hover, input[type="radio"]:checked + .frm_image_option_container, input[type="checkbox"]:checked + .frm_image_option_container {
    border-color: #33a370;
    box-shadow: 0 0 0 1px #33a370;
}
.frm_image_option_container .frm_selected_checkmark svg {
    fill: #33a370;
}

.ha-logo-grid-img.elementor-animation-grow{
    filter: grayscale(1);
}

.ha-logo-grid-img.elementor-animation-grow:hover{
    filter: grayscale(0);
}


#elementor-popup-modal-179369 .dialog-message {
    width: 1024px !important;
    height: auto;
}



/*@media only screen and (min-width: 999px) {
#sfm-sidebar {
    display: block !important;
}
}


@media only screen and (max-device-width: 999px) {
   #sfm-sidebar, #sfm-mob-navbar {
    display: none !important;
   } 
}


@media only screen and (min-width: 999px)
.sfm-pos-left body{
    padding-left: 80px !important;
    box-sizing: border-box !important;
}
*/

/*
@media all and (min-width: 999px){
.superfly-on #sfm-sidebar,  .superfly-on .sfm-navicon-button{
display: none !important;
}
}
*/

/* .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
    padding-left: 50px !important;
}*/


/*Liga Portugal Betclic - homepage*/




@media all and (max-width: 999px){
    .superfly-on #sfm-sidebar,
    .superfly-on .sfm-navicon-button {
        display: none !important;
    }
}

.cookie-notification {
    z-index: 99999 !important;
}


.sfm-indicators .sfm-sm-indicator {
    display: none !important;
}


/* TABS  */
.elementor-widget-tabs .elementor-tab-desktop-title {
    position: relative;
    padding: 10px 25px;
    font-weight: 700;
    line-height: 1;
    border: solid transparent;
}

.elementor-tab-desktop-title.elementor-active {
    background-color: var(--buttonInitialColor);
    border-radius: var(--buttonBorderRadius);
}

.elementor-tab-title:hover {
    color: var(--buttonInitialColor);
}

.elementor-widget-tabs .elementor-tab-desktop-title {
    padding: 10px 25px !important;

}


/* SPORTPRESS*/
.listevents .itensEvent>div {
    display: inline-block;
    vertical-align: middle;
}

.event-teamA {
    text-align: right;
}


.listevents .active {
    color: #33bd6c;
}

.listevents,
.duasequipas {
    align-items: center;
}


.sp-event-results {
    padding-left: 1em;
    padding-right: 1em;
    font-size: 40px !important;
}

span.sp-result.postponed,
span.sp-result.tbd {
    font-size: 20px;
}


span.sp-result.postponed {
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 25px;
    padding: 0 8px;
    color: #fff;
    border-radius: 3px;
    background: var(--paletteColor1);
}



/* SE QUIZERMOS O SITE ALINHADO Á ESQUERDA ATIVA-SE ESTE CSS

.elementor-section .elementor-container {
    margin-left: unset !important;
}
*/


[data-layout="enhanced-grid"] .card-content>*:not(:last-child) {
    margin-bottom: 20px;
}

[data-layout="grid"] .card-content>*:not(:last-child) {
    margin-bottom: 20px;
}


.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.videoWrapper iframe,
.videoWrapper embed,
.videoWrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#videodejogador {
    background-color: #3e3d3f;
}

.wp-block-table.is-style-stripes {
    border: none;
    border-spacing: 0 2em;
}


/*Formulario de sócio*/
.frm_error {
    position: relative;
    font-size: 16px;
    color: #ffffff;
    padding: 18px 15px 18px 15px;
    margin-bottom: 45px;
    border-radius: 5px;
    clear: both;
    background: #da001cb3;
    --linkInitialColor: rgba(255, 255, 255, 0.9);
}

span.frm_required {
    color: red;
    font-weight: 700;
    text-decoration: none;
}

label {
    font-weight: 500;
    margin: 0 0 0.5em 0;
    display: block;
}

.frm_form_field {
    margin-bottom: 1.5em;
}


/*   MENU DE LADO      */

#sfm-sidebar .sfm-menu a img {
    margin: 0px 10px 0px 10px;
}

#sfm-sidebar .sfm-menu .sfm-chapter div {
    font-family: inherit;
    font-size: 25px;
    font-weight: 700;
    color: #3eaf7c;
}

#sfm-sidebar .sfm-view .sfm-menu li {
    text-align: left;
}


.sfm-logo {
    padding: 0 5px;

}


/*
    Menu lateral
*/
/* li.sfm-menu-item-87024 span,
li.sfm-menu-item-85100 span,
li.sfm-menu-item-86969 span,
li.sfm-menu-item-85101 span,
li.sfm-menu-item-85106 span,
li.sfm-menu-item-87247 span,
li.sfm-menu-item-85115 span,
li.sfm-menu-item-131052 span,
li.sfm-menu-item-130945 span,
li.sfm-menu-item-168224 span,
li.sfm-menu-item-130946 span,
li.sfm-menu-item-86969 span,
li.sfm-menu-item-138919 span,
li.sfm-menu-item-139338 span,
li.sfm-menu-item-186597 span,
li.sfm-menu-item-186604 span,
li.sfm-menu-item-187621 span, */

li.sfm-menu-item-197358 span,
li.sfm-menu-item-197307 span,
li.sfm-menu-item-197317 span,
li.sfm-menu-item-197326 span,
li.sfm-menu-item-197338 span,
li.sfm-menu-item-197343 span,
li.sfm-menu-item-197349 span {
    display: none !important;
}


/* Menu ingles
*/
li.sfm-menu-item-130294 span,
li.sfm-menu-item-130291 span,
li.sfm-menu-item-130222 span,
li.sfm-menu-item-130304 span,
li.sfm-menu-item-130233 span {
    display: none !important;
}



#sfm-sidebar:not(.sfm-iconbar) .sfm-menu li>a span {
    max-width: inherit !important;
}


/* breadcrumb */
section.rioave_breadcrumb {
    background: #262626;
    padding-top: var(--contentSpacing);
    padding-bottom: 1px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.3;
}

span.breadcrumb_last {
    color: white;
}


#breadcrumbsrioave {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.3;
}


/* TIMELINE */


.cool-timeline .timeline-post .timeline-meta .meta-details {
    font-size: 22px;
    font-weight: 700;
}

.cool-timeline .timeline-post .timeline-content .content-details {
    line-height: 28px;
}






header#header {
    /*    position: fixed;
    width: 100%;*/
    /*    display: none;*/
}


.proximos-jogos-homepage time.sp-event-date,
.proximos-jogos-homepage time.sp-event-date a {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.9) !important;
}

.proximos-jogos-homepage h4.sp-event-title {
    font-size: 15px;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.proximos-jogos-homepage span.sp-result {
    /*font-size: 40px !important;*/
}

.proximos-jogos-homepage span.sp-result.tbd {
    font-size: 20px !important;
    display: inline-block;
    margin-bottom: 30px;
}

/* Logos dos clubes — tamanho e alinhamento uniformes (homepage e blocos SportsPress) */
.sp-template-event-blocks .sp-event-blocks td {
    text-align: center;
}

.sp-template-event-blocks .rioave-event-match-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.65rem;
    width: 100%;
    margin: 0.35rem 0 0.5rem;
    box-sizing: border-box;
}

.sp-template-event-blocks .rioave-event-match-row .sp-event-results {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 0.15em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-template-event-blocks .sp-event-blocks .team-logo,
.sp-template-event-blocks .rioave-event-match-row .team-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 4.25rem;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0;
    vertical-align: middle;
    line-height: 0;
    background: transparent !important;
    box-sizing: border-box;
}

.sp-template-event-blocks .sp-event-blocks .team-logo img,
.sp-template-event-blocks .rioave-event-match-row img.rioave-club-logo,
.sp-template-event-blocks img.rioave-club-logo,
img.rioave-club-logo--placeholder,
.compact-rankings-table .team-logo img.rioave-club-logo,
.rankings-table .team-logo img.rioave-club-logo {
    width: 3.75rem !important;
    height: 3.75rem !important;
    max-width: 3.75rem !important;
    max-height: 3.75rem !important;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
    display: block;
}

.compact-rankings-table .team-logo,
.rankings-table .team-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: 0.35rem;
    vertical-align: middle;
    line-height: 0;
}

.proximos-jogos-homepage .sp-event-blocks .team-logo,
.proximos-jogos-homepage .rioave-event-match-row .team-logo {
    width: 4.25rem;
    height: 4.25rem;
}

.proximos-jogos-homepage td,
.proximos-jogos-homepage table {
    border: 0px;
}

.proximos-jogos-homepage h5 {
    text-align: center;
}

/* Event List */
.sp-event-list .column-article {
    white-space: nowrap;
}

.sp-event-list .column-article a .dashicons {
    padding-right: 3px;
}

.sp-template-event-list,
.sp-table-league {
    /*  padding: 20px;
  background: #FFF;*/
}

.sp-template-event-list>div>div {
    /* padding: 14px 10px; */
    /* border-top: 1px #dddddd solid; */
}

.sp-template-event-list>div>div>div:nth-child(2) {
    display: inline-block;
    width: 22%;
    text-align: center;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    padding: 14px 5px;
}

.sp-template-event-list>div>div>div:first-child {
    display: inline-block;
    text-align: left;
    padding-right: 15px;
    width: 39%;
    padding: 14px 0 10px 0;
}

.sp-template-event-list>div>div>div:last-child {
    display: inline-block;
    text-align: right;
    padding-left: 15px;
    width: 39%;
    padding: 14px 0 14px 0;
}

.sp-template-event-list .active {
    color: #33bd6c;
    font-weight: 700;
}

.sp-template-event-list .resultados {
    font-weight: 700;
}


/* RIO AVE List */

.image-caption-alt {
    font-family: "fs_hackney_webheavy", sans-serif;
    text-transform: uppercase;
    color: #33bd6c !important;
    font-size: 20px;
    font-weight: normal;
    text-align: center;
    margin-top: 10px;
    min-height: 60px;
}



/* Lista de noticias - em portfolio */
.elementor-portfolio-item__overlay {
    opacity: 1 !important;
}

.elementor-62277 .elementor-element.elementor-element-6e2cce6 a .elementor-portfolio-item__overlay {
    background-color: rgba(0, 0, 0, 0.74) !important;
}


.elementor-portfolio-item__overlay:hover {
    opacity: 0 !important;
}

.elementor-84909 .elementor-element.elementor-element-17feb32e a .elementor-portfolio-item__overlay {
    background-color: rgba(0, 122, 92, 0.9);
}



.elementor-62277 .elementor-element.elementor-element-6e2cce6 .elementor-portfolio-item__title {
    text-align: left;
    padding-left: 30px;
}

/* Lista de equipas - header*/
.lista-de-equipas-header {
    margin-bottom: 25px;
    margin-top: 25px;
}

li.entry-card.sem-espaco,
dl.entry-card.sem-espaco {
    --cardSpacing: 0px;
}

dd.galeria-de-lista-de-jogadores {
    font-size: 30px;
    text-align: center;
}

dd.galeria-de-lista-de-jogadores h2 {
    font-size: 80px;
    font-weight: 300;
}

@media screen and (max-width: 690px) {
    dd.galeria-de-lista-de-jogadores {
        font-size: 20px;
        line-height: 24px;
    }

    li.entry-card.sem-espaco,
    dl.entry-card.sem-espaco {
        padding: 20px 10px 0 10px;
        font-size: 14px;
    }

    dd.galeria-de-lista-de-jogadores h2 {
        margin-top: -20px !important;
        font-size: 50px;
    }

    .player-list-players .entries {
        --cardsGap: 20px;
    }
}



/* cor de fundo da barra de pagina do clube */

section.elementor-element.elementor-element-1c6e1bb.ct-section-stretched.elementor-section-full_width.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section {
    background-color: #2c3e50;
}




.entry-summary>.product_meta>span:not(:last-child) {
    margin-bottom: 5px;
}

.entry-summary>.product_meta>span {
    font-weight: 700;
    display: block;
}

.entry-summary>.product_meta {
    margin-top: 40px;
    padding-top: 40px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-top: 1px solid rgba(224, 229, 235, 0.8);
}

.entry-summary>.product_meta>span>* {
    opacity: 0.7;
    font-weight: 500;
    --linkInitialColor: var(--color);
}

.entry-summary>.product_meta>span:not(:last-child) {
    margin-bottom: 5px;
}

.entry-summary>.product_meta>span {
    font-weight: 700;
    display: block;
}




@media (min-width: 783px) {
    .elementor-tab-content-2061:not([data-sidebar]) [data-layout*="grid"][data-columns="3"] {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }
}

[data-layout="grid"] .entry-card>*:not(:last-child),
[data-layout="classic"] .entry-card>*:not(:last-child),
[data-layout="enhanced-grid"] .entry-card>*:not(:last-child) {
    margin-bottom: 10px;
}

li.entry-card.sem-espaco {
    text-align: center;
    background-color: white;
    list-style: none;
    box-shadow: 0px 12px 18px -6px rgb(34 56 101 / 4%);
}

.sportspress:not([data-sidebar]) [data-layout*="grid"][data-columns="3"] {
    /* display: none; */
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
}


/* figure.imagensaomesmotamanho img {
    height: 550px;
    object-fit: cover;
} */



/*
/ Css da pagina de artigos
*/


.hero-section[data-type="type-2"]>figure>.ct-image-container {
    height: 100%;

}


/*.hero-section[data-type="type-2"] .ct-container {
    align-items: flex-end;
}*/

/*.hero-section[data-type="type-2"] {
    --pageTitleBackground: rgb(13,41,28) !important;
    --pageTitleOverlay: linear-gradient(90deg, rgba(13,41,28,1) 0%, rgba(255,255,255,0) 100%);
}*/


.entry-header .page-title {
    /*text-shadow: 2px 2px 11px rgba(0,0,0,.5);*/
    /*text-transform: uppercase;*/
}

#sfm-sidebar .sfm-icon-email a:after {
    background: #3eaf7c !important;
}

#sfm-sidebar .sfm-social a {
    color: white;
}

.sp-league-table .highlighted {
    color: #33bd6c;
    font-weight: bold;
}

.contentwidget table,
.contentwidget table td,
.contentwidget table th {
    border: 0px !important;
}

li.sfm-menu-item-85101 .sfm-sm-indicator,
li.sfm-menu-item-85106 .sfm-sm-indicator,
li.sfm-menu-item-85115 .sfm-sm-indicator,
li.sfm-menu-item-87024 .sfm-sm-indicator,
li.sfm-menu-item-87247 .sfm-sm-indicator,
li.sfm-menu-item-130294 .sfm-sm-indicator,
li.sfm-menu-item-130222 .sfm-sm-indicator,
li.sfm-menu-item-131052 .sfm-sm-indicator,
li.sfm-menu-item-86969 .sfm-sm-indicator {

    display: none
}

.player-metric-title {
    color: #33A370;
    text-transform: uppercase;
}

h5.player-metric-h {
    margin-top: 0 !important;
}

.single-sp_player .content-area {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.info-player-container {
    height: 630px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .info-player-container {
        height: auto;
    }
}

.sp-template .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    /*    background-color: transparent;*/
}

.sp-row td {
    padding: 2rem;
}


/*
    Custom player selector
*/
.player-nav {
    display: flex;
    flex-direction: row;
    height: 80px;
    padding: 23px 0;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.player-nav a {
    text-transform: uppercase;
    margin-left: 30px;
    -webkit-transition: .15s ease-in;
    -o-transition: .15s ease-in;
    transition: .15s ease-in;
    font-weight: 600;
}

.player-nav a:hover {
    margin-left: 12px;
}

.player-selector {
    max-width: 175px;
}

.single-sp_player {
    display: flex;
    flex-direction: column;
}

.single-sp_player .sp-section-content-details {
    order: 2;
}

.single-sp_player .sp-section-content-selector {
    order: 1;
}

.single-sp_player .sp-section-content-events,
.single-sp_player .sp-section-content-content,
.single-sp_player .sp-section-content-statistics,
.single-sp_player .sp-section-content-excerpt,
.single-sp_player .sp-section-content-photo {
    display: none;
}

/**
    Custom events
*/
.lista-eventos {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 1.5em;
}

.equipa-casa,
.equipa-visitante {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.equipa-casa .team-logo,
.equipa-visitante .team-logo {
    max-width: 65px;
}

.data-evento {
    text-align: center;
}

.team-name-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.team-name-container .active {
    color: #33bd6c;
}

.player-detail-container {
    /* background-color: #f3fcff; */
    padding: 20px;
    /*    margin-bottom: 40px; */
}

.equipa-principal-container h4.sp-table-caption {
    display: none;
}

td.data-p,
td.data-w,
td.data-d,
td.data-l,
td.data-f,
td.data-a,
td.data-gd,
td.data-pts {
    white-space: nowrap;
}

.elementor-tabs-content-wrapper {
    margin-top: 50px;
}


/*
    Lista de jogadores
*/
/* .imagensaomesmotamanho {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: flex-end;
} */

/* .player-list-players .entries .entry-card figure {
    border-radius: 100%;
    overflow: hidden;
    border: 10px solid #FFF;
    height: auto !important;
    max-height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
} */

#frm_field_60_container select,
#frm_field_63_container select {
    width: 100%;
}

#frm_field_59_container {
    display: grid;
}

.ui-datepicker .ui-datepicker-title select.ui-datepicker-month,
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year {
    color: #000;
    padding-left: 10px;
}

.ui-datepicker td.ui-datepicker-current-day,
.ui-datepicker td .ui-state-hover,
.ui-datepicker thead {
    background: #234E2E !important;
}

.ui-datepicker .ui-widget-header,
.ui-datepicker .ui-datepicker-header {
    background: #2F683E !important;
}

span.preco {
    color: #007a5c;
    font-weight: 800;
}

.frm_error {
    margin-bottom: 0;
}

div#frm_field_68_container {
    display: inline-block;
}

.woocommerce-shipping-methods {
    list-style: none;
}

.postid-86682 .entry-meta>li {
    display: none !important;
}


/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
.classificacao-detalhada table {
    width: 100%;
    border-collapse: collapse;
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 990px) {

    .classificacao-detalhada tr:first-child {
        display: none;
    }

    .classificacao-detalhada table,
    .classificacao-detalhada thead,
    .classificacao-detalhada tbody,
    .classificacao-detalhada th,
    .classificacao-detalhada td,
    .classificacao-detalhada tr {
        display: block;
    }

    .classificacao-detalhada thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .classificacao-detalhada tr {
        border: 1px solid #ccc;
    }

    .classificacao-detalhada td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .classificacao-detalhada td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .classificacao-detalhada td:nth-of-type(1):before {
        text-align: right;
        margin-top: 5px;
        content: "Pos";
    }

    .classificacao-detalhada td:nth-of-type(2):before {
        text-align: right;
        margin-top: 5px;
        content: "Equipa";
    }

    .classificacao-detalhada td:nth-of-type(3):before {
        text-align: right;
        margin-top: 5px;
        content: "Global J";
    }

    .classificacao-detalhada td:nth-of-type(4):before {
        text-align: right;
        margin-top: 5px;
        content: "V";
    }

    .classificacao-detalhada td:nth-of-type(5):before {
        text-align: right;
        margin-top: 5px;
        content: "E";
    }

    .classificacao-detalhada td:nth-of-type(6):before {
        text-align: right;
        margin-top: 5px;
        content: "D";
    }

    .classificacao-detalhada td:nth-of-type(7):before {
        text-align: right;
        margin-top: 5px;
        content: "Casa J";
    }

    .classificacao-detalhada td:nth-of-type(8):before {
        text-align: right;
        margin-top: 5px;
        content: "V";
    }

    .classificacao-detalhada td:nth-of-type(9):before {
        text-align: right;
        margin-top: 5px;
        content: "E";
    }

    .classificacao-detalhada td:nth-of-type(10):before {
        text-align: right;
        margin-top: 5px;
        content: "D";
    }

    .classificacao-detalhada td:nth-of-type(11):before {
        text-align: right;
        margin-top: 5px;
        content: "Fora J";
    }

    .classificacao-detalhada td:nth-of-type(12):before {
        text-align: right;
        margin-top: 5px;
        content: "V";
    }

    .classificacao-detalhada td:nth-of-type(13):before {
        text-align: right;
        margin-top: 5px;
        content: "E";
    }

    .classificacao-detalhada td:nth-of-type(14):before {
        text-align: right;
        margin-top: 5px;
        content: "D";
    }

    .classificacao-detalhada td:nth-of-type(15):before {
        text-align: right;
        margin-top: 5px;
        content: "Golos GM";
    }

    .classificacao-detalhada td:nth-of-type(16):before {
        text-align: right;
        margin-top: 5px;
        content: "GS";
    }

    .classificacao-detalhada td:nth-of-type(17):before {
        text-align: right;
        margin-top: 5px;
        content: "Média GM";
    }

    .classificacao-detalhada td:nth-of-type(18):before {
        text-align: right;
        margin-top: 5px;
        content: "GS";
    }

    .classificacao-detalhada td:nth-of-type(19):before {
        text-align: right;
        margin-top: 5px;
        content: "";
    }

    .classificacao-detalhada td:nth-of-type(20):before {
        text-align: right;
        margin-top: 5px;
        content: "Pts";
    }
}

.classificacao-detalhada .wp-block-table.is-style-stripes {
    border-spacing: 0 0.1em;
}

.classificacao-detalhada .highlighted {
    color: #33bd6c;
    font-weight: bold;
}

@media screen and (max-width: 460px) {

    #post-132619 td,
    #post-132619 th {
        padding: 5px !important;
    }
}

/* Remove Degradé das thumbnails */
.thim-course-block-3 .course-item .featured-img:before {
    content: none !important;
}

/* -------- Players Birthday ---------- */
section.content-players-birthday {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

section.content-players-birthday .players-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

section.content-players-birthday .players-group .player-item {
    /* max-width: 320px;
    width: auto; */
    /*background-color: red;*/
    margin: 15px;
}

.selectr-options-container {
    background-color: #ffffff;
}

@media (min-width: 1000px) {
    .rafc-posts[data-layout*="grid"][data-columns="3"] {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }
}

.content-players-birthday {
    margin-bottom: 50px;
}

figure.player-figure .overlay-img {
    border-radius: 100%;
    overflow: hidden;
    width: 225px;
    height: 225px;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(35, 164, 85, 0.1);
    -moz-box-shadow: 4px 4px 0px 0px rgba(35, 164, 85, 0.1);
    box-shadow: 4px 4px 0px 0px rgba(35, 164, 85, 0.1);
}

figure.player-figure .overlay-img .player-img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

figure.player-figure figcaption {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 10;
}

figure.player-figure figcaption span.player-name {
    position: absolute;
    background-color: #006A39;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 12px;
    -webkit-transform: rotate3d(17, -3, 1, -38deg);
    transform: rotate3d(17, -3, 1, -38deg);
    top: -38px;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(35, 164, 85, 0.1);
    box-shadow: 4px 4px 0px 0px rgba(35, 164, 85, 0.1);
    z-index: 15;
}

figure.player-figure figcaption span.player-job {
    margin-top: 10px;
    font-size: 14px;
}

.menucotas {
    margin-bottom: 15px;
}

.menucotas a {
    color: #222430;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 10px;
}

.menucotas a:hover {
    color: #61CE70;
    text-decoration: none;
}

/* Classificação detalhada */
.classificacao-detalhada table tbody tr td img {
    width: 40px;
}



/**
    Listagem de notícias - páginas das equipas
*/
a.ct-media-container.boundless-image {
    padding-bottom: 20px;
    position: relative;
}


/* Menu Horizontal - Menu Secundário */
.menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: relative;
    z-index: 999999 !important;
}

.menu-container .menu-lista {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    gap: 0;
    justify-content: center;
    align-items: center;
}

.menu-container .menu-lista li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 999999;
}

.menu-container .menu-lista li a {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
}

.menu-container .menu-lista li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-container .menu-lista li.menu-item-has-children > a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 12 12' fill='none' aria-hidden='true' focusable='false'%3E%3Cpath d='M1.50002 4L6.00002 8L10.5 4' stroke='currentColor' stroke-width='1.5'%3E%3C/path%3E%3C/svg%3E");
    display: inline-block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    line-height: 1;
    position: relative;
    top: -2px;
}

.menu-container .menu-lista li:hover > a,
.menu-container .menu-lista li.current-menu-item > a,
.menu-container .menu-lista li.current-page-item > a {
    color: var(--theme-link-initial-color, #0073aa);
}

/* Submenus */
.menu-container .menu-lista li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 999999 !important;
    border-radius: 4px;
}

.menu-container .menu-lista li:hover > .sub-menu,
.menu-container .menu-lista li.menu-item-has-children:hover > .sub-menu {
    display: flex;
}

.menu-container .menu-lista li .sub-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.menu-container .menu-lista li .sub-menu li:last-child {
    border-bottom: none;
}

.menu-container .menu-lista li .sub-menu li a {
    display: block;
    padding: 12px 20px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-container .menu-lista li .sub-menu li a:hover,
.menu-container .menu-lista li .sub-menu li.current-menu-item > a,
.menu-container .menu-lista li .sub-menu li.current-page-item > a {
    background-color: #f5f5f5;
    color: var(--theme-link-initial-color, #0073aa);
}

/* Remover padding-top de elementos com data-vertical-spacing quando o menu estiver presente */
[data-vertical-spacing*=top] {
    padding-top: 0 !important;
}

/* Garantir que elementos do Stackable não fiquem por cima do submenu */
.menu-container .menu-lista li .sub-menu {
    z-index: 999999 !important;
}

.wp-block-stackable-tab-labels,
.stk-block-tab-labels {
    position: relative;
    z-index: 1 !important;
}

/* Menus - Ficar por cima de tudo (solução genérica para todos os menus) */
/* Garantir que todos os containers Stackable que contêm menu tenham z-index alto */
.wp-block-stackable-columns:has(.menu-container),
.stk-block-columns:has(.menu-container) {
    position: relative !important;
    z-index: 999999 !important;
}

.wp-block-stackable-column:has(.menu-container),
.stk-block-column:has(.menu-container),
.stk-column-wrapper:has(.menu-container),
.stk-container:has(.menu-container),
.stk-block-content:has(.menu-container),
.stk-inner-blocks:has(.menu-container),
.stk-row:has(.menu-container) {
    position: relative !important;
    z-index: 999999 !important;
}

/* Menu container e seus elementos - sempre por cima */
.menu-container,
.menu-container.menu-shortcode-presente {
    position: relative !important;
    z-index: 999999 !important;
}

.menu-container .menu-lista,
.menu-container.menu-shortcode-presente .menu-lista {
    position: relative;
    z-index: 999999 !important;
}

.menu-container .menu-lista li,
.menu-container.menu-shortcode-presente .menu-lista li {
    position: relative;
    z-index: 999999 !important;
}

.menu-container .menu-lista li .sub-menu,
.menu-container.menu-shortcode-presente .menu-lista li .sub-menu {
    position: absolute !important;
    z-index: 999999 !important;
}

/* ===== LOJA: banner compacto + submenu moderno (2026-11) ===== */
body.woocommerce .stk-block-carousel,
.post-165086 .stk-block-carousel{position:relative;height:clamp(200px,24vw,380px);overflow:hidden;}
body.woocommerce .stk-block-carousel .stk-block-carousel__content-wrapper,
body.woocommerce .stk-block-carousel .stk-block-carousel__slider-wrapper,
body.woocommerce .stk-block-carousel .stk-block-carousel__slider,
body.woocommerce .stk-block-carousel .stk-block-carousel__slider>.stk-column,
body.woocommerce .stk-block-carousel .stk-column>.stk-column-wrapper,
body.woocommerce .stk-block-carousel .stk-column .stk-inner-blocks,
body.woocommerce .stk-block-carousel .stk-block-image,
body.woocommerce .stk-block-carousel figure,
body.woocommerce .stk-block-carousel .stk-img-wrapper,
.post-165086 .stk-block-carousel .stk-block-carousel__content-wrapper,
.post-165086 .stk-block-carousel .stk-block-carousel__slider-wrapper,
.post-165086 .stk-block-carousel .stk-block-carousel__slider,
.post-165086 .stk-block-carousel .stk-block-carousel__slider>.stk-column,
.post-165086 .stk-block-carousel .stk-column>.stk-column-wrapper,
.post-165086 .stk-block-carousel .stk-column .stk-inner-blocks,
.post-165086 .stk-block-carousel .stk-block-image,
.post-165086 .stk-block-carousel figure,
.post-165086 .stk-block-carousel .stk-img-wrapper{height:100%!important;min-height:0!important;margin:0!important;}
body.woocommerce .stk-block-carousel img,
.post-165086 .stk-block-carousel img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 40%;display:block;}

/* submenu da loja: barra em largura total, conteudo alinhado ao contentor */
.submenu-rioave{margin-block-start:0!important;margin-top:0!important;display:block!important;position:relative;z-index:3;width:100%;margin:0 0 56px!important;padding:0!important;background:#fff;border-top:0;border-bottom:1px solid #e1e8ed;box-shadow:none!important;font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;}
.submenu-rioave ul.wp-block-navigation__container{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch;justify-content:flex-start!important;gap:44px;width:min(1290px,90vw)!important;max-width:none!important;min-height:0;margin:0 auto!important;padding:0!important;background:transparent;border:0;border-radius:0;box-shadow:none;}
.submenu-rioave li.wp-block-navigation-item{display:flex;align-items:stretch;margin:0;padding:0;}
.submenu-rioave .wp-block-navigation-item__content{position:relative;display:flex;align-items:center;padding:26px 0!important;border-radius:0;background:transparent!important;color:#3A4F66;line-height:1;white-space:nowrap;box-shadow:none!important;transform:none!important;transition:color .25s ease;}
.submenu-rioave .wp-block-navigation-item__content::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#3eaf7c;transform:scaleX(0);transform-origin:left center;transition:transform .3s cubic-bezier(.4,0,.2,1);}
.submenu-rioave .wp-block-navigation-item__content:hover{color:#3eaf7c;}
.submenu-rioave .wp-block-navigation-item__content:hover::after{transform:scaleX(1);}
.submenu-rioave .current-menu-item>.wp-block-navigation-item__content,
.submenu-rioave .wp-block-navigation-item__content[aria-current="page"]{color:#3eaf7c;}
.submenu-rioave .current-menu-item>.wp-block-navigation-item__content::after,
.submenu-rioave .wp-block-navigation-item__content[aria-current="page"]::after{transform:scaleX(1);}
/* links de conta a direita */
.woocommerce .submenu-rioave li:nth-last-child(2){margin-left:auto!important;}
.woocommerce .submenu-rioave li:nth-last-child(-n+2){margin-right:0;}
.woocommerce .submenu-rioave li:last-child{margin-left:-20px;}
.woocommerce .submenu-rioave li:nth-last-child(-n+2){gap:0;}
.woocommerce .submenu-rioave li:nth-last-child(-n+2) .wp-block-navigation-item__content{font-size:12px;font-weight:600;color:#7a8a9a;text-transform:none;letter-spacing:.02em;}
.woocommerce .submenu-rioave li:last-child .wp-block-navigation-item__content:hover{color:#c0392b;}
.woocommerce .submenu-rioave li:last-child .wp-block-navigation-item__content::after{background:#c0392b;}
@media (max-width:1100px){.submenu-rioave ul.wp-block-navigation__container{gap:28px;}}
@media (max-width:781px){
 body.woocommerce .stk-block-carousel,.post-165086 .stk-block-carousel{height:clamp(150px,42vw,260px);}
 .submenu-rioave{margin-bottom:36px!important;}
 .submenu-rioave ul.wp-block-navigation__container{width:100%!important;padding:0 16px!important;overflow-x:auto;gap:24px;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
 .submenu-rioave ul.wp-block-navigation__container::-webkit-scrollbar{display:none;}
 .submenu-rioave li{flex:0 0 auto;}
 .submenu-rioave li:nth-last-child(2){margin-left:0;}
 .submenu-rioave .wp-block-navigation-item__content{padding:20px 0!important;}
}

/* submenu colado ao banner (sem espaco) */
.wp-block-group:has(+ .submenu-rioave){margin-bottom:0!important;padding-bottom:0!important;}
.wp-block-group:has(+ .submenu-rioave) + .submenu-rioave{margin-top:0!important;}

/* header sempre fixo no topo (sem trocar de estado ao fazer scroll => sem saltos nem lag) */
header.ct-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--wp-admin--admin-bar--height, 0px) !important;
    z-index: 999 !important;
}
header.ct-header [data-sticky],
header.ct-header [data-sticky*="yes"] {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    transform: none !important;
    animation: none !important;
}

/* barra lateral: reservar espaco e pintar a base verde desde o primeiro frame (o plugin so a cria depois por JS) */
@media only screen and (min-width: 999px) {
    body,
    #wpadminbar {
        padding-left: 80px !important;
        box-sizing: border-box !important;
    }
    body::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 80px;
        background: #2f683e;
        z-index: 3000000;
        pointer-events: none;
    }
    #sfm-sidebar {
        opacity: 1 !important;
    }
}


/* reservar sempre a barra de scroll: o conteudo nao "salta" 8px quando a pagina ganha altura */
html { scrollbar-gutter: stable; }


/* ===== Aviso de cookies ===== */
.cookie-notification[data-type]{position:fixed!important;left:80px;right:0;bottom:0;top:auto;width:auto;max-width:none;box-sizing:border-box;padding:22px 0!important;background:#fff!important;color:#3A4F66!important;border:0!important;border-top:3px solid #3eaf7c!important;border-radius:0!important;box-shadow:none!important;z-index:99999;animation:rvCookieIn .5s cubic-bezier(.16,1,.3,1) .6s both;}
.cookie-notification[data-type] .ct-container{display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;gap:32px;width:min(1290px,90vw)!important;max-width:none!important;margin:0 auto!important;padding:0!important;}
.cookie-notification[data-type] .ct-cookies-content{color:#3A4F66!important;font-size:15px;line-height:1.6;font-weight:400;margin:0!important;flex:1;}
.cookie-notification[data-type] .ct-cookies-content a{color:#3eaf7c;text-decoration:underline;}
.cookie-notification[data-type] .ct-button-group{display:flex!important;gap:10px;flex-wrap:nowrap;margin:0!important;flex:0 0 auto;}
.cookie-notification[data-type] .ct-button{min-height:0!important;padding:13px 28px!important;border:0!important;outline:0;box-shadow:none!important;border-radius:999px!important;font-size:13px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;line-height:1;cursor:pointer;transition:background .25s ease,color .25s ease;}
.cookie-notification[data-type] .ct-cookies-accept-button{background:#3eaf7c!important;color:#fff!important;}
.cookie-notification[data-type] .ct-cookies-accept-button:hover{background:#36996c!important;}
.cookie-notification[data-type] .ct-cookies-decline-button{background:#eef2f5!important;color:#3A4F66!important;}
.cookie-notification[data-type] .ct-cookies-decline-button:hover{background:#e1e8ed!important;}
@keyframes rvCookieIn{from{opacity:0;transform:translateY(100%);}to{opacity:1;transform:none;}}
@media (max-width:998px){.cookie-notification[data-type]{left:0;padding:18px 0!important;}.cookie-notification[data-type] .ct-container{flex-direction:column;align-items:stretch;gap:16px;}.cookie-notification[data-type] .ct-button-group{width:100%;}.cookie-notification[data-type] .ct-button{flex:1;}}
/* ===== Carrossel do banner: sem dots, setas limpas ===== */
body.woocommerce .stk-block-carousel__dots,.post-165086 .stk-block-carousel__dots{display:none!important;}
.stk-block-carousel .stk-block-carousel__buttons{position:absolute;inset:0;pointer-events:none;z-index:5;}
.stk-block-carousel .stk-block-carousel__button{pointer-events:auto;position:absolute!important;top:50%;transform:translateY(-50%) scale(.9);width:48px!important;height:48px!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:#192a3d!important;box-shadow:none!important;opacity:0;cursor:pointer;transition:opacity .35s ease,transform .35s cubic-bezier(.16,1,.3,1),background .25s ease,color .25s ease;}
.stk-block-carousel .stk-block-carousel__button__prev{left:28px!important;right:auto!important;}
.stk-block-carousel .stk-block-carousel__button__next{right:28px!important;left:auto!important;}
.stk-block-carousel:hover .stk-block-carousel__button{opacity:1;transform:translateY(-50%) scale(1);}
.stk-block-carousel .stk-block-carousel__button:hover{background:#3eaf7c!important;color:#fff!important;transform:translateY(-50%) scale(1.08);}
.stk-block-carousel .stk-block-carousel__button svg{width:16px!important;height:16px!important;fill:currentColor;}
@media (hover:none){.stk-block-carousel .stk-block-carousel__button{opacity:1;transform:translateY(-50%);width:38px!important;height:38px!important;}.stk-block-carousel .stk-block-carousel__button__prev{left:10px!important;}.stk-block-carousel .stk-block-carousel__button__next{right:10px!important;}}
/* Carrossel: fade lento + setas brancas sem fundo */
.stk-block-carousel{--transition-duration:.9s;}
.stk-block-carousel .stk-block-carousel__button{background:transparent!important;color:#fff!important;width:56px!important;height:56px!important;border-radius:0!important;filter:drop-shadow(0 1px 6px rgba(0,0,0,.45));}
.stk-block-carousel .stk-block-carousel__button:hover{background:transparent!important;color:#fff!important;transform:translateY(-50%) scale(1.15);}
.stk-block-carousel .stk-block-carousel__button svg{width:26px!important;height:26px!important;}
.stk-block-carousel.stk--is-fade .stk-block-carousel__slider{gap:0!important;column-gap:0!important;}

/* ===== Paginas de equipas / plantel: titulo, submenu, separadores, cartoes ===== */
body.page:not(.woocommerce):not(.home) #main > .hero-section[data-type="type-2"]{background:#0f7a5a url("assets/hero-bg.webp") center/cover no-repeat!important;--pageTitleBackground:transparent;min-height:0!important;padding:0!important;position:relative;overflow:hidden;}
body.page:not(.woocommerce):not(.home) #main > .hero-section[data-type="type-2"]::before{content:"";position:absolute;inset:0;background:none;pointer-events:none;}
body.page:not(.woocommerce):not(.home) #main > .hero-section .entry-header{padding:64px 0 60px!important;min-height:0!important;position:relative;}
body.page:not(.woocommerce):not(.home) #main > .hero-section .page-title{color:#fff!important;font-size:clamp(32px,4vw,52px);font-weight:800;letter-spacing:-.01em;line-height:1.1;margin:0;}
body.page:not(.woocommerce):not(.home) #main > .hero-section .page-title::after{content:"";display:block;width:56px;height:4px;background:#fff;margin-top:20px;border-radius:2px;}
body:has(.submenu-rioave):not(.woocommerce) .submenu-rioave{margin-bottom:0!important;}
body:has(.submenu-rioave):not(.woocommerce) .submenu-rioave + *{margin-top:36px!important;}
body.page:not(.woocommerce):not(.home) #main > .hero-section > figure{display:none!important;}
/* Banner de patrocinadores: imagem a preencher a box toda */
.stk-12b7431.stk-block-columns{padding:0!important;overflow:hidden;}
.stk-12b7431 .stk-block-column.stk-72b7cab,
.stk-12b7431 .stk-block-column.stk-5ea0346{display:none!important;}
.stk-12b7431 .stk-block-column.stk-bda8ebe{flex:1 1 100%!important;max-width:100%!important;width:100%!important;}
.stk-12b7431 .stk-block-image,.stk-12b7431 figure,.stk-12b7431 .stk-img-wrapper{margin:0!important;width:100%!important;display:block;}
.stk-12b7431 img.stk-img{width:100%!important;height:auto!important;display:block;}
.stk-12b7431 .stk-column-wrapper{margin:0!important;padding:0!important;}

/* espaço entre o banner e o conteúdo */
body.page:not(.woocommerce):not(.home) #main > .hero-section + :not(.submenu-rioave):not(:has(.submenu-rioave)):not(:has(.menu-shortcode-presente)):not(:has(.menu-container)){margin-top:40px;}

/* Banner: título alinhado com o contentor normal mesmo em páginas com contentor estreito */
.hero-section > header.entry-header.ct-container-narrow{width:var(--theme-container-width);max-width:var(--theme-normal-container-max-width);}

/* Submenu das páginas: alinhado à esquerda com o título do banner */
body.page #main nav.menu-container.menu-shortcode-presente{justify-content:flex-start!important;padding-left:max(0px,calc((100% - min(var(--theme-container-width,100%),var(--theme-normal-container-max-width,1290px)))/2))!important;}
body.page #main nav.menu-container.menu-shortcode-presente > ul.menu-lista{justify-content:flex-start!important;margin-left:-15px!important;margin-right:0!important;}

/* Slider da homepage: título/data alinhados ao max-width do site e título limitado a 3 linhas */
@media (min-width:1025px){
  body.home rs-module rs-layer-wrap:has(> rs-mask-wrap > rs-layer.Newspaper-Title),
  body.home rs-module rs-layer-wrap:has(> rs-mask-wrap > rs-layer.Newspaper-Subtitle),
  body.home rs-module rs-layer-wrap:has(rs-layer.Newspaper-Title),
  body.home rs-module rs-layer-wrap:has(rs-layer.Newspaper-Subtitle){
    left:max(0px,calc((100% - min(var(--theme-container-width,100%),var(--theme-normal-container-max-width,1290px)))/2))!important;
    margin-top:-30px!important;
  }
}
body.home rs-module rs-layer.Newspaper-Title{
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden!important;height:auto!important;max-height:175px!important;
}
@media (min-width:1025px){body.home rs-module rs-layer-wrap:has(> rs-mask-wrap > rs-layer.Newspaper-Subtitle):has(rs-layer.Newspaper-Subtitle):has(rs-layer){margin-top:-58px!important;}}

/* Noticias: banner + espaco entre banner e categorias */
body.blog #main > .hero-section, body.category #main > .hero-section{background:#0f7a5a url("assets/hero-bg.webp") center/cover no-repeat!important;min-height:0!important;padding:0!important;position:relative;overflow:hidden;margin-bottom:0;}
body.blog #main > .hero-section .entry-header, body.category #main > .hero-section .entry-header{padding:64px 0 60px!important;min-height:0!important;position:relative;}
body.blog #main > .hero-section .page-title, body.category #main > .hero-section .page-title{color:#fff!important;font-size:clamp(32px,4vw,52px);font-weight:800;letter-spacing:-.01em;line-height:1.1;margin:0;}
body.blog #main > .hero-section .page-title::after, body.category #main > .hero-section .page-title::after{content:"";display:block;width:56px;height:4px;background:#fff;margin-top:20px;border-radius:2px;}
body.blog #main > .hero-section + .ct-container, body.category #main > .hero-section + .ct-container{margin-top:40px;}
body.category #main > .hero-section > figure{display:none!important;}
body.category #main > .hero-section .page-title .ct-title-label{display:none!important;}
body.category #main > .hero-section .entry-header{width:var(--theme-container-width);max-width:var(--theme-normal-container-max-width);}

/* Dropdown com pesquisa para atributos com muitas opcoes */
.ct-variation-swatches.rioave-select-mode .ct-swatch-container{display:none!important;}
.ct-variation-swatches.rioave-select-mode select{display:block!important;}
.ct-variation-swatches.rioave-select-mode .select2-container{width:100%!important;max-width:420px;}
.ct-variation-swatches.rioave-select-mode .select2-selection{height:46px;border:1px solid #d5dbe1;border-radius:6px;}
.ct-variation-swatches.rioave-select-mode .select2-selection__rendered{line-height:44px!important;padding-left:14px!important;font-weight:600;}
.ct-variation-swatches.rioave-select-mode .select2-selection__arrow{height:44px!important;}
.select2-container--open .select2-dropdown{border-color:#3eaf7c;}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:#3eaf7c!important;}
.select2-search--dropdown .select2-search__field{padding:8px 10px;}
.ct-variation-swatches.rioave-select-mode{display:block;width:100%;}
.ct-variation-swatches.rioave-select-mode .select2-container{min-width:280px;width:100%!important;}
