/* =============================================
   Mitgliederbereich – Login & Page Styling
   ============================================= */

/* --- Login card container --- */
.page-id-121 .wp-block-group.has-background {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 2.5rem 2.5rem 2rem !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    max-width: 100%;
    margin: 0 auto 2.5rem;
    border: 1px solid #ece8e4;
    text-align: center;
}

/* --- Intro text --- */
.page-id-121 .wp-block-group.has-background > .wp-block-group__inner-container > p:first-child {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    text-align: center;
}

/* --- Form layout --- */
.page-id-121 #loginform {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.page-id-121 #loginform p {
    margin: 0 0 1.1rem;
}

.page-id-121 #loginform p:last-child {
    margin-bottom: 0;
}

/* --- Labels --- */
.page-id-121 #loginform label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #444;
    margin-bottom: 0.45rem;
}

/* --- Inputs --- */
.page-id-121 #loginform .input {
    display: block;
    width: 100%;
    padding: 0.72rem 1rem;
    font-size: 0.97rem;
    color: #222;
    background: #fafafa;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.page-id-121 #loginform .input:focus {
    outline: none;
    background: #fff;
    border-color: #982400;
    box-shadow: 0 0 0 3px rgba(152, 36, 0, 0.1);
}

/* --- Remember me --- */
.page-id-121 .login-remember label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #666;
    cursor: pointer;
}

.page-id-121 .login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #982400;
    cursor: pointer;
}

/* --- Submit button --- */
.page-id-121 .login-submit {
    margin-top: 0.5rem !important;
}

.page-id-121 #wp-submit {
    display: block;
    width: 100%;
    padding: 0.82rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: #982400;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.1s ease;
}

.page-id-121 #wp-submit:hover {
    background: #7d1d00;
}

.page-id-121 #wp-submit:active {
    transform: scale(0.98);
}

/* --- "Noch keine Zugangsdaten" line --- */
.page-id-121 .wp-block-group.has-background p.has-text-align-center:last-of-type {
    font-size: 0.88rem;
    color: #777;
    margin-top: 1.25rem;
    margin-bottom: 0;
    text-align: center;
}

.page-id-121 .wp-block-group.has-background p a {
    color: #982400;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Section headings --- */
.page-id-121 h2.wp-block-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    border-left: 4px solid #982400;
    padding-left: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

/* --- Post list --- */
.page-id-121 .wp-block-post-title {
    font-size: 0.97rem !important;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 0 0.3rem !important;
}

.page-id-121 .wp-block-post-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.15s ease;
}

.page-id-121 .wp-block-post-title a:hover {
    color: #982400;
}

.page-id-121 .wp-block-post-date time {
    font-size: 0.8rem;
    color: #999;
}

/* --- Separator --- */
.page-id-121 .wp-block-separator.has-alpha-channel-opacity {
    border-color: #ece8e4 !important;
    margin: 2rem 0;
}

/* --- "Dokumente" intro text --- */
.page-id-121 .entry-content > p {
    font-size: 0.95rem;
    color: #555;
}
