:root {
    --brand-blue: #145194;
    --brand-blue-light: #49A2ED;
    --brand-grey: #434343;
    --bg-top: #f1f3f5;
    --bg-bottom: #f6f6f6;
    --text: #2b2b2b;
    --muted: #6b7280;
    --border: rgba(20, 81, 148, 0.12);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(to top, var(--bg-bottom), var(--bg-top));
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(20, 81, 148, 0.08);
    overflow: hidden;
}

.banner {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

.content {
    padding: 48px 40px 40px;
    text-align: center;
}

.copyright-note {
    font-size: 12.5px;
    color: var(--muted);
    margin: 0 0 20px 0;
    text-align: center;
}

.copyright-note span {
    display: inline-block;
    white-space: nowrap;
}

.message {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    max-width: 560px;
    margin: 0 auto 40px;
}

.message strong {
    color: var(--brand-blue);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--brand-blue-light);
    border: 0;
    border-radius: 2px;
    margin: 0 auto 32px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-grey);
    margin: 0 0 22px;
}

/* === Schedule === */
.schedule-wrap {
    margin: 0 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.schedule {
    width: 100%;
    min-width: 460px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.schedule th,
.schedule td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: middle;
}

.schedule th:last-child,
.schedule td:last-child { border-right: 0; }

.schedule tr:last-child th,
.schedule tr:last-child td { border-bottom: 0; }

.schedule thead th {
    background: rgba(20, 81, 148, 0.06);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.schedule tbody th {
    background: #fafbfc;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.schedule td {
    color: var(--text);
    font-weight: 500;
    line-height: 1.35;
    background: #fff;
}

.schedule td.closed {
    color: #c0c4ca;
    background: #fafafa;
    font-weight: 400;
}

.schedule td.on-demand {
    color: var(--muted);
    background: #fafafa;
    font-style: italic;
    font-size: 12.5px;
}

.schedule small {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.schedule .day-short { display: none; }

.schedule-note {
    font-size: 12.5px;
    color: var(--muted);
    margin: 12px 0 0;
    text-align: center;
}

.schedule-note + .schedule-note { margin-top: 4px; }

.section-title + .schedule-note {
    margin-top: -14px;
    margin-bottom: 24px;
}

/* === Members info (letter-style) === */
.info-block { margin-top: 44px; }

.info-letter {
    text-align: left;
    max-width: 740px;
    margin: 0 auto;
    background: #fff;
    padding: 28px 32px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text);
}

.info-date {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 22px;
}

.info-heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-blue);
    margin: 0 0 18px;
}

.info-body { margin: 0 0 18px; }

.info-roster {
    margin: 0 0 22px;
    padding: 0;
}

.info-row {
    display: flex;
    gap: 14px;
    margin-bottom: 4px;
}

.info-row dt {
    flex: 0 0 130px;
    font-weight: 600;
    color: var(--brand-grey);
}

.info-row dt::after { content: " :"; }

.info-row dd {
    flex: 1;
    margin: 0;
    color: var(--text);
}

.info-closing { margin: 22px 0 28px; }

.info-signature {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.info-signature-header {
    text-align: center;
    margin: 0 0 16px;
    font-size: 13.5px;
    color: var(--brand-grey);
}

.info-signature-cols {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.info-signature-cols > div { flex: 0 1 200px; }

.info-signature-role {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}

.info-signature-name {
    font-weight: 600;
    color: var(--brand-blue);
    margin: 0;
}

/* === Map === */
.map-block { margin-top: 44px; }

.map-frame {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #f0f2f4;
}

.map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
}

.map-link:hover { text-decoration: underline; }

/* === Contact === */
.contact-block { margin-top: 44px; }

.contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 500;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.contact-list a:hover {
    background: rgba(73, 162, 237, 0.08);
    border-color: var(--brand-blue);
}

.contact-list svg {
    width: 18px;
    height: 18px;
    stroke: var(--brand-blue);
    flex-shrink: 0;
}

footer {
    margin-top: 24px;
    padding: 18px 20px;
    text-align: center;
    background: #019cd4;
    /* background: var(--brand-blue); */
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
}

footer p { margin: 0; }

@media (max-width: 600px) {
    .content { padding: 32px 14px 28px; }
    .message { font-size: 16px; }

    .schedule { min-width: 0; font-size: 11px; }
    .schedule th, .schedule td { padding: 8px 3px; font-size: 11px; white-space: nowrap; }
    .schedule tbody th { font-size: 11px; }
    .schedule small { font-size: 10px; }
    .schedule .day-full { display: none; }
    .schedule .day-short { display: inline; }
    .schedule td.on-demand { white-space: normal; font-size: 10.5px; }

    .contact-list a { font-size: 15px; padding: 11px 16px; }

    .info-letter { padding: 22px 20px; font-size: 14px; }
    .info-row { flex-direction: column; gap: 0; margin-bottom: 10px; }
    .info-row dt { flex: 0 0 auto; margin-bottom: 2px; }

    .info-signature-cols { flex-direction: column; gap: 18px; }
    .info-signature-cols > div { flex: 0 0 auto; }
}
