.frame-carousel {
    margin: 0;
    background:#1f1f1f;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 70svh;
    padding: 30px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-wrapper {
    width:100%;
    max-width: 1100px;
    overflow: hidden;
    padding: 1px 2vw;
    box-sizing: border-box;
    position: relative;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    background-color: #1f1f1f;
    border-radius: 15px;
}

.carousel-sidescroll {
    display: flex;
    gap: 15px;
    width: max-content;
}

.carousel-panel {
    min-width: 270px;
    width: 270px;
    aspect-ratio: 2 / 3;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgb(248, 245, 245);
    background: linear-gradient(to bottom, #f6f4f400, #493a3a78);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.pure-card-link {
    display: flex;
    background-image: linear-gradient(rgba(255, 253, 253, 0), rgba(6, 0, 0, 0.979)), var(--card-bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;    
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.section-c-panel-content {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.section-c-panel-content h3 {
    font-size: clamp(24px, 6.5vw, 30px);
    text-align: left;
    margin: 0 0 10px 0;
}

.section-c-panel-content span {
    font-size: clamp(18px, 4.8vw, 26px);
}


.section-c-nav-wrap {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}