/*
Theme Name: Elmos Modern
Description: Modernes, responsives Theme mit blauen, türkisen und orangefarbenen Akzenten.
Version: 1.0.2
Author: Dein Name
Text Domain: elmos-modern
*/

/* ==================================================
   Grundeinstellungen
   ================================================== */

:root {
    --color-blue: #0879c9;
    --color-blue-dark: #075a98;
    --color-turquoise: #26c4cf;
    --color-orange: #ff8a27;
    --color-ink: #17212b;
    --color-muted: #66727e;
    --color-light: #f5f8fa;
    --color-white: #fff;
    --content-width: 1180px;
    --radius: 18px;
    --shadow: 0 14px 45px rgb(20 45 65 / 12%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

figure {
    max-width: 100%;
    margin-inline: 0;
}

a {
    color: var(--color-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-blue-dark);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 4px;
}

.container {
    width: min(var(--content-width), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 16px;
    padding: 10px 16px;
    transform: translateY(calc(-100% - 24px));
    border-radius: 8px;
    color: var(--color-white);
    background: var(--color-blue-dark);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
    color: var(--color-white);
}

/* ==================================================
   Header und Logo
   ================================================== */

.site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    color: var(--color-white);
    background: rgb(11 36 53 / 92%);
    box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
}

.header-inner {
    position: relative;
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: inherit;
    font-size: 1.05rem;
    font-weight: 750;
    text-decoration: none;
}

.site-branding:hover,
.site-branding a:hover,
.site-branding a {
    color: inherit;
    text-decoration: none;
}

.custom-logo-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
}

.custom-logo {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
}

.site-title-text {
    overflow-wrap: anywhere;
    color: inherit;
}

/* ==================================================
   Navigation
   ================================================== */

.primary-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation li {
    position: relative;
}

.primary-navigation a {
    display: block;
    color: var(--color-white);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 1px 8px rgb(0 0 0 / 30%);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current_page_ancestor > a {
    color: var(--color-turquoise);
}

.menu-toggle {
    display: none;
    min-height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 10px;
    color: var(--color-white);
    background: #0b2435;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
    background: var(--color-blue-dark);
}

@media (min-width: 901px) {
    .primary-navigation {
        display: block;
    }

    .primary-navigation > ul,
    .primary-navigation > div > ul {
        display: flex;
        align-items: center;
        gap: clamp(14px, 2vw, 28px);
    }

    .primary-navigation > ul > li > a,
    .primary-navigation > div > ul > li > a {
        padding-block: 18px;
    }

    .primary-navigation .sub-menu,
    .primary-navigation .children {
        position: absolute;
        z-index: 110;
        top: 100%;
        left: 0;
        display: none;
        width: 240px;
        padding: 8px;
        border: 1px solid rgb(255 255 255 / 12%);
        border-radius: 12px;
        background: #0b2435;
        box-shadow: var(--shadow);
    }

    .primary-navigation li:hover > .sub-menu,
    .primary-navigation li:focus-within > .sub-menu,
    .primary-navigation li:hover > .children,
    .primary-navigation li:focus-within > .children {
        display: block;
    }

    .primary-navigation .sub-menu .sub-menu,
    .primary-navigation .children .children {
        top: 0;
        left: 100%;
    }

    .primary-navigation .sub-menu a,
    .primary-navigation .children a {
        padding: 10px 12px;
        border-radius: 7px;
        overflow-wrap: anywhere;
        text-shadow: none;
    }

    .primary-navigation .sub-menu a:hover,
    .primary-navigation .children a:hover {
        color: var(--color-white);
        background: var(--color-blue-dark);
    }

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

/* ==================================================
   Hero
   ================================================== */

.hero,
.article-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--color-white);
    background-color: #315269;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero {
    min-height: clamp(480px, 68vh, 700px);
}

.article-hero {
    min-height: 360px;
    background-position: center 45%;
}

.hero::before,
.article-hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgb(8 28 43 / 58%), rgb(8 28 43 / 8%) 72%),
        linear-gradient(0deg, rgb(7 23 36 / 65%), transparent 70%);
    content: "";
}

.article-hero::before {
    background:
        linear-gradient(90deg, rgb(8 28 43 / 72%), rgb(8 28 43 / 18%) 85%),
        linear-gradient(0deg, rgb(7 23 36 / 55%), transparent 75%);
}

.hero::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 105px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 45 C260 85 440 5 720 40 C1000 75 1190 20 1440 45 L1440 100 L0 100 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    content: "";
}

.hero-content,
.article-hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--content-width), calc(100% - 40px));
    margin-inline: auto;
    padding: 150px 0 72px;
    color: #73d7d6;
}

.hero-kicker,
.article-kicker {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.article-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2.6rem, 7vw, 6.2rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.05;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-shadow: 0 2px 20px rgb(0 0 0 / 25%);
}

.article-hero h1 {
    max-width: 850px;
    font-size: clamp(2.2rem, 5.5vw, 4.6rem);
    line-height: 1.08;
    text-shadow: 0 2px 18px rgb(0 0 0 / 35%);
}

.hero-description {
    max-width: 590px;
    margin: 22px 0 0;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-description > :last-child {
    margin-bottom: 0;
}

/* ==================================================
   Buttons
   ================================================== */

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    color: var(--color-ink);
    background: var(--color-orange);
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    color: var(--color-ink);
    background: #ff9d4b;
}

/* ==================================================
   Allgemeine Seiteninhalte
   ================================================== */

.content-section {
    padding: clamp(58px, 9vw, 110px) 0;
}

.content-section--soft {
    background: var(--color-light);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(32px, 7vw, 88px);
}

.content-grid > *,
.posts-list > * {
    min-width: 0;
}

.content-copy h2,
.page-title {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.content-copy h2::after {
    display: block;
    width: 64px;
    height: 5px;
    margin-top: 17px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-turquoise));
    content: "";
}

.content-copy p {
    color: var(--color-muted);
}

.content-image {
    min-height: 340px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #dceaf0 center / cover no-repeat;
    box-shadow: var(--shadow);
}

