:root {
    --bg-dark-green: #003818;
    --text-light-green: #2ecc71;
    --cortxt: #FFF;
    --verde: #219447;
}

.banner-wrapper {
    background-color: var(--bg-dark-green);
    color: var(--bg-color);
    position: relative;
    transition: background-color 0.4s ease;
    overflow: visible; 
}


.banner-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.60) 100%);
    z-index: 1;
    pointer-events: none;
}

.banner-wrapper .container-fluid {
    position: relative;
    z-index: 2;
}

.banner-wrapper {
    border-bottom: 2px solid var(--verde);
}

.poster-container-rel {
    position: relative;
    display: inline-block;
    max-width: 250px;
    width: 100%;
}

.poster-img {
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border: 3px solid var(--verde);
    object-fit: contain;
    max-height: 280px;
    background-color: #e0e0e0;
}


@media (min-width: 992px) {
    .poster-wrapper-overlap {
    position: absolute;
    top: 25px;
    z-index: 20;
    width: 230px;
    }
}

.event-info-col {
    position: relative;
    z-index: 10;
}

.text-tag-cor {
    color: var(--cortxt);
    font-weight: 600;
}

.badge-img {
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    transition: transform 0.2s ease;
}

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

@media (max-width: 991.98px) {
    .badge-mobile-overlay {
    position: absolute;
    bottom: -15px;
    right: -15px;
    max-width: 90px;
    z-index: 30;
    }
}

.badge-img:not([src]), 
.badge-img[src=""] {
    display: none !important;
}

.lower-action-bar {
    min-height: 110px;
}


.titulo {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 600;
    color: #212529;
}

.titulo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;

    width: 45px;
    height: 3px;

    background: var(--verde);
    border-radius: 2px;
}

.schedule-table{
    overflow:hidden;
    background:#fff;

    box-shadow:0 8px 30px rgba(20,30,60,.06);

    border:1px solid #edf0f5;
}


/*******************************
 Header
********************************/
.schedule-header{
    background: linear-gradient(165deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.70) 100%);
    
    color:#fff;
    
    border-radius:8px;

    padding:22px 26px;

    display:flex;
    align-items:center;
    gap:18px;
}

.header-info h4{
    margin:0;
    font-size:1.25rem;
    font-weight:700;
}

.header-info span{
    opacity:.85;
    font-size:.92rem;
}


/*******************************
 Table
********************************/
.competition-table{
    margin:0;
    text-align: center;
}

.competition-table thead th{
    background:#ebeef0;
    border:none;
    color:#596168;
    font-size:.78rem;
    /*text-transform:uppercase;*/
    letter-spacing:.05em;
    font-weight:600;
    padding-top:16px;
    padding-bottom:16px;
}

.competition-table tbody tr.decorrer td {
    background-color: #eaeceb;
}

.competition-table tbody td{
    /*padding:16px 18px;*/
    border-top:1px solid #f2f3f6;
    vertical-align:middle;
    border-bottom-width: 0;
}

.competition-table tbody tr{
    transition:.25s;
}

.competition-table tbody tr:hover{
    background:#dde0df;
}


/*******************************
 Hora
********************************/

.time{
    font-weight:700;
    color:#273444;
    white-space:nowrap;
}

.time.mesmaHora {
    border-top: 0 !important;
}

/*******************************
 Prova
********************************/
.event{
    align-items:center;
    gap:12px;
    font-weight:500;
}


/*******************************
 Sexo
********************************/
.gender{
    width:28px;
    height:28px;

    border-radius:50%;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    font-size:.75rem;

    font-weight:700;
}

.gender.female{
    background:#ffe7ee;
    color:#df507e;
}

.gender.male{
    background:#e6f2ff;
    color:#2b7de9;
}

.gender.all{
    background:#ebebeb;
    color:#353434;
}


/*******************************
 Resultados
********************************/
.results-link{
    text-decoration:none;
    color:#0f8a53;
    font-weight:600;
    font-size:.9rem;
}

.results-link:hover{
    color:#0a6d41;
}

.results-link i{
    margin-left:6px;
    font-size:.85rem;
}


@media (max-width:768px){
    .schedule-header{
        padding:18px;
    }

    .header-info h4{
        font-size:1rem;
    }

    .gender, .competition-table, .results-link{
        font-size: .85rem;
    }
}




.container {
  max-width: 90%;
  margin: 0 auto;
}

.nav-link {
    background-color: transparent;
    border: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 576px) {
    .nav-link {
        border-bottom: 2px solid lightgray !important;
    }
}

.nav-link.active {
    background-color: transparent !important;
    border-bottom: 3px solid var(--bs-success) !important;
    border-radius: 0 !important;
    font-weight: bold !important;
}

.nav-link:hover {
    background-color: #e9ecef;
}
.nav-link:focus {
    border: 0;
}

.tbl_res th {
  font-size: 12px;
  color: #2e7d32;
  font-weight: 700;
}

.tbl_res .txtsec {
    color: var(--bs-secondary) !important;
    font-size: .875em;
}

.pos-cell {
  text-align: center;
  color: var(--bs-secondary) !important;
}
