/* Keep the slider in its own row within Tasty Links' flexbox section. */
.tlc-carousel-wrapper > .tlc-slider {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}
.tlc-carousel-wrapper .tlc-slider .tasty-link-card {
    min-width: 0;
    box-sizing: border-box;
}
/* Pre-init layout matches Slick's slide widths and side gutters.
   Cards stay visible if JavaScript is disabled or initialization fails. */
.tlc-carousel-wrapper .tlc-slider:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(var(--tlc-desktop, 4), minmax(0, 1fr));
    gap: 0;
    padding: 0 34px;
}
.tlc-carousel-wrapper .tlc-slider:not(.slick-initialized) > .tasty-link-card {
    min-width: 0;
    padding: 0 10px;
}
.tlc-carousel-wrapper .tlc-slider.slick-initialized { display: block; padding: 0 44px; }
.tlc-carousel-wrapper .tlc-slider.slick-initialized .tasty-link-card { flex: none; width: auto; }
.tlc-carousel-wrapper .tlc-slider .slick-list { min-width: 0; overflow: hidden; margin: 0 -10px; }
.tlc-carousel-wrapper .slick-track { display: flex; }
.tlc-carousel-wrapper .slick-slide { height: auto; min-width: 0; padding: 0 10px; box-sizing: border-box; }

/* Isolate navigation from theme-wide button rules (including Astra). */
.tlc-carousel-wrapper .tlc-slider button.tlc-arrow,
.tlc-carousel-wrapper .tlc-slider button.tlc-arrow:hover,
.tlc-carousel-wrapper .tlc-slider button.tlc-arrow:focus {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid #cbd0d6;
    border-radius: 50%;
    background: #fff;
    background-image: none;
    box-shadow: none;
    color: #273444;
    font-family: inherit;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.tlc-carousel-wrapper .tlc-slider button.tlc-prev { left: 0; right: auto; }
.tlc-carousel-wrapper .tlc-slider button.tlc-next { right: 0; left: auto; }
.tlc-carousel-wrapper .tlc-slider button.tlc-arrow svg { display: block; width: 16px; height: 16px; flex: none; }
.tlc-carousel-wrapper .tlc-slider button.tlc-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.tlc-carousel-wrapper .tlc-slider button.tlc-arrow.slick-disabled { opacity: 0.35; cursor: default; }
@media (max-width: 1023px) {
    .tlc-carousel-wrapper .tlc-slider:not(.slick-initialized) { grid-template-columns: repeat(var(--tlc-tablet, 2), minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    .tlc-carousel-wrapper .tlc-slider:not(.slick-initialized) { grid-template-columns: repeat(var(--tlc-mobile, 1), minmax(0, 1fr)); }
    .tlc-carousel-wrapper .tlc-slider.slick-initialized { padding: 0 38px; }
    .tlc-carousel-wrapper .tlc-slider:not(.slick-initialized) { padding: 0 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .tlc-carousel-wrapper .slick-track { transition-duration: 0ms !important; }
}
