.gg-news-footer-teaser {
    margin: 32px 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}
@media (min-width: 1280px) {
    .gg-news-footer-teaser {
        margin: 64px 0;
    }
}
@media (min-width: 768px) {
    .gg-news-footer-teaser {
        margin: 48px 0;
    }
}

.gg-news-footer-teaser .gg-custom-widget-container {
    box-sizing: border-box;
}

.gg-news-footer-teaser__layout {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gg-primary);
    max-width: 100%;
}
@media (min-width: 1280px) {
    .gg-news-footer-teaser__layout {
        flex-direction: row;
    }

    .gg-news-footer-teaser--image-right .gg-news-footer-teaser__layout {
        flex-direction: row-reverse;
    }
}

.gg-news-footer-teaser__image,
.gg-news-footer-teaser__content {
    flex: 0 0 50%;
    box-sizing: border-box;
    min-width: 0;
}

.gg-news-footer-teaser__image {
    min-height: 390px;
}

.gg-news-footer-teaser__content {
    padding: 48px 64px;
    color: var(--gg-light);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gg-news-footer-teaser__content--full {
    flex: 0 0 100%;
}

.gg-news-footer-teaser__title {
    margin: 0;
    color: var(--gg-light);
}

.gg-news-footer-teaser__text {
    color: var(--gg-light);
}

.gg-news-footer-teaser__text > *:last-child {
    margin-bottom: 0;
}

.gg-news-footer-teaser__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: auto;
}

/* ── Buttons (scoped, independent from .gg-custom-widget) ── */

.gg-news-footer-teaser__buttons .gg-button {
    padding: 12px 24px;
    background: var(--gg-secondary);
    color: var(--gg-light);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    min-height: 48px;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.gg-news-footer-teaser__buttons .gg-button:hover {
    background: var(--gg-light);
    color: var(--gg-secondary);
    text-decoration: none;
}

.gg-news-footer-teaser__buttons .gg-button.gg-button-negative {
    background: transparent;
    border: 2px solid var(--gg-light);
}

.gg-news-footer-teaser__buttons .gg-button.gg-button-negative:hover {
    background: var(--gg-light);
    color: var(--gg-primary);
}

@media (max-width: 768px) {

    .gg-news-footer-teaser__content {
        padding: 24px 32px;
        gap: 16px;
    }

    .gg-news-footer-teaser__buttons {
        margin-top: 16px;
    }
}

@media (max-width: 575px) {

    .gg-news-footer-teaser {
        margin-top: 40px;
    }

    .gg-news-footer-teaser__image {
        min-height: 192px;
    }

    .gg-news-footer-teaser__content {
        padding: 24px;
    }

    .gg-news-footer-teaser__buttons {
        flex-direction: column;
    }

    .gg-news-footer-teaser__buttons .gg-button {
        min-width: 0;
        width: 100%;
    }
}
