.dw-overview {
    width: calc(100% + 20px);
    max-width: none;
    margin: 0 -10px 42px;
    clear: both;
}

/* Beitragsseiten: kein Viewport-Ausbruch mehr */
.dw-single-overview {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 42px;
    clear: both;
}

.dw-overview,
.dw-overview *,
.dw-single-overview,
.dw-single-overview * {
    box-sizing: border-box;
}

.dw-overview-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.dw-overview-main {
    min-width: 0;
}

.dw-category-section {
    margin: 0 0 44px;
}

.dw-category-section:last-child {
    margin-bottom: 0;
}

.dw-category-title {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
}

.dw-category-title span {
    color: #1f7fa4;
    font-weight: 500;
}

.dw-article-box {
    width: 100%;
    background: #fff;
    padding: 18px;
}

.dw-article-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.dw-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dw-card-image-link {
    display: block;
    margin-bottom: 18px;
}

.dw-card-image {
    width: 100%;
    height: 158px;
    object-fit: cover;
    display: block;
}

.dw-card-title {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #001b3f;
    font-weight: 500;
}

.dw-card-title a {
    color: inherit !important;
    text-decoration: none;
    font-weight: 500;
}

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

.dw-card-excerpt {
    font-size: 16px;
    line-height: 1.45;
    color: #333;
    margin: 0 0 20px;
    font-weight: 400;
}

.dw-btn {
    display: inline-block;
    background: #1f7fa4;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 18px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    border: 0;
    border-radius: 0;
}

.dw-btn:hover {
    background: #166985;
    color: #fff !important;
}

.dw-readmore-btn {
    align-self: flex-start;
    margin-top: auto;
}

.dw-more-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.dw-more-btn {
    margin-top: 0;
}

.dw-overview-sidebar {
    width: 300px;
    min-width: 300px;
}

.dw-sidebar-frame {
    width: 100%;
    background: #1f7fa4;
    color: #fff;
    padding: 24px 26px 26px;
    margin-bottom: 32px;
    min-height: 270px;
}

.dw-sidebar-frame h3 {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 16px 0 !important;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
}

.dw-side-menu {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dw-side-menu li {
    list-style: none !important;
    margin: 0 0 19px !important;
    padding: 0 !important;
}

.dw-side-menu li:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.dw-side-menu li:last-child {
    margin-bottom: 0 !important;
}

.dw-side-menu a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dw-side-menu a:hover {
    text-decoration: underline !important;
}

.dw-side-icon {
    width: 17px;
    height: 17px;
    min-width: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.dw-side-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

.dw-ad-box {
    width: 100%;
    background: #fff;
    padding: 14px;
    margin-bottom: 32px;
    text-align: center;
}

.dw-ad-label {
    font-size: 13px;
    line-height: 1.2;
    color: #444;
    text-align: right;
    margin: 0 0 9px;
}

.dw-ad-link {
    display: block;
    text-decoration: none !important;
}

.dw-ad-link img {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.dw-empty-message {
    background: #fff;
    padding: 18px;
    font-size: 16px;
    line-height: 1.45;
    color: #333;
}

/* Beitragsseiten */
.dw-single-article {
    width: 100%;
    background: #fff;
    padding: 26px;
    color: #222;
    font-size: 16px;
    line-height: 1.55;
}

.dw-single-article img {
    max-width: 100%;
    height: auto;
}

.dw-single-article h1,
.dw-single-article h2,
.dw-single-article h3 {
    color: #1f7fa4;
    font-weight: 500;
    line-height: 1.25;
}

.dw-single-article h1 {
    font-size: 30px;
    margin: 24px 0 16px;
}

.dw-single-article h2 {
    font-size: 24px;
    margin: 24px 0 12px;
}

.dw-single-article h3 {
    font-size: 20px;
    margin: 22px 0 10px;
}

.dw-single-article p {
    margin: 0 0 18px;
}

.dw-single-article a {
    color: #1f7fa4;
}

.dw-single-article figure {
    margin: 0 0 22px;
}

.dw-single-article figure img {
    display: block;
}

@media (max-width: 980px) {
    .dw-overview,
    .dw-single-overview {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    .dw-overview-layout {
        grid-template-columns: 1fr;
    }

    .dw-overview-sidebar {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .dw-sidebar-frame,
    .dw-ad-box {
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    .dw-article-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dw-card-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .dw-overview-sidebar {
        grid-template-columns: 1fr;
    }

    .dw-category-title {
        font-size: 24px;
    }

    .dw-sidebar-frame {
        min-height: auto;
    }

    .dw-single-article {
        padding: 18px;
    }

    .dw-single-article h1 {
        font-size: 26px;
    }
}