html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
}

h1 {
    padding-left: 24px;
}

header {
    padding: 16px;
    border-bottom: #e7e7e7 1px solid;
    background: #f7f8fa;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    width: 100%;
    font-size: 18px;
    text-decoration: none;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    margin-top: 32px;
    padding: 24px;
    border-top: 1px solid #dfe5eb;
    background: #f7f8fa;
    color: #596575;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand strong {
    color: #263445;
    font-size: 16px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-nav a {
    color: #344b63;
    text-decoration: none;
    text-underline-offset: 4px;
}

.footer-nav a:hover, .footer-nav a:focus-visible {
    text-decoration: underline;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

#map_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 60px;
    margin-right: 60px;
}

#map {
    width: 100%;
    height: 100vh;
}

.cesium-page #map {
    height: 72vh;
    min-height: 420px;
}

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.map-toolbar p {
    margin: 0;
}

.map-toolbar button {
    padding: 10px 16px;
    border: 1px solid #344b63;
    border-radius: 4px;
    background: #344b63;
    color: white;
    font: inherit;
    cursor: pointer;
}

.map-toolbar button:hover {
    background: #263445;
}

@media (max-width: 640px) {
    .cesium-page #map_container {
        margin-left: 24px;
        margin-right: 24px;
    }
}

#object-name {
    background: #ffff;
    border: #d3d3d3 2px solid;
    padding: 12px;
}

.intro, .comparison {
    max-width: 1100px;
    padding: 24px;
    line-height: 1.6;
}

.intro h1, .comparison h1 {
    padding-left: 0;
    margin-top: 0;
}

.table-container {
    overflow-x: auto;
}

.comparison table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.comparison th, .comparison td {
    padding: 14px 16px;
    border: 1px solid #d3d3d3;
    text-align: left;
    vertical-align: top;
}

.comparison thead {
    background: #eaf1f7;
}

.comparison tbody th {
    width: 22%;
    background: #f7f8fa;
}
