/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

.section.mcb-section-c783bd33f {
    background-color: #fdbf12;
}

/* 404 Page Styles */
.error-404-wrapper {
    min-height: calc(100vh - 200px);
}

.error-404-icon svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.search-field:focus {
    outline: none;
    border-color: #fdbf12 !important;
    box-shadow: 0 0 0 3px rgba(253, 191, 18, 0.1) !important;
}

.primary-btn:hover {
    background: #e4b90d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 191, 18, 0.4) !important;
}

.secondary-btn:hover {
    border-color: #fdbf12 !important;
    background: #fdbf12 !important;
    color: #111 !important;
    transform: translateY(-2px);
}

.help-links a:hover {
    background: #fdbf12 !important;
    color: #111 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 191, 18, 0.2) !important;
}

/* Responsive Design for 404 */
@media (max-width: 768px) {
    .error-404-title {
        font-size: 48px !important;
    }

    .error-404-subtitle {
        font-size: 18px !important;
    }

    .error-404-btn {
        display: block !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto 15px !important;
    }

    .help-links {
        flex-direction: column !important;
        align-items: center !important;
    }

    .error-404-icon svg {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .section.mcb-section {
        padding: 50px 0 !important;
    }

    .error-404-title {
        font-size: 36px !important;
    }

    .error-404-icon svg {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Header Button */
.header-btn, .mcb-item-tk1aaez5, .mcb-item-10d2c72d1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: #fdbf12;
    color: #111;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    margin-left: 10px;
    margin-right: 10px;
}

.header-btn:hover,
.header-btn:focus-visible,
.mcb-item-tk1aaez5:hover,
.mcb-item-tk1aaez5:focus-visible,
.mcb-item-10d2c72d1:hover,
.mcb-item-10d2c72d1:focus-visible {
    background-color: #e4b90d;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    color: #111;
}

.header-btn:active,
.mcb-item-tk1aaez5:active,
.mcb-item-10d2c72d1:active {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.mcb-item-tk1aaez5 .mfn-menu-li .mfn-menu-link,
.mcb-item-10d2c72d1 .mfn-menu-li .mfn-menu-link {
    padding: 0;
    color: #111;
}

/** header logo */
.mcb-column-inner-54f116b20 {
    margin: 0;
}

/* Archive grid for Project CPT */
.archive-projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.archive-projects .project-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.archive-projects .project-card .thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.archive-projects .project-card .content {
    padding: 16px;
}

.archive-projects .project-card .title {
    margin: 0 0 8px;
    font-size: 18px;
}

.archive-projects .project-card .excerpt {
    color: #4b5563;
    font-size: 14px;
}

.archive-projects .project-card .more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

.archive-projects .project-card .more:hover {
    text-decoration: underline;
}

/* Template: Projekte (Inhalt + Liste) */
.section-projects-template .projects-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.project-card--row {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 22px 20px;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.project-card--row:hover {
    border-color: #d1d5db;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.project-card--row .thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.project-card--row .title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    color: #fdbf12;
}

.project-card--row .title a {
    color: inherit;
    text-decoration: none;
}

.project-card--row .title a:hover {
    text-decoration: underline;
}

.project-card--row .teaser {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

.project-card--row .meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    color: #6b7280;
}

.project-card--row .author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.project-card--row .author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.section-projects-template {
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width: 900px) {
  .section-projects-template .projects-list-grid,
  .archive-projects {
      grid-template-columns: 1fr;
  }
  .project-card--row .thumb img {
      height: 180px;
  }
}

/* Gallery Styles - Saubere neue Struktur */
.kenia-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 20px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kenia-gallery-grid .gallery-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    float: none !important;
}

.kenia-gallery-grid .gallery-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.kenia-gallery-grid .gallery-item a {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 75% !important; /* 4:3 aspect ratio */
    overflow: hidden !important;
    margin: 0 !important;
    display: block !important;
    text-decoration: none !important;
}

.kenia-gallery-grid .gallery-item a img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kenia-gallery-grid .gallery-item a:hover img {
    transform: scale(1.05) !important;
}

.kenia-gallery-grid .gallery-item a::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.kenia-gallery-grid .gallery-item a:hover::after {
    opacity: 1 !important;
}

/* Hide empty paragraphs and duplicate links */
.paragraph--type--gallery p:empty,
.paragraph--type--gallery p a:only-child {
    display: none !important;
}

/* Override any existing Drupal/WordPress gallery styles that might conflict */
.paragraph--type--gallery .field--name-field-gallery-images,
.paragraph--type--gallery .field--name-field-gallery-images .field__items > div,
.paragraph--type--gallery .field--name-field-gallery-images .field__items > .field__item > div {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .kenia-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .kenia-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .kenia-gallery-grid .gallery-item a {
        padding-bottom: 66.67% !important; /* Slightly different ratio for mobile */
    }
}

@media (max-width: 480px) {
    .kenia-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

#Filters {
    display: none;
}

/* Modern Post Content Styling - Einheitlicher Container */
.modern-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-post-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

.modern-post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdbf12 0%, #e4b90d 100%);
    border-radius: 16px 16px 0 0;
}

/* Post Title Enhancement */
.modern-post-content .post-header .title_wrapper h1.entry-title,
.modern-post-content .post-header .title_wrapper h2.entry-title {
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

/* Content Area Styling - Innerhalb des Containers */
.modern-post-content .section.mcb-section {
    background: transparent;
    box-shadow: none;
    margin: 0;
    padding: 32px;
}

.modern-post-content .section-post-header .section_wrapper {
    padding: 32px 32px 0 32px;
}

.modern-post-content .post-wrapper-content {
    padding: 0 32px 32px 32px;
}

/* Improve spacing and readability */
.modern-post-content .column.one {
    padding: 0;
}

.modern-post-content .mcb-column-inner {
    padding: 0;
}

/* Remove individual margins from sections within modern container */
.modern-post-content .section-post-header,
.modern-post-content .post-wrapper-content {
    margin: 0;
}

/* Footer sections styling */
.modern-post-content .section-post-footer,
.modern-post-content .section-post-about,
.modern-post-content .section-post-comments {
    background: transparent;
    box-shadow: none;
    margin: 0;
    padding: 24px 32px;
}

/* Related Posts - Separater moderner Container */
.section-post-related {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

.section-post-related::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdbf12 0%, #e4b90d 100%);
    border-radius: 16px 16px 0 0;
}

.section-post-related .section_wrapper {
    padding: 32px;
}

/* Related Posts Title Enhancement */
.section-post-related h4 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .modern-post-container {
        padding: 0 15px;
    }

    .modern-post-content {
        margin: 16px 0;
        border-radius: 12px;
    }

    .modern-post-content .section.mcb-section {
        padding: 24px 20px;
    }

    .modern-post-content .section-post-header .section_wrapper {
        padding: 24px 20px 0 20px;
    }

    .modern-post-content .post-wrapper-content {
        padding: 0 20px 24px 20px;
    }

    .modern-post-content .post-header .title_wrapper h1.entry-title,
    .modern-post-content .post-header .title_wrapper h2.entry-title {
        font-size: 2rem;
    }

    .modern-post-content .section-post-footer,
    .modern-post-content .section-post-about,
    .modern-post-content .section-post-comments {
        padding: 20px;
    }

    .section-post-related {
        margin: 24px 0;
        border-radius: 12px;
    }

    .section-post-related .section_wrapper {
        padding: 24px 20px;
    }

    .section-post-related h4 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .modern-post-container {
        padding: 0 10px;
    }

    .modern-post-content {
        margin: 12px 0;
        border-radius: 8px;
    }

    .modern-post-content .section.mcb-section {
        padding: 20px 16px;
    }

    .modern-post-content .section-post-header .section_wrapper {
        padding: 20px 16px 0 16px;
    }

    .modern-post-content .post-wrapper-content {
        padding: 0 16px 20px 16px;
    }

    .modern-post-content .post-header .title_wrapper h1.entry-title,
    .modern-post-content .post-header .title_wrapper h2.entry-title {
        font-size: 1.75rem;
    }

    .modern-post-content .section-post-footer,
    .modern-post-content .section-post-about,
    .modern-post-content .section-post-comments {
        padding: 16px;
    }

    .section-post-related {
        margin: 20px 0;
        border-radius: 8px;
    }

    .section-post-related .section_wrapper {
        padding: 20px 16px;
    }

    .section-post-related h4 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
}

/* Mobile Styles for Related Posts */
@media (max-width: 768px) {
    .section-post-related .section-related-ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-post-related .post-related {
        min-height: 300px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-post-related .section-related-ul {
        gap: 16px;
    }

    .section-post-related .post-related {
        min-height: 280px;
        padding: 16px;
        border-radius: 8px;
    }
}

/* Related Posts Grid Layout - Equal Height Cards */
.section-post-related .section-related-ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.section-post-related .post-related {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.section-post-related .post-related:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.section-post-related .post-related .date_label {
    color: #fdbf12;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.section-post-related .post-related .desc {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.section-post-related .post-related .desc h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-post-related .post-related .desc h4 a:hover {
    color: #fdbf12;
}

.section-post-related .post-related .button {
    background: #fdbf12;
    color: #111;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: auto;
}

.section-post-related .post-related .button:hover {
    background: #e4b90d;
    color: #111;
    transform: translateY(-1px);
}

.section-post-related .post-related .mcb-column-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-related-adjustment.simple {
    width: 100%;
}

.section-post-related .col-3 .post-related {
    width: 100%;
}

.one.comments, .section.mcb-section.section-post-about, .section.mcb-section.section-post-comments, .section.mcb-section.section-post-footer, .field--name-field-toggle-shariff {
    display: none !important;
}

.kenia-carousel-dots {
    display: none !important;
}

/* === MODERNE SEITEN-DARSTELLUNG === */

/* Moderne Page Container */
.modern-page-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin: 32px auto;
    margin-bottom: 40px;
    overflow: hidden;
    max-width: 1200px;
    position: relative;
}

.modern-page-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdbf12 0%, #e4b90d 100%);
    border-radius: 16px 16px 0 0;
}

.modern-page-content {
    padding: 48px;
}

/* Responsive Design für Page Container */
@media (max-width: 768px) {
    .modern-page-container {
        margin: 20px 15px;
        margin-bottom: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    .modern-page-container::before {
        border-radius: 12px 12px 0 0;
    }

    .modern-page-content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .modern-page-container {
        margin: 16px 10px;
        margin-bottom: 24px;
        border-radius: 8px;
    }

    .modern-page-container::before {
        border-radius: 8px 8px 0 0;
    }

    .modern-page-content {
        padding: 24px 20px;
    }
}

/* Page Header */
.section-page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 40px;
}

.page-header .entry-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    border-bottom: none !important;
}

.page-header {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.page-content > p {
    display: none !important;
}

.section-page-header {
    border-bottom: none !important;
}

.page-header .mcb-column-inner {
    margin: 20px 0 !important;
}

.page-meta {
    color: #6c757d;
    font-size: 0.95rem;
}

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

/* Page Content */
.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content h2 {
    border-bottom: 3px solid #a2c1f7;
    padding-bottom: 10px;
    font-size: 1.8rem;
}

.page-content h3 {
    font-size: 1.4rem;
    color: #495057;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Moderne Dateianhänge */
.modern-attachments-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.attachments-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachments-title .icon-doc {
    color: #007bff;
    font-size: 1.5rem;
}

.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.attachment-item {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.attachment-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.attachment-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: white;
    border-radius: 8px;
    font-size: 1.5rem;
}

.attachment-content {
    flex: 1;
    min-width: 0;
}

.attachment-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.attachment-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
}

.attachment-link:hover {
    color: #007bff;
}

.attachment-filename {
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-download {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #007bff;
    transition: all 0.3s ease;
}

.attachment-link:hover .attachment-download {
    color: #0056b3;
}

/* Responsive Design für Dateianhänge */
@media (max-width: 768px) {
    .attachments-grid {
        grid-template-columns: 1fr;
    }

    .attachment-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .attachment-link {
        flex-direction: column;
        gap: 8px;
    }

    .attachment-filename {
        white-space: normal;
        text-align: center;
    }
}

/* Page Featured Image */
.page-featured-image .image_frame {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-featured-image .image_wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.page-featured-image .image_wrapper:hover img {
    transform: scale(1.02);
}

/* Share Section für Seiten */
.section-page-share {
    margin-top: 40px;
    padding: 30px 0;
    /*border-top: 1px solid #e9ecef;*/
}

/* Icon Styles für Dateitypen */
.icon-file-pdf:before {
    content: "📄";
}

.icon-file-doc:before,
.icon-file-docx:before {
    content: "📝";
}

.icon-file-image:before {
    content: "🖼️";
}

.icon-file-file:before {
    content: "📎";
}

.icon-doc:before {
    content: "📋";
}

.icon-download:before {
    content: "⬇";
}

/* === MODERNE GALERIE CARDS === */

.section-gallery-archive {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.section-gallery-archive .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.archive-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gallery-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.gallery-thumb a {
  display: block;
  height: 100%;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #dee2e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #adb5bd;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: #ffffff;
}

.overlay-content i {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.view-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.gallery-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-meta {
  margin-bottom: 15px;
}

.gallery-date {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.gallery-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-category {
  background: #e9ecef;
  color: #495057;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gallery-category:hover {
  background: #007bff;
  color: #ffffff;
  text-decoration: none;
}

.gallery-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.gallery-title a {
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-title a:hover {
  color: #007bff;
}

.gallery-excerpt {
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.gallery-more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.gallery-more-link:hover {
  color: #0056b3;
  gap: 12px;
}

.gallery-more-link i {
  font-size: 12px;
}

.gallery-image-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.gallery-image-count i {
  font-size: 16px;
}

/* Gallery Navigation Styles */
.fixed-nav .gallery-nav-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
}

.no-gallery-found {
  text-align: center;
  padding: 80px 20px;
  color: #6c757d;
}

.no-content-icon {
  font-size: 64px;
  margin-bottom: 20px;
  color: #adb5bd;
}

.no-gallery-found h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #495057;
}

.no-gallery-found p {
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 768px) {
  .section-gallery-archive {
    padding: 40px 0;
  }

  .section-gallery-archive .container {
    padding: 0 15px;
  }

  .archive-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .gallery-thumb {
    height: 200px;
  }

  .gallery-content {
    padding: 20px;
  }

  .gallery-title {
    font-size: 20px;
  }

  .gallery-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .gallery-thumb {
    height: 180px;
  }

  .gallery-content {
    padding: 15px;
  }

  .gallery-title {
    font-size: 18px;
  }

  .gallery-excerpt {
    font-size: 14px;
  }
}

/* === ICONS FÜR GALERIE === */

.icon-camera:before {
  content: "📷";
}

.icon-eye:before {
  content: "👁";
}

.icon-picture:before {
  content: "🖼";
}

.icon-right-open:before {
  content: "→";
}

/* === PAGINATION STYLES === */

.pagination {
  margin-top: 60px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 12px 18px;
  margin: 0 4px;
  background: #ffffff;
  color: #495057;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-weight: 600;
}

/* === ENDE MODERNE SEITEN-DARSTELLUNG === */

/* === HILFE SEITE STYLES === */
.section-help-page {
    padding: 80px 0;
    background: #ffffff;
}

.section-help-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    /*margin-bottom: 60px;*/
    padding-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 2px;
}

/* Hauptsektionen in 3-Spalten Layout */
.help-main-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.help-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.main-card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.main-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-card:hover .card-image img {
    transform: scale(1.05);
}

.main-card .card-content {
    padding: 30px;
}

.main-card .card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.main-card .card-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #007bff;
    margin: 0 0 20px 0;
    font-style: italic;
}

.main-card .card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
    margin: 0 0 30px 0;
}

/* Zweite Sektion */
.help-secondary-sections {
    margin-top: 60px;
}

.secondary-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.secondary-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #007bff);
    border-radius: 2px;
}

.secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.secondary-card {
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.secondary-card .card-content {
    padding: 25px;
}

.secondary-card .card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.secondary-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0 0 20px 0;
}

/* Spezielle Karten-Farben */
.patenschaft-card {
    border-top: 4px solid #007bff;
}

.spenden-card {
    border-top: 4px solid #28a745;
}

.besuche-card {
    border-top: 4px solid #ff6b35;
}

.portal-card {
    border-left-color: #17a2b8;
}

.paypal-card {
    border-left-color: #ffc107;
}

.online-card {
    border-left-color: #6f42c1;
}

.bank-card {
    border-left-color: #dc3545;
}

/* Banküberweisung - Volle Breite Sektion */
.bank-fullwidth-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    padding: 50px 0;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bank-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.bank-header {
    text-align: center;
    margin-bottom: 50px;
}

.bank-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    position: relative;
}

.bank-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b35);
    border-radius: 2px;
}

