/* Shared Team banner used by frontend profiles and the Team editor preview. */
.fdb-team-banner {
    --fdb-team-primary: #263548;
    --fdb-team-secondary: #172333;
    --fdb-team-text: #ffffff;
    --fdb-font-team-banner: inherit;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 190px;
    padding: 28px 34px;
    overflow: hidden;
    border: 1px solid rgba(116,132,153,.26);
    border-radius: 12px;
    color: inherit;
    background: rgba(127,127,127,.025);
}

/*
 * Custom banner — intentionally simple.
 *
 * The club Primary colour stays solid across most of the banner and transitions
 * once into Secondary at the right side. No accent stripes, texture overlays,
 * glow, grain, pseudo-element decoration or additional visual effects.
 */
.fdb-team-banner.has-custom-colours {
    border-color: color-mix(in srgb, var(--fdb-team-secondary) 30%, rgba(255,255,255,.18));
    color: var(--fdb-team-text);
    background: linear-gradient(
        90deg,
        var(--fdb-team-primary) 0%,
        var(--fdb-team-primary) 72%,
        var(--fdb-team-secondary) 100%
    );
    box-shadow: none;
}

.fdb-team-banner.has-custom-colours::before,
.fdb-team-banner.has-custom-colours::after {
    content: none;
}

.fdb-team-banner-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: min(74%, 920px);
}

.fdb-team-banner .fdb-team-banner-title {
    margin: 0;
    max-width: 100%;
    color: inherit;
    font-family: var(--fdb-font-team-banner, inherit);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 750;
    line-height: 1.06;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.fdb-team-banner.has-custom-colours .fdb-team-banner-title {
    color: var(--fdb-team-text) !important;
}

.fdb-team-banner-subtitle {
    margin-top: 8px;
    color: #667085;
    font-family: var(--fdb-font-team-banner, inherit);
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.fdb-team-banner.has-custom-colours .fdb-team-banner-subtitle {
    color: var(--fdb-team-text);
    opacity: .76;
}

@media (max-width: 980px) {
    .fdb-team-banner {
        min-height: 155px;
        padding: 22px 26px;
    }

    .fdb-team-banner-copy {
        max-width: 78%;
    }
}

@media (max-width: 620px) {
    .fdb-team-banner {
        min-height: 145px;
        padding: 22px;
    }

    .fdb-team-banner-copy {
        max-width: 82%;
    }
}

@media (max-width: 420px) {
    .fdb-team-banner-copy {
        max-width: 87%;
    }
}