.content-image img {
    display: block;
    width: 100%;
    min-height: 340px;
    object-fit: cover;
}

.entry-content {
    max-width: 780px;
    overflow-wrap: anywhere;
}

.entry-content > * {
    margin-block: 0 1.25em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    line-height: 1.25;
}

.entry-content img {
    border-radius: 12px;
}

.entry-content iframe,
.entry-content video {
    max-width: 100%;
}

.entry-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 20px;
    border-radius: 10px;
    background: var(--color-light);
}

.entry-content .wp-block-table {
    overflow-x: auto;
}

.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

/* ==================================================
   Blog: drei Spalten am Desktop
   ================================================== */

.posts-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.post-card {
    overflow: hidden;
    border: 1px solid #e8edf0;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: 0 8px 28px rgb(20 45 65 / 6%);
}

.post-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8eef1;
}

.post-card-image img,
.post-card > img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.post-card-content {
    padding: 22px;
}

.post-card h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.post-card h2 a {
    color: var(--color-ink);
    text-decoration: none;
}

.post-card h2 a:hover {
    color: var(--color-blue-dark);
}

.post-card-meta {
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.post-card-excerpt {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.post-card-excerpt > :last-child {
    margin-bottom: 0;
}

.post-card-link {
    display: inline-flex;
    margin-top: 14px;
    font-weight: 700;
    text-decoration: none;
}

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

.pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--color-light);
    text-decoration: none;
}

.pagination .current {
    color: var(--color-white);
    background: var(--color-blue);
}

/* ==================================================
   Einzelbeitrag
   ================================================== */

.article-layout {
    padding-block: clamp(40px, 7vw, 80px);
}

.single-article {
    max-width: 820px;
    margin-inline: auto;
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5ebef;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.article-categories a,
.article-footer a {
    display: inline-block;
    margin: 3px 5px 3px 0;
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--color-blue-dark);
    background: #eaf5fb;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.article-content {
    max-width: none;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.85;
}

.article-content p {
    margin-bottom: 1.4em;
}

.article-content h2,
.article-content h3 {
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    color: var(--color-ink);
    line-height: 1.25;
}

.article-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.article-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.article-content img {
    height: auto;
    border-radius: 14px;
}

.article-content blockquote {
    margin: 1.8em 0;
    padding: 18px 24px;
    border-left: 4px solid var(--color-turquoise);
    border-radius: 0 12px 12px 0;
    background: var(--color-light);
}

.article-footer {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid #e5ebef;
    color: var(--color-muted);
}

.article-tags-label {
    margin-right: 8px;
    font-weight: 700;
}

/* Alternative Einzelbeitrags-Klassen */
body.single-post .single-content {
    padding: 52px 0 72px;
}

body.single-post .single-container {
    max-width: 900px;
}

body.single-post .single-post-card {
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid #e5ebef;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: 0 12px 36px rgb(24 53 70 / 7%);
}

body.single-post .single-post-card .page-title {
    margin: 0 0 20px;
    color: #183b50;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.12;
}

body.single-post .single-post-card .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    color: #687b87;
    font-size: 0.92rem;
}

body.single-post .single-post-card .entry-content {
    color: #293b46;
    font-size: 1.08rem;
    line-height: 1.85;
}

body.single-post .single-post-card .entry-content p {
    margin: 0 0 1.35em;
}

body.single-post .single-post-card .entry-content h2,
body.single-post .single-post-card .entry-content h3 {
    margin: 1.8em 0 0.65em;
    color: #183b50;
    line-height: 1.25;
}

body.single-post .single-post-card .entry-content h2 {
    font-size: clamp(1.55rem, 3vw, 2rem);
}

body.single-post .single-post-card .entry-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

body.single-post .single-post-card .entry-content ul,
body.single-post .single-post-card .entry-content ol {
    margin: 0 0 1.4em;
    padding-left: 1.5em;
}

body.single-post .single-post-card .entry-content li {
    margin-bottom: 0.45em;
}

body.single-post .single-post-card .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

body.single-post .single-post-card .entry-content blockquote {
    margin: 1.6em 0;
    padding: 16px 22px;
    border-left: 4px solid #08a6c2;
    border-radius: 0 10px 10px 0;
    background: #f2f7f9;
}

body.single-post .single-post-card .entry-footer {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #e5ebef;
    color: #687b87;
}

body.single-post .single-post-card .entry-footer a,
body.single-post .post-navigation a {
    color: #12627b;
    font-weight: 600;
}

body.single-post .post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

body.single-post .post-navigation a {
    text-decoration: none;
}

body.single-post .post-navigation a:hover {
    text-decoration: underline;
}

/* ==================================================
   Kategorieübersicht
   ================================================== */

.category-page {
    padding: 56px 0 80px;
    background: #fff;
}

.category-container {
    max-width: var(--content-width);
}

.category-header {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.category-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #087e97;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.category-title {
    margin: 0;
    color: #183b50;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
}

.category-description {
    margin-top: 14px;
    color: #607482;
    font-size: 1.05rem;
    line-height: 1.7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.category-card {
    overflow: hidden;
    border: 1px solid #e5ebef;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgb(24 53 70 / 7%);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgb(24 53 70 / 12%);
}

.category-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8eef1;
}

.category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.04);
}

.category-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dce8ec, #f1f5f6);
}

.category-card-body {
    padding: 20px;
}

.category-card-date {
    color: #71828c;
    font-size: 0.82rem;
}