.bank-intro {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.bank-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.bank-details-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #dc3545;
}

.details-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #dc3545;
    margin: 0 0 25px 0;
    text-align: center;
}

.bank-instructions {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff5f5;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc3545;
    margin: 0;
    text-align: center;
}

.bank-info-grid {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    word-break: break-all;
}

.qr-code-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.qr-code-text {
    font-size: 1rem;
    color: #495057;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.donate-qr-code {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.bank-additional-info {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.additional-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 30px 0;
    text-align: center;
}

.info-list {
    display: grid;
    gap: 25px;
}

.info-list .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-list .info-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

/* Bank Details Styling */
.bank-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.bank-info {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.bank-info li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.bank-info li:last-child {
    border-bottom: none;
}

.bank-info strong {
    color: #495057;
    min-width: 120px;
    display: inline-block;
}

/* Engagement Section */
.engagement-section .section-content {
    padding: 50px 40px;
}

.engagement-quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
    margin: 0 0 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #007bff;
    font-style: italic;
}

.engagement-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    position: relative;
}

.engagement-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 2px;
    background: #007bff;
}

.engagement-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
    margin: 0 0 20px 0;
}

.thank-you-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.thank-you-section p {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #495057;
}

.closing-message {
    margin-top: 30px;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.closing-message p {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.closing-message strong {
    font-size: 1.4rem;
    color: #007bff;
}

.closing-message em {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-help-page {
        padding: 40px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .help-main-sections {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .main-card .card-image {
        height: 200px;
    }

    .main-card .card-content {
        padding: 25px;
    }

    .main-card .card-title {
        font-size: 1.5rem;
    }

    .secondary-title {
        font-size: 1.8rem;
    }

    .secondary-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .secondary-card .card-content {
        padding: 20px;
    }

    .bank-details {
        padding: 20px;
    }

    .engagement-section .section-content {
        padding: 35px 25px;
    }
}

/* Bank Sektion Responsive */
@media (max-width: 768px) {
    .bank-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bank-fullwidth-section {
        padding: 40px 0;
        margin: 40px 0;
    }

    .bank-title {
        font-size: 2rem;
    }

    .bank-details-card,
    .bank-additional-info {
        padding: 25px;
    }

    .info-item {
        padding: 15px;
    }

    .info-value {
        font-size: 1rem;
    }

    .qr-code-section {
        margin-top: 25px;
        padding-top: 25px;
    }

    .donate-qr-code {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .help-main-sections {
        gap: 20px;
    }

    .main-card .card-content {
        padding: 20px;
    }

    .main-card .card-title {
        font-size: 1.3rem;
    }

    .main-card .card-subtitle {
        font-size: 1.1rem;
    }

    .secondary-grid {
        gap: 20px;
    }

    .secondary-card .card-content {
        padding: 15px;
    }

    .bank-fullwidth-section {
        padding: 30px 0;
        margin: 30px 0;
    }

    .bank-container {
        padding: 0 15px;
    }

    .bank-title {
        font-size: 1.8rem;
    }

    .bank-intro {
        font-size: 1rem;
    }

    .bank-details-card,
    .bank-additional-info {
        padding: 20px;
    }

    .details-title {
        font-size: 1.5rem;
    }

    .additional-title {
        font-size: 1.3rem;
    }

    .info-item {
        padding: 12px;
    }

    .info-label {
        font-size: 0.8rem;
    }

    .info-value {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .qr-code-section {
        margin-top: 20px;
        padding-top: 20px;
    }

    .qr-code-text {
        font-size: 0.9rem;
    }

    .donate-qr-code {
        max-width: 200px;
    }

    .info-list .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .info-icon {
        align-self: center;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* === ENDE HILFE SEITE STYLES === */

.section-galerie-archive {
    padding-top: 50px;
    padding-bottom: 50px;
}

.archive-header {
    padding: 50px 0
}

/* Top Bar Right and Search styling on black background */
.top_bar_right {
    display: none;
}

#Top_bar .search_wrapper input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

#Top_bar .search_wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Custom Header Styles - Gradient Hintergrund für #Top_bar (nur Desktop) */
@media (min-width: 1025px) {
    #Top_bar {
        /*background: rgba(252, 190, 19, 0.8) !important*/
        /*background: rgba(0, 0, 0, 0.4) !important;*/
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%) !important;
        border-bottom: none;
    }
}

#Top_bar.is-sticky {
    height: 80px;
}

#Top_bar .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

#Top_bar .logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#Top_bar .logo-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    text-align: center;
}

#Top_bar .logo-image {
    max-height: 40px;
    width: auto;
}

/* Sticky Header - hide text, show only logo */
.is-sticky .logo-text {
    display: none !important;
}

#Top_bar.sticky .logo-image {
    max-height: 35px;
}

/* Menu styling - transparent on black background */
#Top_bar .menu_wrapper {
    background: transparent !important;
    color: white !important;
    padding: 10px;
}

#Top_bar .menu_wrapper a {
    color: white !important;
}

