@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
    /* MTM 2026 design tokens, aligned with mtm2026.iar.kit.edu */
    --bg: #f5f2ec;
    --card: #ffffff;
    --text: #0d1b2a;
    --muted: #6b7280;
    --accent: #c9a84c;
    --accent-dark: #a9872f;
    --border: #ddd8cc;
    --shadow: 0 18px 40px rgba(13, 27, 42, 0.12);

    /* Compatibility with the base application */
    --main-color: #c9a84c;
    --sub-color: rgba(201, 168, 76, 0.14);
    --sub-highlight-color: rgba(26, 58, 92, 0.12);
    --sub-text-color: #1a3a5c;

    --mtm-navy: #0d1b2a;
    --mtm-blue: #1a3a5c;
    --mtm-gold: #c9a84c;
    --mtm-light: #f5f2ec;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--mtm-blue);
    text-decoration: none;
}

a:hover {
    color: var(--accent-dark);
}

h1,
h2 {
    color: var(--mtm-navy);
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    display: inline-block;
    width: auto;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--accent);
}

/* Light conference masthead matching the KIT logo. */
.kit-header__logo {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    padding: 12px 24px;
    color: var(--mtm-navy);
    background: #ffffff;
    border-bottom: 2px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.kit-header__logo:hover {
    color: var(--mtm-navy);
    background: var(--mtm-light);
}

.kit-header__logo-image {
    width: auto;
    height: 40px;
    flex-shrink: 0;
}

.kit-header__title {
    margin: 0;
    color: var(--mtm-navy);
    font-family: "DM Serif Display", serif;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.kit-header__title-accent {
    color: var(--accent);
    font-style: italic;
}

/* Footer */
.kit-footer {
    margin-top: 60px;
    padding: 48px 24px 24px;
    color: #ffffff;
    background: var(--mtm-navy);
    border-top: 3px solid var(--accent);
}

.kit-footer__container {
    max-width: 1100px;
    margin: 0 auto;
}

.kit-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 32px;
}

.kit-footer__section h3 {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kit-footer__section p {
    margin: 0;
    color: #aab4c0;
    font-size: 14px;
    line-height: 1.7;
}

.kit-footer__section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kit-footer__section li {
    margin-bottom: 8px;
}

.kit-footer__section a,
.kit-footer__contact a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kit-footer__section a:hover,
.kit-footer__contact a:hover {
    color: var(--accent);
}

.kit-footer__bottom {
    padding-top: 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.kit-footer__contact {
    margin: 0 0 8px;
    color: #aab4c0;
    font-size: 13px;
}

.kit-footer__copyright {
    margin: 0;
    color: #7f8c99;
    font-size: 12px;
}

table.provider-table {
    overflow: hidden;
    margin-right: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.06);
}

table.provider-table th,
table.provider-table td {
    padding: 10px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

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

table.provider-table th {
    width: 200px;
    color: var(--mtm-navy);
    background: #ebe7de;
}

table.provider-table td {
    background: #ffffff;
}

@media (max-width: 640px) {
    .kit-header__logo {
        gap: 12px;
        padding: 10px 14px;
    }

    .kit-header__logo-image {
        height: 32px;
    }

    .kit-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    table.provider-table {
        display: block;
        overflow-x: auto;
        margin-right: 0;
    }
}
