/**
 * Foxco Content Scroller Styles
 * Version: 1.3.0
 *
 * Styles for 7 scroll styles across 4 card types.
 * Uses the same 3-copy infinite-scroll trick as the Logo Carousel.
 */

/* -----------------------------------------------
   CORE WRAPPER
----------------------------------------------- */

.foxco-cs-wrapper {
    position: relative;
    overflow: hidden;
    padding: 24px 0;
}

.foxco-cs-carousel {
    position: relative;
    overflow: hidden;
}

/* -----------------------------------------------
   HORIZONTAL TRACK
----------------------------------------------- */

.foxco-cs-wrapper.axis-horizontal .foxco-cs-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    animation-name: fcs-scroll-h;
    animation-duration: var(--cs-speed, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-animation-name: fcs-scroll-h;
    -webkit-animation-duration: var(--cs-speed, 40s);
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

.foxco-cs-wrapper.axis-horizontal .foxco-cs-set {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: var(--cs-gap, 24px);
    padding-right: var(--cs-gap, 24px);
    flex-shrink: 0;
}

.foxco-cs-wrapper.axis-horizontal.direction-right .foxco-cs-track {
    animation-direction: reverse;
    -webkit-animation-direction: reverse;
}

/* -----------------------------------------------
   VERTICAL TRACK
----------------------------------------------- */

.foxco-cs-wrapper.axis-vertical {
    height: var(--cs-height, 440px);
}

.foxco-cs-wrapper.axis-vertical .foxco-cs-carousel {
    height: 100%;
    overflow: hidden;
}

.foxco-cs-wrapper.axis-vertical .foxco-cs-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: fcs-scroll-v;
    animation-duration: var(--cs-speed, 40s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-animation-name: fcs-scroll-v;
    -webkit-animation-duration: var(--cs-speed, 40s);
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

.foxco-cs-wrapper.axis-vertical .foxco-cs-set {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cs-gap, 24px);
    padding-bottom: var(--cs-gap, 24px);
    width: 100%;
}

/* -----------------------------------------------
   KEYFRAMES
----------------------------------------------- */

@keyframes fcs-scroll-h {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-33.333%, 0, 0); }
}
@-webkit-keyframes fcs-scroll-h {
    from { -webkit-transform: translate3d(0, 0, 0); }
    to   { -webkit-transform: translate3d(-33.333%, 0, 0); }
}

@keyframes fcs-scroll-v {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -33.333%, 0); }
}
@-webkit-keyframes fcs-scroll-v {
    from { -webkit-transform: translate3d(0, 0, 0); }
    to   { -webkit-transform: translate3d(0, -33.333%, 0); }
}

@keyframes fcs-scroll-crawl {
    from { transform: perspective(500px) rotateX(28deg) translateY(0%); }
    to   { transform: perspective(500px) rotateX(28deg) translateY(-33.333%); }
}
@-webkit-keyframes fcs-scroll-crawl {
    from { -webkit-transform: perspective(500px) rotateX(28deg) translateY(0%); }
    to   { -webkit-transform: perspective(500px) rotateX(28deg) translateY(-33.333%); }
}

/* -----------------------------------------------
   HORIZONTAL SCROLL STYLES
----------------------------------------------- */

/* 1. Smooth: no changes, linear is default */

/* 2. Ticker: tighter gap, faster implied, no per-card hover lift */
.foxco-cs-wrapper.axis-horizontal.style-ticker {
    --cs-gap: 16px;
}
.foxco-cs-wrapper.axis-horizontal.style-ticker .foxco-cs-item {
    --cs-card-width: 220px;
}
.foxco-cs-wrapper.axis-horizontal.style-ticker .fcs-card {
    padding: 12px 16px;
}

/* 3. Billboard: wider cards, cubic-bezier drift, leading-edge shadow */
.foxco-cs-wrapper.axis-horizontal.style-billboard .foxco-cs-track {
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}
.foxco-cs-wrapper.axis-horizontal.style-billboard .foxco-cs-item {
    --cs-card-width: 360px;
}
.foxco-cs-wrapper.axis-horizontal.style-billboard .fcs-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.06));
    pointer-events: none;
    border-radius: 0 var(--cs-radius, 12px) var(--cs-radius, 12px) 0;
    transition: opacity 0.3s;
}
.foxco-cs-wrapper.axis-horizontal.style-billboard .fcs-card:hover::after {
    opacity: 0;
}