#Top_bar .menu_wrapper a:hover {
    color: #000 !important;
}

/* Language Switcher - einzelne Flagge der anderen Sprache */
.menu_container .language_switcher {
    margin: 0 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.menu_container .language_switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu_container .language_switcher li {
    margin: 0;
    padding: 0;
}

.menu_container .language_switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    text-decoration: none;
}

.menu_container .language_switcher a:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.menu_container .language_switcher img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

#Top_bar.is-sticky {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important;
    -ms-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -o-box-shadow: none !important;
    -ms-box-shadow: none !important;
    box-shadow: none !important;
}

.logo-wrapper {
    margin: 10px;
}

.menu-highlight:not(.header-creative) #Top_bar .menu > li > a {
    margin-bottom: 0;
}
/* Gelber Hintergrund für #Top_bar auf nicht-Startseiten */
body:not(.page-id-4980, .page-id-4981) #Top_bar {
    background: #fcbe13 !important;
}

body:not(.page-id-4980, .page-id-4981) #Content {
    padding-top: 80px;
}

.menu-highlight:not(.header-creative) #Top_bar .menu > li > a {
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,1);
}

.menu > li.hover > a {
    text-shadow: none !important;
}

.menu-highlight:not(.header-fixed):not(.header-simple) #Top_bar.is-sticky .menu > li > a {
    margin-bottom: 0 !important;
}