.category-card-title {
    margin: 8px 0 10px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.category-card-title a {
    color: #183b50;
    text-decoration: none;
}

.category-card-title a:hover {
    color: #087e97;
}

.category-card-excerpt {
    color: #536772;
    font-size: 0.96rem;
    line-height: 1.65;
}

.category-card-excerpt p {
    margin: 0;
}

.category-card-link {
    display: inline-flex;
    gap: 7px;
    margin-top: 16px;
    color: #087e97;
    font-weight: 700;
    text-decoration: none;
}

.category-card-link:hover {
    text-decoration: underline;
}

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

.category-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.category-pagination a,
.category-pagination .current {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    color: #183b50;
    background: var(--color-white);
    text-decoration: none;
}

.category-pagination .current {
    color: var(--color-white);
    background: #087e97;
}

/* ==================================================
   Mobile Navigation
   ================================================== */

@media (max-width: 900px) {
    .header-inner {
        min-height: 76px;
        gap: 16px;
    }

    .menu-toggle {
        position: relative;
        display: inline-flex;
        width: 48px;
        min-width: 48px;
        height: 44px;
        padding: 0;
    }

    .menu-toggle::before {
        width: 22px;
        height: 16px;
        background: linear-gradient(
            to bottom,
            #fff 0,
            #fff 2px,
            transparent 2px,
            transparent 7px,
            #fff 7px,
            #fff 9px,
            transparent 9px,
            transparent 14px,
            #fff 14px,
            #fff 16px
        );
        content: "";
    }

    .menu-toggle span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .site-header .primary-navigation {
        position: absolute;
        z-index: 120;
        top: calc(100% + 6px);
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border: 1px solid rgb(255 255 255 / 16%);
        border-radius: 14px;
        background: #0b2435;
        box-shadow: 0 18px 45px rgb(0 0 0 / 25%);
    }

    .site-header .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    .primary-navigation li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .primary-navigation a {
        min-height: 44px;
        padding: 11px 12px;
        border-radius: 8px;
        overflow-wrap: anywhere;
        text-shadow: none;
    }

    .primary-navigation a:hover {
        color: var(--color-white);
        background: var(--color-blue-dark);
    }

    .primary-navigation .current-menu-item > a,
    .primary-navigation .current_page_item > a {
        color: var(--color-turquoise);
        background: rgb(255 255 255 / 6%);
    }

    .site-header .primary-navigation .sub-menu,
    .site-header .primary-navigation .children {
        position: static;
        display: none;
        width: auto;
        min-width: 0;
        margin: 4px 0 8px 12px;
        padding: 0 0 0 10px;
        border: 0;
        border-left: 2px solid var(--color-turquoise);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-header .primary-navigation
        .menu-item-has-children.submenu-open > .sub-menu,
    .site-header .primary-navigation
        .menu-item-has-children.submenu-open > .children {
        display: block;
    }

    .site-header .primary-navigation .menu-item-has-children {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
    }

    .site-header .primary-navigation .menu-item-has-children > a {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header .primary-navigation .menu-item-has-children > .submenu-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        border: 1px solid rgb(255 255 255 / 25%);
        border-radius: 8px;
        color: var(--color-white);
        background: transparent;
    }

    .site-header .primary-navigation
        .menu-item-has-children > .submenu-toggle:hover,
    .site-header .primary-navigation
        .menu-item-has-children > .submenu-toggle[aria-expanded="true"] {
        background: var(--color-blue-dark);
    }

    .submenu-arrow {
        display: inline-block;
        font-size: 1.2rem;
        line-height: 1;
        transition: transform 160ms ease;
    }

    .submenu-toggle[aria-expanded="true"] .submenu-arrow {
        transform: rotate(180deg);
    }

    .site-header .primary-navigation
        .menu-item-has-children > .sub-menu,
    .site-header .primary-navigation
        .menu-item-has-children > .children {
        grid-column: 1 / -1;
        grid-row: 2;
        width: auto;
        margin: 4px 0 8px 12px;
        padding: 0 0 0 10px;
        border-left: 2px solid var(--color-turquoise);
        background: transparent;
        box-shadow: none;
    }

    .posts-list,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==================================================
   Smartphones
   ================================================== */

@media (max-width: 760px) {
    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding-top: 130px;
        padding-bottom: 54px;
        transform: translateY(-45px);
    }

    .hero h1 {
        font-size: clamp(2.3rem, 9vw, 4rem);
        letter-spacing: -0.035em;
        line-height: 1.08;
    }

    .article-hero {
        min-height: 340px;
    }

    .article-hero-content {
        padding: 130px 0 68px;
    }

    .article-layout {
        padding-block: 36px;
    }

    .content-grid,
    .posts-list,
    .category-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-image,
    .content-image img {
        min-height: 260px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-page {
        padding: 36px 0 52px;
    }

    .category-grid {
        gap: 18px;
    }

    .category-card-body {
        padding: 17px;
    }
}

@media (max-width: 600px) {
    body.single-post .single-content {
        padding: 28px 0 48px;
    }

    body.single-post .single-post-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    body.single-post .single-post-card .entry-content {
        font-size: 1rem;
    }

    body.single-post .post-navigation {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .container,
    .hero-content,
    .article-hero-content {
        width: calc(100% - 28px);
    }

    .custom-logo {
        max-width: 120px;
        max-height: 50px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .post-card-content {
        padding: 18px;
    }
}

/* ==================================================
   Bewegung reduzieren
   ================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================================================
   Footer
   ================================================== */

.site-footer {
    position: relative;
    width: 100%;
    margin-top: 48px;
    padding: 38px 0;
    color: rgb(255 255 255 / 88%);
    background:
        radial-gradient(ellipse at 15% 0%, rgb(38 196 207 / 16%), transparent 42%),
        linear-gradient(135deg, #102b3d, #163d52);
    border-top: 4px solid var(--color-turquoise);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer p {
    margin: 0;
    color: rgb(255 255 255 / 75%);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--color-turquoise);
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

.site-footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin: 0;
}

@media (max-width: 760px) {
    .site-footer {
        margin-top: 32px;
        padding: 28px 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-footer ul {
        gap: 10px 18px;
    }
}


.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-widget-column {
    min-width: 0;
}

.footer-widget {
    margin: 0;
}

.footer-widget-title {
    margin: 0 0 14px;
    color: var(--color-white);
    font-size: 1.05rem;
}

.footer-widget ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 760px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* Beitragstitel im Footer auf zwei Zeilen begrenzen */
.site-footer .wp-block-latest-posts__post-title,
.site-footer .widget_recent_entries a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: anywhere;
}

/* ==================================================
   Startseiten-Hero – eigenständiges Layout, übrige Hero-Bereiche unverändert
   ================================================== */
.hero--home {
    min-height: clamp(600px, 64vh, 760px);
    align-items: center;
    background-color: #10263a;
    background-position: center;
}

.hero--home::before {
    background:
        linear-gradient(90deg, rgb(7 22 40 / 90%) 0%, rgb(9 30 49 / 77%) 40%, rgb(8 26 42 / 35%) 76%, rgb(8 26 42 / 18%) 100%),
        linear-gradient(0deg, rgb(7 20 35 / 42%), transparent 62%);
}

/* Die Startseite verwendet dieselbe weiße Wellenkante wie die übrigen Hero-Bereiche. */
.hero--home::after {
    display: block;
}

.hero-home-content {
    /* Shift homepage content below the overlaid 84px desktop header. */
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(60px);
}

.hero-kicker.hero-home-kicker {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 0 20px;
    border-radius: 0;
    color: #f8a14b;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.17em;
}

.hero-home-kicker::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    transform: translateY(-50%);
    background: var(--color-orange);
    content: "";
}

.hero h1.hero-home-title {
    display: flex;
    max-width: 850px;
    flex-direction: column;
    gap: 0.02em;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 6.2vw, 6.1rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.99;
    overflow-wrap: normal;
    text-shadow: 0 3px 28px rgb(0 0 0 / 28%);
}

.hero-home-title-first,
.hero-home-title-second {
    display: block;
    white-space: nowrap;
}

.hero-home-title-second {
    color: #73d7d6;
    font-style: italic;
}

.hero-description.hero-home-description {
    max-width: 550px;
    margin-top: 26px;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.75;
}

.hero-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 30px;
    margin-top: 30px;
}

.hero-home-actions .button.hero-home-primary {
    min-height: 52px;
    margin: 0;
    padding-inline: 24px;
    border-radius: 4px;
    color: #17212b;
}

.hero-home-secondary {
    color: #fff;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 58%);
    text-underline-offset: 6px;
}

.hero-home-secondary:hover {
    color: #8ce0df;
    text-decoration-color: currentColor;
}

.hero-home-seal {
    position: absolute;
    z-index: 3;
    right: max(5vw, calc((100vw - var(--content-width)) / 2));
    bottom: 62px;
    display: flex;
    width: clamp(118px, 12vw, 158px);
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 18px;
    transform: rotate(9deg);
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 50%;
    color: #fff;
    background: rgb(13 42 58 / 38%);
    box-shadow: inset 0 0 0 5px rgb(255 255 255 / 9%);
    font-size: clamp(0.55rem, 0.8vw, 0.7rem);
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.hero-home-seal span:nth-child(2) {
    color: #8ce0df;
    font-size: 0.9em;
    letter-spacing: 0.02em;
    text-transform: none;
}

@media (max-width: 760px) {
    .hero--home {
        min-height: max(620px, 86svh);
        align-items: flex-end;
        background-position: 58% center;
    }

    .hero--home::before {
        background:
            linear-gradient(90deg, rgb(7 22 40 / 88%), rgb(9 30 49 / 68%) 70%, rgb(8 26 42 / 42%)),
            linear-gradient(0deg, rgb(7 20 35 / 58%), transparent 72%);
    }

    .hero--home .hero-home-content {
        padding-top: 150px;
        padding-bottom: 152px;
        transform: translateY(0);
    }

    .hero h1.hero-home-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-home-title-first,
    .hero-home-title-second {
        white-space: normal;
    }

    .hero-home-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .hero-home-seal {
        right: 22px;
        bottom: 24px;
        width: 112px;
        padding: 14px;
    }
}

@media (max-width: 380px) {
    .hero-home-content {
        padding-bottom: 145px;
    }

    .hero h1.hero-home-title {
        font-size: clamp(2.7rem, 12vw, 3.4rem);
    }

    .hero-home-seal {
        width: 98px;
        font-size: 0.52rem;
    }
}

/* ==================================================
   Startseiten-Inhalt: schmaler Desktopbereich, auf Mobilgeräten verbreitert
   (betrifft ausschließlich Inhalte unterhalb des Heros.)
   ================================================== */
body.home #main > .content-section > .container {
    width: min(70%, var(--content-width));
    max-width: var(--content-width);
    min-width: 0;
    margin-inline: auto;
    padding-inline: 0;
}

body.home #main > .content-section .content-copy,
body.home #main > .content-section .entry-content {
    min-width: 0;
}

body.home #main > .content-section .entry-content {
    max-width: none;
}

@media (max-width: 760px) {
    body.home #main > .content-section > .container {
        width: min(94%, var(--content-width));
    }
}


body.blog #main.content-section,
body.archive #main.content-section {
    background: transparent;
}



