.jf-section {
    margin:24px 0;
    min-width:0
}

.jf-grid {
    display:grid;
    grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));
    gap:16px
}

.jf-list {
    grid-template-columns:1fr
}

.jf-carousel {
    display:flex;
    overflow:auto;
    scroll-snap-type:x mandatory
}

.jf-carousel>.card {
    flex:0 0 280px;
    scroll-snap-align:start
}

.jf-cover {
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block
}

.copy {
    padding:20px
}

.jf-section .jf-section {
    margin:0
}

.topright {
    flex-wrap:wrap
}

@media(max-width:700px) {
    .jf-grid {
        grid-template-columns:1fr
    }

    .desktop {
        display:none
    }

    .mast {
        flex-wrap:wrap
    }

}

@media(min-width:701px) {
    .mobile {
        display:none
    }

}

/* 02. Section Layout */
.jf-section-layout { display:grid; grid-template-columns:var(--jf-tracks); align-items:start; }
.jf-layout-column { min-width:0; display:flex; flex-direction:column; gap:16px; overflow-wrap:anywhere; }
@media(max-width:700px) { .jf-section-layout.jf-stack-mobile { grid-template-columns:minmax(0,1fr); } }

/* 03. Slideshow */
.jf-slide-heading { margin-bottom:14px; }
.jf-slide-heading h2 { margin:0; }
.jf-slide-line { border-bottom:1px solid currentColor; padding-bottom:8px; }
.jf-slide-stage { position:relative; min-width:0; overflow:hidden; }
.jf-slide-item,.jf-slide-placeholder { position:relative; aspect-ratio:var(--slide-ratio,16/9); width:100%; overflow:hidden; }
.jf-slide-item { display:block; color:white; }
.jf-slide-item[hidden] { display:none; }
.jf-slide-item img,.jf-slide-placeholder img { width:100%; height:100%; object-fit:cover; display:block; }
.jf-slide-placeholder { background:#252422; color:#aaa; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; }
.jf-slide-caption {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:40px 24px 22px;
    background:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.65) 45%,rgba(0,0,0,.92) 100%);
    color:#fff;
    font-size:32px;
    font-weight:800;
    line-height:1.15;
    text-shadow:0 2px 4px #000,0 4px 12px rgba(0,0,0,.95);
    white-space:normal;
    overflow-wrap:anywhere;
}
@media(max-width:700px) {
    .jf-slide-caption { font-size:22px; padding:28px 14px 14px; }
}
@media(max-width:380px) {
    .jf-slide-caption { font-size:18px; padding:20px 12px 12px; }
}
.jf-slide-prev,.jf-slide-next { position:absolute; top:50%; transform:translateY(-50%); background:#252422cc; color:white; border:0; border-radius:5px; font-size:28px; padding:4px 12px; cursor:pointer; }
.jf-slide-prev { left:8px; } .jf-slide-next { right:8px; }
.jf-slide-controls { display:flex; justify-content:center; align-items:center; gap:8px; margin-top:10px; flex-wrap:wrap; }
.jf-slide-dot { width:12px; height:12px; padding:0; border:1px solid currentColor; border-radius:50%; background:transparent; cursor:pointer; }
.jf-slide-dot[aria-current=true] { background:#ef9a43; }
.jf-slide-count,.jf-slide-pause { font-size:12px; }
.jf-slideshow[data-swipe="1"] .jf-slide-stage { touch-action:pan-y; }
/* Content Section */
.jf-content-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.jf-content-heading h2{margin:0}.jf-content-heading a{margin-left:auto;white-space:nowrap}.jf-content-track{gap:16px}.jf-content-grid{display:grid;grid-template-columns:repeat(var(--jf-card-cols),minmax(0,1fr))}.jf-content-grid .jf-content-card{width:100%;max-width:var(--jf-card-width)}.jf-content-carousel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}.jf-content-carousel .jf-content-card{flex:0 0 min(var(--jf-card-width),calc((100% - (var(--jf-card-cols) - 1)*16px)/var(--jf-card-cols)));scroll-snap-align:start}.jf-content-card{min-width:0;overflow-wrap:anywhere}.jf-content-card a{color:inherit;text-decoration:none}.jf-content-image{aspect-ratio:var(--jf-card-ratio);background:#252422;overflow:hidden;display:grid;place-items:center;color:#aaa}.jf-content-image img{width:100%;height:100%;object-fit:cover}.jf-content-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:28px}.jf-content-empty small{font-size:13px}.jf-content-copy h3,.jf-content-copy p{margin:6px 0}.jf-content-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.jf-content-nav{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.jf-content-nav button{cursor:pointer;font-size:22px;padding:3px 12px}@media(max-width:700px){.jf-content-grid.jf-content-responsive{grid-template-columns:repeat(2,minmax(0,1fr))}.jf-content-carousel.jf-content-responsive .jf-content-card{flex-basis:min(var(--jf-card-width),75%)}}

.jf-crew-image{aspect-ratio:1;display:grid;place-items:center;background:#252422;color:#aaa;overflow:hidden}.jf-crew-image img{width:100%;height:100%;object-fit:cover}.jf-crew h3{margin:8px 0 3px}.jf-crew-profile{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:28px;margin:24px 0}.jf-crew-profile h1{margin-top:0}@media(max-width:700px){.jf-crew-profile{grid-template-columns:1fr}.jf-crew-profile .jf-crew-image{max-width:320px}}

/* Hide the manual play/pause control; retain autoplay logic. */
.jf-slideshow .jf-slide-pause { display:none !important; }

/* Full content listings (View More) only; Builder sections retain their settings. */
.jf-view-more .jf-content-track.jf-content-grid,
.jf-view-more .jf-content-track.jf-content-carousel {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
    align-items:start;
    overflow:visible;
    scroll-snap-type:none;
}
.jf-view-more .jf-content-track .jf-content-card {
    width:100%;
    max-width:none;
    min-width:0;
}
.jf-view-more .jf-content-image {
    aspect-ratio:auto;
    background:transparent;
}
.jf-view-more .jf-content-image img {
    display:block;
    width:100%;
    height:auto;
    object-fit:contain;
}
.jf-view-more .jf-content-image.jf-content-empty {aspect-ratio:var(--jf-card-ratio,16/9);}
.jf-view-more .jf-content-nav {display:none;}
@media(max-width:1000px) {
    .jf-view-more .jf-content-track.jf-content-grid,
    .jf-view-more .jf-content-track.jf-content-carousel {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:700px) {
    .jf-view-more .jf-content-track.jf-content-grid,
    .jf-view-more .jf-content-track.jf-content-carousel {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
}