.menu-highlight #Top_bar #menu > ul > li.current-menu-item > a, .menu-highlight #Top_bar #menu > ul > li.current_page_item > a, .menu-highlight #Top_bar #menu > ul > li.current-menu-parent > a, .menu-highlight #Top_bar #menu > ul > li.current-page-parent > a, .menu-highlight #Top_bar #menu > ul > li.current-menu-ancestor > a, .menu-highlight #Top_bar #menu > ul > li.current-page-ancestor > a, .menu-highlight #Top_bar #menu > ul > li.current_page_ancestor > a, .menu-highlight #Top_bar #menu > ul > li.hover > a {
    border-radius: 5px 5px 0 0 !important;
    border-bottom: none !important;
}

.logo_container {
    background-color: #fcbe13 !important;
}

.layout-full-width #Wrapper {
    background: #fff !important;
}

.single-gallery .column.one.single-photo-wrapper.image, .single-gallery .column.one.post-nav.minimal, .single-project .column.one.single-photo-wrapper.image, .single-project .column.one.post-nav.minimal {
    display: none !important;
}

.single-gallery .modern-post-content .mcb-column-inner, .single-project .mcb-column-inner {
    margin: 0 !important;
}

/* Two-Column Paragraph Layout */
.paragraph--type--two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.paragraph--type--two-column .field--name-field-paragraph-left,
.paragraph--type--two-column .field--name-field-paragraph-right {
    flex: 1;
    min-width: 0;
}

.paragraph--type--two-column .field--name-field-paragraph-left {
    flex: 0 0 calc(50% - 15px);
}

.paragraph--type--two-column .field--name-field-paragraph-right {
    flex: 0 0 calc(50% - 15px);
}

/* Video Embed Responsive */
.video-embed-field-responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-embed-field-responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Textblock Styling */
.textblock {
    padding: 0;
}

.textblock p {
    margin-bottom: 1em;
}

.textblock p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive - Stack untereinander */
@media (max-width: 768px) {
    .paragraph--type--two-column {
        flex-direction: column;
        gap: 20px;
    }

    .paragraph--type--two-column .field--name-field-paragraph-left,
    .paragraph--type--two-column .field--name-field-paragraph-right {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ==========================================================================
   Kenia Custom Blocks - Mediathek Cards
   ========================================================================== */

.kenia-media-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.kenia-media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kenia-media-card-image {
    margin: 0 !important;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
}

.kenia-media-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.kenia-media-card:hover .kenia-media-card-image img {
    transform: scale(1.05);
}

.kenia-media-card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.kenia-media-card p,
.kenia-media-card .wp-block-paragraph {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
    margin-bottom: 15px;
    min-height: auto;
}

/* Amber/Orange Button Override */
.kenia-media-card .wp-block-button__link.has-vivid-amber-background-color {
    background-color: #f7a800 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kenia-media-card .wp-block-button__link.has-vivid-amber-background-color:hover {
    background-color: #e09700 !important;
}

/* ==========================================================================
   Contact Page Styles (page-id-4992 & page-id-4991)
   ========================================================================== */

/* Contact Page Header Enhancement */
body.page-id-4992 .section-page-header,
body.page-id-4991 .section-page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 0 30px;
    margin-bottom: 50px;
}

body.page-id-4992 .page-header .entry-title,
body.page-id-4991 .page-header .entry-title {
    color: #2c3e50;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

body.page-id-4992 .page-featured-image,
body.page-id-4991 .page-featured-image {
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-4992 .page-featured-image .image_frame,
body.page-id-4991 .page-featured-image .image_frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

body.page-id-4992 .page-featured-image .image_frame:hover,
body.page-id-4991 .page-featured-image .image_frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

body.page-id-4992 .page-featured-image img,
body.page-id-4991 .page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Two-Column Contact Information Cards */
body.page-id-4992 .paragraph--type--two-column,
body.page-id-4991 .paragraph--type--two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 50px 0;
    padding: 0;
}

body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-left,
body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-right,
body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-left,
body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-right {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-left::before,
body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-right::before,
body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-left::before,
body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdbf12 0%, #e4b90d 100%);
}

body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-left:hover,
body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-right:hover,
body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-left:hover,
body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-right:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #fdbf12;
}

body.page-id-4992 .paragraph--type--two-column .textblock h2,
body.page-id-4991 .paragraph--type--two-column .textblock h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #fdbf12;
    position: relative;
}

body.page-id-4992 .paragraph--type--two-column .textblock p,
body.page-id-4991 .paragraph--type--two-column .textblock p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

body.page-id-4992 .paragraph--type--two-column .textblock p:last-of-type,
body.page-id-4991 .paragraph--type--two-column .textblock p:last-of-type {
    margin-bottom: 0;
}

body.page-id-4992 .paragraph--type--two-column .textblock ul,
body.page-id-4991 .paragraph--type--two-column .textblock ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

body.page-id-4992 .paragraph--type--two-column .textblock ul li,
body.page-id-4991 .paragraph--type--two-column .textblock ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

body.page-id-4992 .paragraph--type--two-column .textblock ul li:last-child,
body.page-id-4991 .paragraph--type--two-column .textblock ul li:last-child {
    border-bottom: none;
}

body.page-id-4992 .paragraph--type--two-column .textblock ul li::before,
body.page-id-4991 .paragraph--type--two-column .textblock ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fdbf12;
    font-weight: 700;
    font-size: 1.1rem;
}

body.page-id-4992 .paragraph--type--two-column .textblock strong,
body.page-id-4991 .paragraph--type--two-column .textblock strong {
    color: #2c3e50;
    font-weight: 600;
}

body.page-id-4992 .paragraph--type--two-column .textblock a,
body.page-id-4991 .paragraph--type--two-column .textblock a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

body.page-id-4992 .paragraph--type--two-column .textblock a:hover,
body.page-id-4991 .paragraph--type--two-column .textblock a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

/* Contact Form Styling */
body.page-id-4992 .webform-submission-form,
body.page-id-4991 .webform-submission-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

body.page-id-4992 .webform-submission-form::before,
body.page-id-4991 .webform-submission-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdbf12 0%, #e4b90d 100%);
}