/* ==================================================
   Template layout: optional, independently registered sidebars
   ================================================== */
.elmos-template-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
}

.elmos-template-layout__main,
.template-sidebar {
    min-width: 0;
}

.elmos-template-layout.has-template-sidebars {
    grid-template-columns: minmax(0, 1fr);
}

.template-sidebar {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--color-light);
}

.template-widget + .template-widget {
    margin-top: 24px;
}

.template-widget-title {
    margin-top: 0;
}

/* The WordPress "Vollbreite" page template opts out of the standard max width. */
.page-template-page-full-width .container-full-width {
    width: calc(100% - 40px);
    max-width: none;
}

@media (min-width: 1000px) {
    .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr) minmax(180px, 1fr);
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) {
        grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 3fr) minmax(180px, 1fr);
    }
}

@media (max-width: 999px) {
    .elmos-template-layout.has-template-sidebars {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .elmos-template-layout__main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .elmos-template-layout__main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .elmos-template-layout__main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .elmos-template-layout.has-template-sidebars .template-sidebar--left {
        grid-column: 1;
        grid-row: 2;
    }

    .elmos-template-layout.has-template-sidebars .template-sidebar--right {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 600px) {
    .elmos-template-layout.has-template-sidebars {
        grid-template-columns: minmax(0, 1fr);
    }

    .elmos-template-layout.has-template-sidebars .elmos-template-layout__main,
    .elmos-template-layout.has-template-sidebars .template-sidebar--left,
    .elmos-template-layout.has-template-sidebars .template-sidebar--right {
        grid-column: 1;
    }

    .elmos-template-layout.has-template-sidebars .template-sidebar--left {
        grid-row: 2;
    }

    .elmos-template-layout.has-template-sidebars .template-sidebar--right {
        grid-row: 3;
    }
}

/* Keep Kategorie-Sidebars rechts neben den Beiträgen auch auf Tablets.
   Die allgemeine Template-Regel stapelt Sidebars bis 999px unter den Inhalt;
   für Kategoriearchive bleibt das Zweispalten-/Dreispaltenlayout ab 761px aktiv. */
@media (min-width: 761px) and (max-width: 999px) {
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(140px, 1fr) minmax(0, 2.4fr) minmax(140px, 1fr);
    }

    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) {
        grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
    }

    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 3fr) minmax(160px, 1fr);
    }

    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar .elmos-template-layout__main {
        grid-column: 2;
        grid-row: 1;
    }

    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar .template-sidebar--left {
        grid-column: 1;
        grid-row: 1;
    }

    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar .template-sidebar--right {
        grid-column: 3;
        grid-row: 1;
    }

    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .elmos-template-layout__main {
        grid-column: 2;
        grid-row: 1;
    }

    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .template-sidebar--left {
        grid-column: 1;
        grid-row: 1;
    }

    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .elmos-template-layout__main {
        grid-column: 1;
        grid-row: 1;
    }

    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .template-sidebar--right {
        grid-column: 2;
        grid-row: 1;
    }
}


