
.annualReport .page-section.textonmedia {
    padding:0;
}
.tom-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;

    // ── Solid violet ──────────────────────────────────────
    &.violet {
        background: #602965;
    }
    &.gradient {
        background: var(--noventi-gradient);
    }



    // -------------------------
    // Media layer (image/video)
    // -------------------------
    .tom-media {
        position: absolute;
        inset: 0;
        z-index: 0;

        &__img,
        &__video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        // subtle dark overlay so text stays readable
        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to top,
                rgba(0, 0, 0, 0.65) 0%,
                rgba(0, 0, 0, 0.15) 60%,
                rgba(0, 0, 0, 0) 100%
            );
        }
    }

    // -------------------------
    // Text content layer
    // -------------------------
    .tom-content {
        position: relative;
        z-index: 1;
        color: #fff;
        max-width: 1280px;
        margin-inline: auto;
        text-align: center;
        line-height: 1;

        // reset so a wrapping <h1> (when topline+topheader are combined) never
        // pulls in the global h1 element styles from _contentStyles.scss
        .tom-headline {
            margin: 0;
            padding: 0;
            font-size: inherit;
            font-weight: inherit;
            line-height: 1;
        }

        .tom-topline {
            // font-size: #{"clamp(1.5rem, 4.2vw + 0.5rem, 3.875rem)"};
            display: block;
            font-size: #{"clamp(2.35rem, 3.6vw + 0.875rem, 3.75rem)"};
            font-weight: 600;
            margin: 0 0 0.5rem;
            padding-bottom: 0;
            line-height: 1;
            opacity: 0.85;
        }

        /* image after topline */
        .tom-topline-image-container {
            display: inline-block;
            text-align: center;
            img {
                margin-top:45px;
                margin-bottom:45px;
                margin-inline: auto;
                max-height: 60vh;
                object-fit: cover;
            }

        }
        .tom-topheader {
            display: block;
            font-size: #{"clamp(4rem, 16vw, 13.125rem)"};
            font-weight: bold;
            margin: 0 0 0.75rem;
            padding-bottom: 0;
            line-height: 1;
            opacity: 0.9;

        }

        .tom-header {
            font-family: Noto-Serif, sans-serif;
            font-size: #{"clamp(1.75rem, 4vw + 0.8rem, 4rem)"};
            font-weight: 700;
            margin: 0 0 1rem;
            margin-top: 8%;
            padding-bottom: 0;
            line-height: 1.1;
        }

        .tom-bodytext {
            font-size: #{"clamp(1rem, 0.5vw + 0.875rem, 1.25rem)"};
            line-height: 1.3;

            p {
                margin: 0 0 0.75rem;
                padding-inline: 65px;
                @media (max-width: 768px) {
                    padding-inline: 20px;
                }
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }

        .tom-button {

                display: inline-block;
                margin-top: 1.25rem;
                padding: 0.5rem 1.5rem;
                border: 2px solid currentColor;
                border-radius: 2rem;
                font-size: 1rem;
                font-weight: 600;
                text-decoration: none;
                transition: background-color 0.2s ease, color 0.2s ease;

                color: #fff;
                border-color: #fff;
                font-family: Noto-Serif, serif;

                &:hover {
                    color: #fff;
                    &:after {
                        display: none;
                    }
                }
            }


    }




}

// -------------------------
// Responsive
// -------------------------
@media (max-width: 768px) {
    .tom-wrap {
        min-height: 280px;

        .tom-content {
            padding: 2rem 1.25rem;
        }

    }
}