body.page-id-4992 .webform-submission-form .container-flex,
body.page-id-4991 .webform-submission-form .container-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

body.page-id-4992 .webform-submission-form .float-label,
body.page-id-4991 .webform-submission-form .float-label {
    position: relative;
    margin-bottom: 0;
}

body.page-id-4992 .webform-submission-form .float-label input,
body.page-id-4992 .webform-submission-form .float-label select,
body.page-id-4991 .webform-submission-form .float-label input,
body.page-id-4991 .webform-submission-form .float-label select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
}

body.page-id-4992 .webform-submission-form .float-label input:focus,
body.page-id-4992 .webform-submission-form .float-label select:focus,
body.page-id-4991 .webform-submission-form .float-label input:focus,
body.page-id-4991 .webform-submission-form .float-label select:focus {
    outline: none;
    border-color: #fdbf12;
    box-shadow: 0 0 0 3px rgba(253, 191, 18, 0.1);
}

body.page-id-4992 .webform-submission-form .float-label label,
body.page-id-4991 .webform-submission-form .float-label label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #ffffff;
    padding: 0 4px;
}

body.page-id-4992 .webform-submission-form .float-label input:focus + label,
body.page-id-4992 .webform-submission-form .float-label input:not(:placeholder-shown) + label,
body.page-id-4991 .webform-submission-form .float-label input:focus + label,
body.page-id-4991 .webform-submission-form .float-label input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.85rem;
    color: #fdbf12;
    font-weight: 600;
}

/* Select dropdown styling */
body.page-id-4992 .webform-submission-form .form-item-anrede,
body.page-id-4991 .webform-submission-form .form-item-anrede {
    position: relative;
}

/* Hide Anrede Label */
body.page-id-4992 .webform-submission-form .form-item-anrede label,
body.page-id-4991 .webform-submission-form .form-item-anrede label {
    display: none !important;
}

body.page-id-4992 .webform-submission-form .form-item-anrede select,
body.page-id-4991 .webform-submission-form .form-item-anrede select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

body.page-id-4992 .webform-submission-form .form-item-anrede select:focus,
body.page-id-4991 .webform-submission-form .form-item-anrede select:focus {
    outline: none;
    border-color: #fdbf12;
    box-shadow: 0 0 0 3px rgba(253, 191, 18, 0.1);
}

body.page-id-4992 .webform-submission-form .form-item-anrede select option,
body.page-id-4991 .webform-submission-form .form-item-anrede select option {
    padding: 10px;
    color: #2c3e50;
}

body.page-id-4992 .webform-submission-form .form-item-anrede select option:first-child,
body.page-id-4991 .webform-submission-form .form-item-anrede select option:first-child {
    color: #6c757d;
}

body.page-id-4992 .webform-submission-form .form-item-nachricht,
body.page-id-4991 .webform-submission-form .form-item-nachricht {
    margin-bottom: 25px;
}

body.page-id-4992 .webform-submission-form textarea,
body.page-id-4991 .webform-submission-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 150px;
    transition: all 0.3s ease;
    color: #2c3e50;
    line-height: 1.6;
}

body.page-id-4992 .webform-submission-form textarea:focus,
body.page-id-4991 .webform-submission-form textarea:focus {
    outline: none;
    border-color: #fdbf12;
    box-shadow: 0 0 0 3px rgba(253, 191, 18, 0.1);
}

body.page-id-4992 .webform-submission-form textarea::placeholder,
body.page-id-4991 .webform-submission-form textarea::placeholder {
    color: #adb5bd;
}

body.page-id-4992 .webform-submission-form .form-checkbox,
body.page-id-4991 .webform-submission-form .form-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #fdbf12;
    flex-shrink: 0;
}

body.page-id-4992 .webform-submission-form .form-checkbox + label,
body.page-id-4991 .webform-submission-form .form-checkbox + label {
    color: #495057;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    margin-left: 0;
}

body.page-id-4992 .webform-submission-form .form-checkbox + label:hover,
body.page-id-4991 .webform-submission-form .form-checkbox + label:hover {
    color: #2c3e50;
}

