/* ─────────────────────────────────────────────────────────────────────────────
   CUTIB 2026 — Shared section components
   Every pattern here is lifted from a LOCOMOTION 2026 page and generalised so
   CUTIB pages can reuse it with any content:

     .page-hero        ← service-hero / contact-hero / about-hero
     .section          ← section-featured-works / section-services
     .section-header   ← home.css (label + line + right 920px headline)
     .num-list         ← services-list  (NAME ……… [ 01 ] + desc + line)
     .feature-rows     ← service-contents (01 + line, 2-column body, tags)
     .card-grid        ← about-hero__cards (cream cards)
     .works-grid       ← works-grid / loop-item-post
     .faq-list         ← num-list rhythm with an expandable answer
     .meta-row         ← portfolio-meta
     .next-banner      ← (new) page-to-page link, built from page-hero type
───────────────────────────────────────────────────────────────────────────── */


/* ══════════════════════════════════════════════════════════════════════════
   PAGE HERO (sub pages)
══════════════════════════════════════════════════════════════════════════ */

.page-hero {
    background-color: var(--color-key);
    color: var(--color-on-key);
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
    padding-bottom: var(--gap-lg);
    overflow: hidden;
}

.page-hero__title-area {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    padding: var(--hero-pt) var(--section-px) var(--gap-md);
}

.page-hero__page-title {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.page-hero__label {
    font-family: var(--font-ui);
    font-size: var(--text-label);
    font-weight: var(--fw-regular);
    line-height: var(--lh-label);
    text-transform: uppercase;
    display: flex;
    gap: var(--gap-md);
}

.page-hero__label .page-hero__crumb {
    display: flex;
    gap: var(--gap-sm);
}

.page-hero .section-line {
    background-color: currentColor;
}

.page-hero__headline {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.page-hero__h1 {
    color: inherit;
}

/* Two columns (same grid as the home hero): headline | sub + buttons */
.page-hero__headline--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: end;
    gap: var(--gap-md);
}

.page-hero__headline .headline {
    word-break: keep-all;
}

.page-hero__aside {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.page-hero__sub {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    max-width: 910px;
}

.page-hero__sub p + p {
    margin-top: 1em;
}

.page-hero__buttons {
    margin-top: 10px;
}

@media screen and (max-width: 1024px) {
    .page-hero__headline--split {
        grid-template-columns: 1fr;
        gap: var(--gap-sm);
    }
}

/* Charcoal hero — LOCOMOTION About: key-colored label, line, h1, sub */
.page-hero--charcoal {
    background-color: var(--color-charcoal);
    color: var(--color-key);
}

/* White hero */
.page-hero--white {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Image strip (LOCOMOTION Services hero) — GSAP scrubs X on scroll */
.page-hero__imgs {
    display: flex;
    gap: var(--gap-md);
    padding-inline: var(--section-px);
    flex-shrink: 0;
    will-change: transform;
}

.page-hero__img {
    width: 640px;
    height: 480px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--color-charcoal);
}

.page-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero without image strip: no extra bottom gap */
.page-hero:not(.has-imgs) {
    gap: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION BASE + THEMES
══════════════════════════════════════════════════════════════════════════ */

.section {
    padding: var(--section-py) var(--section-px);
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
    background-color: var(--color-white);
    color: var(--color-black);
}

.section--charcoal {
    background-color: var(--color-charcoal);
    color: var(--color-light-gray);
}

.section--cream {
    background-color: var(--color-cream-light);
    color: var(--color-charcoal);
}

.section--key {
    background-color: var(--color-key);
    color: var(--color-on-key);
}

.section--flush {
    padding-inline: 0;
}

/* Lines and labels follow the section theme */
.section .section-line {
    background-color: currentColor;
}

.section--charcoal .section-line {
    background-color: var(--color-light-gray);
}

.section .section-label {
    color: inherit;
}

.section--charcoal .section-cta,
.section-cta--start {
    justify-content: flex-start;
}

.section-cta--end {
    justify-content: flex-end;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION HEADER — label + line + right-aligned 920px headline (home.css)
══════════════════════════════════════════════════════════════════════════ */

.section-headline-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.section-headline-txt {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    width: var(--content-width);
    font-family: var(--font-body);
    font-size: var(--text-section-head);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: inherit;
    text-transform: uppercase;
}

.section-headline-txt .section-desc {
    font-size: var(--text-body);
    text-transform: none;
}

.section-headline-txt .btn-group {
    margin-top: var(--gap-sm);
}

/* Title (left 50%) / description + buttons (right) */
.section-head-row {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-sm);
    width: 100%;
}

.section-head-row__title {
    width: 50%;
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: var(--text-section-head);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.section-head-row__desc {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
}

.section-head-row__desc .btn-group {
    margin-top: var(--gap-sm);
}

/* buttons only (no description text) → align with the title, no top gap */
.section-head-row__desc .btn-group:first-child {
    margin-top: 0;
}

/* Large display heading variant inside sections */
.section-display {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 1.5rem + 3vw, 5rem);
    font-weight: var(--fw-semibold);
    line-height: 1;
    text-transform: uppercase;
}


/* ══════════════════════════════════════════════════════════════════════════
   NUMBER LIST — LOCOMOTION home "Services" list
   [decoration column] + 920px content column
══════════════════════════════════════════════════════════════════════════ */

.num-list-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.num-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    width: var(--content-width);
}

.num-list--full {
    width: 100%;
}

.num-list__item {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.num-list__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-sm);
    text-transform: uppercase;
}

.num-list__name {
    font-family: var(--font-body);
    font-size: var(--text-item-title);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
}

.num-list__num {
    font-family: var(--font-ui);
    font-size: var(--text-nav);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    white-space: nowrap;
}

.num-list__desc {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
}

.num-list__desc p + p {
    margin-top: 0.5em;
}

.num-list__link {
    align-self: flex-start;
}


/* ══════════════════════════════════════════════════════════════════════════
   FEATURE ROWS — LOCOMOTION "Services" page items
   01 + line / [ title (+ media) | description + tags ]
══════════════════════════════════════════════════════════════════════════ */

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.feature-row__header {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.feature-row__num {
    font-family: var(--font-ui);
    font-size: var(--text-label);
    line-height: var(--lh-label);
}

.feature-row__body {
    display: flex;
    align-items: stretch;
    gap: var(--gap-sm);
}

.feature-row__left {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--gap-lg);
}

.feature-row__title {
    font-family: var(--font-body);
    font-size: var(--text-section-head);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.feature-row__right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-lg);
}

