/*
Theme Name: Stockholm Child
Theme URI: https://stockholmlanding.qodeinteractive.com/
Template: stockholm
Author: Select Themes
Author URI: https://qodeinteractive.com/
Description: Stockholm Theme
Tags: agency,business,ajax,portfolio,blog,shop,multi-purpose,clean,elegant,white,photography,modern,fullscreen,stylish,design
Version: 9.13.1790856913
Updated: 2026-10-01 13:45:06

*/

/* Allgemeiner Container der Suchergebnisseite */
.search-results-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Titel "Suchergebnisse für..." */
.search-results-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #222;
    text-align: center;
}

/* Einzelner Eintrag (Beitrag/Seite) */
.search-result-item {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

/* Letzter Eintrag ohne Border */
.search-result-item:last-child {
    border-bottom: none;
}

/* Titel der einzelnen Ergebnisse */
.search-result-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.search-result-title a {
    text-decoration: none;
    color: #0073aa;
}

.search-result-title a:hover {
    text-decoration: underline;
    color: #005177;
}

/* Auszug (Excerpt) */
.search-result-excerpt {
    color: #444;
    line-height: 1.5;
}

/* Pagination (Blätter-Navigation) */
.search-pagination {
    text-align: center;
    margin-top: 25px;
}

.search-pagination .page-numbers {
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #444;
    transition: background-color 0.3s;
}

.search-pagination .page-numbers:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.search-pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Wenn keine Ergebnisse gefunden wurden */
.no-results {
    font-size: 18px;
    text-align: center;
    color: #777;
    padding: 20px;
}

/* Logo in der Kopfzeile etwas kleiner (Theme setzt 77px per JavaScript bzw. 30px mobil) */
@media only screen and (min-width: 1001px) {
    .q_logo a { height: 62px !important; }
}
@media only screen and (max-width: 1000px) {
    .q_logo a { height: 26px !important; }
}

/* ==========================================================================
   News-Seite (/news/): Monatsinformationen + Merkblätter
   Klassen werden in Elementor gesetzt (scripts/news-redesign.py).
   Alle Regeln mit .wt-news-unten präfixiert, damit sie die globalen
   Elementor-Button-Stile (Kit) überschreiben.
   ========================================================================== */

/* Beide Bereiche untereinander, oben bündig */
.wt-news-unten > .e-con {
    justify-content: flex-start;
}

/* --- Seitenkopf: Überschrift, Text und Siegel auf einer Höhe --- */
.wt-news-oben .e-con.wt-news-kopf > .e-con {
    flex: 1 1 auto;
    width: auto;
    max-width: 720px;
}
.wt-news-oben .wt-siegel {
    flex: 0 0 auto;
    width: auto;
}
.wt-news-oben .wt-siegel img {
    display: block;
    height: auto;
}

/* --- Jahressteueränderungen: Kasten mit Dokument-Karten --- */
.wt-news-oben .wt-jsa-kicker .elementor-heading-title {
    color: #A0B1BF;
    font-size: 14px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.wt-news-oben .e-con.wt-jsa-liste {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}
.wt-news-oben .e-con.wt-dokument {
    gap: 10px;
    height: 100%;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
}
.wt-news-oben .wt-dokument > .elementor-element {
    width: 100%;
    margin: 0;
}
.wt-news-oben .wt-dok-titel .elementor-heading-title {
    position: relative;
    padding-left: 30px;
    color: #32588E;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
}
.wt-news-oben .wt-dok-titel .elementor-heading-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 22px;
    background: #A0B1BF;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 9H13zM8 13h8v1.5H8zm0 3.5h8V18H8z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 9H13zM8 13h8v1.5H8zm0 3.5h8V18H8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wt-news-oben .wt-dok-text p {
    margin: 0;
    color: #222;
    font-size: 15px;
    line-height: 1.5;
}
.wt-news-oben .wt-dok-meta .elementor-heading-title {
    margin: 0;
    color: #7F93A5;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.4;
    text-transform: none;
}
.wt-news-oben .wt-dokument > .wt-download {
    width: auto;
    margin-top: auto;
    padding-top: 6px;
}
.wt-news-oben .wt-download .elementor-button {
    padding: 9px 14px;
    border-radius: 5px;
    background: #DDEBDA;
    color: #32588E;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.wt-news-oben .wt-download .elementor-button:hover,
.wt-news-oben .wt-download .elementor-button:focus-visible {
    background: #32588E;
    color: #fff;
}
.wt-news-oben .wt-dokument.ist-neu .wt-dok-titel .elementor-heading-title::before {
    background: #32588E;
}
.wt-news-oben .wt-dokument.ist-neu .wt-dok-titel .elementor-heading-title::after {
    content: "Neu";
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #32588E;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.5;
    text-transform: uppercase;
    vertical-align: 2px;
}
@media (max-width: 1024px) {
    .wt-news-oben .e-con.wt-jsa-liste { grid-template-columns: 1fr; gap: 12px; }
    .wt-news-oben .e-con.wt-dokument { padding: 18px 20px; }
}

/* --- Monatsinformationen: Jahres-Tabs --- */
.wt-news-unten .wt-jahre {
    --n-tabs-heading-justify-content: flex-start;
    --n-tabs-title-gap: 4px;
    --n-tabs-title-flex-grow: 0;
    --n-tabs-title-flex-basis: auto;
    --n-tabs-title-width: auto;
    --n-tabs-title-font-size: 16px;
    --n-tabs-title-border-radius: 0;
    --n-tabs-title-background-color: transparent;
    --n-tabs-title-background-color-hover: transparent;
    --n-tabs-title-background-color-active: transparent;
    --n-tabs-title-color: #A0B1BF;
    --n-tabs-title-color-hover: #32588E;
    --n-tabs-title-color-active: #32588E;
    --n-tabs-title-padding-block-start: 10px;
    --n-tabs-title-padding-block-end: 10px;
    --n-tabs-title-padding-inline-start: 22px;
    --n-tabs-title-padding-inline-end: 22px;
    --n-tabs-gap: 20px;
}
.wt-news-unten .wt-jahre .e-n-tabs-heading {
    border-bottom: 1px solid #E2E2E2;
}
.wt-news-unten .wt-jahre .e-n-tab-title {
    margin-bottom: -1px;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-transform: none;
}
.wt-news-unten .wt-jahre .e-n-tab-title[aria-selected="true"] {
    border-bottom-color: #32588E;
}
.wt-news-unten .wt-jahre .e-n-tab-icon {
    display: none;
}
.wt-news-unten .wt-jahre .e-n-tabs-content > .e-con {
    padding: 0;
    border: 0;
}

/* Monatskacheln */
.wt-news-unten .e-con.wt-monate {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
}
.wt-news-unten .wt-monate > .wt-monat {
    width: auto;
    margin: 0;
}
.wt-news-unten .wt-monat .elementor-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 84px;
    padding: 14px 16px;
    background: #F7F7F7;
    border: 1px solid #E2E2E2;
    border-radius: 6px;
    color: #32588E;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
    transition: background-color .2s, border-color .2s, transform .2s;
}
.wt-news-unten .wt-monat .elementor-button-content-wrapper {
    justify-content: flex-start;
}
.wt-news-unten .wt-monat .elementor-button::after {
    content: "PDF ansehen";
    color: #7F93A5;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.wt-news-unten .wt-monat .elementor-button:hover,
.wt-news-unten .wt-monat .elementor-button:focus-visible {
    background: #DDEBDA;
    border-color: #DDEBDA;
    color: #32588E;
    transform: translateY(-2px);
}
/* Neueste Ausgabe hervorheben (erster Monat im ersten Jahr) */
.wt-news-unten .wt-jahre .e-n-tabs-content > .e-con:first-child .wt-monate > .wt-monat:first-child .elementor-button {
    background: #32588E;
    border-color: #32588E;
    color: #fff;
}
.wt-news-unten .wt-jahre .e-n-tabs-content > .e-con:first-child .wt-monate > .wt-monat:first-child .elementor-button::after {
    content: "Aktuelle Ausgabe";
    color: #DDEBDA;
}

/* --- Merkblätter: Themengruppen als Karten --- */
.wt-news-unten .e-con.wt-merkblaetter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.wt-news-unten .e-con.wt-gruppe {
    padding: 20px 24px 8px;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    background: #fff;
}
.wt-news-unten .wt-gruppe-titel .elementor-heading-title {
    padding-bottom: 12px;
    border-bottom: 2px solid #DDEBDA;
    margin-bottom: 4px;
}
.wt-news-unten .e-con.wt-merkblatt {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #EFEFEF;
}
.wt-news-unten .e-con.wt-merkblatt:last-child {
    border-bottom: 0;
}
.wt-news-unten .wt-merkblatt > .e-con {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

/* Titel mit Dokument-Symbol */
.wt-news-unten .wt-titel p {
    position: relative;
    margin: 0;
    padding-left: 30px;
    color: #222;
    font-size: 15px;
    line-height: 1.45;
}
.wt-news-unten .wt-titel p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 20px;
    background: #A0B1BF;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 9H13zM8 13h8v1.5H8zm0 3.5h8V18H8z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 1.5L18.5 9H13zM8 13h8v1.5H8zm0 3.5h8V18H8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* NEU-Badge (Klasse "ist-neu" kommt aus functions.php oder manuell aus Elementor) */
.wt-news-unten .wt-merkblatt.ist-neu .wt-titel p::after {
    content: "Neu";
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #32588E;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.5;
    text-transform: uppercase;
    vertical-align: 1px;
}
.wt-news-unten .wt-merkblatt.ist-neu .wt-titel p::before {
    background: #32588E;
}

/* Download-Button kompakt */
.wt-news-unten .wt-download {
    flex: 0 0 auto;
    width: auto;
}
.wt-news-unten .wt-download .elementor-button {
    padding: 9px 14px;
    border-radius: 5px;
    background: #DDEBDA;
    color: #32588E;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.wt-news-unten .wt-download .elementor-button:hover,
.wt-news-unten .wt-download .elementor-button:focus-visible {
    background: #32588E;
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 1366px) {
    .wt-news-unten .e-con.wt-monate { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .wt-news-unten .e-con.wt-merkblaetter { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .wt-news-unten .e-con.wt-monate { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .wt-news-unten .wt-monat .elementor-button { min-height: 72px; padding: 12px; }
    .wt-news-unten .e-con.wt-gruppe { padding: 16px 16px 4px; }
}