body.page-id-4992 .webform-submission-form .checkboxes--wrapper,
body.page-id-4991 .webform-submission-form .checkboxes--wrapper {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.page-id-4992 .webform-submission-form .form-item-datenschutz,
body.page-id-4991 .webform-submission-form .form-item-datenschutz {
    margin: 25px 0;
    padding: 20px;
    background: #fff5f5;
    border-radius: 8px;
    border: 1px solid #ffe0e0;
}

body.page-id-4992 .webform-submission-form .description,
body.page-id-4991 .webform-submission-form .description {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

body.page-id-4992 .webform-submission-form .description a,
body.page-id-4991 .webform-submission-form .description a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

body.page-id-4992 .webform-submission-form .description a:hover,
body.page-id-4991 .webform-submission-form .description a:hover {
    text-decoration: underline;
}

body.page-id-4992 .webform-submission-form .webform-button--submit,
body.page-id-4991 .webform-submission-form .webform-button--submit {
    background: linear-gradient(135deg, #fdbf12 0%, #e4b90d 100%);
    color: #111;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 191, 18, 0.3);
    margin-top: 20px;
}

body.page-id-4992 .webform-submission-form .webform-button--submit:hover,
body.page-id-4991 .webform-submission-form .webform-button--submit:hover {
    background: linear-gradient(135deg, #e4b90d 0%, #d4a90b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 191, 18, 0.4);
}

body.page-id-4992 .webform-submission-form .webform-button--submit:active,
body.page-id-4991 .webform-submission-form .webform-button--submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(253, 191, 18, 0.3);
}

/* Contact Gallery Styling */
body.page-id-4992 .kenia-gallery-grid,
body.page-id-4991 .kenia-gallery-grid {
    margin: 50px 0;
    gap: 24px;
}

body.page-id-4992 .kenia-gallery-grid .gallery-item,
body.page-id-4991 .kenia-gallery-grid .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.page-id-4992 .kenia-gallery-grid .gallery-item:hover,
body.page-id-4991 .kenia-gallery-grid .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    body.page-id-4992 .paragraph--type--two-column,
    body.page-id-4991 .paragraph--type--two-column {
        gap: 30px;
    }
    
    body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-left,
    body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-right,
    body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-left,
    body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-right {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    body.page-id-4992 .page-header .entry-title,
    body.page-id-4991 .page-header .entry-title {
        font-size: 2.2rem;
    }
    
    body.page-id-4992 .paragraph--type--two-column,
    body.page-id-4991 .paragraph--type--two-column {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }
    
    body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-left,
    body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-right,
    body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-left,
    body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-right {
        padding: 25px;
    }
    
    body.page-id-4992 .paragraph--type--two-column .textblock h2,
    body.page-id-4991 .paragraph--type--two-column .textblock h2 {
        font-size: 1.5rem;
    }
    
    body.page-id-4992 .webform-submission-form,
    body.page-id-4991 .webform-submission-form {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    body.page-id-4992 .webform-submission-form .container-flex,
    body.page-id-4991 .webform-submission-form .container-flex {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    body.page-id-4992 .kenia-gallery-grid,
    body.page-id-4991 .kenia-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    body.page-id-4992 .page-header .entry-title,
    body.page-id-4991 .page-header .entry-title {
        font-size: 1.8rem;
    }
    
    body.page-id-4992 .paragraph--type--two-column,
    body.page-id-4991 .paragraph--type--two-column {
        gap: 25px;
        margin: 30px 0;
    }
    
    body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-left,
    body.page-id-4992 .paragraph--type--two-column .field--name-field-paragraph-right,
    body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-left,
    body.page-id-4991 .paragraph--type--two-column .field--name-field-paragraph-right {
        padding: 20px;
    }
    
    body.page-id-4992 .paragraph--type--two-column .textblock h2,
    body.page-id-4991 .paragraph--type--two-column .textblock h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    body.page-id-4992 .webform-submission-form,
    body.page-id-4991 .webform-submission-form {
        padding: 25px 16px;
        margin: 30px 0;
    }
    
    body.page-id-4992 .kenia-gallery-grid,
    body.page-id-4991 .kenia-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* ============================================
   FAQ Accordion Styles für Page ID 4952
   ============================================ */

body.page-id-4952 .faq-accordion-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

body.page-id-4952 .faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

body.page-id-4952 .faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #fdbf12;
}

body.page-id-4952 .faq-item.active {
    border-color: #fdbf12;
    box-shadow: 0 4px 16px rgba(253, 191, 18, 0.2);
}

body.page-id-4952 .faq-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    transition: background-color 0.3s ease;
    user-select: none;
}

body.page-id-4952 .faq-item:hover .faq-header {
    background: #f5f5f5;
}

body.page-id-4952 .faq-item.active .faq-header {
    background: #fff9e6;
    border-bottom: 1px solid #fdbf12;
}

body.page-id-4952 .faq-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

body.page-id-4952 .faq-item.active .faq-title {
    color: #fdbf12;
}

body.page-id-4952 .faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #666;
}

body.page-id-4952 .faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #fdbf12;
}

body.page-id-4952 .faq-icon::before {
    content: '▼';
    font-size: 12px;
}

body.page-id-4952 .faq-content {
    display: none;
    padding: 0 24px;
    overflow: hidden;
}

body.page-id-4952 .faq-content-inner {
    padding: 24px 0;
    color: #555;
    line-height: 1.7;
}

body.page-id-4952 .faq-content-inner p {
    margin-bottom: 16px;
}

body.page-id-4952 .faq-content-inner p:last-child {
    margin-bottom: 0;
}

body.page-id-4952 .faq-content-inner h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #333;
}

body.page-id-4952 .faq-content-inner h2:first-child {
    margin-top: 0;
}

body.page-id-4952 .faq-content-inner ul,
body.page-id-4952 .faq-content-inner ol {
    margin: 16px 0;
    padding-left: 24px;
}

body.page-id-4952 .faq-content-inner li {
    margin-bottom: 8px;
}

body.page-id-4952 .faq-content-inner a {
    color: #fdbf12;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

body.page-id-4952 .faq-content-inner a:hover {
    border-bottom-color: #fdbf12;
}

body.page-id-4952 .faq-content-inner strong {
    color: #333;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    body.page-id-4952 .faq-accordion-container {
        padding: 0 16px;
        margin: 30px auto;
    }
    
    body.page-id-4952 .faq-header {
        padding: 16px 20px;
    }
    
    body.page-id-4952 .faq-title {
        font-size: 1.1rem;
    }
    
    body.page-id-4952 .faq-content {
        padding: 0 20px;
    }
    
    body.page-id-4952 .faq-content-inner {
        padding: 20px 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body.page-id-4952 .faq-header {
        padding: 14px 16px;
    }
    
    body.page-id-4952 .faq-title {
        font-size: 1rem;
    }
    
    body.page-id-4952 .faq-content {
        padding: 0 16px;
    }
    
    body.page-id-4952 .faq-content-inner {
        padding: 16px 0;
        font-size: 0.9rem;
    }
    
    body.page-id-4952 .faq-icon {
        width: 20px;
        height: 20px;
        margin-left: 12px;
    }
}

/* Allgemeine Verbesserungen für die FAQ-Seite */
body.page-id-4952 .page-content {
    padding-bottom: 40px;
}

body.page-id-4952 .page-content > p:first-child {
    margin-bottom: 30px;
}

body.page-id-4952 .page-content > p:first-child strong {
    font-size: 1.5rem;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

/* ==========================================================================
   Newsletter Profile Form Styles (.tnp-profile)
   ========================================================================== */

.tnp-form.tnp-profile {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    max-width: 600px;
}

.tnp-form.tnp-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdbf12 0%, #e4b90d 100%);
}

.tnp-form.tnp-profile form {
    margin: 0;
}

.tnp-form.tnp-profile .tnp-field {
    margin-bottom: 25px;
    position: relative;
}

.tnp-form.tnp-profile .tnp-field:last-child {
    margin-bottom: 0;
}

.tnp-form.tnp-profile .tnp-field label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.tnp-form.tnp-profile .tnp-field input[type="text"],
.tnp-form.tnp-profile .tnp-field input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    box-sizing: border-box;
}

.tnp-form.tnp-profile .tnp-field input[type="text"]:focus,
.tnp-form.tnp-profile .tnp-field input[type="email"]:focus {
    outline: none;
    border-color: #fdbf12;
    box-shadow: 0 0 0 3px rgba(253, 191, 18, 0.1);
}

.tnp-form.tnp-profile .tnp-field input[type="text"]::placeholder,
.tnp-form.tnp-profile .tnp-field input[type="email"]::placeholder {
    color: #adb5bd;
}

.tnp-form.tnp-profile .tnp-field select.tnp-gender {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    font-family: inherit;
}

.tnp-form.tnp-profile .tnp-field select.tnp-gender:focus {
    outline: none;
    border-color: #fdbf12;
    box-shadow: 0 0 0 3px rgba(253, 191, 18, 0.1);
}

.tnp-form.tnp-profile .tnp-field select.tnp-gender option {
    padding: 10px;
    color: #2c3e50;
}

.tnp-form.tnp-profile .tnp-field select.tnp-gender option:first-child {
    color: #6c757d;
}

.tnp-form.tnp-profile .tnp-field-privacy {
    margin: 20px 0;
}

.tnp-form.tnp-profile .tnp-field-privacy a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.tnp-form.tnp-profile .tnp-field-privacy a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.tnp-form.tnp-profile .tnp-field-button {
    margin-top: 30px;
}

.tnp-form.tnp-profile .tnp-submit {
    width: 100%;
    padding: 14px 24px;
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tnp-form.tnp-profile .tnp-submit:hover {
    background-color: #1a252f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.tnp-form.tnp-profile .tnp-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tnp-form.tnp-profile .tnp-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.2);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .tnp-form.tnp-profile {
        padding: 30px 20px;
        margin: 20px 0;
    }

    .tnp-form.tnp-profile .tnp-field {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .tnp-form.tnp-profile {
        padding: 25px 16px;
        border-radius: 12px;
    }

    .tnp-form.tnp-profile .tnp-field label {
        font-size: 0.9rem;
    }

    .tnp-form.tnp-profile .tnp-field input[type="text"],
    .tnp-form.tnp-profile .tnp-field input[type="email"],
    .tnp-form.tnp-profile .tnp-field select.tnp-gender {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .tnp-form.tnp-profile .tnp-submit {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Custom Styling for Content Wrapper Headlines */
.the_content_wrapper h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 50px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.the_content_wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #fdbf12; /* Theme accent yellow */
    border-radius: 2px;
}

@media (max-width: 768px) {
    .the_content_wrapper h2 {
        font-size: 26px;
        margin-top: 35px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
}

/* H3 Styling within content */
.the_content_wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
    line-height: 1.3;
}

.the_content_wrapper h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    height: 20px;
    width: 4px;
    background-color: #fdbf12;
    border-radius: 2px;
}

/* Call to Action Box Styling */
.paragraph--type--call-to-action-box {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-left: 5px solid #fdbf12;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Override general H2 styling for CTA box */
.paragraph--type--call-to-action-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 28px;
}

.paragraph--type--call-to-action-box h2::after {
    display: none;
}

.paragraph--type--call-to-action-box .cta-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.paragraph--type--call-to-action-box .cta-link a {
    display: inline-block;
    background: #fdbf12;
    color: #212529;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(253, 191, 18, 0.3);
}

.paragraph--type--call-to-action-box .cta-link a:hover {
    background: #e4b90d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(253, 191, 18, 0.4);
    color: #000;
}

@media (max-width: 768px) {
    .paragraph--type--call-to-action-box {
        padding: 25px;
    }
    
    .paragraph--type--call-to-action-box .cta-link a {
        display: block;
        text-align: center;
        width: 100%;
    }
}

/* PDF Download Link Styling */
.file--application-pdf,
.file--mime-application-pdf {
    display: block;
    margin: 15px 0;
}

.file--application-pdf a,
.file--mime-application-pdf a {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #fdbf12; /* Theme Yellow, or use #dc3545 for Red */
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    max-width: 600px;
}

.file--application-pdf a:hover,
.file--mime-application-pdf a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    background-color: #fff;
    color: #000;
}

/* Add PDF Icon */
.file--application-pdf a::before,
.file--mime-application-pdf a::before {
    content: '📄'; /* PDF Document Icon */
    font-size: 24px;
    margin-right: 15px;
    line-height: 1;
}

/* Hide default Drupal icons if present */
.file--application-pdf img,
.file--mime-application-pdf img {
    display: none !important;
}

/* File size styling if present */
.file--application-pdf .file-size,
.file--mime-application-pdf .file-size {
    font-size: 0.85rem;
    color: #888;
    margin-left: auto; /* Push to right */
    padding-left: 15px;
    font-weight: 400;
}

/* =========================================================
   YouTube Consent (DSGVO)
   ========================================================= */
.kenia-yt-consent,
.kenia-yt-consent * {
    box-sizing: border-box;
}

.kenia-yt-consent {
    position: relative;
    display: block;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    /* Fallback, falls kein responsiver Wrapper (z.B. WP Embed) greift */
    aspect-ratio: 16 / 9;
    background: #000;
}

.kenia-yt-consent iframe {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border: 0;
}

/* WordPress Embed Block: dort sind iframes oft absolut positioniert.
   Unser Wrapper muss dann ebenfalls den verfügbaren Bereich füllen. */
.wp-block-embed__wrapper {
    position: relative;
}

.wp-block-embed__wrapper .kenia-yt-consent {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    background: transparent;
}

.wp-block-embed__wrapper .kenia-yt-consent iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kenia-yt-consent__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    z-index: 2;
    text-align: left;
}

.kenia-yt-consent__overlay-inner {
    max-width: 640px;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(6px);
}

.kenia-yt-consent__title {
    font-weight: 700;
    margin-bottom: 8px;
}

.kenia-yt-consent__text,
.kenia-yt-consent__more {
    margin: 0 0 10px 0;
    line-height: 1.45;
}

.kenia-yt-consent__more a {
    color: #fff;
    text-decoration: underline;
}

.kenia-yt-consent__button {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    color: #000;
}

.kenia-yt-consent__button:hover {
    filter: brightness(0.95);
}

@media (max-width: 767px) {
    .kenia-yt-consent__overlay {
        padding: 12px;
    }

    .kenia-yt-consent__overlay-inner {
        padding: 12px;
        border-radius: 10px;
    }

    .kenia-yt-consent__title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .kenia-yt-consent__text,
    .kenia-yt-consent__more {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .kenia-yt-consent__button {
        width: 100%;
        padding: 12px 14px;
    }
}

/* =========================================================
   Mobile Header / Burger Menu Styles
   ========================================================= */

/* =====================================================
   KENIA Mobile Burger Menu Button
   ===================================================== */

/* Verstecke Betheme's eigenen responsive-menu-toggle */
#Top_bar .responsive-menu-toggle,
.responsive-menu-toggle {
    display: none !important;
}

/* Unser eigener Burger Button */
.kenia-mobile-menu-toggle {
    display: none; /* Standardmäßig versteckt auf Desktop */
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.kenia-mobile-menu-toggle .burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #111;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.kenia-mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.3);
}

/* Burger Animation - X wenn geöffnet */
.kenia-mobile-menu-toggle.is-active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.kenia-mobile-menu-toggle.is-active .burger-line:nth-child(2) {
    opacity: 0;
}

.kenia-mobile-menu-toggle.is-active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Startseite Desktop - weiße Burger-Lines (falls Desktop-Menü mal aktiviert wird) */
@media (min-width: 1025px) {
    body.page-id-4980 .kenia-mobile-menu-toggle,
    body.page-id-4981 .kenia-mobile-menu-toggle {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }

    body.page-id-4980 .kenia-mobile-menu-toggle .burger-line,
    body.page-id-4981 .kenia-mobile-menu-toggle .burger-line {
        background-color: #fff;
    }

    body.page-id-4980 .kenia-mobile-menu-toggle:hover,
    body.page-id-4981 .kenia-mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Mobile Breakpoint - Show Burger, Hide Desktop Menu */
@media (max-width: 1024px) {
    /* Zeige unseren Kenia Burger Button */
    .kenia-mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Verstecke Betheme's Button komplett */
    #Top_bar .responsive-menu-toggle,
    .responsive-menu-toggle {
        display: none !important;
    }
    
    /* Menu Wrapper als Flex-Container */
    #Top_bar .menu_wrapper {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }
    
    /* Hide desktop menu on mobile - nur das Hauptmenü verstecken, nicht den ganzen Container */
    #Top_bar #menu > ul,
    #Top_bar nav#menu > ul {
        display: none;
    }
    
    /* Mobile Menu Overlay - universeller Selektor für .mobile-menu-open */
    .mobile-menu-open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: #000 !important;
        z-index: 10000 !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 80px 20px 40px !important;
        overflow-y: auto !important;
    }
    
    /* Zeige die ul Liste wenn Menü offen */
    .mobile-menu-open > ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 400px !important;
    }
    
    /* Mobile Menu Styles - universelle Selektoren */
    .mobile-menu-open > ul > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        list-style: none;
    }
    
    .mobile-menu-open > ul > li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-open a {
        display: block;
        padding: 18px 20px !important;
        font-size: 18px !important;
        color: #fff !important;
        text-shadow: none !important;
        background: transparent !important;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .mobile-menu-open > ul > li > a:hover,
    .mobile-menu-open > ul > li.current-menu-item > a,
    .mobile-menu-open > ul > li.current_page_item > a {
        background: rgba(253, 191, 18, 0.15) !important;
        color: #fdbf12 !important;
    }
    
    /* Submenu in Mobile */
    .mobile-menu-open ul.sub-menu,
    .mobile-menu-open ul.mfn-submenu {
        position: static !important;
        display: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none !important;
        padding: 0;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        list-style: none;
    }
    
    .mobile-menu-open li.hover > ul.sub-menu,
    .mobile-menu-open ul.sub-menu.submenu-open,
    .mobile-menu-open li.hover > ul.mfn-submenu,
    .mobile-menu-open ul.mfn-submenu.submenu-open {
        display: block !important;
    }
    
    .mobile-menu-open ul.sub-menu li a,
    .mobile-menu-open ul.mfn-submenu li a {
        padding: 14px 30px !important;
        font-size: 16px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .mobile-menu-open ul.sub-menu li a:hover,
    .mobile-menu-open ul.mfn-submenu li a:hover {
        color: #fdbf12 !important;
        background: rgba(253, 191, 18, 0.1) !important;
    }
    
    /* Mobile Menu Header */
    .mobile-menu-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        display: none;
        align-items: center;
        justify-content: space-between;
        z-index: 10001;
        background: #000;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu-header.visible {
        display: flex;
    }
    
    .mobile-menu-title {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }
    
    /* Close Button */
    .mobile-menu-close {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        flex-shrink: 0;
    }
    
    .mobile-menu-close::before,
    .mobile-menu-close::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 2px;
        background: #fff;
        transition: background 0.3s ease;
    }
    
    .mobile-menu-close::before {
        transform: rotate(45deg);
    }
    
    .mobile-menu-close::after {
        transform: rotate(-45deg);
    }
    
    .mobile-menu-close:hover {
        background: rgba(253, 191, 18, 0.3);
        border-color: #fdbf12;
    }
    
    .mobile-menu-close:hover::before,
    .mobile-menu-close:hover::after {
        background: #fdbf12;
    }
    
    /* Header Layout auf Mobile - ALLE Seiten gelb (inkl. Startseite) */
    #Header #Top_bar,
    #Top_bar,
    body #Top_bar,
    body.page-id-4980 #Top_bar,
    body.page-id-4981 #Top_bar,
    .header-transparent #Top_bar,
    .header-transparent.ab-hide #Top_bar {
        background: #fcbe13 !important;
        background-image: none !important;
        background-color: #fcbe13 !important;
    }
    
    #Top_bar .top_bar_left {
        padding: 10px 15px !important;
    }
    
    #Top_bar .menu_container {
        gap: 10px;
    }
    
    #Top_bar .menu_wrapper {
        padding: 0 !important;
    }
    
    /* Logo-Text auf Mobile schwarz - ALLE Seiten */
    #Top_bar .logo-text,
    body.page-id-4980 #Top_bar .logo-text,
    body.page-id-4981 #Top_bar .logo-text {
        color: #111 !important;
    }
    
    /* Language Switcher auf Mobile */
    .menu_container .language_switcher {
        margin: 0 10px !important;
    }
    
    .menu_container .language_switcher a {
        padding: 5px 8px;
    }
    
    .menu_container .language_switcher img {
        width: 20px;
    }
    
    /* Logo auf Mobile */
    #Top_bar .logo-text {
        font-size: 14px;
    }
    
    #Top_bar .logo-image {
        max-height: 35px;
    }
    
    /* Secondary Menu auf Mobile ausblenden */
    .secondary_menu_wrapper {
        display: none;
    }
}

