.atlc-fc {
    margin: 20px 0;
}

.atlc-fc__track-wrap {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
}

.atlc-fc__swiper {
    overflow: hidden;
    width: 100%;
}

.atlc-fc__arrow {
    appearance: none;
    -webkit-appearance: none;
    background: #0f172a !important;
    border: 0 !important;
    border-radius: 14px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    height: 48px;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    width: 28px;
    -webkit-tap-highlight-color: transparent;
}

.atlc-fc__arrow,
.atlc-fc__arrow:link,
.atlc-fc__arrow:visited {
    background: #0f172a !important;
    color: #fff !important;
}

.atlc-fc__arrow:hover,
.atlc-fc__arrow:focus-visible {
    background: var(--atlc-primary, #4285f4) !important;
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28) !important;
    color: #fff !important;
    outline: none !important;
    transform: translateY(-1px);
}

.atlc-fc__arrow:active {
    background: var(--atlc-primary-dark, #1a73e8) !important;
    box-shadow: none !important;
    color: #fff !important;
    transform: translateY(0);
}

.atlc-fc__arrow.swiper-button-disabled {
    background: #0f172a !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.45;
}

.atlc-fc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.atlc-fc-card__media {
    background: #f1f5f9;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.atlc-fc-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.atlc-fc-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 12px;
}

.atlc-fc-card__entity {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.atlc-fc-card__category {
    color: #475569;
    font-size: 12px;
    margin: 0 0 6px;
}

.atlc-fc-card__title {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.atlc-fc-card__datetime,
.atlc-fc-card__likes {
    color: #334155;
    font-size: 13px;
    margin: 0;
}

.atlc-fc-card__datetime {
    margin-bottom: 6px;
}

.atlc-fc-card__recurring {
    color: #475569;
    font-size: 12px;
    margin: 0;
}

.atlc-fc-card__likes {
    align-items: center;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    min-width: 36px;
    margin: 0;
    padding: 5px 8px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
}

.atlc-fc-card__likes::before {
    color: #fff;
    content: "\2665";
    font-size: 18px;
    line-height: 1;
}

.atlc-fc-empty,
.atlc-fc-error {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    padding: 10px 12px;
}

.atlc-fc .swiper-slide {
    box-sizing: border-box;
    display: flex;
    height: auto;
}

.atlc-fc .swiper-slide > .atlc-fc-card {
    width: 100%;
}

.atlc-fc .swiper-wrapper {
    align-items: stretch;
}

.atlc-fc-card__title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    max-height: calc(1.3em * 2);
    min-height: calc(1.3em * 2);
    overflow: hidden;
}

@media (max-width: 767px) {
    .atlc-fc__track-wrap {
        gap: 8px;
        grid-template-columns: 32px 1fr 32px;
    }

    .atlc-fc__arrow {
        font-size: 16px;
        height: 40px;
        width: 24px;
    }
}
