/*
    Expo competition pages (/cambs-b2b-south/). The page is built from the
    site's own components (the feature page hero, intro, feature cards and
    the contact form's card, fields and ticks); this file holds only what
    the site has no equivalent for, in the site's own tokens.
*/

/* The second hero button on the dark photo: outlined in white, as on the
   Hire Shop band (.ps-hire-band .btn-outline) */
.b2b-page .ps-feature-hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

/* The countdown digits */
.b2b-clock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.b2b-time-unit {
    padding: 12px 6px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: var(--color-overlay-brand-light);
}

.b2b-time-unit strong {
    display: block;
    color: var(--color-brand-text);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.b2b-time-unit span {
    display: block;
    margin-top: 4px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* The lead line under the services heading, as the section index intro */
.b2b-page .ps-section-heading p {
    max-width: 680px;
    margin: 10px auto 0;
    color: var(--color-text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* The Chamber's logo sits plainly on the section's background: it is not
   one of the intro's photos, so it takes no frame and no lightbox */
.b2b-logo {
    text-align: center;
}

.b2b-logo img {
    display: inline-block;
    width: auto;
    max-width: min(100%, 360px);
    height: auto;
}

/* A collaboration lock-up (/posh-playlist/): our logo, a thin muted "x",
   then the partner's crest, centred on one another */
.b2b-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.b2b-lockup .b2b-lockup__ours {
    max-width: min(100%, 240px);
}

.b2b-lockup .b2b-lockup__theirs {
    max-width: min(100%, 160px);
}

.b2b-lockup__x {
    color: var(--color-text-muted);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
}

/* The prize terms in the form's blue band */
.b2b-page .cf-band p {
    margin-bottom: 10px;
}

.b2b-page .cf-band .ps-intro__list {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.93rem;
}

@media (max-width: 520px) {
    .b2b-clock {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