/* Smaller Mobile Devices */
@media (max-width: 768px) {
    #Top_bar .top_bar_left {
        padding: 8px 12px !important;
    }
    
    #Top_bar .responsive-menu-toggle,
    .responsive-menu-toggle {
        width: 44px;
        height: 44px;
    }
    
    #Top_bar .responsive-menu-toggle i,
    #Top_bar .responsive-menu-toggle .icon-menu-fine,
    .responsive-menu-toggle i,
    .responsive-menu-toggle .icon-menu-fine {
        font-size: 22px;
    }
    
    #Top_bar .logo-text {
        font-size: 12px;
    }
    
    #Top_bar .logo-image {
        max-height: 30px;
    }
    
    /* Language Switcher kleiner */
    .menu_container .language_switcher {
        margin: 0 8px !important;
    }
    
    .menu_container .language_switcher a {
        padding: 4px 6px;
    }
    
    .menu_container .language_switcher img {
        width: 18px;
    }
    
    .mobile-menu-open > ul > li > a,
    .mobile-menu-open a {
        padding: 16px 18px !important;
        font-size: 17px !important;
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    #Top_bar .top_bar_left {
        padding: 6px 10px !important;
    }
    
    #Top_bar .responsive-menu-toggle,
    .responsive-menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    #Top_bar .responsive-menu-toggle i,
    #Top_bar .responsive-menu-toggle .icon-menu-fine,
    .responsive-menu-toggle i,
    .responsive-menu-toggle .icon-menu-fine {
        font-size: 20px;
    }
    
    #Top_bar .logo-text {
        display: none;
    }
    
    #Top_bar .logo-image {
        max-height: 28px;
    }
    
    .menu_container .language_switcher {
        margin: 0 5px !important;
    }
    
    .menu_container .language_switcher a {
        padding: 3px 5px;
    }
    
    .menu_container .language_switcher img {
        width: 16px;
    }
    
    .mobile-menu-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
}

