/*
Theme Name: LOKF Legacy
Theme URI: https://next.lokf.at/
Author: GitHub Copilot
Description: Legacy-inspired custom theme for the LOKF WordPress port.
Version: 0.1.0
Text Domain: lokf-legacy
*/

:root {
    --lokf-surface-border: #ddd5cd;
    --lokf-surface-divider: #e7e0d9;
    --lokf-surface-divider-soft: #e7dfd7;
    --lokf-surface-radius: 24px;
    --lokf-surface-radius-mobile: 20px;
    --lokf-surface-background: linear-gradient(180deg, rgba(255, 249, 245, 0.98) 0%, #ffffff 100%);
    --lokf-surface-shadow: 0 14px 32px rgba(55, 29, 20, 0.08);
    --lokf-media-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    --lokf-heading-color: #223244;
    --lokf-accent-color: #8b1e36;
    --lokf-accent-color-strong: #6f0d27;
    --lokf-accent-soft: #c9aab1;
    --lokf-accent-surface: #fff7f4;
    --lokf-accent-surface-hover: #fff0f2;
}

.memorialArea {
    background: #f5f2ee;
    border-top: 4px solid #6f5a4f;
    border-bottom: 1px solid #d9d1ca;
    padding: 35px 0 40px;
}

.memorialBox {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.memorialBox h2 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.2;
    color: #2f2f2f;
}

.memorialBox p {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.6;
    color: #3a3a3a;
}

.memorialNotice {
    margin: 22px 0 26px;
    padding: 16px 18px;
    background: #7a1f1f;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}

.memorialPdf {
    width: 100%;
    height: 900px;
    border: 1px solid #d0d0d0;
    background: #f7f7f7;
}

.memorialLink {
    margin-top: 14px;
    font-size: 16px;
}

.search .formular {
    width: 140px;
}

.menuBottom a:empty {
    display: none;
}

#cmplz-manage-consent .cmplz-manage-consent {
    right: 16px;
    bottom: 16px;
    min-width: 0;
    height: auto;
    padding: 12px 16px;
    border: 1px solid #1e73be;
    border-radius: 999px;
    background: #1e73be;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    animation: none;
}

#cmplz-manage-consent .cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent:focus {
    background: #155a96;
    color: #ffffff;
    animation: none;
}

.legacy-page-shell .content,
.legacy-search-shell .content {
    min-height: 380px;
}

.legacy-page-shell .content h1,
.legacy-search-shell .content h1 {
    color: #a52a2a;
}

.legacy-page-shell .content,
.legacy-search-shell .content,
.search-results article {
    font-size: 15px;
    line-height: 1.6;
}

body.page-id-24 .legacy-page-shell .content .board-title {
    margin: 0 0 24px;
    color: #9d0000;
    font-size: 30px;
    line-height: 1.15;
    text-align: left;
}

body.page-id-24 .legacy-page-shell .content .board-table {
    width: 100% !important;
    border-collapse: collapse;
}

body.page-id-24 .legacy-page-shell .content .board-table td {
    vertical-align: top;
    padding-top: 12px;
    padding-bottom: 12px;
}

body.page-id-24 .legacy-page-shell .content .board-photo {
    width: 130px;
    padding-right: 16px;
}

body.page-id-24 .legacy-page-shell .content .board-photo img {
    display: block;
    margin: 10px auto !important;
}

