/**
 * Contact page template
 *
 * Contact cards, working-hours table and demonstration form.
 */
.contact-intro {
    margin-bottom: 12px;
    padding: 12px;
    background: #ffffff;
    border: 3px ridge #d7d7c6;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.contact-card {
    min-height: 155px;
    background: #fffdf0;
    border: 3px ridge #d7d7c6;
}

.contact-card h2 {
    margin: 0;
    padding: 6px 8px;
    color: #ffffff;
    background: #315f91;
    border-bottom: 2px solid #8296ab;
    font-size: 13px;
    text-transform: uppercase;
}

.contact-card-body {
    padding: 10px;
    line-height: 1.6;
}

.contact-card strong {
    color: #8c2020;
}

.contact-note {
    padding: 9px;
    background: #fff5bd;
    border: 2px dashed #a16a00;
    line-height: 1.5;
}

.contact-form {
    background: #ffffff;
    border: 3px ridge #d7d7c6;
}

.contact-form-body {
    padding: 12px;
}

.form-row {
    margin-bottom: 10px;
}

.form-row label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 7px;
    color: #111111;
    background: #fffef4;
    border: 2px inset #c9c9c9;
    font: inherit;
}

.form-row textarea {
    min-height: 125px;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.form-status {
    color: #17631f;
    font-weight: 700;
}

.office-hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.office-hours th,
.office-hours td {
    padding: 6px;
    border: 1px solid #7f8b96;
    text-align: left;
}

.office-hours th {
    color: #ffffff;
    background: #40698e;
}

.office-hours tr:nth-child(even) {
    background: #e6eff7;
}
