/* =============================================================
   EPC Breaking Slider — Styles v1.0.1
   ============================================================= */

/* ---------------------------------------------------------------
   TICKER [epc_ticker]
--------------------------------------------------------------- */
.epc-ticker {
    display: flex;
    align-items: center;
    background: #fff;
    color: #111;
    font-family: inherit;
    font-size: 15px;
    line-height: 1;
    min-height: 38px;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.epc-ticker__label {
    background: #ff7f00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 0 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    min-height: 38px;
    flex-shrink: 0;
}

.epc-ticker__label .fa {
    font-size: 12px;
}

.epc-ticker__track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 38px;
}

.epc-ticker__item {
    display: none;
    align-items: center;
    height: 38px;
    padding: 0 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.epc-ticker__item--active {
    display: flex;
}

.epc-ticker__item a {
    color: #111;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    font-weight: 500;
}

.epc-ticker__item a:hover {
    color: #f37021;
}

.epc-ticker__controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-left: 1px solid #e5e5e5;
}

.epc-ticker__btn {
    background: none;
    border: none;
    color: #111;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    padding: 0 10px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.epc-ticker__btn:hover {
    background: #f5f5f5;
    color: #f37021;
}

/* ---------------------------------------------------------------
   HERO SLIDER [epc_hero_slider]
--------------------------------------------------------------- */
.epc-hero-slider {
    position: relative;
    width: 100%;
    font-family: inherit;
    background: #000;
}

/* --- Slides track --- */
.epc-hero__track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.epc-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #222;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.epc-hero__slide--active {
    opacity: 1;
    pointer-events: auto;
}

.epc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0,0,0,.75) 100%
    );
}

.epc-hero__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 18px;
}

.epc-hero__cat {
    display: inline-block;
    background: #f37021;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 3px 8px;
    margin-bottom: 8px;
    border-radius: 2px;
}

.epc-hero__title {
    margin: 0 0 6px;
    font-size: clamp(16px, 2.5vw, 22px);
    line-height: 1.25;
    font-weight: 700;
}

.epc-hero__title a {
    color: white;
    text-decoration: none;
}

.epc-hero__title a:hover {
	color: white;
    text-decoration: underline;
}

.epc-hero__date {
    color: rgba(255,255,255,.7);
    font-size: 11px;
}

/* --- Thumbnails bar --- */
.epc-thumbs__wrapper {
    position: relative;
    background: #111;
    overflow: hidden;
}

/* Track: contenedor con overflow oculto para el clip */
.epc-thumbs__track {
    display: flex;
    gap: 0;
    overflow: hidden;
    transition: transform .3s ease;
    /* Sin transform inicial — JS lo maneja */
}

/* Cada thumbnail ocupa exactamente 1/visible del ancho */
.epc-thumb {
    flex: 0 0 calc(100% / var(--epc-thumb-visible, 7));
    min-width: 0;
    padding: 0;
    border: 2px solid transparent;
    background: #222;
    cursor: pointer;
    transition: border-color .2s;
    overflow: hidden;
    box-sizing: border-box;
}

.epc-thumb--active {
    border-color: #f37021;
}

.epc-thumb:hover {
    border-color: rgba(243,112,33,.6);
}

.epc-thumb__img {
    width: 100%;
    aspect-ratio: 120 / 86;
    overflow: hidden;
}

.epc-thumb__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.epc-thumb__placeholder {
    width: 100%;
    aspect-ratio: 120 / 86;
    background: #333;
}

/* Botones nav de miniaturas */
.epc-thumbs__nav {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 4px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,.75) 30%);
    pointer-events: none;
}

.epc-thumbs__nav-btn {
    pointer-events: auto;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: background .15s;
    padding: 0;
    line-height: 1;
}

.epc-thumbs__nav-btn:hover {
    background: rgba(243,112,33,.85);
}

.epc-thumbs__nav-btn:disabled {
    opacity: .35;
    cursor: default;
}