/* ==================================================
   Sidebar layouts: keep active template sidebars beside content
   on desktop, tablet, and narrow screens.
   ================================================== */
@media (max-width: 999px) {
    .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr) minmax(0, 0.7fr);
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.8fr);
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .elmos-template-layout__main {
        grid-column: 2;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .template-sidebar--left {
        grid-column: 1;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .template-sidebar--right {
        grid-column: 3;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .elmos-template-layout__main {
        grid-column: 2;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .template-sidebar--left {
        grid-column: 1;
        grid-row: 1;
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .elmos-template-layout__main {
        grid-column: 1;
        grid-row: 1;
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .template-sidebar--right {
        grid-column: 2;
        grid-row: 1;
    }

    /* Match the general layout for the category template, whose tablet
       rules are intentionally more specific than the generic grid rules. */
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr) minmax(0, 0.7fr);
    }

    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
    }

    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.8fr);
    }
}

@media (max-width: 600px) {
    .elmos-template-layout.has-template-sidebars {
        gap: 10px;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.8fr) minmax(0, 0.6fr);
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .elmos-template-layout__main {
        grid-column: 2;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .template-sidebar--left {
        grid-column: 1;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar .template-sidebar--right {
        grid-column: 3;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .elmos-template-layout__main {
        grid-column: 2;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) .template-sidebar--left {
        grid-column: 1;
        grid-row: 1;
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .elmos-template-layout__main {
        grid-column: 1;
        grid-row: 1;
    }

    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) .template-sidebar--right {
        grid-column: 2;
        grid-row: 1;
    }

    .elmos-template-layout.has-template-sidebars .template-sidebar {
        padding: 10px;
    }

    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.8fr) minmax(0, 0.6fr);
    }

    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    }

    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    }
}

/* ==================================================
   WordPress-Suche – abgestimmt auf Elmos Petrol-/Türkis-Akzente
   Gilt ausschließlich für klassische Such-Widgets und Suchblöcke.
   ================================================== */
.widget_search form.search-form,
.template-sidebar form.search-form,
.wp-block-search {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
}

.widget_search .search-form > label,
.template-sidebar .search-form > label {
    flex: 1 1 12rem;
    min-width: 0;
}

.wp-block-search .wp-block-search__label {
    flex: 0 0 100%;
    margin: 0 0 2px;
    color: var(--color-ink);
    font-weight: 700;
}

.wp-block-search .wp-block-search__inside-wrapper {
    display: flex;
    flex: 1 1 12rem;
    align-items: stretch;
    gap: 10px;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
}

.widget_search .search-form input[type="search"],
.template-sidebar .search-form input[type="search"],
.wp-block-search .wp-block-search__input {
    flex: 1 1 12rem;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 15px;
    border: 1px solid #c8d9df;
    border-radius: 12px;
    color: var(--color-ink);
    background: var(--color-white);
    box-shadow: 0 2px 8px rgb(20 45 65 / 5%);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.widget_search .search-form input[type="search"]::placeholder,
.template-sidebar .search-form input[type="search"]::placeholder,
.wp-block-search .wp-block-search__input::placeholder {
    color: var(--color-muted);
    opacity: 1;
}

.widget_search .search-form input[type="search"]:hover,
.template-sidebar .search-form input[type="search"]:hover,
.wp-block-search .wp-block-search__input:hover {
    border-color: #78b9c4;
}

.widget_search .search-form input[type="search"]:focus,
.template-sidebar .search-form input[type="search"]:focus,
.wp-block-search .wp-block-search__input:focus {
    border-color: #087e97;
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgb(38 196 207 / 18%);
}

.widget_search .search-form input[type="submit"],
.widget_search .search-form button,
.template-sidebar .search-form input[type="submit"],
.template-sidebar .search-form button,
.wp-block-search .wp-block-search__button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 11px 19px;
    border: 1px solid #087e97;
    border-radius: 12px;
    color: var(--color-white);
    background: #087e97;
    box-shadow: 0 5px 14px rgb(8 126 151 / 18%);
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.widget_search .search-form input[type="submit"]:hover,
.widget_search .search-form button:hover,
.template-sidebar .search-form input[type="submit"]:hover,
.template-sidebar .search-form button:hover,
.wp-block-search .wp-block-search__button:hover {
    border-color: #075f73;
    color: var(--color-white);
    background: #075f73;
    box-shadow: 0 7px 18px rgb(8 95 115 / 24%);
    transform: translateY(-1px);
}

.widget_search .search-form input[type="submit"]:focus-visible,
.widget_search .search-form button:focus-visible,
.template-sidebar .search-form input[type="submit"]:focus-visible,
.template-sidebar .search-form button:focus-visible,
.wp-block-search .wp-block-search__button:focus-visible {
    outline: 3px solid var(--color-orange);
    outline-offset: 3px;
}

.widget_search .search-form input[type="submit"]:active,
.widget_search .search-form button:active,
.template-sidebar .search-form input[type="submit"]:active,
.template-sidebar .search-form button:active,
.wp-block-search .wp-block-search__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 7px rgb(8 95 115 / 20%);
}

