/**
 * Integra Core — expositores-chips
 *
 * Encolado por: includes/extensions/expositores-chips.php (solo cuando el
 * shortcode [ic_expositores] tiene nombres que pintar).
 *
 * Marcado: .ic-expositores > .ic-expositores__chip (span|div|li).
 * Paleta tomada del proyecto: gris claro #f2f2f2, borde #ded7cc, texto #222.
 */

.ic-expositores {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none; /* por si se usa tag="li" dentro de un <ul> */
}

.ic-expositores__chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: #f2f2f2;
	border: 1px solid #ded7cc;
	color: #222;
	font-size: 13px;
	line-height: 1.4;
	white-space: nowrap;
}
.feria-expositores {
    display: flex;
    gap: 20px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.feria-expositores__tarjeta {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 80px) / 5);
    min-width: 0;
    min-height: 240px;
    padding: 24px;
    background: #C3582E;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;

    scroll-snap-align: start;
}

.feria-expositores__logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
}

.feria-expositores .feria-expositores__nombre {
    margin: 0;
    color: #fff;
    /* font-family: inherit; */
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .feria-expositores__tarjeta {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media (max-width: 767px) {
    .feria-expositores__tarjeta {
        flex-basis: 80%;
    }
}

/* Contenedor de las tarjetas y las flechas */
.feria-expositores-slider {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* Ocultar la barra inferior */
.feria-expositores-slider .feria-expositores {
    scrollbar-width: none;
}

.feria-expositores-slider .feria-expositores::-webkit-scrollbar {
    display: none;
}

/* Flechas circulares */
.feria-expositores-slider .feria-expositores__flecha {
    position: absolute;
    top: 50%;
    z-index: 3;

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

    width: 36px;
    height: 36px;
    min-width: 36px;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: rgba(255, 236, 222, 0.9);
    color: #70412f;
    box-shadow: none;

    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.feria-expositores-slider .feria-expositores__prev {
    left: 8px;
}

.feria-expositores-slider .feria-expositores__next {
    right: 8px;
}

.feria-expositores-slider .feria-expositores__flecha svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feria-expositores-slider .feria-expositores__flecha:hover {
    background: #fff0e5;
    color: #70412f;
}

.feria-expositores-slider .feria-expositores__flecha:disabled {
    opacity: 0.35;
    cursor: default;
}

.feria-expositores-slider .feria-expositores__flecha[hidden] {
    display: none;
}

.feria-expositores-slider .feria-expositores__flecha:focus-visible {
    outline: 2px solid #70412f;
    outline-offset: 3px;
}