/*logo do evento*/
.container-logo-evento:not(:has(img)) {
    display: none !important;
}

@media (max-width: 768px) {
    .container-logo-evento {
        max-height: 100px !important;
    }
}

@media (max-width: 768px) {
    .container-logo-evento img {
        max-height: 100px;
    }
}

.has-event-logo .menu-fixed .logo a img {
    max-height: auto !important;
    object-fit: contain !important;
    height: auto;
    display: block;
}

.btn-control {
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.btn-control.active {
    opacity: 1;
}

.btn-control:hover {
    opacity: 0.8;
}

.no-slider .btn-control:hover {
    opacity: 1;
}

.btn-control:focus,
.btn-control:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    color: #fff !important;
    text-decoration: none !important;
}

.tab-prova,
.tab-info {
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
    transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    display: none;
}

.tab-prova .post-content,
.tab-info .post-content {
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

.tab-prova.active,
.tab-info.active {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-height: 100% !important;
    display: block;
}

.tab-prova.active .post-content,
.tab-info.active .post-content {
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 100% !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    
}

.post-content h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.75rem;
    line-height: 1.35;
}

.post-content h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.post-content h5 {
    font-size: 1.25rem;
    line-height: 1.45;
}

.post-content h6 {
    font-size: 1.125rem;
    line-height: 1.5;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--e-global-color-accent);
    margin-block: 20px;
    font-weight: 700;
}

.post-content a {
    color: var(--e-global-color-secondary);
    font-weight: 600;
    transition: 0.25s ease-in-out;
}

.post-content a u {
    text-decoration: none;
}

.post-content a:hover {
    opacity: 0.8;
}

.post-content .elementor-widget-theme-post-content img,
.post-content iframe,
.post-content img {
    border-radius: 16px !important;
    height: 100%;
    width: 100%;
    margin-block: 15px;
}

.post-content .wp-block-quote {
    background-color: var(--e-global-color-primary);
    margin: 15px;
    padding: 15px;
}

.post-content blockquote {
    border-left: 3px solid;
    background-color: var(--e-global-color-primary);
    border-color: #fff;
    padding-left: 10px;
    padding-block: 15px;
    margin-block: 30px;
}

.post-content blockquote p {
    margin: 0 !important;
}

.post-content blockquote {
    border-left: 8px solid;
    border-color: var(--e-global-color-secondary);
    padding-left: 15px;
    padding-block: 15px;
    margin-block: 25px;
}

.post-content blockquote p {
    margin: 0 !important;
}

.inscricao-flag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inscricao-flag--open {
    background-color: #e74c3c;
    color: #0d0d0d;
}

.inscricao-flag--closed {
    background-color: #95a5a6;
    color: #0d0d0d;
}

.botoes-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.botoes-container{
    z-index: 999;
}


/* Container principal dos botões e abas */
.botoes-e-abas-container {
    position: relative;
    width: 100%;
}

/* Wrapper do slider com arrows */
.slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
    flex-shrink: 0;
}

.botoes-container.glider-container:not(.draggable) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow: hidden;
}
.botoes-container.glider-container:not(.draggable) .glider-slide .btn-control {
    width: auto !important;
    max-width: none !important;
}

.glider-slide {
    width: auto !important;
    min-width: auto !important;
}

.botoes-container.glider-container .btn-control {
    width: auto !important;
    max-width: none !important;
}


/* Wrapper para botões sem slider */
.buttons-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}



/* Estilos para container sem slider */
.botoes-container.no-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.abas-container {
    padding-top: 60px;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.botoes-container .glider-track {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glider-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: flex-start !important;
}

/* Estilos para as arrows do slider */
.glider-prev,
.glider-next {
    background-color: var(--e-global-color-secondary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    top: 0% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    opacity: 0.8;
    flex-shrink: 0;
    position: relative;
}

.glider-prev,
.glider-next:hover {
    background-color: transparent !important;
    color: var(--e-global-color-secondary) !important;
}

.glider-prev,
.glider-next:focus {
    background-color: transparent !important;
    color: var(--e-global-color-secondary) !important;
}

/* Garantir que as arrows sejam visíveis em telas maiores */
@media (min-width: 401px) {
    .glider-prev,
    .glider-next {
        display: flex !important;
    }
}

/* Layout mobile para botões sem slider - empilhados verticalmente */
@media (max-width: 768px) {
    .botoes-container.no-slider {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .botoes-container.no-slider .btn-control {
        width: 100% !important;
        max-width: 300px !important;
        min-width: auto !important;
    }
   .glider-prev{
      left: 0px!important;
      z-index: 9999;
   }
   .glider-next{
      right: 0px!important;
      z-index: 9999;
   }
}

/* Esconder arrows quando não há slider (poucos itens) */
.glider-prev[style*="display: none"],
.glider-next[style*="display: none"] {
    display: none !important;
}

/* Quando não há slider, ajustar o layout dos botões */
.slider-wrapper:has(.glider-prev[style*="display: none"]) {
    gap: 0;
}

.slider-wrapper:has(.glider-prev[style*="display: none"]) .botoes-container {
    justify-content: center;
    flex-wrap: wrap;
}

.glider-prev:hover,
.glider-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

.glider-prev {
    order: -1;
    left: -34px !important;
}

.glider-next {
    order: 1;
    right: -27px !important;
}

/* Esconder arrows em telas muito pequenas */
@media (max-width: 400px) {
    .glider-prev,
    .glider-next {
        display: none !important;
    }
    
    .slider-wrapper {
        gap: 0;
    }
}

.botoes-container .btn-control {
    min-width: 160px;
    width: auto !important;
    max-width: none !important;
    background-color: var(--e-global-color-secondary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease-in-out;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    overflow: visible !important;
    text-overflow: clip !important;
	text-transform: uppercase;
}

.botoes-container .btn-control:hover {
    color: #fff;
    text-decoration: none;
}

.botoes-container .btn-control:focus {
    color: #fff;
    text-decoration: none;
    outline: none;
}

.botoes-container .btn-control:visited {
    color: #fff;
    text-decoration: none;
}



/* Ajustes para botões sem slider */
.no-slider .btn-control {
    min-width: 180px;
    cursor: pointer !important;
}

/* Desktop: layout horizontal para botões sem slider */
@media (min-width: 769px) {
    .botoes-container.no-slider {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .botoes-container.no-slider .btn-control {
        min-width: 180px !important;
        max-width: none !important;
    }
}

/* Ajustes para botões dentro do slider */
.botoes-container.glider-container .btn-control {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap;
}



/* Desktop: duas linhas quando necessário */
@media (min-width: 769px) {
    .botoes-container.glider-container {
        flex-wrap: wrap;
        width: 100%;
    }
}

/* Mobile: ajustes para o slider */
@media (max-width: 768px) {
    .botoes-container.glider-container {
        gap: 12px;
    }
    
    .botoes-container.glider-container .btn-control {
        font-size: 14px;
        padding: 10px 20px;
    }
}


.tab-content{
   a, p>strong>a{
      color: var(--e-global-color-secondary)!important;
   }
}
.patrocinadores-grid:not(:has(.patrocinador-item:nth-child(2))) {
  grid-template-columns: 1fr;
  justify-content: center;
}
