@CHARSET "UTF-8";

/* CSS-only sticky header - smoother than JS-based */
#Header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999;
}

#Header.is-sticky {
    position: sticky !important;
}

/* Button padding override */
body {
    --mfn-button-padding: 11px 20px !important;
}

/* Sticky footer using flexbox */
html, body {
    height: 100%;
}

#Wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#Content {
    flex: 1 0 auto;
}

#Footer {
    flex-shrink: 0;
}

/* Fix header height - override BeTheme inline styles (exclude slider template) */
body:not(.template-slider) #Header,
body:not(.template-slider) #Header_wrapper,
body:not(.template-slider) #Header .header_placeholder,
body:not(.template-slider).header-classic #Header,
body:not(.template-slider).header-classic #Header_wrapper {
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
}


/* Ensure column content has left-aligned text and stacks vertically */
.column.column_column {
    text-align: left;
    flex-direction: column;
}

/* Mitglieder page: ensure member links stack vertically */
.page-template-mitglieder .column.column_column {
    display: flex !important;
    flex-direction: column !important;
}

.page-template-mitglieder .column.column_column > a {
    display: block !important;
    width: 100% !important;
}

/* Single mitglied view: allow float for logo image */
.page-template-mitglieder .column.column_column.single-mitglied-content {
    display: block !important;
}

#Subheader .title {
    text-align: center;
    width: 100%;
}

/* Hide post author name and categories */
.post-meta .author-date .icon-user,
.post-meta .author-date .icon-clock,
.post-meta .author-date .fn,
.post-meta .author-date .date .label,
.post-meta .category {
    display:none;
}

@media (min-width: 768px) {
    #Subheader {
    padding: 90px 0;
}

}

@media (max-width: 767px) {
    #Action_bar {
        display: none;
    }

    #Subheader {
        padding: 30px 0;
    }
}

@media (max-width: 959px) {
    body h2 {
        font-size: 20px;
    }
}

@media (max-width: 1400px) {
    .section_wrapper,
    .content_wrapper,
    #Content .the_content_wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }
}

/* Single post: add "Veröffentlicht am" before date */
.single-post .post-meta .author-date .date::before {
    content: "Veröffentlicht am ";
}

/* Vorstand page: add spacing between image and text */
body.page-template-vorstand .column.two-fifth {
    padding-right: 20px;
    box-sizing: border-box;
}

body.page-template-vorstand .column.two-fifth img {
    max-width: 100%;
    height: auto;
}

/* Kontakt page form styling */
.page-id-26 .nf-form-content,
.page-id-26 .nf-form-wrap,
.page-id-26 .ninja-forms-form-wrap,
.page-id-26 .nf-field-container {
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
}

.page-id-26 .nf-form-content {
    padding: 20px !important;
}

.page-id-26 .nf-field-element input,
.page-id-26 .nf-field-element textarea,
.page-id-26 .nf-field-element select {
    background: #fff !important;
    border: 1px solid #ddd !important;
    padding: 10px !important;
}

.page-id-26 .nf-field-element input[type="submit"],
.page-id-26 .nf-field-element input[type="button"],
.page-id-26 .submit-wrap input[type="submit"] {
    background: var(--mfn-button-theme-bg) !important;
    color: var(--mfn-button-theme-color, #fff) !important;
}
