:root {
    --tobi-copy-action-gap: clamp(20px, 2vw, 24px);
}

:where(#main, .tob-ticket-page, .tob-ticket-app, .tob-team-page)
    :is(p, ul, ol):has(+ :is(.button, [class$="__actions"], [class$="__buttons"])) {
    padding-bottom: var(--tobi-copy-action-gap) !important;
}

:where(#main, .tob-ticket-page, .tob-ticket-app, .tob-team-page)
    .text:has(> :is(p, ul, ol):last-child):has(+ .button) {
    margin-bottom: var(--tobi-copy-action-gap) !important;
}

.tobi-growth-card > p:last-of-type,
.tobi-world__empty > p:last-of-type,
.tobi-review-path__grid article > p:last-of-type {
    padding-bottom: var(--tobi-copy-action-gap) !important;
}
.tobi-growth-grid#tobi-kaufwelten,
.tobi-growth-grid#tobi-werkzeuge,
.tobi-world#tobi-kaufwelt-inhalt,
.tobi-tool#tobi-werkzeug,
.tobi-review-path#tobi-bewerten,
.tobi-knowledge#tobi-technik-wissen {
    scroll-margin-top: 160px;
}

.tobi-blog-archive-head {
    margin: 0 0 clamp(28px, 4vw, 48px);
    padding: clamp(30px, 5vw, 56px) 0;
    border-top: 4px solid #e30613;
    background: #f7f8fa;
}

.tobi-blog-archive-head__inner {
    position: relative;
}

.tobi-blog-archive-head__kicker {
    margin: 0 0 10px;
    color: #e30613;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tobi-blog-archive-head h1 {
    max-width: 900px;
    margin: 0;
    color: #2d3139;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.tobi-blog-archive-head h1::after {
    display: block;
    width: 72px;
    height: 6px;
    margin-top: 18px;
    background: #ffdd00;
    content: '';
}

.tobi-blog-archive-head__lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4d535d;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.65;
}

.tob-blog .tob-blog__comparison-image {
    width: 100% !important;
}

.tob-blog__comparison-image .img-inner {
    aspect-ratio: 16 / 9;
    background: #fff;
    overflow: hidden;
}

.tob-blog__comparison-image .img-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 549px) {
    .tobi-blog-archive-head {
        padding: 28px 0 32px;
    }

    .tobi-blog-archive-head h1::after {
        margin-top: 14px;
    }
}
