/* Ported unchanged from the prototype's layout/roles.css, renamed to match tt360/role-showcase
   (this theme's blocks each get their own components/*.css file, not a layout/ one). No padding
   on .roles itself: the section relies on the hero's own bottom padding above it and its own
   content margins below (roles-heading/role-cards), matching the prototype exactly. */
.roles {
    background-color: rgba(var(--cream), 1);
}

/* Editor-only, scoped under .editor-styles-wrapper so this can never reach the front end — see
   the full comment on .wp-block-tt360-section in components/section.css. */
.editor-styles-wrapper .block-editor-block-list__layout .wp-block-tt360-role-showcase {
    max-width: none;
}

.roles .roles-stage img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.6s ease;
}

.roles .roles-stage img.is-fading {
    opacity: 0;
    transition-duration: 0.3s;
}

.roles .roles-heading {
    margin: 51px 0 0;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -1.28px;
    text-align: center;
}

.roles .role-cards {
    display: flex;
    gap: 25px;
    margin-top: 56px;
}

/* md: stacked (tablet and phone share this treatment), gap matches the sitewide 8px mobile card
   gap standard. */
@media (max-width: 767.98px) {
    .roles .roles-heading {
        font-size: 30px;
    }

    .roles .role-cards {
        flex-direction: column;
        gap: 8px;
    }
}
