/* Next Event Section Styles */
.next-event-section {
    padding: 0 1rem;
}

.next-event-container {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 20px;
    padding: 1.8rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #ddd;
}

.next-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.next-event-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    letter-spacing: 0.02em;
}

.next-event-countdown {
    background: #dc3545;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.next-event-card {
    background: #fffdf5;
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #e8deb5;
}

.next-event-card.event-today {
    background: #fffdf5;
    border: 1px solid #e8deb5;
}

.next-event-date-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 1.5rem;
    background: #f5f0d8;
}

.next-event-month {
    font-weight: bold;
    font-size: 1.3rem;
    color: #333;
}

.next-event-day {
    font-weight: bold;
    font-size: 2.5rem;
    color: #333;
    line-height: 1;
}

.next-event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 1.2rem;
}

.next-event-title {
    font-weight: bold;
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 0.5rem;
}

.next-event-info {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
}

.next-event-attire-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    min-width: 140px;
}

.next-event-attire {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

/* Responsive breakpoints for mobile and tablet, matching index.html */
@media (max-width: 768px) {
    .rush-header-section {
        height: 50vh;
        min-height: 50vh;
        padding: 0;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: initial !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 1;
        margin-top: 0;
    }
    .rush-header-section h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
    }
    .rush-schedule-intro {
        padding: 1.2rem 1rem;
        font-size: 1rem;
        max-width: 98vw;
    }
    .rush-schedule-universal, .rush-schedule-info-sessions {
        max-width: 98vw;
        margin: 0 0.5rem 2.2rem 0.5rem;
    }
    .rush-schedule-bar {
        min-height: 80px;
        flex-direction: column;
        padding: 1rem;
    }
    .rush-schedule-bar > div {
        padding: 1rem 0.5rem;
    }
    /* Next Event responsive styles */
    .next-event-section {
        padding: 0 0.5rem;
        margin: 0 0.5rem 2rem 0.5rem !important;
    }
    .next-event-container {
        padding: 1.2rem 1rem;
    }
    .next-event-header {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    .next-event-label {
        font-size: 1.3rem;
    }
    .next-event-card {
        flex-direction: column;
    }
    .next-event-date-col {
        flex-direction: row;
        gap: 0.5rem;
        min-width: unset;
        padding: 1rem;
    }
    .next-event-month {
        font-size: 1.1rem;
    }
    .next-event-day {
        font-size: 1.8rem;
    }
    .next-event-details {
        padding: 1rem;
        text-align: center;
    }
    .next-event-title {
        font-size: 1.2rem;
    }
    .next-event-info {
        font-size: 1rem;
    }
    .next-event-attire-col {
        justify-content: center;
        padding: 1rem;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .rush-header-section h1 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 360px) {
    .rush-header-section h1 {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
}
/* White box styling for Rush Schedule intro, similar to Professionalism page */
.rush-schedule-intro {
    margin-top: 2rem;
    padding: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rush-feature-text {
    /* Style Rush Requirements like pillar descriptions: no white box, larger type, reduced side gutters */
    font-size: clamp(1.05rem, 1.9vw, 1.45rem);
    line-height: 1.6;
    text-align: center;
    margin: 0 auto 1.6rem auto;
    max-width: 1100px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: clamp(0.6rem, 2.5vw, 1.2rem) 6vw;
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
}

@keyframes pull-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Duplicate of rush-info.css with custom styles for Rush Schedule */
.rush-header-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 70vh;
    background-size: cover;
    background-position: center 55%;
    background-attachment: fixed;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 0 1rem;
    z-index: 1;
}

.rush-header-section h1 {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* Fix for .rush-schedule-intro selector */
.rush-schedule-intro {
    margin-top: 6rem;
    max-width: 900px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.2rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}


.rush-schedule-universal h2 {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.2rem;
}

/* Utility/layout classes to replace inline styles in the HTML */
.section-heading {
    text-align: center;
    margin-bottom: 1.2rem;
    font-weight: 800;
}
.section-heading.medium { font-size: 2.2rem; }
.section-heading.large { font-size: 2.5rem; font-weight:900; margin: 3.5rem 0 2.2rem 0; }

.rush-schedule-universal,
.rush-schedule-info-sessions {
    max-width: 900px;
    margin: 0 auto 2.2rem auto;
}

.entry-wrapper {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}
.date-col {
    display:flex;
    align-items:center;
}
.date-col .date-inner {
    display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:90px;padding-top:0.8rem;padding-bottom:0.8rem;
}
.date-col .date-inner .date-month {
    font-weight: bold;
    font-size: clamp(1rem, 1.8vw, 2rem);
    text-align: center;
}
.date-col .date-inner .date-day {
    font-weight: bold;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    text-align: center;
}
.date-col .date-inner.large {
    padding-top:2.2rem;padding-bottom:2.2rem;margin-top:-2.2rem;
}
.entry-content { flex:1;display:flex;flex-direction:column;justify-content:center; }
.bar-main { flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:2.2rem 1.2rem; }
.bar-side { display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;padding:2.2rem 2.2rem 2.2rem 1.2rem;min-width:120px; }
.rush-desc { font-size:1.12rem;text-align:left;max-width:700px;margin:0.3rem 0 0 1.2rem;line-height:1.7; }

.rush-schedule-bar {
    background: #e0e0e0;
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.rush-schedule-bar > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rush-schedule-bar > div:first-child {
    align-items: center;
    padding: 2.2rem 2.2rem 2.2rem 1.2rem;
    min-width: 120px;
}

.rush-schedule-bar > div:nth-child(2) {
    flex: 1;
    padding: 2.2rem 1.2rem;
}

.rush-schedule-bar > div:last-child {
    align-items: flex-end;
    padding: 2.2rem 2.2rem 2.2rem 1.2rem;
    min-width: 120px;
}

.rush-schedule-bar .date-month {
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.rush-schedule-bar .date-day {
    font-weight: bold;
    font-size: 2.2rem;
}

.rush-schedule-bar .event-title {
    font-weight: bold;
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.rush-schedule-bar .event-details {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.rush-schedule-bar .event-attire {
    font-weight: bold;
    font-size: 1.15rem;
}

@media (max-width: 900px) {
    .rush-header-section {
        height: 40vh;
    }
    .rush-schedule-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .rush-schedule-bar > div {
        padding: 1.2rem !important;
        min-width: unset !important;
    }
}
