/* GP Fiction blog and updates: follows the existing site styles. */
body { margin: 0; font-family: Arial, sans-serif; background: #f5f5f5; color: #222; }
header { background: #1f2937; color: white; padding: 20px 40px; }
nav { display: flex; justify-content: space-between; align-items: center; }
nav h1 { margin: 0; }
nav a { color: white; text-decoration: none; margin-left: 20px; }
nav a:hover { text-decoration: underline; }
.page-title { text-align: center; background: white; padding: 60px 20px 40px; }
.page-title h2 { font-size: 40px; margin: 0 0 10px; }
.page-title p { font-size: 19px; color: #555; line-height: 1.6; }
.community-main { max-width: 1050px; margin: auto; padding: 50px 20px; }
.panel { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.12); margin-bottom: 30px; }
.panel h2, .panel h3 { margin-top: 0; }
.panel p, .panel li { line-height: 1.6; color: #555; }
.empty-state { text-align: center; padding: 45px 25px; }
.empty-state h3 { font-size: 24px; }
.button, button { display: inline-block; margin: 5px; padding: 10px 18px; background: #1f2937; color: white; border: 0; text-decoration: none; border-radius: 5px; font: inherit; cursor: pointer; line-height: 1.4; }
.button:hover, button:hover { background: #374151; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: #1f2937; }
label.field-label { display: block; font-weight: bold; margin: 20px 0 8px; }
input[type="text"], input[type="email"], input[type="url"], textarea, select { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #9ca3af; border-radius: 5px; font: inherit; background: white; color: #222; }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field-hint, .panel .field-hint { font-size: 14px; margin: 7px 0 16px; color: #555; }
.check-label { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; line-height: 1.5; }
.check-label input { flex: 0 0 auto; margin-top: 4px; width: 18px; height: 18px; }
.preview-note { border-left: 4px solid #1f2937; padding: 14px 18px; background: #f5f5f5; line-height: 1.6; }
.status { margin: 15px 0 0; line-height: 1.6; }
.status:empty { display: none; }
.form-actions { margin: 20px -5px 0; }
.article-body { max-width: 760px; margin: auto; line-height: 1.75; overflow-wrap: anywhere; }
.article-body h2 { font-size: 28px; }
.article-meta { color: #555; }
.section-link { margin-top: 25px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.admin-tabs button { margin: 0; }
.admin-tabs button[aria-selected="true"] { outline: 2px solid #1f2937; outline-offset: 3px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.admin-grid .panel { margin-bottom: 0; }
.announcement-preview { border: 1px solid #d1d5db; border-radius: 5px; padding: 24px; margin-top: 20px; overflow-wrap: anywhere; }
.announcement-preview a { overflow-wrap: anywhere; }
.announcement-preview h3 { margin-top: 0; }
.announcement-preview .brand { font-weight: bold; font-size: 20px; color: #1f2937; }
.admin-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-controls button { margin: 0; }
footer { text-align: center; padding: 30px; background: #1f2937; color: white; }
footer a { color: white; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
    header { padding: 20px; }
    nav { flex-wrap: wrap; gap: 18px; }
    nav > div { display: flex; flex-wrap: wrap; gap: 12px 16px; }
    nav a { margin-left: 0; }
    .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .page-title h2 { font-size: 32px; }
    .community-main { padding: 30px 16px; }
    .panel { padding: 24px 20px; }
}

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
[data-comment-list] p, [data-comments] p { white-space: pre-wrap; overflow-wrap: anywhere; }
