/*
 * ============================================================
 * GMP Shared Media Blocks  (v1.1.0)
 * Gym Marketing Pros. Loaded by inc/site-blocks.php on single
 * gmp_work and gmp_case_study pages, and on gmp_landing_page
 * entries that have a Showcase module.
 * Moved here from single-gmp_work.css v1.0.0 (same rules, classes
 * renamed gmp-wk-* to gmp-mb-*), plus the tabbed screens from
 * single-gmp_case_study.css v1.0.0 and the light and narrow hosts.
 * Sources: GMP-DSM-20261110 (colors as var(--awb-colorN), alpha
 * variants through color-mix of the token), GMP-RCM-20261111
 * (gmp-eyebrow, gmp-display and the shared icons are reused).
 * Breakpoints: Small below 720px, Medium 720px, Large 1024px.
 *
 *  0. Wrapper and resets
 *  1. Shared pieces (label, display type, browser frame, scroll viewer)
 *  2. Blocks (pair, phones, looping video, features, before and
 *     after, photo grid, brand colors, video, text, quote)
 *  3. Video player dialog
 *  4. Medium (720px) and Large (1024px)
 *  5. Motion
 *  6. Tabbed screens
 *  7. Block list spacing (gmp-mb-stack)
 *  8. Light host (gmp-mb--light)
 *  9. Narrow host (gmp-mb--narrow)
 *
 * Every rule sits under a .gmp-mb wrapper. :is(.gmp-mb, #gmp-unused)
 * lifts a rule to ID level (the ID never exists) so it beats Avada's
 * heading, list, blockquote, figure and link rules without
 * !important. Heading font-size and line-height also carry
 * !important because Avada's responsive typography can write
 * heading sizes inline.
 * ============================================================
 */


/* ============================================================
 * 0. WRAPPER AND RESETS
 * ============================================================ */

:is(.gmp-mb, #gmp-unused) :is(p, h2, h3, h4, h5, figure, blockquote, ul, ol) {
    margin: 0;
}

:is(.gmp-mb, #gmp-unused) :is(ul, ol) {
    padding: 0;
    list-style: none;
}

:is(.gmp-mb, #gmp-unused) :is(ul, ol) > li {
    margin: 0;
}

:is(.gmp-mb, #gmp-unused) :is(ul, ol) > li::before {
    content: none;
}

:is(.gmp-mb, #gmp-unused) blockquote {
    padding: 0;
    border: 0;
    background: none;
    font-style: normal;
    quotes: none;
}

