/* ==========================================================================
   STANDARDS-MARQUEE with a heading (front page, DIGITAL-352; Figma "Homepage" 20283:10322 and "Homepage Mobile"
   20283:12049): heading and intro over the scrolling groups, outlined "View Testing & Standards" button under the logo
   row, and the rock ledge picture that closes the section over the footer. The laptop band above is gone, so the
   section no longer sits up over it. Sizes are Figma's 1440 frame in the __wide wrappers, which follow the 80% zoom
   band (media.css); the picture is not zoomed, it is a share of the screen width as in both Figma frames.
   Its own file, loaded after style.css and media.css: a new file URL reaches roc.ai without a CloudFront invalidation.
   ========================================================================== */

.page-sections > section + section.block-standards-marquee--intro { margin-top: 0; }

.block-standards-marquee--intro { background: var(--color-ink); }

.block-standards-marquee__intro {
    padding: 32px 20px 110px; /* 110px: Figma's 104px from the intro to the group labels, measured to the label text */
    text-align: center;
}

.block-standards-marquee__heading {
    max-width: 730px;
    margin: 0 auto;
    font-family: var(--font-medium);
    font-size: 38px;
    font-weight: 500;
    line-height: 64px;
    color: var(--color-cream);
}

.block-standards-marquee__text {
    max-width: 730px;
    margin: 9px auto 0;
    font-family: var(--font-regular);
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: var(--color-steel);
}

/* The button takes over the space under the logo row: 84px above it, 65px down to the picture. */
.block-standards-marquee--intro .block-standards-marquee__static { padding-bottom: 0; }

.block-standards-marquee__action {
    padding: 84px 20px 65px;
    text-align: center;
}

.block-standards-marquee__button { font-size: 18px; }

/* Figma: 1646px wide on the 1440 frame, centred (114.3%), its top 65px under the button, its foot on the footer. */
.block-standards-marquee__bottom { line-height: 0; }

.block-standards-marquee__bottom-image {
    display: block;
    width: 114.3%;
    max-width: none;
    height: auto;
    margin-left: -7.15%;
}

/* Tablets: no Figma frame; the picture grows to 140% between the desktop and phone shares. */
@media (min-width: 768px) and (max-width: 980px) {
    .block-standards-marquee__action { padding-top: 60px; }
    .block-standards-marquee__bottom-image {
        width: 140%;
        margin-left: -20%;
    }
}

/* Phones (Figma 428 frame): 24px heading on two lines, 40px from the logos to the 44px button, 60px to the picture,
   which is 176% wide (754px on 428). */
@media (max-width: 767px) {
    .block-standards-marquee__intro { padding: 8px 27px 66px; } /* 100px from the survey's Next button, as Figma */
    .block-standards-marquee__heading {
        max-width: 320px;
        font-size: 24px;
        line-height: 27.6px;
        letter-spacing: 0.45px;
    }
    .block-standards-marquee__text {
        max-width: 375px;
        margin-top: 24px;
        letter-spacing: 0;
    }
    .block-standards-marquee__action { padding: 40px 20px 60px; }
    .block-standards-marquee__button {
        height: 44px;
        padding: 10px 50px 10px 24px;
    }
    .block-standards-marquee__bottom-image {
        width: 176.2%;
        margin-left: -38.1%;
    }
}
