@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

body {
    font-family: 'Lora', serif;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem 2rem 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #fdfaf6;
}

a {
    color: #000;
}

.top-bar {
    position: sticky;
    top: 0;
    background-color: #fdfaf6;
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.top-bar a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin: 0 10px;
}

.top-bar .divider {
    color: #999;
}

.header-image {
    height: 500px;
    width: auto;
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-top: 0;
    color: #000;
}

h3 {
    margin: 0 0 8px 0;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 0.92rem;
    font-weight: 600;
}

.field-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: -2px;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

input,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Lora', serif;
    background-color: #fff;
}

textarea {
    height: 100px;
    resize: vertical;
}

button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Lora', serif;
}

button:disabled {
    background: #999;
}

.form-message {
    margin: 0;
    min-height: 1.25rem;
    font-size: 0.9rem;
}

.form-message.success {
    color: #1e7a34;
}

.form-message.error {
    color: #a01818;
}

.entry {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    background: transparent;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

.entry-name {
    font-weight: bold;
    color: #000;
}

.entry-date {
    font-style: italic;
}

.entry-note {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.content-box {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}


.muted-center {
    text-align: center;
    color: #999;
}

.error-text {
    color: #a01818;
}