body.page-id-24 .legacy-page-shell .content .board-name {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

body.page-id-24 .legacy-page-shell .content .board-details p {
    margin: 0 0 12px;
}

body.page-id-24 .legacy-page-shell .content .board-details strong {
    font-size: 16px;
}

body.page-id-23 .legacy-page-shell .content article > table {
    width: 100% !important;
    border-collapse: collapse;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td {
    vertical-align: top;
    padding-top: 14px;
    padding-bottom: 14px;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(1),
body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(3) {
    width: 200px;
    text-align: center;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(2) {
    width: 5px;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(4) {
    width: 20px;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 8px auto !important;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) > p:first-child {
    margin-top: 0;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table {
    width: 100%;
    max-width: 100%;
}

body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td {
    padding: 4px 0;
    vertical-align: top;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content {
    padding: 28px 24px 34px;
    box-sizing: border-box;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content article {
    max-width: 940px;
    margin: 0 auto;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructors > .wp-block-group__inner-container {
    display: grid;
    gap: 30px;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructors__title {
    margin: 0;
    color: #9d0000;
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.1;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructors__intro {
    margin: -4px 0 8px;
    max-width: 700px;
    color: #5c4b40;
    font-size: 18px;
    line-height: 1.65;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card {
    margin: 0;
    padding: 28px;
    border: 1px solid #dddad4;
    border-radius: var(--lokf-surface-radius);
    background: linear-gradient(180deg, rgba(255, 250, 247, 0.98) 0%, #ffffff 100%);
    box-shadow: 0 16px 34px rgba(55, 29, 20, 0.08);
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card.is-featured {
    border-color: #d8b3b8;
    background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%);
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__layout {
    margin: 0 !important;
    gap: 28px;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__media {
    flex: 0 0 180px !important;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__body {
    min-width: 0;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__image {
    margin: 0;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__image img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 !important;
    border: 1px solid #e3ddd7;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--lokf-media-shadow);
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__role {
    margin: 0 0 8px;
    padding-left: 0.45rem;
    color: #9d1232;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__name {
    margin: 0 0 6px;
    color: var(--lokf-heading-color);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content :is(.lokf-flight-instructor-card__details, .lokf-flight-instructor-card__contact) {
    margin: 0;
    color: #3c3733;
    font-size: 17px;
    line-height: 1.7;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__details {
    margin-top: 14px;
    padding-left: 0.45rem;
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__contact {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--lokf-surface-divider);
}

body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__contact a {
    color: #0f4f82;
    word-break: break-word;
}

body.page-id-17 .legacy-page-shell .content .wp-block-image.aligncenter.size-large.is-resized {
    width: min(100%, 800px);
    margin: 24px auto;
}

body.page-id-17 .legacy-page-shell .content .wp-block-image.aligncenter.size-large.is-resized img {
    display: block;
    width: 100%;
    height: auto;
}

body.page-id-27 .legacy-page-shell .content article > table {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

body.page-id-27 .legacy-page-shell .content,
body.page-id-27 .legacy-page-shell .content article,
body.page-id-27 .legacy-page-shell .content article > table > tbody,
body.page-id-27 .legacy-page-shell .content article > table > tbody > tr {
    height: auto !important;
    overflow: visible;
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr {
    background: transparent;
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td {
    border: 0 !important;
    vertical-align: top;
    padding: 18px 0;
    background: inherit;
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr + tr > td {
    padding-top: 26px;
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr + tr > td:last-child {
    position: relative;
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr + tr > td:last-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, rgba(230, 221, 214, 0.25) 0%, rgba(230, 221, 214, 0.9) 12%, rgba(230, 221, 214, 0.9) 88%, rgba(230, 221, 214, 0.25) 100%);
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:first-child {
    width: 148px;
    padding: 18px 22px 18px 20px;
    color: #8d1631;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-align: left !important;
}

body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:last-child {
    min-width: 0;
    padding: 18px 20px 18px 24px;
    font-size: 17px;
    line-height: 1.65;
}

body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) {
    margin: 24px 0 32px;
    padding: 26px 24px;
    border: 1px solid var(--lokf-surface-border);
    border-radius: var(--lokf-surface-radius);
    background: var(--lokf-surface-background);
    box-shadow: var(--lokf-surface-shadow);
    overflow: hidden;
}

body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed;
}

body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) td {
    width: 50%;
    vertical-align: top;
    padding: 0 18px 0 0;
    box-sizing: border-box;
    border: 0 !important;
}

body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) td:last-child {
    padding-right: 0;
}

body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) td + td {
    padding-left: 24px;
    border-left: 1px solid var(--lokf-surface-divider) !important;
}

body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 360px;
    height: auto;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--lokf-surface-border);
    border-radius: 20px;
    box-shadow: var(--lokf-media-shadow);
    overflow: hidden;
    background: #ffffff;
}

body.page-id-11 .legacy-page-shell .content a[href*="BilderGalerien/Infrastruktur"] {
    display: inline-block;
    margin: 6px;
    vertical-align: top;
}

body.page-id-11 .legacy-page-shell .content p > img[src*="BilderGalerien/Infrastruktur"] {
    display: inline-block;
    width: 100px;
    max-width: 100%;
    height: auto !important;
    margin: 6px !important;
    vertical-align: top;
}

body.page-id-11 .legacy-page-shell .content a[href*="BilderGalerien/Infrastruktur"] img {
    display: block;
    width: 100px;
    max-width: 100%;
    height: auto !important;
    margin: 0 !important;
}

body.page-id-36 .legacy-page-shell .content {
    padding: 24px 22px 30px;
    box-sizing: border-box;
}

body.page-id-36 .legacy-page-shell .content #modul_links {
    display: grid;
    gap: 16px;
}

body.page-id-36 .legacy-page-shell .content #tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-id-36 .legacy-page-shell .content #tabs li {
    margin: 0;
}

body.page-id-36 .legacy-page-shell .content #tabs a {
    display: block;
    padding: 10px 18px;
    border: 1px solid var(--lokf-surface-border);
    border-radius: 999px;
    background: var(--lokf-accent-surface);
    color: var(--lokf-accent-color);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.page-id-36 .legacy-page-shell .content #tabs a:hover,
body.page-id-36 .legacy-page-shell .content #tabs a:focus {
    border-color: var(--lokf-accent-soft);
    background: var(--lokf-accent-surface-hover);
    color: var(--lokf-accent-color-strong);
}

body.page-id-36 .legacy-page-shell .content .tab-section {
    margin: 0;
    padding: 20px 20px;
    border: 1px solid var(--lokf-surface-border);
    border-radius: var(--lokf-surface-radius);
    background: var(--lokf-surface-background);
    box-shadow: var(--lokf-surface-shadow);
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox > h5 {
    margin: 0 0 14px;
    color: var(--lokf-heading-color);
    font-size: clamp(20px, 2.4vw, 24px);
    line-height: 1.25;
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox ul > br {
    display: none;
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox li {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid var(--lokf-surface-divider-soft);
    background: transparent;
    box-shadow: none;
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox li:first-child {
    padding-top: 0;
    border-top: 0;
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox li > a {
    color: #123f68;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.35;
    text-decoration: none;
}

body.page-id-36 .legacy-page-shell .content .buildFrontendBox li > a:hover,
body.page-id-36 .legacy-page-shell .content .buildFrontendBox li > a:focus {
    color: var(--lokf-accent-color);
    text-decoration: underline;
}

body.page-id-36 .legacy-page-shell .content .beschreibung {
    display: block;
    margin-top: 4px;
    color: #5f4e43;
    font-size: 15px;
    line-height: 1.5;
}

body.page-id-34 .legacy-page-shell .content .lokf-aac-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 24px 0 8px;
}

body.page-id-34 .legacy-page-shell .content .lokf-aac-gallery a {
    display: block;
}

body.page-id-34 .legacy-page-shell .content .lokf-aac-gallery img {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0 !important;
    border: 1px solid var(--lokf-surface-border) !important;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.page-id-41 .legacy-page-shell .content article > table {
    display: block;
    width: min(100%, 460px) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 28px auto 32px !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(92, 24, 43, 0.14);
    overflow: visible;
}

body.page-id-41 .legacy-page-shell .content article > table > tbody,
body.page-id-41 .legacy-page-shell .content article > table > tbody > tr,
body.page-id-41 .legacy-page-shell .content article > table > tbody > tr > td {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
}

body.page-id-41 .legacy-page-shell .content article > table > tbody > tr > td {
    box-sizing: border-box;
    padding: 26px 24px 22px !important;
    border: 2px solid #d82651 !important;
    border-radius: 22px;
    background: transparent;
    overflow: visible;
}

body.page-id-41 .legacy-page-shell .content.mainContent {
    overflow: visible;
}

body.page-id-41 .legacy-page-shell .content article > table p {
    margin: 0;
}

body.page-id-41 .legacy-page-shell .content article > table p + p {
    margin-top: 12px;
}

body.page-id-41 .legacy-page-shell .content article > table p:first-child {
    color: #9d1232;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.page-id-41 .legacy-page-shell .content article > table p:nth-child(2) {
    color: #2f2f2f;
    font-size: 24px;
    line-height: 1.3;
}

body.page-id-41 .legacy-page-shell .content article > table p:nth-child(3) {
    color: #d82651;
    font-size: 34px;
    line-height: 1.1;
}

body.page-id-41 .legacy-page-shell .content article > table p:last-child {
    color: #5f4e43;
    font-size: 16px;
    line-height: 1.5;
}

body.page-id-41 .legacy-page-shell .content article > table p i {
    font-style: normal;
}

@media (max-width: 640px) {
    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content {
        padding: 18px 12px 24px !important;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructors > .wp-block-group__inner-container {
        gap: 24px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructors__intro {
        margin-bottom: 2px;
        font-size: 16px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card {
        padding: 20px 16px;
        border-radius: var(--lokf-surface-radius-mobile);
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content :is(.lokf-flight-instructor-card__layout, .lokf-flight-instructor-card__media, .lokf-flight-instructor-card__body) {
        display: block;
        width: 100% !important;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__media {
        margin-bottom: 18px;
        text-align: center;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__image img {
        max-width: 168px;
        margin: 0 auto !important;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__name {
        font-size: 24px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content :is(.lokf-flight-instructor-card__details, .lokf-flight-instructor-card__contact) {
        font-size: 16px;
    }

    body.page-id-27 .legacy-page-shell .content article > table,
    body.page-id-27 .legacy-page-shell .content article > table > tbody,
    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr,
    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td {
        display: block;
        width: 100% !important;
    }

    body.page-id-27 .legacy-page-shell .content article > table {
        border-radius: 0;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td {
        padding: 14px 16px;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:first-child {
        border-right: 0 !important;
        border-bottom: 1px solid #eadfd6 !important;
        font-size: 20px;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:last-child {
        padding-top: 14px;
        font-size: 16px;
    }

    body.page-id-11 .legacy-page-shell .content {
        padding: 16px 12px !important;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) {
        padding: 20px 16px;
        border-radius: 20px;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure),
    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) table,
    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) tbody,
    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) tr,
    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) td {
        display: block;
        width: 100% !important;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) td {
        padding: 0;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) td + td {
        margin-top: 18px;
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid var(--lokf-surface-divider) !important;
        border-left: 0 !important;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) iframe {
        min-height: 300px;
    }

    body.page-id-11 .legacy-page-shell .content a[href*="BilderGalerien/Infrastruktur"] {
        width: calc(50% - 12px);
        margin: 6px;
    }

    body.page-id-11 .legacy-page-shell .content p > img[src*="BilderGalerien/Infrastruktur"] {
        display: block;
        width: calc(50% - 12px);
        margin: 6px auto !important;
    }

    body.page-id-11 .legacy-page-shell .content a[href*="BilderGalerien/Infrastruktur"] img {
        width: 100%;
    }

    body.page-id-36 .legacy-page-shell .content {
        padding: 16px 12px 22px !important;
    }

    body.page-id-36 .legacy-page-shell .content #tabs {
        gap: 10px;
    }

    body.page-id-36 .legacy-page-shell .content #tabs a {
        padding: 9px 14px;
        font-size: 13px;
    }

    body.page-id-36 .legacy-page-shell .content .tab-section {
        padding: 18px 15px;
        border-radius: var(--lokf-surface-radius-mobile);
    }

    body.page-id-36 .legacy-page-shell .content .buildFrontendBox li > a {
        font-size: 16px;
    }

    body.page-id-34 .legacy-page-shell .content .lokf-aac-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.page-id-41 .legacy-page-shell .content article > table {
        margin: 24px auto 28px !important;
    }

    body.page-id-41 .legacy-page-shell .content article > table > tbody > tr > td {
        padding: 22px 18px 20px !important;
    }

    body.page-id-41 .legacy-page-shell .content article > table p:nth-child(2) {
        font-size: 20px;
    }

    body.page-id-41 .legacy-page-shell .content article > table p:nth-child(3) {
        font-size: 28px;
    }

    body.page-id-41 .legacy-page-shell .content article > table p:last-child {
        font-size: 15px;
    }
}

@media (max-width: 900px) and (min-width: 641px) {
    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content {
        padding-left: 18px;
        padding-right: 18px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card {
        padding: 24px 22px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__layout {
        gap: 22px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__media {
        flex-basis: 150px !important;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content .lokf-flight-instructor-card__image img {
        max-width: 150px;
    }

    body:is(.page-id-22, .page-id-24) .legacy-page-shell .content :is(.lokf-flight-instructor-card__details, .lokf-flight-instructor-card__contact) {
        font-size: 16px;
    }
}

.lokf-fleet-list {
    display: grid;
    gap: 22px;
    margin-top: 18px;
}

.lokf-fleet-card {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 20px 24px;
    padding: 22px;
    border: 1px solid #d9d1ca;
    border-radius: 14px;
    background: rgba(250, 248, 245, 0.96);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.lokf-fleet-card__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-self: start;
}

.lokf-fleet-card__image {
    margin: 0;
}

.lokf-fleet-card__image a,
.lokf-fleet-card__image img {
    display: block;
    width: 100%;
}

.lokf-fleet-card__image img {
    height: auto !important;
    margin: 0 !important;
    border: 1px solid #ddd5cd;
}

.lokf-fleet-card__body {
    min-width: 0;
}

.lokf-fleet-card__title {
    margin: 0 0 14px;
    color: var(--lokf-heading-color);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
}

.lokf-fleet-card__title > * {
    margin: 0 !important;
    color: inherit;
    font-size: inherit !important;
    font-weight: inherit;
    line-height: inherit;
}

.lokf-fleet-card__specs {
    display: grid;
}

.lokf-fleet-card__spec {
    display: grid;
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
    gap: 8px 16px;
    padding: 10px 0;
    border-top: 1px solid #ddd5cd;
}

.lokf-fleet-card__spec:first-child {
    border-top: 0;
    padding-top: 0;
}

.lokf-fleet-card__spec dt,
.lokf-fleet-card__spec dd {
    margin: 0;
}

.lokf-fleet-card__spec dt {
    font-weight: bold;
    color: #5f4e43;
}

.lokf-fleet-card__spec dd {
    min-width: 0;
}

body.home .row {
    width: auto !important;
    max-width: 1040px;
    margin: 0 auto;
    padding: 8px 30px !important;
}

body.home .logoRow {
    height: 110px;
    margin-top: 96px;
}

body.home .container {
    min-height: 0;
}

body.home footer {
    margin-top: 10px;
}

body.home .home-hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 36px !important;
    box-sizing: border-box;
}

body.home .home-featured-teaser,
body.home .home-teasers {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    gap: 24px;
    align-items: stretch;
}

body.home .home-featured-teaser {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
}

body.home .home-teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home .home-teasers .box,
body.home .home-teasers .box.last {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.home .home-teasers .headingBox {
    height: auto;
}

body.home .home-teasers .contentBox {
    flex: 1 1 auto;
    min-width: 0;
}

body.home .home-teasers .contentBox img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto !important;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    body.home .home-teasers {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
}

body:not(.home) .legacy-page-shell .content table,
body:not(.home) .legacy-search-shell .content table {
    max-width: 100%;
}

body:not(.home) .legacy-page-shell .content iframe,
body:not(.home) .legacy-page-shell .content embed,
body:not(.home) .legacy-search-shell .content iframe,
body:not(.home) .legacy-search-shell .content embed {
    max-width: 100% !important;
}

.search-results article + article {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #d9d9d9;
}

.search-results h2 {
    margin-bottom: 8px;
}

.wp-block-image {
    margin: 0;
}

body:not(.home) .legacy-page-shell .content p[style*="text-align: center"] > img:first-child,
body:not(.home) .legacy-search-shell .content p[style*="text-align: center"] > img:first-child,
body:not(.home) .legacy-page-shell .content p > img:only-child,
body:not(.home) .legacy-search-shell .content p > img:only-child,
body:not(.home) .legacy-page-shell .content .lokf-legacy-media-block > img:first-child,
body:not(.home) .legacy-search-shell .content .lokf-legacy-media-block > img:first-child,
body:not(.home) .legacy-page-shell .content .lokf-legacy-media-block > strong:first-child > img:only-child,
body:not(.home) .legacy-search-shell .content .lokf-legacy-media-block > strong:first-child > img:only-child {
    display: block;
    margin: 0 auto 12px !important;
}

body:not(.home) .legacy-page-shell .content p[style*="text-align: center"] > em,
body:not(.home) .legacy-page-shell .content p[style*="text-align: center"] > i,
body:not(.home) .legacy-search-shell .content p[style*="text-align: center"] > em,
body:not(.home) .legacy-search-shell .content p[style*="text-align: center"] > i,
body:not(.home) .legacy-page-shell .content .lokf-legacy-media-block > em,
body:not(.home) .legacy-page-shell .content .lokf-legacy-media-block > i,
body:not(.home) .legacy-search-shell .content .lokf-legacy-media-block > em,
body:not(.home) .legacy-search-shell .content .lokf-legacy-media-block > i {
    display: block;
    margin: 0;
    text-align: center;
}

body:not(.home) .legacy-page-shell .content p[style*="text-align: center"] > br,
body:not(.home) .legacy-search-shell .content p[style*="text-align: center"] > br,
body:not(.home) .legacy-page-shell .content .lokf-legacy-media-block > br,
body:not(.home) .legacy-search-shell .content .lokf-legacy-media-block > br {
    display: none;
}

.lokf-nav-toggle,
.submenu-toggle {
    display: none !important;
}

.lokf-nav-toggle {
    appearance: none;
    -webkit-appearance: none;
}

.lokf-nav-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.lokf-nav-toggle__icon span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.menu-open .lokf-nav-toggle__icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.menu-open .lokf-nav-toggle__icon span:nth-child(2) {
    opacity: 0;
}

body.menu-open .lokf-nav-toggle__icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.lokf-site-nav .lokf-menu,
.lokf-site-nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lokf-site-nav .lokf-menu {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

.lokf-site-nav .lokf-menu > li {
    position: relative;
}

.lokf-site-nav .lokf-menu a {
    display: block;
    color: #fff !important;
    text-decoration: none;
    padding: 20px !important;
}

.lokf-site-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #0d2f4f;
    z-index: 30;
}

.lokf-site-nav .sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

.lokf-site-nav li:hover > .sub-menu,
.lokf-site-nav li:focus-within > .sub-menu {
    display: block;
}

.lokf-site-nav .sub-menu li {
    position: relative;
    border-bottom: 1px solid #323537;
}

.lokf-site-nav .sub-menu a {
    padding: 10px 20px !important;
}

.content img,
.search-results img {
    cursor: default;
}

.content img.is-zoomable,
.search-results img.is-zoomable {
    cursor: zoom-in;
}

.lokf-image-zoom-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 9999;
    box-sizing: border-box;
    appearance: none;
}

.lokf-image-zoom-overlay.is-open {
    display: flex;
}

.lokf-image-zoom-image {
    display: block;
    max-width: min(96vw, 1400px);
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
    cursor: zoom-out;
}

body.image-zoom-open {
    overflow: hidden;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer,
footer > div,
footer .container,
footer .row {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

footer {
    clear: both;
    margin-top: auto;
    flex-shrink: 0;
}

footer > div {
    max-width: 1040px;
}

footer .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px !important;
    box-sizing: border-box;
}

.logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.logos img,
.fb,
.asvo,
.wappen,
.tschrepitsch {
    float: none !important;
    position: static !important;
    top: auto !important;
    margin: 0 !important;
    display: block;
    width: auto;
    max-height: 42px;
}

.tschrepitsch {
    width: 60px;
    max-height: none;
}

.menuBottom {
    float: none !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.menuBottom a {
    display: inline-block;
}

body.home .home-featured-teaser {
    display: flex;
    justify-content: center;
}

body.home .home-featured-teaser .box {
    float: none !important;
    width: 320px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.home .home-featured-teaser .contentBox {
    text-align: left;
}

body.home .home-featured-teaser .contentBox p:first-child {
    text-align: center;
}

body.home .home-featured-teaser .contentBox img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto !important;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .search,
    .flag {
        display: none !important;
    }
}

@media (min-width: 1401px) {
    .lokf-site-nav .lokf-menu {
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 1000px;
        max-width: 1000px;
        box-sizing: border-box;
    }

    .lokf-site-nav .lokf-menu > li {
        flex: 1 1 auto;
    }

    .lokf-site-nav .lokf-menu > li > a {
        padding: 20px 4px !important;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 1400px) and (min-width: 901px) {
    .menueTop {
        width: 100% !important;
    }

    .lokf-site-nav .lokf-menu {
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
    }

    .lokf-site-nav .lokf-menu > li {
        flex: 1 1 auto;
    }

    .lokf-site-nav .lokf-menu > li > a {
        padding: 20px 4px !important;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .lokf-site-nav .lokf-menu > li > a {
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .menuLine,
    .menueTop,
    #page,
    #dropdown,
    .logoRow,
    .container,
    .row,
    .content,
    .smallBoxes,
    footer .container,
    footer .row {
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    .menuLine,
    .logoRow,
    .container,
    footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .row {
        margin-left: auto;
        margin-right: auto;
    }

    .content {
        min-width: 0;
    }

    #dropdown,
    .menueTop,
    #page {
        float: none !important;
    }
}

@media (max-width: 900px) {
    html,
    body {
        overflow-x: hidden;
    }

    .header,
    .menuLine,
    .menueTop,
    #page,
    #dropdown,
    .logoRow,
    .container,
    .row,
    .content,
    .smallBoxes,
    .logos,
    .menuBottom {
        width: auto !important;
        max-width: none !important;
    }

    .menuLine,
    .logoRow,
    .container,
    footer .container {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    #dropdown {
        display: block;
        width: 100% !important;
        float: none !important;
    }

    .menueTop,
    #page {
        width: 100% !important;
        float: none !important;
    }

    .lokf-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 0;
        border: 0;
        background: #0d2f4f;
        color: #fff;
        cursor: pointer;
        margin: 10px 0;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    }

    .lokf-site-nav {
        display: none;
        width: min(70vw, 340px);
        margin: 0 0 14px;
        background: #0d2f4f !important;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
        opacity: 1 !important;
        position: relative;
        z-index: 80;
        overflow: hidden;
    }

    body.menu-open .lokf-site-nav {
        display: block;
        opacity: 1 !important;
    }

    .lokf-site-nav .lokf-menu,
    .lokf-site-nav .lokf-menu li,
    .lokf-site-nav .sub-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        float: none !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .lokf-site-nav .lokf-menu {
        display: block !important;
    }

    .lokf-site-nav .lokf-menu li {
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        background: #0d2f4f;
    }

    .lokf-site-nav .lokf-menu li a {
        display: block !important;
        padding: 14px 12px !important;
        white-space: normal !important;
        color: #ffffff !important;
        text-align: left !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .lokf-site-nav .sub-menu {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding-left: 0 !important;
        background: #163d63 !important;
        min-width: 0;
    }

    .lokf-site-nav .sub-menu > li > a {
        padding-left: 24px !important;
    }

    .lokf-site-nav .sub-menu .sub-menu > li > a {
        padding-left: 36px !important;
    }

    .lokf-site-nav li.mobile-submenu-open > .sub-menu {
        display: block !important;
    }

    .lokf-site-nav .menu-item-has-children {
        display: block !important;
    }

    .lokf-site-nav .menu-item-has-children > a {
        min-width: 0;
        display: flex !important;
        align-items: center;
        gap: 0;
        padding-right: 12px !important;
    }

    .lokf-site-nav .menu-item-has-children > a::after {
        content: "";
        display: block;
        flex: 0 0 10px;
        margin-left: auto;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transform-origin: center;
        pointer-events: none;
    }

    .submenu-toggle {
        display: none !important;
    }

    .lokf-site-nav li.mobile-submenu-open > a::after {
        transform: rotate(-135deg);
    }

    .search,
    .flag {
        display: none !important;
    }

    .logo {
        width: auto !important;
        text-align: center;
    }

    .logo img,
    .content img,
    .content object,
    .content iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    .smallBoxes {
        display: block !important;
    }

    .smallBoxes .box,
    .smallBoxes .box.last {
        float: none !important;
        width: 100% !important;
        margin: 0 0 18px 0 !important;
    }

    .menuBottom {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    footer .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .logos {
        justify-content: center;
    }

    footer .menuBottom {
        justify-content: center;
    }

    body:not(.home) .row {
        width: auto !important;
        padding: 18px 16px !important;
    }

    body:not(.home) .legacy-page-shell .content,
    body:not(.home) .legacy-search-shell .content {
        max-width: 760px;
        margin: 0 auto;
        padding: 22px 18px !important;
        background: rgba(255, 255, 255, 0.88);
        text-align: left !important;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    }

    body:not(.home) .legacy-page-shell .content p,
    body:not(.home) .legacy-page-shell .content li,
    body:not(.home) .legacy-search-shell .content p,
    body:not(.home) .legacy-search-shell .content li {
        font-size: 18px;
        line-height: 1.75;
        text-align: left !important;
    }

    body:not(.home) .legacy-page-shell .content h1,
    body:not(.home) .legacy-page-shell .content h2,
    body:not(.home) .legacy-page-shell .content h3,
    body:not(.home) .legacy-page-shell .content h4 {
        text-align: left !important;
    }

    .lokf-fleet-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .lokf-fleet-card__title {
        font-size: 24px;
    }

    .lokf-fleet-card__spec {
        grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
        gap: 6px 14px;
    }

    body:not(.home) .legacy-page-shell .content img,
    body:not(.home) .legacy-search-shell .content img {
        display: block;
        margin: 18px auto;
        max-width: 100% !important;
        height: auto !important;
    }

    body:not(.home) .legacy-page-shell .content table,
    body:not(.home) .legacy-search-shell .content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body:not(.home) .legacy-page-shell .content table td,
    body:not(.home) .legacy-page-shell .content table th,
    body:not(.home) .legacy-search-shell .content table td,
    body:not(.home) .legacy-search-shell .content table th {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-id-23 .legacy-page-shell .content article > table,
    body.page-id-23 .legacy-page-shell .content article > table > tbody {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody:empty,
    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr:empty {
        display: none !important;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr {
        display: flex !important;
        flex-wrap: wrap;
        gap: 12px 16px;
        align-items: flex-start;
        width: 100%;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td {
        display: block !important;
        width: 100% !important;
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(1),
    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(3) {
        flex: 1 1 calc(50% - 8px);
        width: calc(50% - 8px) !important;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(2),
    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(4) {
        display: none;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) {
        flex: 1 0 100%;
        width: 100% !important;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td:first-child {
        width: 44%;
        padding-right: 12px;
    }

    body.page-id-27 .legacy-page-shell .content article > table,
    body.page-id-27 .legacy-page-shell .content article > table > tbody {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr {
        display: grid !important;
        grid-template-columns: minmax(118px, 164px) minmax(0, 1fr);
        gap: 10px 24px;
        width: 100%;
        padding: 18px 0;
        box-sizing: border-box;
        border-top: 1px solid #ddd5cd;
        align-items: start;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr:first-child {
        border-top: 0;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td {
        display: block !important;
        width: 100% !important;
        min-width: 0;
        padding: 12px 0;
        box-sizing: border-box;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:first-child {
        display: inline-block !important;
        width: auto !important;
        max-width: 100%;
        padding: 8px 14px !important;
        border-radius: 999px;
        background: #f7f0ea;
        box-shadow: inset 0 0 0 1px #e3d5c9;
        place-self: start;
        text-align: left !important;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:last-child {
        padding-top: 2px;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 640px) {
    .search {
        display: none;
    }

    .content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-id-24 .legacy-page-shell .content .board-table td {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.page-id-24 .legacy-page-shell .content .board-photo {
        width: 92px;
        padding-right: 8px;
    }

    body.page-id-24 .legacy-page-shell .content .board-photo img {
        width: 82px;
        max-width: 82px !important;
        margin: 6px auto !important;
    }

    body.page-id-24 .legacy-page-shell .content {
        width: auto !important;
        max-width: none !important;
        padding: 16px 12px !important;
        overflow: visible;
        box-sizing: border-box;
    }

    body.page-id-24 .legacy-page-shell .content .board-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    body.page-id-24 .legacy-page-shell .content .board-table {
        table-layout: fixed;
    }

    body.page-id-24 .legacy-page-shell .content p,
    body.page-id-24 .legacy-page-shell .content li {
        font-size: 15px !important;
        line-height: 1.5 !important;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    body.page-id-24 .legacy-page-shell .content .board-name {
        font-size: 18px;
    }

    body.page-id-24 .legacy-page-shell .content .board-table td:last-child {
        min-width: 0;
    }

    body.page-id-27 .legacy-page-shell .content {
        width: auto !important;
        max-width: none !important;
        padding: 16px 12px !important;
        overflow: visible;
        box-sizing: border-box;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
        padding: 16px;
        box-sizing: border-box;
        border: 1px solid #ddd5cd;
        border-radius: 14px;
        background: linear-gradient(180deg, #fcfaf7 0%, #f6f1eb 100%);
        box-shadow: 0 3px 14px rgba(69, 44, 29, 0.08);
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr:first-child {
        border-top: 1px solid #ddd5cd;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td {
        padding: 0;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:first-child {
        margin-bottom: 0;
        padding: 7px 12px !important;
        font-size: 17px;
        line-height: 1.2;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:last-child {
        font-size: 15px;
        line-height: 1.55;
    }

    .lokf-fleet-list {
        gap: 18px;
    }

    .lokf-fleet-card {
        padding: 14px;
        border-radius: 12px;
    }

    .lokf-fleet-card__media {
        gap: 10px;
    }

    .lokf-fleet-card__title {
        font-size: 18px;
        line-height: 1.3;
    }

    .lokf-fleet-card__spec dt,
    .lokf-fleet-card__spec dd {
        font-size: 16px;
        line-height: 1.5;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr {
        gap: 12px;
        margin-bottom: 18px;
        padding: 16px;
        border: 1px solid #d9d1ca;
        border-radius: 12px;
        background: #faf8f5;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(1),
    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(3) {
        text-align: center;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) {
        padding-top: 4px;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) > p:first-child {
        margin-bottom: 10px;
        font-size: 18px;
        line-height: 1.3;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table,
    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table tbody {
        display: block;
        width: 100% !important;
        overflow: visible;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table tr {
        display: grid;
        grid-template-columns: minmax(108px, 42%) minmax(0, 1fr);
        gap: 4px 12px;
        padding: 6px 0;
        border-top: 1px solid #e5ddd6;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table tr:first-child {
        border-top: 0;
        padding-top: 0;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td {
        display: block;
        width: auto !important;
        padding: 0;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td:first-child {
        font-weight: bold;
        color: #5f4e43;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td:last-child {
        font-size: 16px;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    body.page-id-27 .legacy-page-shell .content {
        padding: 14px 10px !important;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr {
        padding: 12px 12px 10px;
        border-radius: 10px;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:first-child {
        padding: 6px 10px !important;
        font-size: 16px;
    }

    body.page-id-27 .legacy-page-shell .content article > table > tbody > tr > td:last-child {
        font-size: 14px;
    }

    body.page-id-11 .legacy-page-shell .content {
        padding: 14px 10px !important;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) {
        margin: 18px 0 24px;
        padding: 18px 14px;
    }

    body.page-id-11 .legacy-page-shell .content :is(.wp-block-table, figure) iframe {
        min-height: 240px;
    }

    body.page-id-11 .legacy-page-shell .content a[href*="BilderGalerien/Infrastruktur"] {
        display: block;
        width: min(100%, 260px);
        margin: 8px auto;
    }

    body.page-id-11 .legacy-page-shell .content p > img[src*="BilderGalerien/Infrastruktur"] {
        display: block;
        width: min(100%, 260px);
        margin: 8px auto !important;
    }

    body.page-id-36 .legacy-page-shell .content {
        padding: 12px 10px 18px !important;
    }

    body.page-id-36 .legacy-page-shell .content .tab-section {
        padding: 16px 12px;
    }

    body.page-id-34 .legacy-page-shell .content .lokf-aac-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    body.page-id-24 .legacy-page-shell .content {
        padding: 14px 10px !important;
    }

    body.page-id-24 .legacy-page-shell .content .board-title {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    body.page-id-24 .legacy-page-shell .content .board-table {
        table-layout: fixed;
    }

    body.page-id-24 .legacy-page-shell .content .board-table td {
        display: table-cell;
        padding-top: 8px;
        padding-bottom: 8px;
        vertical-align: top;
    }

    body.page-id-24 .legacy-page-shell .content .board-table tr {
        display: table-row;
    }

    body.page-id-24 .legacy-page-shell .content .board-photo {
        width: 78px !important;
        padding-right: 8px;
        text-align: left;
        padding-bottom: 8px;
    }

    body.page-id-24 .legacy-page-shell .content .board-photo img {
        width: 72px;
        max-width: 72px !important;
        margin: 4px 0 !important;
    }

    body.page-id-24 .legacy-page-shell .content .board-details {
        width: auto !important;
        min-width: 0;
        text-align: left;
    }

    body.page-id-24 .legacy-page-shell .content .board-name {
        margin-top: 0;
        font-size: 17px;
    }

    body.page-id-24 .legacy-page-shell .content .board-details p,
    body.page-id-24 .legacy-page-shell .content .board-details li {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .lokf-fleet-card {
        padding: 12px;
    }

    .lokf-fleet-card__media {
        grid-template-columns: 1fr;
    }

    .lokf-fleet-card__title {
        font-size: 17px;
    }

    .lokf-fleet-card__spec {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 7px 0;
    }

    .lokf-fleet-card__spec dt,
    .lokf-fleet-card__spec dd {
        font-size: 15px;
        line-height: 1.45;
    }

    body.page-id-23 .legacy-page-shell .content {
        padding: 14px 10px !important;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr {
        gap: 10px;
        padding: 12px;
        border-radius: 10px;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) > p:first-child {
        font-size: 17px;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table tr {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 7px 0;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td:first-child {
        padding-top: 0;
    }

    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td:first-child,
    body.page-id-23 .legacy-page-shell .content article > table > tbody > tr > td:nth-child(5) table td:last-child {
        font-size: 15px;
        line-height: 1.45;
    }
}

@media (max-width: 900px) {
    body.home .logoRow {
        height: auto;
        margin-top: 8px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    body.home .logo,
    body.home .logo a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    body.home .row {
        width: auto !important;
        padding: 20px 16px !important;
    }

    body.home .home-hero {
        padding: 24px 20px !important;
        text-align: center;
        background-position: center top;
        background-size: cover;
        background-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }

    body.home .home-hero h1 {
        margin: 0 0 10px;
        font-size: 32px;
        line-height: 1.15;
    }

    body.home .home-hero h2 {
        margin: 0 0 16px;
        font-size: 30px;
        line-height: 1.15;
    }

    body.home .home-hero h3,
    body.home .home-hero h4 {
        margin-left: 0;
        margin-right: 0;
    }

    body.home .home-hero p {
        margin-top: 16px !important;
    }

    body.home .home-hero p:first-of-type {
        text-align: center;
    }

    body.home .home-hero p:first-of-type img {
        display: block;
        margin: 0 auto;
        width: min(240px, 70vw);
        height: auto !important;
    }

    body.home .home-featured-teaser {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 18px;
    }

    body.home .home-featured-teaser .box {
        display: block !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        clear: both !important;
        float: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    body.home .home-featured-teaser .headingBox {
        height: auto;
        padding: 0 12px;
    }

    body.home .home-featured-teaser .headingBox h3 {
        margin: 0;
        padding: 16px 0;
    }

    body.home .home-featured-teaser .contentBox {
        padding: 16px;
        text-align: left;
    }

    body.home .home-featured-teaser .contentBox p {
        margin-top: 14px !important;
    }

    body.home .home-featured-teaser .contentBox p:first-child {
        margin-top: 0 !important;
        text-align: center;
    }

    body.home .home-featured-teaser .contentBox img {
        display: block;
        width: 100% !important;
        max-width: 340px;
        height: auto !important;
        margin: 0 auto;
    }

    body.home .home-teasers {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 18px;
    }

    body.home .home-teasers .box,
    body.home .home-teasers .box.last {
        display: block !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        clear: both !important;
        float: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    body.home .home-teasers .headingBox {
        height: auto;
        padding: 0 12px;
    }

    body.home .home-teasers .headingBox h3 {
        margin: 0;
        padding: 16px 0;
    }

    body.home .home-teasers .contentBox {
        padding: 16px;
        text-align: left;
    }

    body.home .home-teasers .contentBox p {
        margin-top: 14px !important;
    }

    body.home .home-teasers .contentBox p:first-child {
        margin-top: 0 !important;
        text-align: center;
    }

    body.home .home-teasers .contentBox img {
        display: block;
        width: 100% !important;
        max-width: 340px;
        height: auto !important;
        margin: 0 auto;
    }

    body.home footer .logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 12px 0;
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .menuLine {
        background: transparent !important;
        box-shadow: none !important;
    }

    #dropdown {
        background: transparent !important;
    }

    .lokf-nav-toggle {
        margin-top: 0;
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    body.home .logo img {
        max-width: 220px;
        margin: 0 auto !important;
    }

    body.home .home-hero {
        padding: 20px 16px !important;
    }

    body.home .home-hero h1 {
        font-size: 26px;
    }

    body.home .home-hero h2 {
        font-size: 24px;
    }

    body.home .home-hero h3 {
        font-size: 22px;
        line-height: 1.2;
    }

    body.home .home-teasers .contentBox {
        padding: 14px;
    }

    body.home .home-featured-teaser .contentBox {
        padding: 14px;
    }

    body.home .home-teasers {
        grid-template-columns: 1fr;
    }

    body:not(.home) .legacy-page-shell .content,
    body:not(.home) .legacy-search-shell .content {
        padding: 18px 14px !important;
    }

    body:not(.home) .legacy-page-shell .content p,
    body:not(.home) .legacy-page-shell .content li,
    body:not(.home) .legacy-search-shell .content p,
    body:not(.home) .legacy-search-shell .content li {
        font-size: 17px;
    }

    .lokf-image-zoom-overlay {
        padding: 14px;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    body.home .row {
        padding: 16px 12px !important;
    }

    body.home .home-featured-teaser {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.home .home-teasers {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.home .home-featured-teaser .box {
        display: block !important;
        clear: both !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
    }

    body.home .home-teasers .box,
    body.home .home-teasers .box.last {
        display: block !important;
        clear: both !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
    }

    body.home .home-featured-teaser .headingBox,
    body.home .home-featured-teaser .contentBox {
        width: 100% !important;
        box-sizing: border-box;
    }

    body.home .home-teasers .headingBox,
    body.home .home-teasers .contentBox {
        width: 100% !important;
        box-sizing: border-box;
    }

    body.home .home-featured-teaser .contentBox img {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.home .home-teasers .contentBox img {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.lokf-historical-note {
    margin: 1rem 0 !important;
    padding: 0.75rem 1rem;
    border-left: 4px solid #8b1e36;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.95em;
}

/* Contact Form 7 */
.wpcf7-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: bold;
    color: #0d2f4f;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    display: block;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    padding: 12px 14px;
    font: inherit;
    font-weight: normal;
    color: #222;
    background: #fff;
    border: 1px solid #9fb4c7;
    border-radius: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
    height: 46px;
}

.wpcf7-form textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #134371;
    box-shadow: 0 0 0 3px rgba(19, 67, 113, 0.2);
}

.wpcf7-form input[type="submit"] {
    padding: 12px 28px;
    font: inherit;
    font-weight: bold;
    color: #fff;
    background: #134371;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
    background: #0d2f4f;
}

.menuBottom .lokf-cookie-link {
    padding: 0;
    font: inherit;
    line-height: 21px;
    color: #0d2f4f;
    background: none;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

/* Pfeil-Hinweis fuer Menuepunkte mit Untermenue (Desktop; mobil siehe max-width 900px) */
@media (min-width: 901px) {
    .lokf-site-nav .menu-item-has-children > a::after {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-left: 7px;
        vertical-align: 2px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.8;
    }

    .lokf-site-nav .sub-menu .menu-item-has-children > a {
        position: relative;
        padding-right: 36px !important;
    }

    .lokf-site-nav .sub-menu .menu-item-has-children > a::after {
        position: absolute;
        right: 16px;
        top: 18px;
        margin: 0;
        transform: rotate(-45deg);
    }
}

/* Downloads */
.lokf-downloads h2 { margin: 28px 0 10px; font-size: 1.25em; }
.lokf-downloads h2:first-child { margin-top: 0; }
.lokf-dl-list { list-style: none; margin: 0; padding: 0; }
.lokf-dl-list li { margin: 0 0 8px; padding: 0; list-style: none; }
.lokf-dl { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #fff; border: 1px solid #d5dde6; border-radius: 6px; text-decoration: none; color: inherit; box-sizing: border-box; }
.lokf-dl:hover, .lokf-dl:focus { border-color: #1a4a7a; background: #f1f6fb; }
.lokf-dl-type { flex: 0 0 52px; text-align: center; padding: 8px 0; border-radius: 4px; background: #1a4a7a; color: #fff; font-weight: bold; font-size: 13px; }
.lokf-dl-text { flex: 1 1 auto; min-width: 0; display: block; }
.lokf-dl-text strong { display: block; color: #1a4a7a; }
.lokf-dl-text small { display: block; color: #555; font-size: 0.85em; margin-top: 2px; }
.lokf-dl-size { flex: 0 0 auto; color: #666; font-size: 0.85em; white-space: nowrap; }
@media (max-width: 600px) { .lokf-dl { flex-wrap: wrap; } .lokf-dl-size { flex-basis: 100%; padding-left: 66px; margin-top: -8px; } }

a.lokf-route-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #a52a2a;
    color: #fff !important;
    font-weight: bold;
    font-size: 0.95em;
    text-decoration: none !important;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

a.lokf-route-btn:hover,
a.lokf-route-btn:focus {
    background: #7d1f1f;
}

.lokf-callout {
    margin: 25px 0;
    padding: 15px 20px;
    background: #fdf3f3;
    border-left: 5px solid #a52a2a;
    border-radius: 4px;
}

.lokf-callout p:last-child,
.lokf-callout ul:last-child {
    margin-bottom: 0;
}
