/* =========================
  STUDENT STARTUPS
========================= */

.ss-sec {
    padding: 56px 0 30px;
    background: #fff;
}

/* =========================
   CONTAINER (Heading Only)
========================= */

.ss-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 24px;
}

.ss-head {
    text-align: center;
    margin-bottom: 22px;
}

.ss-title {
    margin: 0 0 28px;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: SatoshiBlack;
}

.ss-sub {
    margin: 0 auto 60px;
    max-width: 680px;
    font-size: clamp(18px, 2vw, 18px);
    line-height: 1.6;
}

/* =========================
   MOBILE – FULL WIDTH SCROLL
========================= */

.ss-scroller {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.ss-scroller::-webkit-scrollbar {
    display: none;
}

.ss-track {
    display: flex;
    gap: 20px;
    padding: 0 24px;
    /* width: max-content; */
}

/* =========================
   CARD (FULLY RESPONSIVE)
========================= */

.ss-card {
    flex: 0 0 clamp(260px, 75vw, 340px);
    background: #f4f4f4;
    border-radius: 26px;
    /* padding: 16px; */
    border: 1px solid rgba(15, 17, 21, 0.06);

    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.ss-main-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ss-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Image scales automatically */
.ss-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    /* auto height */
    background: #e8e8e8;
}

.ss-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Content */

.ss-meta {
    margin-top: 12px;
    background: #15181d;
    border-radius: 12px;
    padding: 12px 14px;
}

.ss-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ss-name {
    font-size: 16px;
    color: #fff;
}

.ss-tag {
    font-size: 13px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.ss-desc {
    margin: 12px 0;
    font-size: 15px;
    line-height: 1.55;
}

.student-startup {
    border-radius: 20px;
}

.student-startup-name-container {
    color: #000;
}

.image-container {
    margin-top: auto;
}

/* =========================
   TABLET & DESKTOP GRID
========================= */

@media (min-width: 768px) {

    .ss-scroller {
        overflow: hidden;
        padding-bottom: 0;
    }

    .ss-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 30px;

        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
        padding: 0;
    }

    .ss-card {
        flex: unset;
        width: 100%;
    }

    .ss-wrap {
        margin: auto;
    }
}

/* =========================
   LARGE SCREENS
========================= */

@media (min-width: 1200px) {
    .ss-track {
        width: min(1024px, calc(100% - 40px));
    }
}

@media (min-width: 1400px) {
    .ss-track {
        width: min(1260px, calc(100% - 40px));
    }
}