@media (max-width: 480px) {
    .widget_search form.search-form,
    .template-sidebar form.search-form,
    .wp-block-search {
        gap: 8px;
    }

    .widget_search .search-form > label,
    .template-sidebar .search-form > label,
    .wp-block-search .wp-block-search__inside-wrapper {
        flex-basis: 100%;
    }

    .widget_search .search-form input[type="submit"],
    .template-sidebar .search-form input[type="submit"],
    .wp-block-search:not(.wp-block-search__button-inside) .wp-block-search__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .widget_search .search-form input[type="search"],
    .template-sidebar .search-form input[type="search"],
    .wp-block-search .wp-block-search__input,
    .widget_search .search-form input[type="submit"],
    .widget_search .search-form button,
    .template-sidebar .search-form input[type="submit"],
    .template-sidebar .search-form button,
    .wp-block-search .wp-block-search__button {
        transition: none;
    }
}


/* ==================================================
   WordPress-Elemente und Widgets – Elmos-Theme-Styling
   ================================================== */

/* Content- und Widget-Links bleiben sichtbar und gut anklickbar. */
.entry-content a,
.template-sidebar a,
.site-footer .widget a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.entry-content a:hover,
.template-sidebar a:hover,
.site-footer .widget a:hover {
    color: var(--color-blue-dark);
}

/* Listen: klare Einzüge und angenehmer Zeilenabstand, ohne Navigationen zu ändern. */
.entry-content :is(ul, ol),
.template-sidebar .widget :is(ul, ol),
.site-footer .widget :is(ul, ol) {
    padding-inline-start: 1.4em;
}

.entry-content li + li,
.template-sidebar .widget li + li,
.site-footer .widget li + li {
    margin-top: 0.35em;
}

.entry-content ul,
.entry-content ol {
    margin-block: 0 1.25em;
}

/* Allgemeine Formulare und Eingabefelder (Suche ist oben gezielt abgestimmt). */
.entry-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, select),
.template-sidebar .widget :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, select),
.site-footer .widget :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, select) {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #c8d9df;
    border-radius: 10px;
    color: var(--color-ink);
    background: var(--color-white);
}

.entry-content textarea,
.template-sidebar .widget textarea,
.site-footer .widget textarea {
    min-height: 120px;
    resize: vertical;
}

.entry-content :is(input[type="checkbox"], input[type="radio"]),
.template-sidebar .widget :is(input[type="checkbox"], input[type="radio"]),
.site-footer .widget :is(input[type="checkbox"], input[type="radio"]) {
    accent-color: var(--color-blue);
}

.entry-content :is(input[type="submit"], input[type="button"], button, .wp-block-button__link),
.template-sidebar .widget :is(input[type="submit"], input[type="button"], button),
.site-footer .widget :is(input[type="submit"], input[type="button"], button) {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--color-blue-dark);
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-blue);
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.entry-content :is(input[type="submit"], input[type="button"], button, .wp-block-button__link):hover,
.template-sidebar .widget :is(input[type="submit"], input[type="button"], button):hover,
.site-footer .widget :is(input[type="submit"], input[type="button"], button):hover {
    border-color: var(--color-blue-dark);
    color: var(--color-white);
    background: var(--color-blue-dark);
}

/* Tabellen mit dezenter Streifenoptik; breite Tabellen bleiben scrollbar. */
.entry-content table,
.template-sidebar .widget table,
.site-footer .widget table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d9e4e8;
    color: var(--color-ink);
    background: var(--color-white);
}

.entry-content th,
.entry-content td,
.template-sidebar .widget th,
.template-sidebar .widget td,
.site-footer .widget th,
.site-footer .widget td {
    padding: 10px 12px;
    border: 1px solid #d9e4e8;
    text-align: start;
    vertical-align: top;
}

.entry-content th,
.template-sidebar .widget th,
.site-footer .widget th {
    color: var(--color-ink);
    background: #eaf4f7;
    font-weight: 750;
}

.entry-content tbody tr:nth-child(even),
.template-sidebar .widget tbody tr:nth-child(even),
.site-footer .widget tbody tr:nth-child(even) {
    background: #f7fafb;
}

.entry-content .wp-block-table,
.entry-content .wp-block-table > table {
    max-width: 100%;
}

.entry-content .wp-block-table {
    overflow-x: auto;
}

/* Zitate: Petrol-Akzent, weicher Hintergrund, klare Abgrenzung. */
.entry-content blockquote,
.template-sidebar .widget blockquote,
.site-footer .widget blockquote,
.wp-block-quote {
    margin: 1.5em 0;
    padding: 18px 22px;
    border: 0;
    border-inline-start: 4px solid var(--color-turquoise);
    border-radius: 0 12px 12px 0;
    color: var(--color-ink);
    background: var(--color-light);
}

.entry-content blockquote > :last-child,
.template-sidebar .widget blockquote > :last-child,
.site-footer .widget blockquote > :last-child,
.wp-block-quote > :last-child {
    margin-bottom: 0;
}