.feature-row__desc {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-normal);
}

/* Featured case / media (LOCOMOTION .service-item__featured) */
.feature-row__media {
    display: flex;
    align-items: flex-end;
    gap: var(--gap-sm);
}

.feature-row__media-img {
    width: 291px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-nav);
    background-color: var(--color-dark);
}

.feature-row__media-img--wide {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
}

.feature-row__media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-row__media:hover .feature-row__media-img img {
    transform: scale(1.05);
}

.feature-row__media-info {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.feature-row__media-label {
    font-family: var(--font-ui);
    font-size: var(--text-small);
    text-transform: uppercase;
}

.feature-row__media-title {
    font-family: var(--font-body);
    font-size: var(--text-item-title);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}


/* ── Tags (cream pills — LOCOMOTION .service-tag) ────────────────────────── */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-inline: var(--gap-sm);
    background-color: var(--color-cream);
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: var(--text-label);
    line-height: var(--lh-label);
    color: var(--color-charcoal);
    white-space: nowrap;
}

.section--cream .tag,
.card .tag {
    background-color: var(--color-white);
}


/* ══════════════════════════════════════════════════════════════════════════
   CARD GRID — LOCOMOTION About cards
══════════════════════════════════════════════════════════════════════════ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: var(--gap-sm);
}

.card-grid--2 { --cols: 2; }
.card-grid--3 { --cols: 3; }
.card-grid--4 { --cols: 4; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--gap-lg);
    min-height: 360px;
    padding: 20px;
    background-color: var(--color-cream);
    border-radius: var(--radius-nav);
    color: var(--color-black);
    overflow: hidden;
}

.card--tall {
    aspect-ratio: 445 / 552;
    min-height: 0;
}

.card__title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.card__type {
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.card__name {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.card__desc {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-normal);
    color: var(--color-charcoal);
}

.card__desc p + p {
    margin-top: 0.5em;
}

.card__figure {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 70%;
    pointer-events: none;
}

.card__figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.card__figure--cover {
    inset: 0;
    width: 100%;
    height: 100%;
}

.card__figure--cover img {
    object-fit: cover;
    object-position: center;
}

/* Card on a cover image: text on a dark overlay */
.card--image {
    color: var(--color-white);
    background-color: var(--color-dark);
}

