/* Practical information: when training happens, how to reach the club, and
   where the hall is. The timetable is set as a timetable — label, rule, time. */

.footer {
    background-color: var(--stone);
    color: var(--bone);
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    padding-block: var(--step);
}

.footer__col h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    padding-bottom: 1rem;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--black);
}

.footer__col h3 {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--olive);
}

.footer__col p {
    line-height: 1.6;
}

.footer__block + .footer__block {
    margin-top: 2.25rem;
}

.footer__block h3 + p {
    margin-top: 0.5rem;
}

/* Timetable -------------------------------------------------------------- */

.schedule {
    margin-top: 1rem;
    max-width: 26rem;
}

.schedule__row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding-block: 0.625rem;
    border-top: var(--hairline) solid rgba(0, 0, 0, 0.35);
}

.schedule__row:last-child {
    border-bottom: var(--hairline) solid rgba(0, 0, 0, 0.35);
}

.schedule dt {
    font-size: var(--size-small);
    letter-spacing: 0.02em;
}

.schedule dd {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

/* Contacts --------------------------------------------------------------- */

.contacts {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
}

.contacts a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--bone);
    transition: color 0.18s ease;
}

.contacts svg {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--olive-lit);
    transition: fill 0.18s ease;
}

.contacts a:hover,
.contacts a:focus-visible {
    color: var(--bone);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.contacts a:hover svg {
    fill: var(--bone);
}

/* Location --------------------------------------------------------------- */

.venue {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-block: 0.375rem;
}

.map {
    width: 100%;
    height: 17rem;
    margin-top: 1.75rem;
    border: 0;
    filter: grayscale(1) contrast(1.05);
}

/* Fine print ------------------------------------------------------------- */

.legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    padding-block: 1.5rem;
    border-top: var(--hairline) solid rgba(0, 0, 0, 0.35);
    font-size: var(--size-fine);
    line-height: 1.6;
    color: rgba(237, 233, 225, 0.72);
}

.legal span {
    white-space: nowrap;
}

.legal .legal__sep {
    color: var(--olive);
}

.colophon {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-block: 1.25rem;
    border-top: var(--hairline) solid rgba(0, 0, 0, 0.35);
    font-size: var(--size-small);
    color: rgba(237, 233, 225, 0.72);
}

.colophon strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bone);
}

@media (max-width: 800px) {
    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .colophon {
        justify-content: flex-start;
    }
}