:is(.gmp-mb, #gmp-unused) blockquote::before,
:is(.gmp-mb, #gmp-unused) blockquote::after {
    content: none;
}

:is(.gmp-mb, #gmp-unused) a {
    text-decoration: none;
}

:is(.gmp-mb, #gmp-unused) :is(p, li, figcaption, blockquote) {
    text-wrap: pretty;
}

:is(.gmp-mb, #gmp-unused) :is(h2, h3, h4, h5) {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    text-wrap: balance;
}

:is(.gmp-mb, #gmp-unused) img {
    display: block;
    max-width: 100%;
}


/* ============================================================
 * 1 to 5. FRAME, BLOCKS, PLAYER, BREAKPOINTS, MOTION
 * (from single-gmp_work.css, in its original order)
 * ============================================================ */

/* The small uppercase label (gmp-mb-label) is the Template Primitives
 * label rule in gmp-components.css; it is not repeated here. */

/* Display type: gmp-display (RCM Font Layer) gives the family and axes. */
:is(.gmp-mb, #gmp-unused) .gmp-display {
    font-weight: 900;
    text-transform: uppercase;
}

/* Browser frame: macOS Safari window (dark). */
:is(.gmp-mb, #gmp-unused) .gmp-mb-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1e1e20;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 120px -30px rgba(242, 96, 42, .22);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    pointer-events: none;
    z-index: 2;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 12px;
    background: #2a292c;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lights {
    display: flex;
    gap: 6px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lights span:nth-child(2) {
    background: #febc2e;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lights span:nth-child(3) {
    background: #28c840;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__url {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 30px;
    padding: 0 12px;
    border-radius: 9px;
    background: #1b1a1d;
    box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    color: #e8e8ed;
    white-space: nowrap;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lock {
    flex: none;
    color: #98989d;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__addr {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__hint {
    justify-self: end;
    max-width: 30vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #98989d;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-frame__hint--long {
    display: none;
}

/* Scroll viewer: the box always keeps a fixed screen ratio, whatever
   the screenshot's length; the screenshot is full width and the
   script moves it up as the page scrolls. A screenshot shorter than
   the box covers it from the top, so every frame is the same size. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-scrub {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--awb-color25);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-scrub__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    will-change: transform;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--hero {
    aspect-ratio: 4 / 5;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-prose p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.7;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-prose--dark p {
    color: var(--awb-color11);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-prose > :last-child {
    margin-bottom: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-block {
    min-width: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-block__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--awb-color17);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-block__title {
    color: var(--awb-color1);
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: .95 !important;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-block__num {
    flex: none;
    color: var(--awb-color6);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--full {
    aspect-ratio: 4 / 5;
}

/* Two page viewers. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(16px, 2vw, 24px);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-pair__item {
    display: grid;
    gap: 12px;
    min-width: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--page {
    aspect-ratio: 4 / 5;
}

/* Phone frames: titanium iPhone with Dynamic Island. Four section
   layouts (ACF field "style"): staggered, angled, cascade, fan.
   Always 3 screenshots; positions are % of the stage. */
/* Looping video layers (browser frame and phone screens). */
:is(.gmp-mb, #gmp-unused) .gmp-mb-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    object-fit: cover;
    object-position: center top;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-media.is-playing,
:is(.gmp-mb, #gmp-unused) .gmp-mb-media--solo {
    opacity: 1;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-scrub.gmp-mb-scrub--video {
    aspect-ratio: 16 / 9;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__screen .gmp-mb-media--embed {
    left: 50%;
    right: auto;
    width: auto;
    aspect-ratio: 9 / 16;
    transform: translateX(-50%);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones {
    --k: 1.5;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    container-type: inline-size;
    border-radius: 28px;
    background: var(--awb-color7);
    border: 1px solid var(--awb-color17);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    z-index: var(--z, 1);
    width: calc(var(--w, 20%) * var(--k));
    aspect-ratio: 414 / 868;
    container-type: inline-size;
    transform: translate(-50%, -50%) var(--t, rotate(0deg));
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__body {
    position: absolute;
    inset: 0;
    padding: .72cqw;
    border-radius: 16.4cqw;
    background: linear-gradient(140deg, #8e8e94 0%, #3c3c40 18%, #2a2a2d 40%, #76767c 52%, #2a2a2d 66%, #46464a 84%, #9a9aa0 100%);
    box-shadow: 0 60px 110px -40px rgba(6, 5, 24, .55), 0 30px 50px -30px rgba(6, 5, 24, .45), 0 2px 4px rgba(0, 0, 0, .25);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__btn {
    position: absolute;
    left: -.72cqw;
    width: 1.2cqw;
    border-radius: .72cqw 0 0 .72cqw;
    background: linear-gradient(90deg, #3a3a3e, #9a9aa0 60%, #55555a);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__btn--action { top: 19.4%; height: 3.7%;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__btn--up { top: 26%; height: 7.1%;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__btn--down { top: 34.8%; height: 7.1%;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__btn--side {
    left: auto;
    right: -.72cqw;
    top: 28.8%;
    height: 11.3%;
    border-radius: 0 .72cqw .72cqw 0;
    background: linear-gradient(270deg, #3a3a3e, #9a9aa0 60%, #55555a);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__bezel {
    height: 100%;
    padding: 2.17cqw;
    box-sizing: border-box;
    border-radius: 15.7cqw;
    background: #040406;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 2px 1px rgba(0, 0, 0, .9);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 13.5cqw;
    background: var(--awb-color25);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__island {
    position: absolute;
    left: 50%;
    top: 2.6cqw;
    width: 30cqw;
    height: 8.7cqw;
    border-radius: 5cqw;
    background: #000;
    transform: translateX(-50%);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__home {
    position: absolute;
    left: 50%;
    bottom: 1.9cqw;
    width: 32cqw;
    height: 1.2cqw;
    border-radius: 1cqw;
    background: rgba(255, 255, 255, .85);
    transform: translateX(-50%);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phone__glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .02) 32%, rgba(255, 255, 255, 0) 48%);
    pointer-events: none;
}

/* 1d Staggered: centre phone larger and raised. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--staggered.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(1) {
    --x: 23.4%;
    --y: 54.3%;
    --w: 19.4%;
    --z: 1;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--staggered.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(2) {
    --x: 50%;
    --y: 48.6%;
    --w: 22%;
    --z: 3;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--staggered.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(3) {
    --x: 76.6%;
    --y: 54.3%;
    --w: 19.4%;
    --z: 2;
}

/* 1e Angled 3D: turned left, front phone on the left. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--angled.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(1) {
    --x: 25%;
    --y: 54.3%;
    --w: 20%;
    --z: 3;
    --t: perspective(210cqw) rotateY(-24deg) rotateX(7deg);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--angled.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(2) {
    --x: 50%;
    --y: 50%;
    --w: 20%;
    --z: 2;
    --t: perspective(210cqw) rotateY(-24deg) rotateX(7deg);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--angled.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(3) {
    --x: 75%;
    --y: 45.7%;
    --w: 20%;
    --z: 1;
    --t: perspective(210cqw) rotateY(-24deg) rotateX(7deg);
}

/* 1f Overlapping cascade: tilted stack, last phone in front. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--cascade.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(1) {
    --x: 35.5%;
    --y: 47.1%;
    --w: 20.7%;
    --z: 1;
    --t: rotate(-8deg);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--cascade.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(2) {
    --x: 50%;
    --y: 51.4%;
    --w: 20.7%;
    --z: 2;
    --t: rotate(-8deg);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--cascade.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(3) {
    --x: 64.5%;
    --y: 55.7%;
    --w: 20.7%;
    --z: 3;
    --t: rotate(-8deg);
}

/* 1g Hero fan: outer phones tilt out, centre phone in front. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--fan.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(1) {
    --x: 31.5%;
    --y: 55.7%;
    --w: 18.7%;
    --z: 1;
    --t: rotate(-9deg);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--fan.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(2) {
    --x: 50%;
    --y: 50%;
    --w: 22.7%;
    --z: 3;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-phones--fan.gmp-mb-phones--n3 .gmp-mb-phone:nth-child(3) {
    --x: 68.5%;
    --y: 55.7%;
    --w: 18.7%;
    --z: 2;
    --t: rotate(9deg);
}

/* Feature row. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-feats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 clamp(20px, 3vw, 40px);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-feats__item {
    padding: clamp(20px, 2.4vw, 28px) 0;
    border-top: 2px solid var(--awb-color1);
    border-bottom: 1px solid var(--awb-color17);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-feats__title {
    margin-bottom: 10px;
    color: var(--awb-color1);
    font-size: clamp(28px, 2.6vw, 40px) !important;
    line-height: .92 !important;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-feats__title:last-child {
    margin-bottom: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-feats__body {
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--awb-color11);
}

/* Before and after slider. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-ba {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--awb-color25);
    border: 1px solid var(--awb-color17);
    user-select: none;
    -webkit-user-select: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__layer {
    position: absolute;
    inset: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__layer--before {
    clip-path: inset(0 calc(100% - var(--gmp-mb-ba, 50%)) 0 0);
    filter: grayscale(1) contrast(.9);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__tag {
    position: absolute;
    top: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: calc(50% - 30px);
    padding: 0 12px;
    border-radius: 999px;
    color: var(--awb-color1);
    pointer-events: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__tag--before {
    left: 18px;
    background: color-mix(in srgb, var(--awb-color8) 75%, transparent);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__tag--after {
    right: 18px;
    background: var(--awb-color5);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--gmp-mb-ba, 50%);
    z-index: 1;
    width: 2px;
    margin-left: -1px;
    background: var(--awb-color1);
    pointer-events: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--awb-color5);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--awb-color29) 50%, transparent);
    transform: translate(-50%, -50%);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__knob::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    background-color: var(--awb-color1);
    -webkit-mask: var(--gmp-mb-icon-compare) center / contain no-repeat;
            mask: var(--gmp-mb-icon-compare) center / contain no-repeat;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__range {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    cursor: ew-resize;
    -webkit-appearance: none;
            appearance: none;
}

/* The range stays fully transparent without opacity 0, so it is
   never read as hidden content; the drawn knob is the visible part. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__range::-webkit-slider-runnable-track {
    height: 100%;
    background: transparent;
    border: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__range::-webkit-slider-thumb {
    width: 52px;
    height: 100%;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
            appearance: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__range::-moz-range-track {
    height: 100%;
    background: transparent;
    border: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__range::-moz-range-thumb {
    width: 52px;
    height: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba__range:focus {
    outline: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-ba:has(.gmp-mb-ba__range:focus-visible) .gmp-mb-ba__knob {
    outline: 2px solid var(--awb-color1);
    outline-offset: 3px;
}

/* Photo grid. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 16px);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-photo {
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: var(--awb-color25);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-photo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-photo--video {
    position: relative;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-photo .gmp-mb-media--file {
    object-position: center;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-photo .gmp-mb-media--embed {
    left: 50%;
    right: auto;
    width: auto;
    aspect-ratio: 16 / 9;
    transform: translateX(-50%);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-photo .gmp-mb-media--embed.gmp-mb-media--tall {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    transform: translateY(-50%);
}

/* Brand colors. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-palette {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--awb-color17);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-swatch {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 20px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-swatch--dark-ink {
    color: var(--awb-color8);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-swatch--light-ink {
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-swatch__name {
    font-size: clamp(22px, 2vw, 30px);
    line-height: .95;
    overflow-wrap: break-word;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-swatch__hex {
    opacity: .8;
}

/* Video block. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-video {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px clamp(40px, 5vw, 80px);
    align-items: center;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--awb-color25);
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) a.gmp-mb-video__poster {
    cursor: pointer;
}

:is(.gmp-mb, #gmp-unused) a.gmp-mb-video__poster:focus-visible {
    outline: 2px solid var(--awb-color1);
    outline-offset: 3px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--awb-color8) 0%, transparent) 40%, color-mix(in srgb, var(--awb-color8) 80%, transparent));
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--awb-color5);
    transform: translate(-50%, -50%);
    animation: gmpMbPulse 2.4s infinite;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__play::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 26px;
    height: 26px;
    background-color: var(--awb-color1);
    -webkit-mask: var(--gmp-mb-icon-play) center / contain no-repeat;
            mask: var(--gmp-mb-icon-play) center / contain no-repeat;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__time {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--awb-color8) 70%, transparent);
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__watch {
    position: absolute;
    left: 24px;
    bottom: 22px;
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__text {
    min-width: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__title,
:is(.gmp-mb, #gmp-unused) .gmp-mb-text__title {
    margin-bottom: 24px;
    max-width: none;
    color: var(--awb-color1);
    font-size: clamp(min(40px, 11vw), 4.6vw, 76px) !important;
    line-height: .9 !important;
    overflow-wrap: break-word;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-text__title {
    margin-bottom: 20px;
    line-height: .92 !important;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-video__title:last-child,
:is(.gmp-mb, #gmp-unused) .gmp-mb-text__title:last-child {
    margin-bottom: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-prose--video p {
    max-width: 68ch;
}

/* Text block. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-text {
    max-width: 900px;
}

/* Quote. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-quote {
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

/* .gmp-display is repeated so text-transform beats a host template's
   own gmp-display rule whatever order the stylesheets load in. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-quote__text.gmp-display {
    max-width: 34ch;
    font-size: clamp(32px, 3.6vw, 56px);
    line-height: 1.02;
    text-transform: none;
    text-wrap: balance;
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-quote__cite {
    color: var(--awb-color10);
}

/* Template-only icon masks (no RCM icon draws these shapes). */
.gmp-mb {
    --gmp-mb-icon-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23000'/%3E%3C/svg%3E");
    --gmp-mb-icon-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5h4v14H7zM13 5h4v14h-4z' fill='%23000'/%3E%3C/svg%3E");
    --gmp-mb-icon-muted: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M17 9l4 6M21 9l-4 6'/%3E%3C/svg%3E");
    --gmp-mb-icon-sound: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M17 8.5a5 5 0 0 1 0 7'/%3E%3C/svg%3E");
    --gmp-mb-icon-full: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E");
    --gmp-mb-icon-compare: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: clamp(16px, 4vw, 56px);
    border: 0;
    background: transparent;
    color: var(--awb-color1);
    box-sizing: border-box;
    overflow: auto;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player[open] {
    display: grid;
    place-items: center;
    animation: gmpMbFadeUp .35s cubic-bezier(.2, .8, .2, 1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player::backdrop {
    background: color-mix(in srgb, var(--awb-color8) 90%, transparent);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__wrap {
    display: grid;
    gap: 14px;
    width: min(1200px, 100%);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--awb-color4);
    animation: gmpMbPulse 2s infinite;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__box {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: var(--awb-color29);
    border: 1px solid var(--awb-color17);
    box-shadow: 0 60px 120px -40px color-mix(in srgb, var(--awb-color29) 90%, transparent);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__stage,
:is(.gmp-mb, #gmp-unused) .gmp-mb-player__file {
    position: absolute;
    inset: 0;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__file[hidden] {
    display: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__file {
    pointer-events: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__file > * {
    pointer-events: auto;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__stage :is(iframe, video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--awb-color29);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__stage video {
    object-fit: contain;
    cursor: pointer;
}

/* Round player buttons (44px tap targets). */
:is(.gmp-mb, #gmp-unused) .gmp-mb-player__btn {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--awb-color1) 8%, transparent);
    color: var(--awb-color1);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__btn[hidden] {
    display: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__btn:is(:hover, :focus-visible) {
    background: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__btn:focus-visible {
    outline: 2px solid var(--awb-color1);
    outline-offset: 3px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__close {
    width: 48px;
    height: 48px;
    border: 1px solid var(--awb-color18);
    background: transparent;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__close:is(:hover, :focus-visible) {
    border-color: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon {
    display: block;
    width: 16px;
    height: 16px;
    background-color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon--close {
    -webkit-mask: var(--gmp-icon-plus) center / contain no-repeat;
            mask: var(--gmp-icon-plus) center / contain no-repeat;
    transform: rotate(45deg);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon--play {
    -webkit-mask: var(--gmp-mb-icon-play) center / contain no-repeat;
            mask: var(--gmp-mb-icon-play) center / contain no-repeat;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon--pause {
    -webkit-mask: var(--gmp-mb-icon-pause) center / contain no-repeat;
            mask: var(--gmp-mb-icon-pause) center / contain no-repeat;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon--sound {
    width: 18px;
    height: 18px;
    -webkit-mask: var(--gmp-mb-icon-sound) center / contain no-repeat;
            mask: var(--gmp-mb-icon-sound) center / contain no-repeat;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon--muted {
    width: 18px;
    height: 18px;
    -webkit-mask: var(--gmp-mb-icon-muted) center / contain no-repeat;
            mask: var(--gmp-mb-icon-muted) center / contain no-repeat;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-icon--full {
    -webkit-mask: var(--gmp-mb-icon-full) center / contain no-repeat;
            mask: var(--gmp-mb-icon-full) center / contain no-repeat;
}

/* Big centred play button while paused. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-player__big {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--awb-color5);
    box-shadow: 0 20px 50px color-mix(in srgb, var(--awb-color8) 45%, transparent);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__big[hidden] {
    display: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__big .gmp-mb-icon {
    width: 30px;
    height: 30px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__big:focus-visible {
    outline: 2px solid var(--awb-color1);
    outline-offset: 3px;
}

/* Control bar. */
:is(.gmp-mb, #gmp-unused) .gmp-mb-player__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 12px;
    padding: 48px 18px 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--awb-color8) 0%, transparent), color-mix(in srgb, var(--awb-color8) 85%, transparent));
    opacity: 1;
    transition: opacity .3s;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player--playing .gmp-mb-player__bar {
    opacity: .92;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__seek {
    position: relative;
    display: flex;
    align-items: center;
    height: 18px;
    cursor: pointer;
    --gmp-mb-pct: 0%;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__seek:focus-visible {
    outline: 2px solid var(--awb-color1);
    outline-offset: 3px;
    border-radius: 4px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__track,
:is(.gmp-mb, #gmp-unused) .gmp-mb-player__fill {
    position: absolute;
    left: 0;
    height: 4px;
    border-radius: 999px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__track {
    right: 0;
    background: color-mix(in srgb, var(--awb-color1) 20%, transparent);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__fill {
    width: var(--gmp-mb-pct);
    background: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__thumb {
    position: absolute;
    left: var(--gmp-mb-pct);
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--awb-color1);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--awb-color4) 35%, transparent);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__time {
    font-family: var(--awb-typography5-font-family);
    font-weight: 700;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--awb-color1);
    white-space: nowrap;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-player__space {
    flex: 1;
}

/* Page locked while the player is open. */
html.gmp-mb-lock {
    overflow: hidden;
}

@media (min-width: 720px) {
    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__hint--long {
        display: inline;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__hint--short {
        display: none;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--hero,
    :is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--full,
    :is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--page,
    :is(.gmp-mb, #gmp-unused) .gmp-mb-ba {
        aspect-ratio: 16 / 10;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-phones {
        --k: 1;
        aspect-ratio: 1240 / 700;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__bar {
        grid-template-columns: auto minmax(170px, 1fr) minmax(0, auto);
        height: 52px;
        padding: 0 14px 0 20px;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lights {
        gap: 8px;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__lights span {
        width: 12px;
        height: 12px;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__url {
        justify-self: center;
        box-sizing: border-box;
        width: 100%;
        max-width: 520px;
        height: 32px;
        font-size: 13.5px;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-frame__hint {
        max-width: 100%;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-feats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-photos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-palette {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    :is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--hero {
        aspect-ratio: 16 / 8;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-scrub--full,
    :is(.gmp-mb, #gmp-unused) .gmp-mb-ba {
        aspect-ratio: 16 / 9;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-feats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-feats__body {
        max-width: 34ch;
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-video {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }

    :is(.gmp-mb, #gmp-unused) .gmp-mb-prose--video p {
        max-width: 58ch;
    }
}

@keyframes gmpMbFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes gmpMbPulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--awb-color4) 70%, transparent);
    }
    70% {
        box-shadow: 0 0 0 10px color-mix(in srgb, var(--awb-color4) 0%, transparent);
    }
    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--awb-color4) 0%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.gmp-mb, #gmp-unused) .gmp-mb-media:not(.gmp-mb-media--solo) {
        display: none;
    }

    :is(.gmp-mb, #gmp-unused) :is(.gmp-mb-video__play, .gmp-mb-player__dot, .gmp-mb-player[open]) {
        animation: none;
    }

    :is(.gmp-mb, #gmp-unused) :is(.gmp-mb-player__btn, .gmp-mb-player__bar) {
        transition: none;
    }
}


/* ============================================================
 * 6. TABBED SCREENS
 * One browser window per tab. Without JavaScript the tab row stays
 * hidden and every screen shows, stacked.
 * ============================================================ */

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__list {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs.is-ready .gmp-mb-tabs__list {
    display: flex;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__tab {
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--awb-color18);
    border-radius: 999px;
    background: transparent;
    color: var(--awb-color1);
    font-family: var(--awb-typography5-font-family);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__tab:is(:hover, :focus-visible) {
    border-color: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__tab.is-active {
    border-color: var(--awb-color1);
    background: var(--awb-color1);
    color: var(--awb-color8);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__tab.is-active:is(:hover, :focus-visible) {
    border-color: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__tab:focus-visible {
    outline: 2px solid var(--awb-color4);
    outline-offset: 3px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__panels {
    display: grid;
    gap: 16px;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__panel {
    overflow: hidden;
    border: 1px solid var(--awb-color17);
    border-radius: 20px;
    background: var(--awb-color7);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__panel[hidden] {
    display: none;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--awb-color25);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__body {
    display: grid;
    gap: 8px;
    padding: clamp(20px, 2.4vw, 28px);
    border-top: 1px solid var(--awb-color17);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__count {
    color: var(--awb-color10);
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__title {
    color: var(--awb-color1);
    font-size: clamp(28px, 2.6vw, 40px) !important;
    line-height: .95 !important;
}

:is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__text {
    max-width: 60ch;
    font-size: 16px;
    line-height: 1.65;
    color: var(--awb-color11);
}

/* Full-width hosts: a shorter window from Large, so one screen fits the view. */
@media (min-width: 1024px) {
    :is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__media {
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.gmp-mb, #gmp-unused) .gmp-mb-tabs__tab {
        transition: none;
    }
}


/* ============================================================
 * 7. BLOCK LIST SPACING
 * gmp-mb-stack spaces a list of blocks printed by gmp_mb_blocks().
 * Our Work spaces its own gallery (gmp-wk-gallery__inner).
 * ============================================================ */

:is(.gmp-mb, #gmp-unused).gmp-mb-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
}


/* ============================================================
 * 8. LIGHT HOST
 * gmp-mb--light: the wrapper sits on a cream or white surface.
 * Browser windows, phones and photos keep their own dark chrome.
 * ============================================================ */

:is(.gmp-mb, #gmp-unused).gmp-mb--light {
    color: var(--awb-color8);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-frame {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--awb-color29) 90%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--awb-color29) 45%, transparent);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-block__head {
    border-bottom-color: var(--awb-color22);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light :is(.gmp-mb-block__title, .gmp-mb-feats__title, .gmp-mb-video__title, .gmp-mb-text__title, .gmp-mb-quote__text, .gmp-mb-tabs__title) {
    color: var(--awb-color8);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-block__num {
    color: var(--awb-color14);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-feats__item {
    border-top-color: var(--awb-color8);
    border-bottom-color: var(--awb-color22);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-feats__body {
    color: var(--awb-color15);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-prose--dark p {
    color: var(--awb-color16);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-quote__cite {
    color: var(--awb-color9);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light :is(.gmp-mb-ba, .gmp-mb-palette) {
    border-color: var(--awb-color22);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__tab {
    border-color: var(--awb-color22);
    background: var(--awb-color1);
    color: var(--awb-color8);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__tab:is(:hover, :focus-visible) {
    border-color: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__tab.is-active {
    border-color: var(--awb-color8);
    background: var(--awb-color8);
    color: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__tab.is-active:is(:hover, :focus-visible) {
    border-color: var(--awb-color4);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__panel {
    border-color: var(--awb-color22);
    background: var(--awb-color1);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__media {
    background: var(--awb-color23);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__body {
    border-top-color: var(--awb-color12);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__count {
    color: var(--awb-color9);
}

:is(.gmp-mb, #gmp-unused).gmp-mb--light .gmp-mb-tabs__text {
    color: var(--awb-color15);
}


/* ============================================================
 * 9. NARROW HOST
 * gmp-mb--narrow: the wrapper sits in a text column (about 800px),
 * so the wide layouts and heading sizes step down.
 * ============================================================ */

:is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-block__title {
    font-size: clamp(22px, 2vw, 28px) !important;
}

:is(.gmp-mb, #gmp-unused).gmp-mb--narrow :is(.gmp-mb-video__title, .gmp-mb-text__title) {
    margin-bottom: 16px;
    font-size: clamp(28px, 2.6vw, 40px) !important;
    line-height: .95 !important;
}

:is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-feats__title {
    font-size: clamp(24px, 2.2vw, 30px) !important;
}

:is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-quote__text {
    font-size: clamp(26px, 2.6vw, 38px);
}

@media (min-width: 720px) {
    :is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-video__poster {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 1024px) {
    :is(.gmp-mb, #gmp-unused).gmp-mb--narrow :is(.gmp-mb-scrub--full:not(.gmp-mb-scrub--video), .gmp-mb-ba) {
        aspect-ratio: 16 / 10;
    }

    :is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-feats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-feats__body {
        max-width: 62ch;
    }

    :is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-video {
        grid-template-columns: minmax(0, 1fr);
    }

    :is(.gmp-mb, #gmp-unused).gmp-mb--narrow .gmp-mb-tabs__media {
        aspect-ratio: 16 / 11;
    }
}