/* Verbreitete WordPress-Widget-Listen: einheitliche, zurückhaltende Trenner. */
.template-sidebar .widget :is(.widget_categories, .widget_archive, .widget_recent_entries, .widget_recent_comments, .widget_pages, .widget_nav_menu, .widget_meta, .widget_rss, .widget_block) ul,
.site-footer .widget :is(.widget_categories, .widget_archive, .widget_recent_entries, .widget_recent_comments, .widget_pages, .widget_nav_menu, .widget_meta, .widget_rss, .widget_block) ul,
.template-sidebar .widget :is(.widget_categories, .widget_archive, .widget_recent_entries, .widget_recent_comments, .widget_pages, .widget_nav_menu, .widget_meta, .widget_rss) > ul,
.site-footer .widget :is(.widget_categories, .widget_archive, .widget_recent_entries, .widget_recent_comments, .widget_pages, .widget_nav_menu, .widget_meta, .widget_rss) > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.template-sidebar .widget_categories li,
.template-sidebar .widget_archive li,
.template-sidebar .widget_recent_entries li,
.template-sidebar .widget_recent_comments li,
.template-sidebar .widget_pages li,
.template-sidebar .widget_nav_menu li,
.template-sidebar .widget_meta li,
.template-sidebar .widget_rss li,
.site-footer .widget_categories li,
.site-footer .widget_archive li,
.site-footer .widget_recent_entries li,
.site-footer .widget_recent_comments li,
.site-footer .widget_pages li,
.site-footer .widget_nav_menu li,
.site-footer .widget_meta li,
.site-footer .widget_rss li {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid rgb(102 114 126 / 16%);
}

.template-sidebar .widget_categories li:last-child,
.template-sidebar .widget_archive li:last-child,
.template-sidebar .widget_recent_entries li:last-child,
.template-sidebar .widget_recent_comments li:last-child,
.template-sidebar .widget_pages li:last-child,
.template-sidebar .widget_nav_menu li:last-child,
.template-sidebar .widget_meta li:last-child,
.template-sidebar .widget_rss li:last-child,
.site-footer .widget_categories li:last-child,
.site-footer .widget_archive li:last-child,
.site-footer .widget_recent_entries li:last-child,
.site-footer .widget_recent_comments li:last-child,
.site-footer .widget_pages li:last-child,
.site-footer .widget_nav_menu li:last-child,
.site-footer .widget_meta li:last-child,
.site-footer .widget_rss li:last-child {
    border-bottom: 0;
}

/* Tag-Cloud-Widgets und Tag-Cloud-Block. */
.template-sidebar .tagcloud,
.site-footer .tagcloud,
.wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.template-sidebar .tagcloud a,
.site-footer .tagcloud a,
.wp-block-tag-cloud a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid #cfe1e6;
    border-radius: 999px;
    color: var(--color-blue-dark);
    background: var(--color-white);
    font-size: 0.88em !important;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.template-sidebar .tagcloud a:hover,
.site-footer .tagcloud a:hover,
.wp-block-tag-cloud a:hover {
    border-color: var(--color-turquoise);
    color: var(--color-blue-dark);
    background: #eaf9fa;
}

/* Pagination inkl. Core-Posts-/Query-Loop-Blöcken und klassischer Navigation. */
.pagination,
.category-pagination,
.nav-links,
.wp-block-query-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination .current,
.category-pagination a,
.category-pagination .current,
.nav-links .page-numbers,
.wp-block-query-pagination .wp-block-query-pagination-numbers,
.wp-block-query-pagination > a {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #d5e2e7;
    border-radius: 999px;
    color: var(--color-blue-dark);
    background: var(--color-white);
    font-weight: 700;
    text-decoration: none;
}

.pagination .current,
.category-pagination .current,
.nav-links .page-numbers.current,
.wp-block-query-pagination .current {
    border-color: var(--color-blue);
    color: var(--color-white);
    background: var(--color-blue);
}

.pagination a:hover,
.category-pagination a:hover,
.nav-links a.page-numbers:hover,
.wp-block-query-pagination > a:hover {
    border-color: var(--color-turquoise);
    color: var(--color-blue-dark);
    background: #eaf9fa;
}

/* Auf Mobilgeräten Hauptinhalt und vorhandene Sidebars untereinander anzeigen. */
@media (max-width: 760px) {
    .elmos-template-layout.has-template-sidebars,
    .elmos-template-layout.has-left-sidebar.has-right-sidebar,
    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar),
    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar),
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar,
    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar),
    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .elmos-template-layout.has-template-sidebars > .elmos-template-layout__main,
    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .elmos-template-layout__main,
    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .elmos-template-layout__main,
    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .elmos-template-layout__main {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
    }

    .elmos-template-layout.has-template-sidebars > .template-sidebar--left,
    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--left,
    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .template-sidebar--left,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--left,
    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .template-sidebar--left {
        display: block;
        visibility: visible;
        grid-column: 1;
        grid-row: 2;
    }

    .elmos-template-layout.has-template-sidebars.has-left-sidebar.has-right-sidebar > .template-sidebar--right,
    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--right,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--right {
        display: block;
        visibility: visible;
        grid-column: 1;
        grid-row: 3;
    }

    .elmos-template-layout.has-template-sidebars.has-right-sidebar:not(.has-left-sidebar) > .template-sidebar--right,
    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .template-sidebar--right,
    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .template-sidebar--right {
        display: block;
        visibility: visible;
        grid-column: 1;
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .entry-content :is(input[type="submit"], input[type="button"], button),
    .template-sidebar .widget :is(input[type="submit"], input[type="button"], button),
    .site-footer .widget :is(input[type="submit"], input[type="button"], button) {
        transition: none;
    }
}

/* ==================================================
   Tablet: mehr Raum für Hauptinhalt, Sidebars darunter
   ================================================== */
