/* ── Diagonal Slider Layout ── */
.diagonal-slider-container {
    position: absolute;
    top: 50%; left: 50%;
    width: 150vw; /* Sufficient width to cover viewport */
    height: 150vh; /* Sufficient height to cover vertical edges */
    transform: translate(-50%, -50%) rotate(10deg); /* Right tilt per user request */
    display: flex;
    flex-direction: row; /* Columns placed side by side */
    justify-content: center;
    gap: 2vw;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: fadeInSlider 2s ease-in-out forwards;
}

@keyframes fadeInSlider {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Column wrapping */
.slider-col {
    display: flex;
    flex-direction: column;
}

/* The marquee vertical tracks */
.marquee-inner-y {
    display: flex;
    flex-direction: column;
    height: fit-content;
    will-change: transform;
}

/* Alternating Up and Down directional flows */
.scroll-vertical-up { animation: marquee-vert-up 160s linear infinite; }
.scroll-vertical-down { animation: marquee-vert-down 160s linear infinite; }

.marquee-part-y {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    padding-bottom: 2vw; /* Vertical gap before repeat */
}

@keyframes marquee-vert-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes marquee-vert-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.mag-card {
    position: relative;
    flex: 0 0 auto;
    width: clamp(250px, 20vw, 450px); /* Massive vertical cards for density */
    aspect-ratio: 0.8;
    border-radius: 2px; /* Harder brutalist edges */
    overflow: hidden;
    background: #fff; /* Clean white editorial card matching site theme */
    padding: 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Softer shadow for white card */
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .mag-card { width: clamp(140px, 40vw, 200px); }
    .diagonal-slider-container { gap: 4vw; }
    .marquee-part-y { padding-bottom: 4vw; gap: 4vw; }
}

.mag-img-wrap {
    width: 100%; 
    height: 100%; /* Full card, no text box below */
    overflow: hidden;
    position: relative;
}

/* Stylish Editorial Watermark over the image */
.mag-card-watermark {
    position: absolute;
    bottom: -15%;
    right: 5%;
    font-size: clamp(3rem, 15vw, 6rem);
    font-family: 'Helvetica Neue', Impact, sans-serif;
    color: rgba(255, 255, 255, 0.75);
    mix-blend-mode: overlay; /* Magazine print effect */
    text-transform: uppercase;
    font-weight: 900;
    pointer-events: none;
    transform: rotate(-90deg);
    transform-origin: bottom right;
    line-height: 0.8;
}

.mag-card img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Sharp inside edges */
}

.mag-card-info {
    height: 35%; /* Bottom portion for text */
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.mag-card-name {
    font-weight: 900;
    font-size: 1.1rem;
    color: #111; /* Dark text for white card */
    margin-bottom: 3px;
    line-height: 1.2;
}

.mag-card-role {
    font-size: 0.75rem;
    color: #555; /* Secondary text */
    margin-bottom: 12px;
}