/* Body Scroll Lock when menu is open */
body.mobile-menu-active {
    overflow: hidden;
}

/* =========================================================
   Legacy Meta Infos (Autor/Datum im Content)
   ========================================================= */
/* Meta-Bar: Wrapper für Autor und Datum */
.the_content_wrapper .kenia-meta-bar {
    margin: 0 0 1.5rem 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

/* Meta-Bar: Autor und Datum unscheinbar zusammenfassen */
.the_content_wrapper .kenia-meta-bar .kenia-meta-author,
.the_content_wrapper .kenia-meta-bar .kenia-meta-date {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
    line-height: 1.5;
    display: inline;
    font-weight: 400;
}

.the_content_wrapper .kenia-meta-bar .kenia-meta-author {
    margin-right: 0;
}

.the_content_wrapper .kenia-meta-bar .kenia-meta-author::after {
    content: ' · ';
    color: #bbb;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-weight: 300;
}

.the_content_wrapper .kenia-meta-bar .kenia-meta-date {
    font-style: normal;
    opacity: 1;
}

.the_content_wrapper .kenia-meta-bar .kenia-meta-date time {
    color: #999;
    font-variant-numeric: tabular-nums;
}

/* Wrapper für beide Meta-Elemente zusammen - beide in einer Zeile */
.the_content_wrapper .kenia-meta-bar .kenia-meta-author + .kenia-meta-date {
    margin-left: 0;
}

/* Mobile: Etwas größer für bessere Lesbarkeit */
@media (max-width: 767px) {
    .the_content_wrapper .kenia-meta-bar {
        margin-bottom: 1.25rem;
    }
    
    .the_content_wrapper .kenia-meta-bar .kenia-meta-author,
    .the_content_wrapper .kenia-meta-bar .kenia-meta-date {
        font-size: 0.8rem;
    }
}

.one.post-nav.minimal {
    display: none !important;
}

#Subheader ul.breadcrumbs li, #Subheader ul.breadcrumbs li a {
    color: rgb(53 54 57 / 60%) !important;
}

.menu_container .language_switcher a {
    background: none !important;
}

.menu_container .language_switcher li {
    list-style: none;
}