p, h1, h2, h3, h4, h5, h6, button {
    font-family: "Roboto", serif;
}

body {
    background-color: #f5f5f9;
    background-size: cover;
    width: auto; 
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

.nav-bar {
    width: 100%;
    display: inline-block;
    background-color: #1C539F;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding-top: 10px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px 10px;
}

.nav-content .logo-touch-target {
    display: inline-flex;
    height: 60%;
    width: 350px;
}

.nav-content .nav-logo {
    height: 60px;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 200px;
}

.nav-content nav {
    display: block;
    width: 100%;
    text-align: right;
    padding-top: 0px;
    padding-right: 0px;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
}

.nav-link.active {
    background-color: #ffffff;
    color: #1C539F;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

.profile {
    background-color: #1d539f !important;
    text-align: center;
    height: 320px;
    margin-bottom: 50px;
}

.profile h1 {
        font-size: 50px;
        font-weight: 700;
        color: white;
}

.profile img {
        border-radius: 50%;
        max-width: 100%;
        max-height: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;        
        padding: 20px;
}

.profile .profile-picture {
    margin-bottom: 30px;
    height: 200px;
}

.home-page {
    gap: 24px;
}

.hero-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    padding: 28px 16px 20px;
    height: auto;
    margin-bottom: 0;
}

.hero-picture {
    margin-bottom: 16px;
}

.hero-title {
    margin: 0;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.quick-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-link-card:hover,
.quick-link-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
}

.quick-link-card h2 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 1.1rem;
}

.quick-link-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.4;
}

.banner {
    padding: 20px 0px 50px 0px;
    height: 150px;
    background-color: #1d539f;
}

.banner .logo {
    max-width:180px;
    max-height:60px;
    width: auto;
    height: auto;
}

.banner .title {
    color: white;
    font-size: 50px;
    font-weight: 700;
}

.page-section {
    display: grid;
    gap: 16px;
}

.section-intro {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.content-card,
.application-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.content-card h2,
.application-card h3 {
    margin-top: 0;
    color: #1f2937;
}

.content-list,
.fact-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
}

.application-section > section {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.application-section > section > h2 {
    margin-bottom: 0;
}

.empty-state {
    margin: 0;
    color: #6b7280;
    font-style: italic;
}

.map-root {
    width: 100%;
    min-height: 620px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
    box-sizing: border-box;
}

.json-editor {
    width: 100%;
    font-family: Consolas, "Courier New", monospace;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    background: #f8fafc;
}

.admin-label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin: 8px 0 6px;
}

.admin-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
}

.admin-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.admin-actions button {
    background: #1d539f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.success-note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
}

.error-note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
}

.timeline-form {
    display: grid;
    gap: 4px;
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.timeline-post {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #f8fafc;
}

.timeline-post-header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 8px;
    color: #1f2937;
}

.timeline-post p {
    margin: 0 0 8px;
    line-height: 1.5;
    color: #374151;
}

.timeline-post small {
    color: #6b7280;
}