.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.logo-container img {
    max-height: 160px;
    border-radius: 8px;
}

.school-photo {
    margin: 0 0 2rem;
    text-align: center;
}

.school-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

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

.facebook-cta {
    margin-bottom: 2rem;
}

.facebook-button {
    /* Facebook's darker brand blue: white text on #1877f2 is 4.23:1, just under
       the 4.5:1 WCAG AA needs at this size. #166fe5 clears it at 4.7:1. */
    background-color: #166fe5;
    border-color: #166fe5;
    font-size: 1.15rem;
    font-weight: bold;
}

.facebook-icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    margin-right: 0.4em;
}

.announcement-box {
    text-align: center;
    border: 2px solid var(--pico-primary);
    background-color: var(--pico-mark-background-color);
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--pico-border-radius);
}

.announcement-last {
    margin-bottom: 0;
}

.calendar-button {
    display: inline-block;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0;
}

.banquet-title {
    margin-bottom: 0.25rem;
    color: #d72027;
}

#details h4 {
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 1.4rem;
    font-weight: bold;
}

.go-trojans {
    color: #d72027;
    font-size: 1.25rem;
}

.countdown {
    /* Reserve the line's height so the text doesn't shift the layout when it pops in */
    min-height: 3rem;
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
    color: var(--pico-primary);
}

.countdown strong {
    font-size: 2rem;
}


.honored-classes-list {
    columns: 3;
    column-gap: 2rem;
}

@media (max-width: 600px) {
    .honored-classes-list {
        columns: 1;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .honored-classes-list {
        columns: 2;
    }
}

.contact-form {
    max-width: 480px;
}

/* Contact Us accordion — prominent and clearly clickable */
#contact-details {
    max-width: 480px; /* match .contact-form */
    margin-bottom: 2rem;
}

#contact-details > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    /* Same blue as Pico buttons (e.g. "Notify Me") */
    background-color: var(--pico-primary-background);
    border-radius: var(--pico-border-radius);
    transition: background-color 0.2s ease;
}

#contact-details > summary h2 {
    margin: 0;
    color: var(--pico-primary-inverse);
}

#contact-details > summary h2 small {
    color: var(--pico-primary-inverse);
    opacity: 0.85;
    font-weight: normal;
    font-size: 0.5em;
}

/* Single chevron: Pico's icon, recolored white, pointing right when
   closed and down when open. Overrides Pico's float/margin defaults. */
#contact-details > summary::after {
    content: "";
    flex-shrink: 0;
    float: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-inline-start: 0;
    background-image: var(--pico-icon-chevron);
    background-position: center;
    background-size: 1.25rem auto;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

#contact-details[open] > summary::after {
    transform: rotate(0);
}

#contact-details > summary:hover {
    background-color: var(--pico-primary-hover-background);
}

#contact-details[open] .when-closed,
#contact-details:not([open]) .when-open {
    display: none;
}

#contact-details[open] > summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 1rem;
}

.schedule-time {
    width: 100px;
    color: var(--pico-primary);
    white-space: nowrap;
}