/* 4. Cascade: items breathe (scale + opacity) while track scrolls */
.foxco-cs-wrapper.axis-horizontal.style-cascade .foxco-cs-item {
    animation: fcs-cascade 4s ease-in-out infinite;
    -webkit-animation: fcs-cascade 4s ease-in-out infinite;
}
.foxco-cs-wrapper.axis-horizontal.style-cascade .foxco-cs-item:nth-child(3n+2) {
    animation-delay: -1.33s;
    -webkit-animation-delay: -1.33s;
}
.foxco-cs-wrapper.axis-horizontal.style-cascade .foxco-cs-item:nth-child(3n) {
    animation-delay: -2.66s;
    -webkit-animation-delay: -2.66s;
}
@keyframes fcs-cascade {
    0%, 100% { transform: scale(0.92) translateY(4px); opacity: 0.55; }
    50%       { transform: scale(1.03) translateY(-4px); opacity: 1; }
}
@-webkit-keyframes fcs-cascade {
    0%, 100% { -webkit-transform: scale(0.92) translateY(4px); opacity: 0.55; }
    50%       { -webkit-transform: scale(1.03) translateY(-4px); opacity: 1; }
}
.foxco-cs-wrapper.axis-horizontal.style-cascade .foxco-cs-item:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

/* 5. Filmstrip: dark film-reel aesthetic with sprocket borders */
.foxco-cs-wrapper.axis-horizontal.style-filmstrip {
    background: #1a1a1a;
    padding-top: 32px;
    padding-bottom: 32px;
}
.foxco-cs-wrapper.axis-horizontal.style-filmstrip::before,
.foxco-cs-wrapper.axis-horizontal.style-filmstrip::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 28px;
    background-color: #0f0f0f;
    background-image: radial-gradient(
        ellipse 9px 11px at 18px 14px,
        #1a1a1a 60%,
        transparent 61%
    );
    background-size: 36px 28px;
    background-repeat: repeat-x;
    z-index: 3;
    pointer-events: none;
}
.foxco-cs-wrapper.axis-horizontal.style-filmstrip::before { top: 0; }
.foxco-cs-wrapper.axis-horizontal.style-filmstrip::after  { bottom: 0; }