.card--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.card--image .card__desc {
    color: var(--color-white);
}

a.card {
    transition: transform 0.4s ease;
}

a.card:hover .card__figure--cover img {
    transform: scale(1.04);
}

.card__figure--cover img {
    transition: transform 0.6s ease;
}

.section--cream .card {
    background-color: var(--color-white);
}


/* ══════════════════════════════════════════════════════════════════════════
   WORKS GRID — LOCOMOTION loop-item-post
══════════════════════════════════════════════════════════════════════════ */

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-sm);
    width: 100%;
}

.works-grid > * {
    min-width: 0;
}

.works-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.works-grid--archive {
    row-gap: var(--gap-lg);
}

.works-item__link {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.works-item__img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-light-gray);
    border-radius: 6px;
}

.works-grid--wide .works-item__img-wrap {
    aspect-ratio: 16 / 9;
}

.works-item__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.works-item__link:hover .works-item__img-wrap img {
    transform: scale(1.04);
}

.works-item__txt {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.works-item__title {
    font-family: var(--font-body);
    font-size: var(--text-item-title);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.works-item__desc {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.works-item__cats {
    display: flex;
    flex-wrap: wrap;
}

.works-item__cat {
    font-family: var(--font-ui);
    font-size: var(--text-small);
    text-transform: uppercase;
}

.works-item__cat + .works-item__cat::before {
    content: '·';
    margin: 0 8px;
}

.works-item .section-line {
    background-color: currentColor;
}

/* Status chip (Originals: 기획 개발 / 제작 중 / 공개) */
.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: var(--text-small);
    text-transform: uppercase;
}

.status-chip::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-key);
}

/* Dark theme (LOCOMOTION .works-grid--dark) */
.section--charcoal .works-item .section-line {
    background-color: var(--color-light-gray);
    opacity: 0.4;
}


/* ══════════════════════════════════════════════════════════════════════════
   FAQ LIST — num-list rhythm, answer toggles open
══════════════════════════════════════════════════════════════════════════ */

.faq-list {
    display: flex;
    flex-direction: column;
    width: var(--content-width);
    margin-left: auto;
}

.faq-item {
    border-bottom: 1px solid currentColor;
}

.faq-item:first-child {
    border-top: 1px solid currentColor;
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-sm);
    padding: var(--gap-sm) 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--text-item-title);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item__q {
    display: flex;
    gap: var(--gap-sm);
    align-items: baseline;
}

.faq-item__num {
    font-family: var(--font-ui);
    font-size: var(--text-nav);
    font-weight: var(--fw-regular);
    white-space: nowrap;
}

.faq-item__toggle {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transition: transform var(--ease-default);
}

.faq-item__toggle::after {
    transform: rotate(90deg);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-item.is-open .faq-item__toggle::after {
    transform: rotate(0deg);
}

.faq-item__a {
    overflow: hidden;           /* height animated in main.js (initFaq) */
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-normal);
    max-width: 760px;
}

.faq-item__a-inner {
    padding: 0 0 var(--gap-md);
}

.faq-item__a p + p {
    margin-top: 0.5em;
}


/* ══════════════════════════════════════════════════════════════════════════
   META ROW — LOCOMOTION portfolio-meta
══════════════════════════════════════════════════════════════════════════ */

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-sm);
}