@media (min-width: 761px) and (max-width: 1100px) {
    /* Drei Karten nebeneinander werden bei Tabletbreite zu schmal. */
    .posts-list,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Hauptinhalt zuerst; zwei Sidebars teilen sich die zweite Reihe. */
    .elmos-template-layout.has-template-sidebars,
    .elmos-template-layout.has-left-sidebar.has-right-sidebar,
    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar),
    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar),
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar,
    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar),
    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(18px, 3vw, 28px);
        row-gap: 24px;
    }

    .elmos-template-layout.has-template-sidebars > .elmos-template-layout__main,
    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .elmos-template-layout__main,
    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .elmos-template-layout__main,
    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .elmos-template-layout__main {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--left,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--left {
        grid-column: 1;
        grid-row: 2;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--right,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--right {
        grid-column: 2;
        grid-row: 2;
    }

    .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .template-sidebar--left,
    .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .template-sidebar--right,
    .category-container .elmos-template-layout.has-left-sidebar:not(.has-right-sidebar) > .template-sidebar--left,
    .category-container .elmos-template-layout.has-right-sidebar:not(.has-left-sidebar) > .template-sidebar--right {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    /* Keep intrinsically wide widget content inside its tablet column. */
    .elmos-template-layout,
    .elmos-template-layout__main,
    .template-sidebar,
    .template-sidebar .widget {
        min-width: 0;
        max-width: 100%;
    }

    .template-sidebar .widget :is(img, iframe, video, svg),
    .template-sidebar .widget table,
    .template-sidebar .widget pre {
        max-width: 100%;
    }

    .template-sidebar .widget table {
        table-layout: fixed;
        overflow-wrap: anywhere;
    }
}

/* ==================================================
   Tablets: Startseiten-Welcome und Widgetspalten ausbalancieren
   ================================================== */
@media (min-width: 761px) and (max-width: 1100px) {
    /* Auf Tablets nicht an der schmalen 70%-Desktopbreite festhalten. */
    body.home #main > .content-section > .container {
        width: min(92%, 980px);
        max-width: 980px;
    }

    body.home #main > .content-section .content-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: start;
        gap: clamp(28px, 4vw, 48px);
    }

    body.home #main > .content-section .content-copy h2,
    body.home #main > .content-section .page-title {
        font-size: clamp(2rem, 3.4vw, 2.7rem);
        line-height: 1.12;
    }

    body.home #main > .content-section .content-image,
    body.home #main > .content-section .content-image img {
        min-height: clamp(260px, 32vw, 340px);
    }

    .template-sidebar {
        padding: clamp(16px, 2vw, 22px);
    }

    .template-sidebar .widget,
    .template-sidebar .widget :is(p, li, a, label, input, select, textarea) {
        overflow-wrap: anywhere;
    }
}

/* Hochformat-Tablets: Willkommenstext und Widgetspalten untereinander lesbar halten. */
@media (min-width: 761px) and (max-width: 820px) {
    .hero--home {
        min-height: clamp(580px, 70svh, 700px);
    }

    .hero--home .hero-home-content {
        transform: translateY(36px);
    }

    .hero h1.hero-home-title {
        font-size: clamp(3.25rem, 7.2vw, 3.9rem);
    }

    .hero-home-seal {
        right: 26px;
        bottom: 36px;
        width: 106px;
    }

    body.home #main > .content-section > .container {
        width: min(94%, 760px);
    }

    body.home #main > .content-section .content-grid {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 18px;
    }

    body.home #main > .content-section .content-image,
    body.home #main > .content-section .content-image img {
        min-height: 280px;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .elmos-template-layout__main,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .elmos-template-layout__main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--left,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--left {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--right,
    .category-container .elmos-template-layout.has-left-sidebar.has-right-sidebar > .template-sidebar--right {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

/* Dezente Tiefe für redaktionelle Bilder und Überschriften, ohne Hero-Schatten zu überlagern. */
.entry-content img,
.article-content img,
.post-card-image,
.category-card-image {
    box-shadow: 0 2px 7px rgb(20 45 65 / 13%);
}

.content-copy h2,
.page-title,
.entry-content :is(h2, h3, h4),
.article-content :is(h2, h3),
.post-card h2,
.template-sidebar .widget-title,
.template-widget-title {
    text-shadow: 0 1px 3px rgb(20 45 65 / 11%);
}

/* Untere Footer-Leiste */
.site-footer .footer-bottom {
    margin-top: 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
}

.site-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer .footer-bottom-brand {
    min-width: 0;
}

.site-footer .footer-bottom-name {
    display: inline-block;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer .footer-copyright {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.7;
}

.site-footer .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    color: var(--color-turquoise, #12c4cc);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-footer .footer-contact-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer .footer-bottom-name:hover,
.site-footer .footer-contact:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer .footer-bottom a:focus-visible {
    outline: 2px solid #12c4cc;
    outline-offset: 5px;
}

@media (max-width: 900px) {
    .site-footer .footer-bottom-inner {
        flex-wrap: wrap;
        gap: 20px 32px;
    }
}

@media (max-width: 600px) {
    .site-footer .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-contact {
        align-items: center;
    }
}



/* Nur auf der Startseite: Abschnittshintergrund weiß */
body.home .content-section--soft {
    background: #fff;
}



/* Navigation bleibt beim Scrollen oben */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

/* Abstand zur WordPress-Adminleiste */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}


/* Kein Abstand zwischen letztem Inhaltsabschnitt und Footer */
#main > .content-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-footer {
    margin-top: 0;
}

/*** Hero ***/

.hero h1 {
    color: #FD8A26;
}

.hero h1.hero-home-title {
    color: #FD8A26;
}



/* Lesbarer Artikelbereich */
.single .entry-content {
    max-width: 720px;
    margin-inline: auto;
    font-size: 17px;
    line-height: 1.8;
}

/* Erster Absatz als Vorspann */
.single .entry-content > p:first-of-type {
    font-size: 20px;
    line-height: 1.65;
    color: #344454;
    font-weight: 500;
    margin-bottom: 1.6em;
}

/* Bilder nicht direkt an den Text kleben */
.single .entry-content img {
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Metadaten etwas ruhiger darstellen */
.single .entry-meta {
    color: #78828c;
    font-size: 13px;
    margin-bottom: 22px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-title-text {
    color: inherit;
    text-decoration: none;
}