/* HMK Vereinswebsite – Hauptstylesheet (Tailwind-Ergänzungen) */

/* Wagtail RichText in HMK-Kontext */
.prose-hmk {
    color: #a1a1aa;
    font-size: 0.9375rem;
    line-height: 1.75;
}
.prose-hmk h1, .prose-hmk h2, .prose-hmk h3, .prose-hmk h4 {
    color: #f4f4f5;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}
.prose-hmk h2 { font-size: 1.4rem; }
.prose-hmk h3 { font-size: 1.15rem; color: #d4d4d8; }
.prose-hmk p { margin-bottom: 1em; }
.prose-hmk a { color: #ef4444; text-decoration: underline; }
.prose-hmk a:hover { color: #f87171; }
.prose-hmk ul, .prose-hmk ol {
    padding-left: 1.5rem;
    margin-bottom: 1em;
}
.prose-hmk ul { list-style-type: disc; }
.prose-hmk ol { list-style-type: decimal; }
.prose-hmk li { margin-bottom: 0.35em; }
.prose-hmk strong { color: #f4f4f5; font-weight: 600; }
.prose-hmk em { color: #d4d4d8; font-style: italic; }
.prose-hmk blockquote {
    border-left: 3px solid #b91c1c;
    padding-left: 1rem;
    color: #71717a;
    font-style: italic;
    margin: 1.5em 0;
}
.prose-hmk hr { border-color: #27272a; margin: 2em 0; }

/* Wagtail UserBar – immer über allem */
[data-wagtail-userbar] { z-index: 9999 !important; }

/* Richtext in anderen Kontexten (Events, Members etc.) */
.richtext-content {
    color: #a1a1aa;
    line-height: 1.7;
}
.richtext-content p { margin-bottom: 0.85em; }
.richtext-content a { color: #ef4444; }
.richtext-content strong { color: #e4e4e7; }
.richtext-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.85em;
}

/* Scrollbar anpassen */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #71717a; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Bestehende non-Tailwind-Klassen für ältere Templates */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Login-Seite (noch nicht Tailwind-styled) */
.login-form-wrapper {
    max-width: 420px;
    margin: 3rem auto;
    background: #18181b;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #27272a;
}
.login-form-wrapper h1 { color: #f4f4f5; font-family: 'Oswald', sans-serif; margin-bottom: 0.5rem; }
.login-form-wrapper label { color: #a1a1aa; font-size: 0.85rem; display: block; margin-bottom: 0.3rem; }
.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="password"] {
    width: 100%;
    background: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 0.5rem;
    padding: 0.6rem 0.85rem;
    color: #f4f4f5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.login-form-wrapper input:focus { outline: none; border-color: #b91c1c; }
.login-form-wrapper button[type="submit"] {
    width: 100%;
    background: #b91c1c;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.login-form-wrapper button[type="submit"]:hover { background: #dc2626; }

/* Form Errors */
.errorlist {
    list-style: none;
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Nachrichten (Flash) */
.message-success { background: rgba(20,83,45,0.5); color: #86efac; border: 1px solid #166534; }
.message-error { background: rgba(127,29,29,0.5); color: #fca5a5; border: 1px solid #991b1b; }

.news-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    background: #3f3f46;
    border: 1px solid #52525b;
    transition: all 0.2s ease;
}
.news-dot:hover { background: #71717a; }
.news-dot-active { background: #dc2626; border-color: #ef4444; }

.gallery-filter-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid #3f3f46;
    border-radius: 0.5rem;
    color: #a1a1aa;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}
.gallery-filter-btn:hover {
    border-color: #52525b;
    color: #e4e4e7;
}
.gallery-filter-btn-active {
    background: #7f1d1d;
    border-color: #b91c1c;
    color: #fff;
}