.foxco-cs-wrapper.axis-horizontal.style-filmstrip .fcs-card {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.08);
}
.foxco-cs-wrapper.axis-horizontal.style-filmstrip .fcs-title,
.foxco-cs-wrapper.axis-horizontal.style-filmstrip .fcs-excerpt,
.foxco-cs-wrapper.axis-horizontal.style-filmstrip .fcs-meta {
    color: #e0e0e0;
}
.foxco-cs-wrapper.axis-horizontal.style-filmstrip .fcs-read-more {
    background: var(--cs-accent, #df6737);
}

/* -----------------------------------------------
   VERTICAL SCROLL STYLES
----------------------------------------------- */

/* 6. Credits: centered, full-width, slow upward */
.foxco-cs-wrapper.axis-vertical.style-credits .foxco-cs-set {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}
.foxco-cs-wrapper.axis-vertical.style-credits .foxco-cs-item {
    width: 100%;
}
.foxco-cs-wrapper.axis-vertical.style-credits .fcs-card {
    text-align: center;
    align-items: center;
}
.foxco-cs-wrapper.axis-vertical.style-credits .fcs-body {
    align-items: center;
}
.foxco-cs-wrapper.axis-vertical.style-credits .fcs-title {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
}
.foxco-cs-wrapper.axis-vertical.style-credits .fcs-terms a {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
}
/* Thin separator line between credit entries */
.foxco-cs-wrapper.axis-vertical.style-credits .foxco-cs-item + .foxco-cs-item {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: var(--cs-gap, 24px);
}

/* 7. Crawl: Star Wars perspective receding scroll */
.foxco-cs-wrapper.axis-vertical.style-crawl .foxco-cs-carousel {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 100%);
}
.foxco-cs-wrapper.axis-vertical.style-crawl .foxco-cs-track {
    animation-name: fcs-scroll-crawl;
    -webkit-animation-name: fcs-scroll-crawl;
    transform-origin: bottom center;
    -webkit-transform-origin: bottom center;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .foxco-cs-set {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .foxco-cs-item {
    width: 100%;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-card {
    text-align: center;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border: none;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-body {
    align-items: center;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-title {
    color: #ffe880;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-excerpt,
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-meta {
    color: #c8b87a;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-terms a {
    color: rgba(255,232,128,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
}
.foxco-cs-wrapper.axis-vertical.style-crawl .fcs-read-more {
    display: none;
}

/* -----------------------------------------------
   PAUSE ON HOVER
----------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
    .foxco-cs-wrapper:not(.no-pause-hover) .foxco-cs-track:hover {
        animation-play-state: paused;
        -webkit-animation-play-state: paused;
    }
}

.foxco-cs-wrapper.no-pause-hover .foxco-cs-track,
.foxco-cs-wrapper.no-pause-hover .foxco-cs-track:hover {
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
}

/* -----------------------------------------------
   EDGE FADE
----------------------------------------------- */

.foxco-cs-wrapper.axis-horizontal.edge-fade .foxco-cs-carousel {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.foxco-cs-wrapper.axis-vertical.edge-fade .foxco-cs-carousel {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Crawl has its own mask; don't override with edge-fade */
.foxco-cs-wrapper.axis-vertical.style-crawl.edge-fade .foxco-cs-carousel {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 100%);
}

/* -----------------------------------------------
   MOBILE: keep animation running
----------------------------------------------- */

@media (hover: none) and (pointer: coarse) {
    .foxco-cs-track,
    .foxco-cs-track:hover {
        animation-play-state: running !important;
        -webkit-animation-play-state: running !important;
    }
}

@media (max-width: 1024px) {
    .foxco-cs-track {
        animation-play-state: running !important;
        -webkit-animation-play-state: running !important;
    }
}

/* -----------------------------------------------
   CARD ITEM (shared)
----------------------------------------------- */

.foxco-cs-item {
    flex-shrink: 0;
    width: var(--cs-card-width, 280px);
    position: relative;
}

.fcs-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--cs-radius, 12px);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.fcs-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

/* -----------------------------------------------
   CARD STYLES
----------------------------------------------- */

/* Minimal */
.fcs-card-minimal {
    background: transparent;
    padding: 16px 0;
}
.fcs-card-minimal:hover {
    transform: translateY(-3px);
}

/* Boxed */
.fcs-card-boxed {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0;
}
.fcs-card-boxed:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.fcs-card-boxed .fcs-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: var(--cs-radius, 12px) var(--cs-radius, 12px) 0 0;
}
.fcs-card-boxed .fcs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.fcs-card-boxed:hover .fcs-image img {
    transform: scale(1.04);
}
.fcs-card-boxed .fcs-body {
    padding: 16px 18px 18px;
}

/* Image Top */
.fcs-card-image-top {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.fcs-card-image-top .fcs-image {
    width: 100%;
    height: var(--cs-card-height, 200px);
    overflow: hidden;
    border-radius: var(--cs-radius, 12px) var(--cs-radius, 12px) 0 0;
}
.fcs-card-image-top .fcs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.fcs-card-image-top:hover .fcs-image img {
    transform: scale(1.05);
}
.fcs-card-image-top .fcs-body {
    padding: 16px 18px 18px;
}
.fcs-card-image-top:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

/* Overlay */
.fcs-card-overlay {
    height: var(--cs-card-height, 220px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: flex-end;
}
.fcs-overlay-inner {
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 50%, transparent 100%);
    border-radius: 0 0 var(--cs-radius, 12px) var(--cs-radius, 12px);
}
.fcs-card-overlay .fcs-title {
    color: #ffffff;
    margin-bottom: 4px;
}
.fcs-card-overlay .fcs-excerpt {
    color: rgba(255,255,255,0.80);
    font-size: 0.85rem;
    margin-bottom: 8px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fcs-card-overlay .fcs-terms a {
    color: rgba(255,255,255,0.70);
}
.fcs-card-overlay .fcs-meta {
    color: rgba(255,255,255,0.65);
}
.fcs-card-overlay:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.35);
}

/* -----------------------------------------------
   CARD INNER ELEMENTS
----------------------------------------------- */

.fcs-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fcs-image {
    display: block;
}

.fcs-image img {
    display: block;
    width: 100%;
}

.fcs-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.fcs-terms a {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cs-accent, #df6737);
    text-decoration: none;
    transition: opacity 0.2s;
}
.fcs-terms a:hover { opacity: 0.75; }
.fcs-terms a + a::before {
    content: '\00b7';
    margin-right: 4px;
    opacity: 0.4;
}

.fcs-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fcs-excerpt {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #555;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fcs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 10px;
}

.fcs-date::before  { content: '\1F5D3 '; font-size: 0.72rem; }
.fcs-author::before { content: '\2014\0020'; }

.fcs-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cs-accent, #df6737);
    margin-bottom: 10px;
}

/* Star rating */
.fcs-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #888;
}
.fcs-stars {
    display: inline-block;
    position: relative;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 2px;
}
.fcs-stars::before {
    content: '\2605\2605\2605\2605\2605';
    color: #ddd;
}
.fcs-stars::after {
    content: '\2605\2605\2605\2605\2605';
    color: #f5a623;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--rating, 0) / 5 * 100%);
    overflow: hidden;
}

.fcs-read-more {
    display: inline-block;
    margin-top: auto;
    padding: 7px 16px;
    background: var(--cs-accent, #df6737);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s, opacity 0.25s;
    align-self: flex-start;
}
.fcs-card:hover .fcs-read-more {
    background: var(--cs-accent-dark, #1a1a2e);
}

.fcs-no-posts {
    padding: 20px;
    color: #888;
    font-style: italic;
    text-align: center;
}

/* -----------------------------------------------
   EDITOR PREVIEW NOTICE
----------------------------------------------- */

.foxco-cs-preview-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 40px 24px;
    text-align: center;
    background: rgba(0,0,0,0.03);
    border: 2px dashed rgba(0,0,0,0.12);
    border-radius: 12px;
    margin: 8px 16px;
}
.foxco-cs-preview-notice .fcs-preview-icon {
    font-size: 2.5rem;
    opacity: 0.25;
    line-height: 1;
    animation: fcs-spin 6s linear infinite;
    -webkit-animation: fcs-spin 6s linear infinite;
    display: inline-block;
}
@keyframes fcs-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.foxco-cs-preview-notice strong {
    font-size: 0.95rem;
    font-weight: 700;
}
.foxco-cs-preview-notice span {
    font-size: 0.82rem;
    color: var(--cs-accent, #df6737);
    font-weight: 600;
}
.foxco-cs-preview-notice em {
    font-size: 0.78rem;
    color: #999;
}

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */

@media (max-width: 1024px) {
    .foxco-cs-item {
        width: calc(var(--cs-card-width, 280px) * 0.9);
    }
}

@media (max-width: 768px) {
    .foxco-cs-item {
        width: calc(var(--cs-card-width, 280px) * 0.8);
    }
    .fcs-title { font-size: 0.95rem; }
    .fcs-excerpt { font-size: 0.82rem; }
    .foxco-cs-wrapper.axis-vertical {
        height: calc(var(--cs-height, 440px) * 0.85);
    }
}

/* -----------------------------------------------
   ACCESSIBILITY
----------------------------------------------- */

.fcs-card:focus-visible {
    outline: 2px solid var(--cs-accent, #df6737);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .foxco-cs-track {
        animation: none !important;
        -webkit-animation: none !important;
    }
    .foxco-cs-item,
    .foxco-cs-wrapper.axis-horizontal.style-cascade .foxco-cs-item {
        animation: none !important;
        transition: none !important;
    }
}

/* -----------------------------------------------
   BACKGROUND PRESETS
   (Reuse same preset names as the logo carousel,
   scoped to .foxco-cs-wrapper)
----------------------------------------------- */

.foxco-cs-wrapper.bg-preset-white          { background: #ffffff; }
.foxco-cs-wrapper.bg-preset-warm           { background: #faf8f5; }

.foxco-cs-wrapper.bg-preset-diagonal-light {
    background-color: #f8f8f8;
    background-image: repeating-linear-gradient(
        -45deg, transparent, transparent 18px,
        rgba(0,0,0,0.03) 18px, rgba(0,0,0,0.03) 20px
    );
}

.foxco-cs-wrapper.bg-preset-diagonal-dark {
    background-color: #141414;
    background-image: repeating-linear-gradient(
        -45deg, transparent, transparent 18px,
        rgba(255,255,255,0.03) 18px, rgba(255,255,255,0.03) 20px
    );
}

.foxco-cs-wrapper.bg-preset-charcoal {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
}

.foxco-cs-wrapper.bg-preset-brand-glow {
    background: linear-gradient(135deg, #1a1008 0%, #291500 40%, #1a1008 100%);
}

.foxco-cs-wrapper.bg-preset-frosted {
    background: linear-gradient(135deg, #161616 0%, #1f1a14 50%, #161616 100%);
    position: relative;
}
.foxco-cs-wrapper.bg-preset-frosted::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 50%, rgba(232,119,34,0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(232,119,34,0.06) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
/* Keep filmstrip sprockets above bg-preset overlay */
.foxco-cs-wrapper.bg-preset-frosted .foxco-cs-carousel,
.foxco-cs-wrapper.bg-preset-frosted::before {
    position: relative;
    z-index: 1;
}

.foxco-cs-wrapper.bg-preset-split {
    background: linear-gradient(160deg, #f5f5f5 50%, #ebebeb 50%);
}

.foxco-cs-wrapper.bg-preset-dots {
    background-color: #f9f9f9;
    background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1px);
    background-size: 28px 28px;
}

.foxco-cs-wrapper.bg-preset-carbon {
    background-color: #181818;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 32px 32px;
}

.foxco-cs-wrapper.bg-preset-stone {
    background: linear-gradient(145deg, #e8e4df 0%, #f0ece7 40%, #ddd9d4 100%);
}

.foxco-cs-wrapper.bg-preset-edge-lit {
    background: #111111;
    box-shadow:
        inset 0 1px 0 rgba(232,119,34,0.30),
        inset 0 -1px 0 rgba(232,119,34,0.30),
        inset 0 2px 12px rgba(232,119,34,0.06),
        inset 0 -2px 12px rgba(232,119,34,0.06);
}

/* Dark preset text color correction */
.foxco-cs-wrapper.bg-preset-charcoal .fcs-title,
.foxco-cs-wrapper.bg-preset-charcoal .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-charcoal .fcs-meta,
.foxco-cs-wrapper.bg-preset-diagonal-dark .fcs-title,
.foxco-cs-wrapper.bg-preset-diagonal-dark .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-diagonal-dark .fcs-meta,
.foxco-cs-wrapper.bg-preset-carbon .fcs-title,
.foxco-cs-wrapper.bg-preset-carbon .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-carbon .fcs-meta,
.foxco-cs-wrapper.bg-preset-brand-glow .fcs-title,
.foxco-cs-wrapper.bg-preset-brand-glow .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-brand-glow .fcs-meta,
.foxco-cs-wrapper.bg-preset-frosted .fcs-title,
.foxco-cs-wrapper.bg-preset-frosted .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-frosted .fcs-meta,
.foxco-cs-wrapper.bg-preset-edge-lit .fcs-title,
.foxco-cs-wrapper.bg-preset-edge-lit .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-edge-lit .fcs-meta {
    color: #e8e8e8;
}

.foxco-cs-wrapper.bg-preset-charcoal .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-diagonal-dark .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-carbon .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-brand-glow .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-frosted .fcs-excerpt,
.foxco-cs-wrapper.bg-preset-edge-lit .fcs-excerpt {
    color: #bbb;
}

/* Dark preset boxed cards */
.foxco-cs-wrapper.bg-preset-charcoal .fcs-card-boxed,
.foxco-cs-wrapper.bg-preset-diagonal-dark .fcs-card-boxed,
.foxco-cs-wrapper.bg-preset-carbon .fcs-card-boxed,
.foxco-cs-wrapper.bg-preset-brand-glow .fcs-card-boxed,
.foxco-cs-wrapper.bg-preset-frosted .fcs-card-boxed,
.foxco-cs-wrapper.bg-preset-edge-lit .fcs-card-boxed,
.foxco-cs-wrapper.bg-preset-charcoal .fcs-card-image-top,
.foxco-cs-wrapper.bg-preset-diagonal-dark .fcs-card-image-top,
.foxco-cs-wrapper.bg-preset-carbon .fcs-card-image-top,
.foxco-cs-wrapper.bg-preset-brand-glow .fcs-card-image-top,
.foxco-cs-wrapper.bg-preset-frosted .fcs-card-image-top,
.foxco-cs-wrapper.bg-preset-edge-lit .fcs-card-image-top {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.10);
}
