.cec-archive {
    width: 100%;
}
/* =========================================================
   FILTER
   ========================================================= */
.cec-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.cec-filter {
    padding: 10px 20px;
    border: 1px solid currentColor;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
}
.cec-filter.active {
    background: #000;
    color: #fff;
}
/* =========================================================
   GRID
   ========================================================= */
.cec-grid {
    display: grid;
    grid-template-columns:
        repeat(
            1,
            minmax(0, 1fr)
        );
    gap: 40px;
}
/* =========================================================
   CARD
   ========================================================= */
.cec-card {
    min-width: 0;
}
.cec-card-type {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.cec-card-title {
    margin: 0 0 16px;
}
.cec-card-content {
    margin-bottom: 20px;
}
/* =========================================================
   SLIDER
   ========================================================= */
.cec-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.cec-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eee;
}
.cec-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
            opacity 0.3s ease;
}
.cec-slide.active {
    opacity: 1;
}
.cec-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* =========================================================
   SLIDER ARROWS
   ========================================================= */
.cec-prev,
.cec-next {
    position: absolute;
    top: 50%;
    transform:
            translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}
.cec-prev {
    left: 12px;
}
.cec-next {
    right: 12px;
}
/* =========================================================
   DOTS
   ========================================================= */
.cec-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 8px;
}
.cec-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}
.cec-dot.active {
    opacity: 1;
}
/* =========================================================
   VIDEO
   ========================================================= */
.cec-video {
    width: 100%;
    margin-top: 20px;
}
.cec-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}
/* =========================================================
   LINK
   ========================================================= */
.cec-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 900px) {
    .cec-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .cec-grid {
        grid-template-columns: 1fr;
    }
}