/* styles/screen7.css */

#screen7 {
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
}

.s7-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: 100%;
    justify-content: center;
    width: 100%; 
}

.s7-final-headline {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 6vw, 2rem);
    color: #E6F19A;
    margin-top: 0.5rem;
    margin-bottom: 0rem;
}

/* Carousel container - this is the visible window */
.s7-carousel {
    width: 100%;
   overflow: hidden;
   touch-action: pan-y;
}

/* Track that holds and moves all the cards */
.s7-carousel-track {
    display: flex;
    direction: ltr;
    /* This padding now correctly centers the NEW card width */
    padding-left: calc(50% - 125px); /* MODIFIED: half of 250px */
    transition: transform 0.4s ease-in-out;
    padding-right: 0;
}

/* Individual fact card styling */
.fact-card {
    flex: 0 0 250px; /* MODIFIED: New, smaller width */
    width: 250px;    /* MODIFIED: New, smaller width */
    height: 350px;
    background: #FFFCF8;
    border-radius: 32px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    margin-left: 20px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.fact-number {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 15vw, 6rem);
    line-height: 1.1;
    color: #075F8F;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.fact-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 4vw, 1.25rem);
    line-height: 1.5;
    color: #075F8F;
    margin-top: 1rem;
}

.fact-source {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #075F8F;
    margin-top: 2rem;
}


/* --- Share Link Styling --- */
.s7-share-link {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* A bit more space between icon and text */
    text-decoration: none;
    color: #FFFCF8;
    font-family: 'Varela Round', sans-serif;
    font-size: clamp(0.9rem, 3vw, 1rem);
    transition: opacity 0.2s ease;
    margin-top: 0.5rem; /* Add some space above */
    cursor: pointer;
}

.s7-share-link:hover {
    opacity: 0.8;
}

.s7-share-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Add this new rule to your screen7.css file */
.s7-share-link.copied span {
    color: #E6F19A;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}