:root {
    --navy: #0d1b3e;
    --navy-dark: #081226;
    --gold: #c9a24b;
    --cream: #f5efe2;
    --text: #2a2a2a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--navy); }
a:hover { color: var(--gold); }

.site-header {
    display: block;
    width: 100%;
    height: auto;
}

.translate-bar {
    background: var(--cream);
    border-bottom: 1px solid #e2d6b8;
    text-align: left;
    padding: 6px 24px;
    font-size: 0.85em;
}
.translate-bar #google_translate_element {
    display: inline-block;
}

nav.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-bottom: 3px solid var(--gold);
}

nav.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 34px;
    overflow: hidden;
    white-space: nowrap;
    background-image: url('../images/blank.png');
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: var(--navy-dark);
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    font-size: 0.72em;
    letter-spacing: 0.3px;
    padding: 0 6px;
}

.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.content-card {
    background: #fffdf8;
    border: 1px solid #e2d6b8;
    border-radius: 6px;
    padding: 32px 40px;
    box-shadow: 0 2px 8px rgba(13,27,62,0.08);
}

h1, h2, h3 { color: var(--navy); font-family: Georgia, serif; }
h1 { border-bottom: 3px solid var(--gold); padding-bottom: 10px; }

form.cure-form label {
    display: block;
    margin-top: 16px;
    font-weight: bold;
    color: var(--navy);
}
form.cure-form input[type=text],
form.cure-form input[type=email],
form.cure-form select,
form.cure-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
}
form.cure-form button {
    margin-top: 24px;
    background: var(--navy);
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 12px 28px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}
form.cure-form button:hover { background: var(--gold); color: var(--navy-dark); }

details.position-section {
    background: var(--navy);
    border: 1px solid var(--gold);
    border-radius: 4px;
    margin: 14px 0;
    padding: 0 20px;
}
details.position-section summary {
    color: var(--gold);
    font-size: 1.2em;
    font-weight: bold;
    padding: 14px 0;
    cursor: pointer;
}
details.position-section[open] summary {
    border-bottom: 1px solid rgba(201,162,75,0.4);
}
details.position-section ul {
    background: #fffdf8;
    margin: 0;
    padding: 16px 20px 20px 36px;
    border-radius: 0 0 4px 4px;
}
details.position-section li { margin-bottom: 8px; }

.notice-success { background: #e4f3e4; border: 1px solid #8fbf8f; padding: 14px; border-radius: 4px; margin-bottom: 20px; }
.notice-error { background: #fbe4e4; border: 1px solid #d98f8f; padding: 14px; border-radius: 4px; margin-bottom: 20px; }

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 24px 0;
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.link-list li { margin-bottom: 10px; }

table.chapters-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
table.chapters-table th, table.chapters-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e2d6b8;
    vertical-align: top;
}
table.chapters-table th {
    background: var(--navy);
    color: var(--gold);
}
table.chapters-table tr:nth-child(even) { background: #faf6ec; }

.chip {
    display: inline-block;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: bold;
}

.admin-table input, .admin-table select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.admin-bar {
    background: var(--navy);
    color: var(--gold);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-bar a { color: var(--gold); }

.site-footer {
    background: var(--navy-dark);
    color: var(--cream);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}
.site-footer a { color: var(--gold); }
