/* Community Band - flex layout `community_band`
   Live .fanzone__page__contents .stormchasers: 100px padding, navy (#08233C) or
   navy-light (#0B3053), logo max 700px pulled up -120px, white centred copy max
   900px at 1.7 line-height, primary button 30px below, 3% club icon behind. */
.community_band {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background: var(--primary);
    color: var(--white);

    &.is_navy_light {
        background: #0B3053;

        & .community_band_watermark { transform: translate(-50%, 50%) scaleX(-1); }
        & .community_band_logo { max-width: 300px; margin-top: -160px; margin-bottom: 50px; }
    }

    & > .container {
        position: relative;
        z-index: 10;
    }

    & .community_band_logo {
        position: relative;
        z-index: 11;
        width: 100%;
        max-width: 700px;
        margin: -120px auto 0;

        & img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: contain;
            object-position: center;
        }

        @media (max-width: 768px) { margin-top: -80px; }
    }

    & .community_band_body {
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    & .community_band_content {
        max-width: 900px;
        margin: 0 auto;
        text-align: center;

        & p {
            margin: 0 0 20px;
            color: var(--white);
            font-size: 19.2px;
            line-height: 1.7;
        }

        & p:last-child { margin-bottom: 0; }
        & a { color: var(--secondary); }
    }

    & .community_band_button {
        margin-top: 30px;
    }

    & .community_band_watermark {
        position: absolute;
        bottom: 50%;
        left: 50%;
        width: 1500px;
        height: 100%;
        max-height: 100%;
        transform: translate(-50%, 50%);
        opacity: .03;
        z-index: 0;
        pointer-events: none;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
    }
}