.meta-row__item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.meta-row__label {
    font-family: var(--font-ui);
    font-size: var(--text-small);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.meta-row__value {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: var(--lh-normal);
    word-break: keep-all;
}


/* ══════════════════════════════════════════════════════════════════════════
   SPLIT — 50 / 50 two-column body (LOCOMOTION contact-contents__body)
══════════════════════════════════════════════════════════════════════════ */

.split {
    display: flex;
    gap: var(--gap-sm);
    align-items: flex-start;
}

.split__left {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.split__right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.split__title {
    font-family: var(--font-body);
    font-size: var(--text-section-head);
    line-height: var(--lh-normal);
    text-transform: uppercase;
}

.split__text {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--lh-normal);
}

.split__text p + p {
    margin-top: 1em;
}


/* ══════════════════════════════════════════════════════════════════════════
   MEDIA — full-width image / video
══════════════════════════════════════════════════════════════════════════ */

.media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-nav);
    background-color: var(--color-dark);
}

.media-frame img,
.media-frame video,
.media-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.media-caption {
    margin-top: 10px;
    font-family: var(--font-ui);
    font-size: var(--text-small);
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-sm);
}

.gallery-grid figure {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-nav);
    background-color: var(--color-light-gray);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ══════════════════════════════════════════════════════════════════════════
   NEXT BANNER — "다음 콘텐츠" (2-depth pages, above the contact banner)
══════════════════════════════════════════════════════════════════════════ */

.next-banner {
    display: block;
    padding: var(--section-py) var(--section-px);
    background-color: var(--color-white);
    color: var(--color-black);
}

.next-banner__inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.next-banner__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-md);
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: var(--fw-semibold);
    line-height: 1;
    text-transform: uppercase;
}

.next-banner__arrow {
    width: 0.5em;
    height: 0.5em;
    flex-shrink: 0;
    background-color: var(--color-black);
    -webkit-mask: var(--icon-arrow) no-repeat center / contain;
            mask: var(--icon-arrow) no-repeat center / contain;
    transform: rotate(45deg);
    transition: background-color 0.3s ease;
}

/* Hover: key color only — position stays fixed */
.next-banner:hover .next-banner__arrow {
    background-color: var(--color-key);
}

.next-banner:hover .next-banner__label-text {
    color: var(--color-key);
}


/* ══════════════════════════════════════════════════════════════════════════
   LOAD MORE
══════════════════════════════════════════════════════════════════════════ */

.load-more {
    display: flex;
    justify-content: center;
}

.load-more.is-done {
    display: none;
}

.load-more .btn.is-loading {
    opacity: 0.5;
    pointer-events: none;
}


/* ══════════════════════════════════════════════════════════════════════════
   WYSIWYG content (news body, privacy policy)
══════════════════════════════════════════════════════════════════════════ */

.entry-content {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.7;
    max-width: var(--content-width);
}

.entry-content > * + * {
    margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3 {
    font-size: var(--text-item-title);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    margin-top: 2em;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.2em;
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content img {
    height: auto;
    border-radius: var(--radius-nav);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-small);
}

.entry-content th,
.entry-content td {
    border-top: 1px solid currentColor;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 1320px) {
    .card-grid--4 { --cols: 2; }
}

@media screen and (max-width: 980px) {

    .page-hero__img {
        width: 260px;
        height: 195px;
    }

    .section-headline-wrap,
    .num-list-wrap {
        justify-content: flex-start;
    }

    .section-headline-txt,
    .num-list,
    .faq-list {
        width: 100%;
    }

    .section-head-row {
        flex-direction: column;
    }

    .section-head-row__title {
        width: 100%;
    }

    .feature-row__body,
    .split {
        flex-direction: column;
    }

    .feature-row__left,
    .split__left {
        width: 100%;
    }

    .feature-row__media {
        flex-wrap: wrap;
    }

    .feature-row__media-img {
        width: 120px;
    }

    .feature-row__media-img--wide {
        width: 100%;
    }

    .tag {
        height: 24px;
        padding: 0 10px;
    }

    .card-grid,
    .card-grid--2,
    .card-grid--3,
    .card-grid--4 {
        --cols: 1;
    }

    .card {
        min-height: 240px;
    }

    .card--tall {
        aspect-ratio: 3 / 2;
    }

    .works-grid,
    .works-grid--2 {
        grid-template-columns: 1fr;
    }

    .works-grid--archive {
        row-gap: var(--gap-md);
    }

    .meta-row {
        flex-wrap: wrap;
        gap: var(--gap-md);
    }

    .meta-row__item {
        flex: 0 0 calc(50% - 20px);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .next-banner__title {
        font-size: 48px;
    }
}
