/* Defining Basics */

:root {
    --background: #e2e8f0;
    --accent: #F0B13E;
    --text:#142544;
}

body {
    font-family: "Space Grotesk", sans-serif;
}

h1, h2, h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
}



/* Navbar */ 
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    margin-right: 20px;
}

.navbar .logo img {
    height: 50px;
}

.navbar a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.navbar a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav-socials {
        display: none;
    }
    .nav-links a:first-child {
        display: none;
    }
}



/* Hero */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: 60px 8%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), var(--text)),
        url('assets/qubits.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--background);
    overflow: hidden;
}

.hero-content {
    flex: 0 1 700px;
    text-align: center;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 4rem;
    line-height: 0.98;
    font-weight: 600;
    margin: 0;
}

.hero p {
    font-family: "Quantico", sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--accent);
    margin: 25px 0 0;
    text-align: center;
}

.hero-image {
    flex: 0 0 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 50px 6%;
    }

    .hero-image {
        display: flex;
        flex: 0 0 auto;
    }

    .hero-image img {
        width: 220px;
        height: auto;
    }

    .hero-content {
        flex: 0 1 auto;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.05;
    }

    .hero p {
        font-size: 1.2rem;
        margin-top: 20px;
    }
}



/* About Section */

.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 8%;
    background: #ffffff;
    color: #111111;
    gap: 5rem;
}

.about-label {
    font-family: "Quantico", sans-serif;
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.about-content {
    max-width: 700px;
}

.about h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    line-height: 1.05;
    font-weight: 500;
    margin: 0 0 1.5rem;
}

.about p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    line-height: 1.7;

    color: var(--text);
    max-width: 600px;
}

.about-link {
    background-color: #F0B13E;
    padding: 5px;
    border-radius: 10%;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-family: "Space Grotesk", sans-serif;
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.about-link:hover {
    gap: 1rem;
}


@media (max-width: 768px) {
    .about-label {
        display: none;
    }
}



/* Highlights */
.club-highlights {
    padding: 2rem 4%;
    background: var(--text);
    color: var(--background);
    gap: 3rem;
}

.marquee-container{
    overflow: hidden;
    padding: 20px 0;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    will-change: transform;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    font-size: 18px;
    color: var(--white);
    padding-right: 40px;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.marquee-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* What the Club Offers */

.offerss {
    padding: 4rem 8%;
    background: #ffffff;
}

.offerss h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    margin: 0 0 2rem;
    color: black;
}

.offerss h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;

    max-width: 900px;
    margin: 0 auto;

    text-align: center;
    color: var(--text);
}

.link {
    text-decoration: none;
    color: black;
}

.offer-container {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .offer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

    .offerss h3{
        font-size:1.5rem;
    }
}

.offer-card {
    flex: 1;
    overflow: hidden;
    background: var(--backgorund);
    border-radius: 8px;
    border: 2px dashed #2a2a2a;;
    transition: transform 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 1.5rem;
}

.offer-content h3 {
    font-family: "Quantico", sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
    color: var(--accent);
}

.offer-content p {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}



/* Contact */

.get-in-touch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    padding: 3rem 12%;
    background: white;
    color: var(--text);
}

@media (max-width: 768px) {
    .get-in-touch {
        flex-direction: column;
        gap: 3rem;
}
}

.contact-heading{
    flex: 1.3;
}

.contact-heading span {
    font-family: "Quantico", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
}

.contact-heading h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 3.4rem;
    font-weight: 600;
    margin: 0.75rem 0 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    color: var(--accent);
}

.contact-detail h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    margin: 0 0 0.4rem;
    color: black;
}

.contact-detail p, .contact-detail a{
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.5;
    text-decoration: none;
}



/* Footer */

footer {
    background: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.85rem;
    text-align: center;
    padding-bottom: 2rem;
    overflow: hidden;
}

@media (max-width: 768px) {
footer {
    padding-right: 2%;
    padding-left: 2%;
}
}

footer hr {
    border-top: 1px solid #2a2a2a;
    margin: 0 0 1.5rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-socials a {
    color: var(--background);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.copyr{
    color: var(--background);
}



/* EVENTS PAGE */
/* Other Page Header */

.other-page-header {
    padding: 3rem 12%;
    background: var(--text);
    color: var(--background);
}

.other-page-header h1 {
    text-align: center;
    font-family: "Quantico", sans-serif;
    font-size: 5rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
.other-page-header h1 {
    font-size: 3rem;
    }
}

.other-page-header h2 {
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
}





/* TEAM */

.team-section {
    padding: 3rem 12%;
}

.team-section h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    margin: 0 0 2rem;
    color: black;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 2fr);
    gap: 3rem 2rem;
}

