/* Contenedor Principal */
.claht-container-compact {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.claht-header {
    margin-bottom: 30px;
}

.claht-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.claht-highlight {
    color: #0056b3; /* Un azul corporativo */
    font-weight: 600;
}

/* Wrapper del Slider */
.countries-slider-wrapper {
    position: relative;
    padding: 0 50px; /* Espacio para flechas */
    overflow: hidden;
}

.countries-slider-container {
    overflow: hidden; /* Oculta lo que se sale */
    width: 100%;
}

.claht-items-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

/* Tarjetas de Países */
.claht-item-card {
    flex: 0 0 calc(100% / 2 - 20px); /* Móvil: 2 items */
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .claht-item-card {
        flex: 0 0 calc(100% / 4 - 20px); /* Tablet: 4 items */
    }
}

@media (min-width: 1024px) {
    .claht-item-card {
        flex: 0 0 calc(100% / 6 - 20px); /* Desktop: 6 items */
    }
}

.claht-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.claht-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.claht-flag-wrapper {
    width: 60px;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}

.claht-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.claht-country-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

/* Navegación */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.slider-nav:hover {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #0056b3;
}

/* Representantes */
.claht-representatives {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eaeaea;
    width: 100%;
    text-align: center;
}

.claht-rep {
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
}

.claht-rep:last-child {
    margin-bottom: 0;
}

.claht-rep strong {
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.claht-rep-email {
    color: #0056b3;
    text-decoration: none;
    word-break: break-all;
}

.claht-rep-email:hover {
    text-decoration: underline;
}
