.story-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 14px;
    margin-bottom: 12px;
}
.story-heading :is(h2, a) {margin: 0}
.story-heading a, .story-links a {font-weight: 700}
.story-preview .story-heading {margin: 0}
.story-preview-card {
    max-width: 470px;
    margin-inline: auto;
    padding: clamp(9px, 2vw, 16px);
    border-radius: 14px;
    background: #fff;
}
.story-preview-card h3 {margin: 0 0 7px; font-size: clamp(.92rem, 2.7vw, 1.2rem); line-height: 1.2}
.story-preview-card video, .highlights-story video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #121d2d;
}
.story-preview-card video {
    aspect-ratio: 16 / 9;
    object-fit: contain;
}
.story-copy p {margin: 7px 0 2px}
.story-links {display: flex; flex-wrap: wrap; gap: 1px 12px; font-size: .9rem; line-height: 1.35}
.story-links a {padding: 7px 0}
.story-preview-card .story-links {align-items: baseline; justify-content: space-between; margin-top: 4px}
.story-sound {
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.highlights-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 3vw, 24px);
    margin: 16px 0;
}
.highlights-story h2 {margin-bottom: 0}
.highlights-story video {max-height: min(52vh, 395px); object-fit: contain}
.review-link {display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px}
.client-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    columns: auto;
    gap: clamp(7px, 1.5vw, 14px);
}
.client-gallery figure {min-width: 0; margin: 0}
.client-gallery figure > a {display: block; position: relative; border-radius: 9px}
.client-gallery figure img {border-radius: 9px}
.client-gallery:not([data-shuffle-gallery]) img {aspect-ratio: 1; object-fit: contain; background: #edf4fc}
.client-gallery[data-shuffle-gallery] {
    --gallery-gap: clamp(8px, 1.7vw, 16px);
    display: block;
    columns: 3;
    column-gap: var(--gallery-gap);
}
.client-gallery[data-shuffle-gallery] figure {
    break-inside: avoid;
    margin-bottom: var(--gallery-gap);
}
.video-tile-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-content: center;
    width: clamp(32px, 10vw, 54px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid #ffffff9e;
    border-radius: 50%;
    background: #112639e6;
}
.video-tile-play::after {
    content: '';
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid white;
}
#client-video-dialog {
    width: min(94vw, 690px);
    max-width: none;
    margin: auto;
    padding: 12px;
    border: 1px solid #c9dcec;
    border-radius: 14px;
    color: var(--ink);
    background: #f8fcff;
}
#client-video-dialog::backdrop {background: #091423da}
.video-dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.video-dialog-heading h2 {font-size: clamp(1rem, 3.5vw, 1.35rem); margin: 0}
.video-dialog-heading .button {padding: 8px 12px; min-height: 44px}
#client-video-dialog video {
    display: block;
    width: 100%;
    max-height: min(72vh, 680px);
    border-radius: 8px;
    background: #121d2d;
}
@media (max-width: 600px) {
    .story-feature.panel {padding: 12px}
    .story-heading {margin-bottom: 8px}
    .story-heading a, .story-links {font-size: .82rem}
    .highlights-story h2 {font-size: clamp(1.05rem, 4vw, 1.35rem)}
    .story-copy p {font-size: .82rem; line-height: 1.4}
    .client-gallery[data-shuffle-gallery] {columns: 2}
}