.team-member {
    text-align: center;
}

.member-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
    border: dotted 0.7px rgba(0, 0, 0)
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}


/* LinkedIn */

.linkedin {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.member-image:hover .linkedin {
    opacity: 1;
}

.member-image:hover img {
    transform: scale(1.05);
}


/* Name */

.team-member h3 {
    font-family: "Quantico";
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1rem 0 0.25rem;
    color: var(--accent)
}

.team-member p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    color: var(--text);
    margin: 0;
}


@media (max-width: 768px) {

    .team-section {
        padding: 4rem 7%;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1rem;
    }

    .team-section h2 {
        font-size: 2rem;
    }

}

/* EVENTS PAGE — event feed
   Cards rendered from /api/events. Prefixed .ev- so nothing here can
   collide with the shared .offer-card / .team-* rules above. */

.ev-section {
    padding: 4rem 8%;
    background: #ffffff;
}

.ev-section h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    margin: 0 0 2rem;
    color: black;
}

.ev-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #ddd;
}

.ev-lede {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text);
    max-width: 46ch;
    margin: 0;
}

.ev-subscribe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


/* Buttons */

.ev-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #111;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.ev-btn:hover {
    transform: translateY(-2px);
}

.ev-btn:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
}

.ev-btn-ghost {
    background: transparent;
    border-color: #2a2a2a;
    color: var(--text);
}

.ev-btn-ghost:hover {
    background: var(--background);
}


/* Card list */

.ev-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ev-card {
    display: flex;
    gap: 1.75rem;
    padding: 1.75rem;
    border: 2px dashed #2a2a2a;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ev-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}


/* Date chip */

.ev-date {
    flex: 0 0 84px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    border-radius: 6px;
    background: var(--text);
    color: var(--background);
}

.ev-month {
    font-family: "Quantico", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.ev-day {
    font-family: "Quantico", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
}


/* Card body */

.ev-body {
    flex: 1;
    min-width: 0;
}

.ev-tag {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-family: "Quantico", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a5a0a;
}

.ev-title {
    font-family: "Quantico", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.85rem;
    color: var(--accent);
}

.ev-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
}

.ev-facts li {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    color: var(--text);
}

.ev-facts i {
    color: var(--accent);
    margin-right: 0.15rem;
}

.ev-desc {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text);
    margin: 0 0 1.1rem;
    max-width: 65ch;
    /* DO NOT ADD WHITESPACE PRELINE*/
}

.ev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


/* Empty and error states */

.ev-empty {
    padding: 3rem 2rem;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    background: var(--background);
}

.ev-empty h3 {
    font-family: "Quantico", sans-serif;
    font-size: 1.4rem;
    margin: 0 0 0.6rem;
    color: var(--text);
}

.ev-empty p {
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    max-width: 48ch;
    margin: 0 auto 1.5rem;
}

.ev-empty-error {
    border-color: #c0836c;
}


/* Loading placeholders */

.ev-skeleton {
    border-style: solid;
    border-color: #e8e8e8;
    pointer-events: none;
}

.ev-skeleton .ev-date {
    background: #eceff4;
    min-height: 88px;
}

.ev-bar {
    display: block;
    height: 0.85rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    background: #eceff4;
}

.ev-bar-lg { height: 1.5rem; width: 55%; }
.ev-bar-sm { width: 35%; }
.ev-bar:last-child { width: 80%; }

.ev-skeleton,
.ev-loading-text {
    animation: ev-pulse 1.6s ease-in-out infinite;
}

.ev-loading-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    color: #7a869a;
    text-align: center;
    margin: 0;
}

@keyframes ev-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .ev-skeleton,
    .ev-loading-text { animation: none; }
    .ev-card:hover,
    .ev-btn:hover { transform: none; }
}


/* Small screens */

