.card-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.card-header {
    position: relative;
    height: 73px;
    background-color: #333333;
    border-radius: 10px 10px 0 0;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible; /* Permite que la imagen sobresalga */
}

.header-image {
    position: absolute;
    top: -24px;
    right: -15px;
    width: auto;
    z-index: 0;
    border-radius: 10px 10px 0 0;
    clip-path: inset(0px 15px 50px 0px);
    height: 201%;
}

/* Media Query para pantallas medianas (tabletas) */
@media (max-width: 991px) {
    .header-image {
        right: -5px;
        height: 220%; /* Ajusta la altura de la imagen */
    }
}

/* Media Query para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    .header-image {
        height: 223%;
        right: -15px;
        top: -20px;
    }
}

.card-header:first-child {
    border-radius: 10px 10px 0px 0px;
}

.card-title {
    position: relative; /* Posiciona el título relativo a su contenedor */
    padding-left: 10px; /* Mantén el padding izquierdo para alinear el texto como antes */
}

.card-title span {
    font-size: 1.2rem;
    margin: 0;
    padding: 0px 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: inline-block; /* Cambia a inline-block para trabajar con el pseudo-elemento */
    position: relative;
}

.card-title span::before {
    content: '';
    position: absolute;
    left: -10px; /* Extiende la línea subrayada hacia la izquierda */
    bottom: -5px; /* Ajusta la posición vertical de la línea */
    width: calc(100% + 10px); /* Asegura que la línea cubra el ancho completo más el padding */
    border-bottom: 2px solid #FF6700; /* Define el estilo de la línea subrayada */
}

.card-stats {
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
    background-color: #333333;
    color: white;
    position: relative;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    flex: 1;
    border-left: 4px solid #f8f8f8;
    text-align: center;
}

.stat-item:first-child {
    border-left: none;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px; /* Espacio entre el nombre de la característica y el icono/valor */
}

.stat-icon-value {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    width: 30px;
    height: 30px;
    margin-right: 0px; /* Espacio entre el ícono y el valor */
}

.stat-value {
    font-size: 1.8rem;
    color: #ffffff;
    display: inline-block;
    font-weight: 600;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 0px;
    margin: 0px;
}

@media (min-width: 992px) {
    .card-header {
        border-radius: 10px 0px 0px 0px;
    }
    .card-header:first-child {
        border-radius: 10px 0px 0px 0px;
    }
    .stat-item:first-child {
        border-left: 4px solid #f8f8f8;
    }
    .card-stats {
        border-radius: 0px 10px 0px 0px;
    }
}


/* Estilos para la tabla de armas */
.weapons-table {
    padding: 0px 10px;
    margin-bottom: 3px;
    overflow-x: scroll;
}

.weapons-table table {
    margin-top: 10px;
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border-bottom: 2px solid #FF6700;
}

.weapons-table th,
.weapons-table td {
    padding: 6px;
    font-size: 0.85rem;
}

.weapons-table th {
    background-color: transparent; /* Fondo transparente para los encabezados */
    color: #333333;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid #FF6700; /* Línea naranja debajo de los encabezados */
    font-size: 0.9rem;
}

.weapons-table .row-even {
    background-color: #f8f8f8;
}

.weapons-table .row-odd {
    background-color: #e8e8e8;
}

.weapons-table td {
    border-bottom: 1px solid #dddddd; /* Línea gris clara entre filas */
    text-align: left;
}

.weapons-table td.text-center {
    text-align: center;
}

.weapons-table .weapon-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}


.card-footer {
    background-color: #333333;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #FF6700;
    border-radius: 0px 0px 10px 10px;
    color: white;
    font-size: 0.8rem;
}

.card-footer:last-child {
    border-radius: 0px 0px 10px 10px;
}


.footer-number {
    min-width: 30px;
    width: 30px;
    min-height: 30px;
    height: 30px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: white;
}

.faction {
    color: #F54E22;
    font-weight: bolder;
    text-transform: uppercase;
}

/* Stickytitles Gorus*/
.larow {
    z-index: 2;
    display: flex;
    background-color: #ffffff;
    position: relative;
    margin-top: -56px;
    border-radius: 10px 10px 0px 0px;
}

.stickytitles {
    position: sticky;
    height: 56px;
    top: 0px;
    z-index: 1;
    display: flex;
    flex-direction: row;
}


.stickytitles h1 {
    background-color: #272c2c;
    font-size: 1rem;
    text-align: left;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 16px;
    display: block;
    width: 100%;
    align-content: center;
    margin: 0;
    background-position: right 10%;
    background-size: 18%;
    background-repeat: no-repeat;
    border-radius: 10px 10px 0px 0px;
}


.faction {
    color: #F54E22;
    font-weight: bolder;
    text-transform: uppercase;
}

.action-box {
    border: 1px solid #282c34;
    border: 1px solid var(--colour-recon);
    box-shadow: 0 0 0 transparent;
    background-color: #eeeeee;
}

.action-box li {
    padding-right: 0.5rem!important;
}

.title-action + p {
    margin-top: 0;
}

.title-action {
    display: block!important;
    color: #F54E22;
    font-weight: bolder;
    text-transform: uppercase;
    padding: .5rem!important;
}


#factionFilter {
    position: relative;
}

#burguerOperativeMenu {
    position: fixed;
    top: 131px;
    right: 15px;
    z-index: 1030;
}

#badgesLasFactionsContainer {
    min-height: 24px;
}

#badgesLasFactionsContainer .badge {
    cursor: pointer;
}


#goUpButton {
    position: fixed;
    top: 135px;
    right: 15px;
    z-index: 1030;
}


#operativeMenu,
#rulesMenu {
    max-height: 80vh; 
    overflow-y: auto; 
    position: fixed;
    z-index: 2000;
    top: 140px;
    right: 15px;
    white-space: nowrap;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#operativeList,
#rulesList {
    width: auto; /* Asegúrate de que la lista también tenga un ancho automático */
}

#operativeList li
#rulesList li {
    text-transform: capitalize;
    white-space: nowrap; 
    text-align: left;
    cursor: pointer;
    font-size: 0.85em;
    min-width: 250px;
}

.abilities-section ul {
    text-align: justify;    
}

.abilities-section p {
    padding: 2px 0px 2px 0px;
}

.unique-actions-section,
.abilities-section {
    text-align: justify;
    font-size: calc(13px + 0.2vw);
}

.ploys, .equipo {
    display: flex;
    justify-content: space-between;
}

.ploy-name, .equipo-name, .racial-name {
    text-align: left;
    padding-left: 10px;
}

.ploy-cps, .equipo-eps {
    text-align: right;
    padding-right: 10px;
}


#burguerRulesMenu {
    position: fixed;
    top: 133px;
    right: 15px;
    z-index: 1030;
}


.tacop .description p {
    margin-bottom: 20px;
}