html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.media-inquiry-page {
    max-width: 960px;
    margin: 0 auto;
}

/* The page is embedded in the CMS, which supplies its own heading and framing, so the
   form stays flat and transparent and inherits the surrounding page rather than drawing
   a second card inside it. */
.media-inquiry-card {
    background: transparent;
    border: 0;
    padding: 0;
}

/* Honeypot wrapper. Moved off screen instead of using display:none or visibility:hidden,
   because automated form fillers commonly ignore fields hidden those ways. */
.offscreen-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Phones. iOS Safari zooms the page when a focused field's text is under 16px, which
   shifts the form sideways inside the CMS iframe, so form fields are kept at 16px.
   Tap targets (fields, quick-pick buttons) are at least 44px tall. */
@media (max-width: 767.98px) {
    .media-inquiry-page .form-control,
    .media-inquiry-page .form-select {
        font-size: 16px;
        min-height: 44px;
    }

    .deadline-quick-picks .btn {
        min-height: 44px;
        min-width: 6rem;
    }
}

@media (min-width: 768px) {
    .media-inquiry-submit {
        width: auto !important;
    }
}

.form-intro {
    margin-bottom: 1rem;
}

/* "(required)" is plain text rather than an asterisk so it is read out and understood
   without a legend. */
.field-flag {
    font-weight: normal;
    color: #555;
    white-space: nowrap;
}

.form-section {
    margin: 0 0 1.75rem;
    padding: 0;
    border: 0;
    min-width: 0;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .75rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid #dee2e6;
}

fieldset.form-field {
    min-width: 0;
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
}

fieldset.form-field > legend {
    float: none;
    width: auto;
    font-size: 1rem;
}

.form-label-sm {
    font-size: .875rem;
    margin-bottom: .25rem;
}

/* Today / Tomorrow fill in the deadline date. */
.deadline-quick-picks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.deadline-quick-picks[hidden] {
    display: none;
}

.quick-picks-label {
    font-size: .875rem;
    color: #555;
}

/* FOIPPA collection notice above Submit. */
.collection-notice {
    font-size: .875rem;
    color: #555;
    margin: 0;
}

.error-summary {
    border: 3px solid #b02a37;
    border-radius: .25rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: #fff;
}

.error-summary[hidden] {
    display: none;
}

.error-summary:focus {
    outline: 3px solid #258cfb;
    outline-offset: 2px;
}

.error-summary-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b02a37;
    margin-bottom: .5rem;
}

.error-summary-list {
    margin: 0;
    padding-left: 1.25rem;
}

.error-summary-list a {
    color: #b02a37;
    font-weight: 600;
}

.media-inquiry-page .input-validation-error {
    border-color: #b02a37;
}

