.section-newsticker {
    width: 100%;
    box-sizing: border-box;
}

.section-newsticker__inner {
    max-width: 1200px;
    width: 85%;
    margin: 0 auto;
}

.section-newsticker__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(1200px, calc(100% - 32px));
    box-sizing: border-box;
    margin: 0 auto 26px;
    padding: 16px;
    border: 1px solid var(--embedded-border, #d7e4e4);
    border-radius: 12px;
    background: var(--embedded-panel, #d9e4e9);
}

.section-newsticker__filter {
    text-align: center;
}

.section-newsticker__title {
    margin: 0 0 1.75rem 0;
    font-size: 2rem;
    color: var(--color-heading, #006068);
}

.section-newsticker__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsticker-item {
    background: var(--color-surface, #f4f4f4);
    padding: 1.75rem 1.75rem 1.5rem;
    margin-bottom: 1.75rem;
    border-radius: 4px;
}

.newsticker-item--partner {
    border-left: 4px solid var(--color-primary, #f59b10);
}

.newsticker-item__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.newsticker-item__date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.newsticker-item__badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.newsticker-item__title {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--color-heading, #006068);
}

/* Bild als Block oberhalb des Textes (wie im alten System) */
.newsticker-item__image {
    margin: 0 0 1.1rem 0;
}

.newsticker-item__image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.newsticker-item__content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text, #333333);
}

.newsticker-item__content :is(p, h1, h2, h3, h4, h5, h6) {
    margin: 0 0 0.85rem 0;
}

.newsticker-item__content :is(p, h1, h2, h3, h4, h5, h6):last-child {
    margin-bottom: 0;
}

/* Links im News-Inhalt: immer orange, Unterstreichung beim Hover */
.newsticker-item__content a {
    color: var(--color-primary, #f59b10);
}

.newsticker-item__content a:hover {
    color: var(--color-primary, #f59b10);
    text-decoration: underline;
}

/* Share-Buttons (gebrandet, mit Icon — wie im alten System) */
.newsticker-item__share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.newsticker-share {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.5em 0.9em;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.newsticker-share:hover { opacity: 0.88; }

.newsticker-share svg {
    width: 1.05em;
    height: 1.05em;
    fill: currentColor;
    flex: 0 0 auto;
}

.newsticker-share--facebook { background: #3b5998; }
.newsticker-share--twitter  { background: #55acee; }
.newsticker-share--linkedin { background: #0077b5; }
.newsticker-share--xing     { background: #126567; }

@media (max-width: 700px) {
    .section-newsticker__inner { width: 92%; }
    .newsticker-item { padding: 1.25rem 1.25rem 1rem; }
    .newsticker-item__title { font-size: 1.25rem; }
}