@media (max-width: 768px) {
    .ev-section {
        padding: 3rem 7%;
    }

    .ev-section h2 {
        font-size: 2rem;
    }

    .ev-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .ev-card {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .ev-date {
        flex: 0 0 auto;
        flex-direction: row;
        align-self: flex-start;
        gap: 0.6rem;
        padding: 0.4rem 0.9rem;
    }

    .ev-day {
        font-size: 1.5rem;
    }

    .ev-month {
        font-size: 0.9rem;
    }

    .ev-title {
        font-size: 1.25rem;
    }

    .ev-actions .ev-btn {
        flex: 1;
        justify-content: center;
    }
}


/* EVENTS PAGE: 30-day overview */

.ev-cal {
    display: grid;
    grid-template-columns: minmax(0, 400px) 1fr;
    gap: 1.5rem 2.5rem;
    align-items: start;
    align-content: start;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    border: 2px dashed #2a2a2a;
    border-radius: 8px;
    background: #ffffff;
}

.ev-cal-meta {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ev-cal-head h3 {
    font-family: "Quantico", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--accent);
}

.ev-cal-range {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    color: var(--text);
}

.ev-cal-grid {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
}

.ev-cal-grid th {
    font-family: "Quantico", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #7a869a;
    padding-bottom: 0.35rem;
    text-align: center;
}

.ev-cal-grid td {
    padding: 0;
}


/* One day */

.ev-cal-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;

    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;

    border: 1px solid #e4e9f0;
    border-radius: 6px;
    background: transparent;

    font-family: "Space Grotesk", sans-serif;
    color: #8a94a6;
    text-align: center;
}

.ev-cal-num {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.ev-cal-mon {
    font-family: "Quantico", sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #8a5a0a;
}


/* Days with something on — navy, matching the date chips on the cards */

.ev-cal-has {
    border-color: var(--text);
    background: var(--text);
    color: var(--background);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ev-cal-has .ev-cal-num {
    font-weight: 700;
}

.ev-cal-has .ev-cal-mon {
    color: var(--accent);
}

.ev-cal-has:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 0 var(--accent);
}

.ev-cal-has:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ev-cal-dots {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.ev-cal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}


/* Today */

.ev-cal-today {
    border: 2px solid var(--accent);
}

.ev-cal-today:not(.ev-cal-has) {
    color: var(--text);
    font-weight: 700;
}

.ev-cal-pad {
    background: transparent;
}


/* Legend */

.ev-cal-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    color: #5b6e8c;
}

.ev-cal-key {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.ev-cal-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--text);
    box-shadow: 0 2px 0 var(--accent);
}


/* Brief highlight on the card a calendar day points at */

.ev-flash {
    animation: ev-flash 1.4s ease-out;
}

@keyframes ev-flash {
    0%   { border-color: var(--accent); background: #fdf5e6; }
    100% { border-color: #2a2a2a; background: #ffffff; }
}

.ev-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .ev-cal-has:hover { transform: none; }
    .ev-flash { animation: none; }
}


/* Small screens events page */

@media (max-width: 768px) {
    .ev-cal {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .ev-cal-meta,
    .ev-cal-grid {
        grid-column: 1;
        grid-row: auto;
    }

    .ev-cal-grid {
        border-spacing: 3px;
    }

    .ev-cal-head h3 {
        font-size: 1.25rem;
    }

    .ev-cal-num {
        font-size: 0.88rem;
    }
}


/* "Next up" summary */

.ev-cal-next {
    padding-top: 1.25rem;
    border-top: 1px solid #e4e9f0;
}

.ev-cal-next h4 {
    font-family: "Quantico", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7a869a;
    margin: 0 0 0.5rem;
}

.ev-cal-next-title {
    display: block;
    padding: 0;
    margin-bottom: 0.3rem;
    border: none;
    background: none;
    cursor: pointer;

    font-family: "Quantico", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    color: var(--accent);
}

.ev-cal-next-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ev-cal-next-title:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.ev-cal-next-when {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    color: var(--text);
}


/* Past Event Image */

.past-ev-image {
    flex: 0 0 220px;
    width: 220px;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.past-ev-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.past-ev-card {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.75rem;
    width: 100%;
    box-sizing: border-box;
    border: 2px dashed #2a2a2a;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.past-ev-card .ev-body {
    flex: 1;
    min-width: 0;
}


@media (max-width: 768px) {
    .past-ev-card {
        flex-direction: column;
        align-items: stretch;
    }
    .past-ev-image {
        width: 100%;
        height: 200px;
        flex: none;
    }
}



/* Sponsors */

.sponsors {
    padding: 3rem 8%;
    text-align: center;
    background: var(--background);
}

.sponsors h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    margin: 0 0 3rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.sponsor-logos img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .sponsor-logos {
        gap: 2rem;
    }

    .sponsor-logos img {
        max-width: 110px;
        max-height: 60px;
    }
}