/*
 * Judge application page: heading, one paragraph, the embedded Google Form.
 */

.judges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.judges__title {
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: var(--text-4xl);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-ink);
}

.judges__intro {
    font-family: var(--font-ui);
    font-weight: var(--weight-light);
    line-height: var(--leading-relaxed);
    color: var(--color-ink-muted);
    max-width: var(--measure);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Google Forms does not resize its iframe to fit, so the frame is simply
   tall enough to scroll inside comfortably. Width follows the form's own
   ~640px column. */
.judge-form {
    width: 100%;
    max-width: 48rem;
    margin-top: var(--space-md);
    border: var(--border-width) solid var(--color-border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-surface-alt);
}

.judge-form__frame {
    display: block;
    width: 100%;
    height: clamp(40rem, 80vh, 70rem);
    border: 0;
}

.judges__fallback {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    color: var(--color-ink-muted);
}

.judges__fallback a {
    color: var(--color-crimson);
    text-underline-offset: 3px;
}
