@font-face {
    font-family: 'SpaceGrotesk';
    src: url('https://senseilab.io/wp-content/uploads/2026/01/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-display: swap;
}

.st-wrap { width: 100%; box-sizing: border-box; }
.st-wrap * { box-sizing: border-box; }
.st-grid { width: 100%; }

/* Desktop: CSS-column masonry. Swiper is never initialized above the mobile
   breakpoint (see frontend.js), so these plain block/column rules just apply. */
@media (min-width: 769px) {
    .st-track { display: block; column-count: 4; column-gap: 24px; }
    .st-card { display: inline-block; width: 100%; break-inside: avoid; margin-bottom: 24px; }
    .st-grid .swiper-pagination { display: none; }
}

@media (max-width: 1200px) and (min-width: 993px) {
    .st-track { column-count: 3; }
}
@media (max-width: 992px) and (min-width: 769px) {
    .st-track { column-count: 2; }
}

.st-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.st-title-big,
.st-quote-big {
    font-family: "SpaceGrotesk", sans-serif;
    font-size: 23px;
    font-weight: 600;
    font-style: normal;
    line-height: 28px;
    color: #1a1a1a;
    margin: 0 0 14px 0;
}
.st-card-quote .st-quote-big { margin-bottom: 0; }

.st-quote-small {
    font-family: "SpaceGrotesk", sans-serif;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
    color: #555;
    margin: 0 0 20px 0;
}

.st-person { display: flex; align-items: center; gap: 12px; }
.st-avatar {
    width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
    background: #f4f4f4; display: flex; align-items: center; justify-content: center;
}
.st-avatar img { width: 100%; height: 100%; object-fit: contain; }

.st-person-info { display: flex; flex-direction: column; font-family: "SpaceGrotesk", sans-serif; }
.st-person-info strong { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.st-person-info span { font-size: 13px; color: #888; }

/* Video */
.st-card-video { padding: 0; overflow: hidden; background: #000; }
.st-video-cover {
    position: relative; width: 100%; aspect-ratio: 9 / 16;
    background-size: cover; background-position: center; cursor: pointer;
}
/* Dark gradient at the bottom so the play button (and any future caption)
   stays legible over any cover photo. */
.st-video-cover::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(70,70,70,0) 55%, rgba(70,70,70,0.55) 100%);
}
.st-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.st-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background-color: #C0212C; }
.st-play-btn svg { width: 22px; height: 22px; margin-left: 3px; fill: #1a1a1a; transition: fill 0.2s ease; }
.st-play-btn:hover svg { fill: #fff; }
.st-video-cover iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }

/* Mobile: Swiper drives layout via inline styles once initialized (frontend.js).
   One slide at a time; text cards get a consistent height so the slider
   doesn't jump around, videos keep their own vertical (9:16) proportion. */
@media (max-width: 768px) {
    .st-card { width: 100%; }
    .st-card:not(.st-card-video) {
        min-height: 320px; display: flex; flex-direction: column; justify-content: center;
    }
    .st-card-video { min-height: 0; }

    .st-grid .swiper-pagination {
        position: relative; margin-top: 18px; display: flex; justify-content: center; gap: 10px;
    }
    .st-grid .swiper-pagination-bullet {
        width: 10px; height: 10px; border-radius: 50%; background: #ccc; opacity: 1;
    }
    .st-grid .swiper-pagination-bullet-active { background: #c5a470; }
}
