/*
 * Mark's Birthday case page (клон структури Great Gatsby / Getsbi). Load portfolio-case-scale.css *before* this file.
 * Класи з префіксом mb-* (marks-birthday), щоб не перетинатися з getsbi-style.css.
 * Breakpoint: 740px+ scale; mobile max-width 739px (як у portfolio-case-scale.css).
 */
.oa-page {
    background:#F8F3ED;
    color: #31302e;
    padding-bottom: 0px;
}
.mobile-menu-close {
    position: relative;
    top: 1px;
    left: 2px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Allow independent tuning of close icon on mobile sticky plaque (burger untouched) */
@media (max-width: 739px) {
  .mobile-menu-close.with-sticky-panel {
    top: -2px !important;
    left: 3px !important;
  }
}
/* Sticky top CTA (copied from portfolio) */
.pf-sticky-cta {
  position: fixed;
  top: 0;
  left: 12px;
  right: 12px;
  transform: translateY(-120%);
  width: auto;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-bottom: 1px solid #e6ddd2;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.pf-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pf-sticky-cta-inner {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 6px 30px;
  box-sizing: border-box;
}
.pf-sticky-cta-text {
  margin: 0;
  font-family: 'Cormorant', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #31302e;
}
.pf-sticky-cta-btn {
  flex: 0 0 auto;
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: #ECE3D8;
  color: #31302e;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}
/* Mobile: match portfolio exactly */
@media (max-width: 739px) {
  .pf-sticky-cta {
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      max-width: none;
      height: 56px;
  }
  .pf-sticky-cta-inner {
      min-height: 56px;
      padding: 0 16px 0 96px;
      gap: 16px;
      justify-content: flex-end;
  }
  .pf-sticky-cta-text { display: none; }
  .pf-sticky-cta-btn {
      width: auto;
      min-width: 0;
      max-width: max-content;
      margin-left: auto;
  }
}



.oa-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oa-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oa-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.oa-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.oa-hero-logo {
    width: 164px;
}

.oa-hero h1 {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.oa-intro {
    max-width: 788px;
    margin: 84px auto;
    text-align: center;
}

.oa-intro h2 {
    margin: 0 0 10px;
    font-family: "Cormorant", serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.oa-intro p {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
}

/* .oa-pair на marks-birthday: окремі відступи як у .mb-triple (див. нижче) */
.oa-columns,
.oa-grid4,
.oa-cta {
    max-width: 1300px;
    margin: 0 auto 74px;
}

/* Figma 3742:10759 — три фото; десктоп: білий блок між відступами 65px; моб — фул ширина в @media */
.mb-triple {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background: #fff;
    padding: 84px 0;
    box-sizing: border-box;
    width: auto;
    margin: 0 65px 74px;
}

.mb-triple img {
    max-width: none;
}

.mb-triple__frame--side {
    width: 232px;
    height: 322px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.mb-triple__center {
    width: 564px;
    height: 532px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mb-triple__center picture,
.mb-triple__frame--side picture {
    display: contents;
}

.mb-triple__img--center {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Бокові кадри: рівномірний cover у 232×322 (кроп з Figma ламав пропорції інших JPEG) */
.mb-triple__img--left,
.mb-triple__img--right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Figma 3742:10776 — два фото; десктоп як triple; моб — фул ширина в @media */
.mb-duo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background: #fff;
    padding: 84px 0;
    box-sizing: border-box;
    width: auto;
    margin: 0 65px 112px;
}

.mb-duo img {
    max-width: none;
}

.mb-duo__left {
    width: 572px;
    height: 648px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mb-duo__img--main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mb-duo__frame--right {
    width: 318px;
    height: 502px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Рівномірний cover у 318×502 — відсотковий кроп з Figma спотворював інші JPEG */
.mb-duo__img--crop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.oa-pair {
    display: grid;
    grid-template-columns: 341.00140380859375px 571px;
    justify-content: center;
    align-items: center;
    gap: 34px;
    background: #fff;
    padding: 84px 0;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 0 65px 74px;
}

.oa-pair img,
.oa-columns img,
.oa-columns video,
.oa-grid4 img,
.oa-banner img,
.oa-cta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oa-pair img:first-child {
    width: 341.00140380859375px;
    height: 471.9657287597656px;
    opacity: 1;
}

.oa-pair img:last-child {
    width: 571px;
    height: 642px;
    opacity: 1;
}

.oa-columns {
    display: grid;
    grid-template-columns: 440px 522px;
    justify-content: center;
    gap: 44px;
}

.oa-columns-mosaic {
    grid-template-columns: 522px 440px;
    align-items: center;
}

.oa-columns-mosaic > .oa-col-wide {
    align-self: center;
}

.oa-columns-mosaic .oa-col img[src="src/img/case_w5/03-wedd05.jpg"] {
    width: 522px;
    height: 760px;
    opacity: 1;
}
@media (max-width: 739px) {
    .oa-columns-mosaic .oa-col img[src="src/img/case_w5/03-wedd05.jpg"] {
        width: 522px;
        height: 468px;
        opacity: 1;
    }

}


.oa-columns-mosaic .oa-col img[src="src/img/case_w5/04-wedd05.jpg"] {
    width: 522px;
    height: 604.831298828125px;
    opacity: 1;
}

.oa-columns-mosaic .oa-col .oa-mosaic-video {
    width: 522px;
    height: 604px;
    opacity: 1;
}

/* Getsbi events2 — ліва колонка мозаїки (desktop), розміри з макету */
@media (min-width: 740px) {
    /* Mark's Birthday: ліва колонка 440px, права 522px (інші .oa-columns-mosaic лишаються 522+440) */
    .oa-columns.oa-columns-mosaic.mb-mosaic {
        grid-template-columns: 440px 522px;
    }

    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle 65.jpg"],
    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2065.jpg"] {
        width: 522px;
        height: 857px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) img[src*="61-1.jpg"],
    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2061-1.jpg"] {
        width: 522px;
        height: 761px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) .oa-mosaic-video {
        width: 522px;
        height: 740px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        display: block;
        box-sizing: border-box;
    }

    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle 68.jpg"],
    .oa-columns-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2068.jpg"] {
        width: 522px;
        height: 740px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    /* marks-birthday events4 — десктоп: розміри з Figma (ліва 440px, права 522px) */
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="62-1.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2062-1.jpg"] {
        width: 440px;
        height: 577px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        object-position: center;
        box-sizing: border-box;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle 68.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2068.jpg"] {
        width: 440px;
        height: 294px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        object-position: center;
        box-sizing: border-box;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle 63.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2063.jpg"] {
        width: 440px;
        height: 673px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        object-position: center;
        box-sizing: border-box;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle 69.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2069.jpg"] {
        width: 440px;
        height: 710px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        object-position: center;
        box-sizing: border-box;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle 70.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col:not(.oa-col-wide) img[src*="Rectangle%2070.jpg"] {
        width: 440px;
        height: 427px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        object-position: center;
        box-sizing: border-box;
    }

    .oa-columns-mosaic.mb-mosaic > .oa-col-wide img[src*="events4"][src*="Rectangle 67.jpg"],
    .oa-columns-mosaic.mb-mosaic > .oa-col-wide img[src*="events4"][src*="Rectangle%2067.jpg"] {
        width: 522px;
        height: 740px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    .oa-columns-mosaic.mb-mosaic > .oa-col-wide .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle 65.jpg"],
    .oa-columns-mosaic.mb-mosaic > .oa-col-wide .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle%2065.jpg"] {
        width: 522px;
        height: 605px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    .oa-columns-mosaic.mb-mosaic > .oa-col-wide .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle 66.jpg"],
    .oa-columns-mosaic.mb-mosaic > .oa-col-wide .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle%2066.jpg"] {
        width: 522px;
        height: 405.1104431152344px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    .oa-columns-mosaic.mb-mosaic > .oa-col-wide img[src*="events4"][src*="61-1.jpg"],
    .oa-columns-mosaic.mb-mosaic > .oa-col-wide img[src*="events4"][src*="Rectangle%2061-1.jpg"] {
        width: 522px;
        height: 761px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    .oa-columns-mosaic.mb-mosaic > .oa-col-wide .mb-mosaic__last {
        width: 522px;
        height: 761px;
        max-width: none;
        opacity: 1;
        transform: rotate(0deg);
        object-fit: cover;
        box-sizing: border-box;
    }

    /* Десктоп: обгортка не ламає сітку .oa-col-wide — діти знову прямі нащадки */
    .oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack {
        display: contents;
    }
}
@media (max-width: 739px) {

.oa-columns-mosaic .oa-col img[src="src/img/case_w5/06-wedd05.jpg"] {
    width: 522px;
    height: 234px;
    opacity: 1;
}
}
@media (min-width: 739px) {

    .oa-columns-mosaic .oa-col img[src="src/img/case_w5/06-wedd05.jpg"] {
        width: 522px;
        height: 394px;
        opacity: 1;
    }
    }
.oa-columns-mosaic .oa-col-wide img[src="src/img/case_w5/07-wedd05.jpg"] {
    width: 440px;
    height: 457px;
    opacity: 1;
}

.oa-columns-mosaic .oa-col-wide img[src="src/img/case_w5/08-wedd05.jpg"] {
    width: 440px;
    height: 673px;
    opacity: 1;
}

.oa-columns-mosaic .oa-col-wide img[src="src/img/case_w5/09-wedd05.jpg"] {
    width: 440px;
    height: 730px;
    opacity: 1;
}

.oa-columns-mosaic .oa-col-wide img[src="src/img/case_w5/10-wedd05.jpg"] {
    width: 440px;
    height: 673px;
    opacity: 1;
}

.oa-columns-last4 {
    align-items: center;
}

.oa-columns-last4 > .oa-col-wide {
    align-self: center;
}

.oa-col {
    display: grid;
    gap: 44px;
}

/* Full width of parent only — no 100vw (breaks uniform zoom inside .oa-scale-canvas) */
.oa-banner {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0 0 74px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.oa-banner img,
.oa-banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oa-feedback {
    width: 846px;
    margin: 0 auto 74px;
    background: #fff;
    padding: 64px 84px;
    text-align: center;
    box-sizing: border-box;
}

.oa-feedback img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.oa-feedback h3 {
    margin: 24px 0 12px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.oa-feedback p {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.08;
}

/* Keep original case-page feedback geometry for unified pf markup */
.pf-feedback-section {
    padding: 0;
    background: transparent;
}

.pf-feedback-container {
    width: 846px;
    max-width: 846px;
    margin: 0 auto 74px;
    background: #fff;
    padding: 64px 84px;
    text-align: center;
    box-sizing: border-box;
}

.oa-photo-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 0 74px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.oa-photo-slider-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-anchor: none;
    /* Set from JS on narrow viewports so rail padding matches clientWidth (not 100vw — breaks inside scaled canvas / resize). */
    --oa-slider-rail-pad: 0px;
}

.oa-photo-slider-viewport::-webkit-scrollbar { display: none; }

.oa-photo-slider-track {
    display: flex;
    gap: 8px;
    width: max-content;
    align-items: center;
    will-change: scroll-position;
}

.oa-photo-slide {
    width: 410px;
    height: 600px;
    opacity: 1;
    flex: 0 0 410px;
    cursor: pointer;
}

.oa-photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.oa-photo-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.oa-photo-slider-captions {
    max-width: 1022px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

/* Cursor while dragging */
.oa-photo-slider-viewport.is-dragging {
    cursor: grabbing;
}

/* Mobile slider: 1 slide centered + neighbors clipped, native snap */
@media (max-width: 739px) {
    .oa-photo-slider-viewport {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 10vw;
        scroll-padding-right: 10vw;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }

    .oa-photo-slider-track {
        margin: 0;
        gap: 24px;
        padding-left: 10vw;
        padding-right: 10vw;
        box-sizing: border-box;
    }

    .oa-photo-slide {
        width: 80vw;
        flex: 0 0 80vw;
        height: auto;
        aspect-ratio: 410 / 600;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
}

.oa-photo-nav {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border: none;
    background: transparent;
    color: #7f6c65;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 14px;          /* enlarge clickable area */
    margin-left: -14px;          /* compensate to keep alignment */
    margin-right: -14px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    margin-top: -8px;
}

.oa-photo-nav img {
    width: 40px;
    height: 12px;
    display: block;
}

.oa-mid-video {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 128px;
    height: 100vh;
    margin: 0 auto 74px;
    position: relative;
    overflow: hidden;
}

.oa-mid-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mid video: як khreshchennya-liyi / toskana — aspect на планшеті/десктопі */
@media (min-width: 740px) {
    .oa-mid-video {
        width: min(1282px, 100%);
        max-width: 1282px;
        aspect-ratio: 1282 / 722;
        height: auto;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 120px;
    }

    .oa-mid-video-el {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

/* Планшет: 96px по боках */
@media (min-width: 740px) and (max-width: 1299.98px) {
    body.page-marks-birthday .oa-scale-canvas .oa-mid-video {
        width: calc(100% - 192px);
        max-width: calc(100% - 192px);
        margin-left: 96px;
        margin-right: 96px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }
}

.oa-cta {
    position: relative;
    display: grid;
    grid-template-columns: 420px 454px;
    gap: 54px;
    align-items: center;
    margin-top: 159px;
}

.oa-cta {
    width: 1022px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 154px;
}

.oa-cta::before {
    content: "";
    position: absolute;
    left: 60%;
    top: -47px;
    transform: translateX(-50%);
    width: 798px;
    height: 674px;
    background: #fff;
    z-index: 0;
}

.oa-cta > * {
    position: relative;
    z-index: 1;
}

/* Separator line before footer on case page */
.oa-cta::after {
    display: none; /* use standalone separator below for precise spacing */
}

/* Standalone separator (mobile); width of parent — no viewport breakout */
.case-separator {
    width: 100vw;
    max-width: 100vw;
    height: 3px;
    background: #F1EBE4;
    border-radius: 1px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 64px;
    margin-bottom: 0;
    pointer-events: none;
    box-sizing: border-box;
}

.oa-cta img {
    height: 580px;
}

.oa-cta-text h3 {
    margin: 0 0 16px;
    font-family: "Cormorant", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.oa-cta-text p {
    margin: 0 0 24px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.53;
    letter-spacing: 0.02em;
    text-align: justify;
}

.oa-cta-text a {
    display: inline-block;
    background: #f1ebe3;
    padding: 12px 32px;
    color: #31302e;
    text-decoration: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

@media (max-width: 739px) {
    .oa-hero {
        height: 100vh;
    }

    .oa-hero h1 {
        font-size: 44px;
    }

    .oa-intro {
        max-width: calc(100% - 32px);
        margin: 56px auto;
    }

    .oa-pair,
    .oa-columns,
    .oa-feedback,
    .oa-cta {
        width: 100%;
    }

    .oa-pair {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .oa-pair img:first-child,
    .oa-pair img:last-child {
        width: 100%;
        height: auto;
    }

    .oa-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .oa-col {
        gap: 16px;
    }

    .oa-feedback {
        padding: 24px;
    }

    .pf-feedback-container {
        width: 100%;
        max-width: 100%;
        padding: 44px 34px 44px 34px;
        margin-top: 54px;
    }

    .oa-photo-slide {
        width: min(410px, calc(100vw - 24px));
        flex-basis: min(410px, calc(100vw - 24px));
        height: 440px;
    }

    .oa-photo-slider-captions {
        margin-top: 24px;
        max-width: calc(100% - 24px);
    }

    .oa-cta {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
    }

    .oa-cta::before {
        width: 100%;
        height: 100%;
        top: 0;
    }

    .oa-cta img {
        height: auto;
    }
}

@media (max-width: 739px) {
    body {
        overflow-x: hidden;
        background: #f8f3ed;
    }

    .oa-page {
        padding-bottom: 54px;
    }

    .oa-hero {
        height: 100vh;
    }
    .oa-page {
        background: linear-gradient(to bottom, #F8F3ED 0 98%, #FFFFFF 98% 100%);
        color: #31302e;
        padding-bottom: 5px;
    }

    .oa-hero h1 {
        width: 311px;
        font-size: 28px;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: 1;
        color: #f1ebe3;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
    }

    .mobile-menu-btn {
        top: 20px;
        left: 20px;
        padding: 0;
        z-index: 1210;
    }

    /* Keep burger and top CTA fixed in place even when menu is opened */
    .mobile-menu.active ~ .mobile-menu-btn {
        top: 20px !important;
        left: 20px !important;
    }

    .mobile-menu-icon {
        width: 24px;
        height: 24px;
        position: relative;
        top: -4px;
    }

    .oa-intro {
        max-width: 100%;
        margin: 54px 0 0;
        padding: 0 32px;
    }

    .oa-intro h2 {
        margin-bottom: 16px;
        font-size: 28px;
        font-weight: 300;
        letter-spacing: 0.04em;
    }

    .oa-intro p {
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        line-height: 120%;
    }

    .oa-pair {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        padding: 32px;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        box-sizing: border-box;
        background: #fff;
    }

    /* Figma 3764:11284 — три фото в ряд; білий блок на всю ширину */
    .mb-triple {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: 54px 0 0;
        padding: 32px;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }

    .mb-triple__frame--side {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        height: auto;
        aspect-ratio: 232 / 322;
    }

    .mb-triple__center {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        height: auto;
        aspect-ratio: 564 / 532;
    }

    /* Figma 3764:11394 — ряд, gap 16px, padding 32px, flex 1 + aspect */
    .mb-duo {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: 54px 0 0;
        padding: 32px;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mb-duo__left {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        height: auto;
        aspect-ratio: 572 / 648;
    }

    .mb-duo__frame--right {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        height: auto;
        aspect-ratio: 318 / 502;
    }

    /* Той самий cover, що на десктопі — відсотковий кроп був під інше фото з Figma */
    .mb-duo__img--crop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .oa-columns {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        padding: 0 32px;
        grid-template-columns: 1fr;
        gap: 24px;
        box-sizing: border-box;
    }

    /* First gallery: keep all photos, but compose 06/07/08 as mosaic */
    .oa-columns-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        align-items: start;
    }

    .oa-columns-mosaic > .oa-col,
    .oa-columns-mosaic > .oa-col-wide {
        display: contents;
    }

.oa-columns-mosaic .oa-mosaic-video {
    grid-column: 1 / span 2;
    grid-row: 3;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
}

    .oa-columns-mosaic img,
    .oa-columns-mosaic video {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .oa-columns-mosaic img[src$="/03.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 1;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/04.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/05.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 3;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic .oa-mosaic-video {
        grid-column: 1 / span 2;
        grid-row: 3;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/06.jpg"] {
        grid-column: 1;
        grid-row: 4;
        aspect-ratio: 1 / 1.18;
    }

    .oa-columns-mosaic img[src$="/07.jpg"] {
        grid-column: 1;
        grid-row: 5;
        aspect-ratio: 1 / 1.27;
    }

    .oa-columns-mosaic img[src$="/08.jpg"] {
        grid-column: 2;
        grid-row: 4 / span 2;
        align-self: center;
        aspect-ratio: 1 / 1.1;
    }

    .oa-columns-mosaic img[src$="/09.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 6;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/10.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 7;
        width: 100%;
        margin: 0;
    }

    /* Case w5 mobile override:
       03/04/video/06 full width, 07-10 in adaptive 2x2 grid */
    .oa-columns.oa-columns-mosaic {
        gap: 24px !important;
        width: 100% !important;
        max-width: 780px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/03-wedd05.jpg"] {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        height: 468px;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/04-wedd05.jpg"] {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        height: 360px !important;
        object-fit: cover !important;
    }

    .oa-columns-mosaic .oa-mosaic-video {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
        width: 100% !important;
        height: 360px !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/06-wedd05.jpg"] {
        grid-column: 1 / span 2 !important;
        grid-row: 4 !important;
        width: 100% !important;
        margin: 0 !important;
        aspect-ratio: auto !important;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/07-wedd05.jpg"] {
        grid-column: 1 !important;
        grid-row: 5 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 143.5 / 149.37045288085938 !important;
        justify-self: stretch !important;
        transform: translateY(36px);
        opacity: 1;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/08-wedd05.jpg"] {
        grid-column: 2 !important;
        grid-row: 5 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 143.5 / 219.81591796875 !important;
        justify-self: stretch !important;
        align-self: end !important;
        margin-top: 0 !important;
        transform: none;
        opacity: 1;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/09-wedd05.jpg"] {
        grid-column: 1 !important;
        grid-row: 6 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 143.5 / 238.07952880859375 !important;
        justify-self: stretch !important;
        transform: translateY(-36px);
        opacity: 1;
    }

    .oa-columns-mosaic img[src="src/img/case_w5/10-wedd05.jpg"] {
        grid-column: 2 !important;
        grid-row: 6 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 143.5 / 219.81591796875 !important;
        justify-self: stretch !important;
        opacity: 1;
    }

    /* Getsbi events2 — mobile Figma 3764:11287 */
    .oa-columns.oa-columns-mosaic.mb-mosaic {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        /* Як у .mb-triple / .mb-duo — рівні 16px між усіма клітинками сітки */
        gap: 16px !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col,
    .oa-columns.oa-columns-mosaic.mb-mosaic > .oa-col-wide {
        display: contents !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle%2065.jpg"]:not([src*="events4"]),
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle 65.jpg"]:not([src*="events4"]) {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 522 / 857 !important;
        margin: 0 !important;
        object-fit: cover !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="61-1.jpg"]:not([src*="events4"]),
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle%2061-1.jpg"]:not([src*="events4"]) {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 522 / 761 !important;
        margin: 0 !important;
        object-fit: cover !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .oa-mosaic-video {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 522 / 740 !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .oa-col:not(.oa-col-wide) img[src*="Rectangle%2068.jpg"]:not([src*="events4"]),
    .oa-columns.oa-columns-mosaic.mb-mosaic .oa-col:not(.oa-col-wide) img[src*="Rectangle 68.jpg"]:not([src*="events4"]) {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 522 / 740 !important;
        margin: 0 !important;
        object-fit: cover !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="62-1.jpg"]:not([src*="events4"]),
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle%2062-1.jpg"]:not([src*="events4"]) {
        grid-column: 1 !important;
        grid-row: 5 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 440 / 649 !important;
        margin: 0 !important;
        object-fit: cover !important;
        align-self: start !important;
    }

    /*
     * Права колонка: стек у span рядів 5–6 + gap 16px між двома фото.
     * align-self: center — моб: правий ряд по вертикалі по центру відносно лівого (62-1 + 68).
     */
    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        grid-column: 2 !important;
        grid-row: 5 / span 2 !important;
        align-self: center !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        object-fit: cover !important;
        grid-column: unset !important;
        grid-row: unset !important;
        align-self: stretch !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="Rectangle 70.jpg"] {
        aspect-ratio: 440 / 294 !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="Rectangle 63.jpg"] {
        aspect-ratio: 440 / 674 !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle 66.jpg"]:not([src*="events4"]) {
        grid-column: 1 / -1 !important;
        grid-row: 7 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 440 / 541 !important;
        margin: 0 !important;
        object-fit: cover !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic__last {
        display: block !important;
        grid-column: 1 / -1 !important;
        grid-row: 8 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 440 / 534 !important;
        margin: 0 !important;
        object-fit: cover !important;
        align-self: start !important;
    }

    /*
     * marks-birthday.html — mobile mosaic overrides:
     * The HTML order/column assignment was changed (Rectangle 67 moved into the left column,
     * Rectangle 68 moved into the wide column, and Rectangle 69 became the “last” element).
     * Desktop must remain untouched, so we only remap the MOBILE grid placement here.
     */

    /* Left column now ends with Rectangle 67 — it should occupy the former “row 4 full-width” slot on mobile. */
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle 67.jpg"]:not([src*="events4"]),
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle%2067.jpg"]:not([src*="events4"]) {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 522 / 740 !important;
        margin: 0 !important;
        object-fit: cover !important;
    }

    /* Great Gatsby моб: 68 — нижня ліва клітинка 2×2 (замість колишнього слоту 69). */
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle 68.jpg"]:not([src*="events4"]),
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="Rectangle%2068.jpg"]:not([src*="events4"]) {
        grid-column: 1 !important;
        grid-row: 6 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 440 / 476 !important;
        margin: 0 !important;
        object-fit: cover !important;
        align-self: start !important;
        transform: none !important;
    }

    /* Rectangle 69 (.mb-mosaic__last) — повна ширина внизу секції (колишнє місце 68 у рядку 8). */
    .oa-columns.oa-columns-mosaic.mb-mosaic img.mb-mosaic__last[src*="Rectangle 69.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img.mb-mosaic__last[src*="Rectangle%2069.jpg"] {
        grid-column: 1 / -1 !important;
        grid-row: 8 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 440 / 534 !important;
        margin: 0 !important;
        object-fit: cover !important;
        align-self: start !important;
    }

    /* Second gallery: last four photos (13-16) in 2x2 */
    .oa-columns-last4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        align-items: start;
    }

    .oa-columns-last4 > .oa-col,
    .oa-columns-last4 > .oa-col-wide {
        display: contents;
    }

    .oa-columns-last4 img[src$="/11.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .oa-columns-last4 img[src$="/12.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .oa-columns-last4 img[src$="/13.jpg"] {
        grid-column: 1;
        grid-row: 3;
    }

    .oa-columns-last4 img[src$="/14.jpg"] {
        grid-column: 1;
        grid-row: 4;
    }

    .oa-columns-last4 img[src$="/15.jpg"] {
        grid-column: 2;
        grid-row: 3;
        width: 100%;
        height: auto;
        opacity: 1;
        justify-self: stretch;
        margin-top: 75px;
    }

    .oa-columns-last4 img[src$="/16.jpg"] {
        grid-column: 2;
        grid-row: 4;
        width: 100%;
        height: auto;
        opacity: 1;
        justify-self: stretch;
    }


    .oa-col {
        gap: 24px;
    }

    .oa-banner {
        height: 100vh;
        margin: 54px 0 0;
    }

    .oa-feedback {
        width: 100%;
        margin: 54px 0 0;
        padding: 44px 34px;
    }

    .oa-feedback p {
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        line-height: 120%;
    }

    .oa-mid-video {
        height: 70vh;
        margin: 0 0 0px;
        padding: 54px 32px 0;
        box-sizing: border-box;
    }

    .oa-photo-slider {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        margin-left: 0;
        padding: 0;
    }

    .oa-photo-slider-track {
        margin: 0;
        gap: 8px;
        padding-left: var(--oa-slider-rail-pad);
        padding-right: var(--oa-slider-rail-pad);
        box-sizing: border-box;
    }

    .oa-top-strip--mobile .oa-top-track {
        gap: 8px;
    }

    .oa-photo-slide {
        width: 232px;
        height: 340px;
        flex: 0 0 232px;
    }

    .oa-photo-slider-captions {
        max-width: 100%;
        margin-top: 16px;
        justify-content: center;
        gap: 43px;
        padding: 0;
    }

    .oa-photo-nav {
        font-size: 0;
        letter-spacing: 0;
        gap: 0;
        line-height: 0;
        position: relative;
        padding: 12px 16px;              /* bigger tap target */
        margin-left: -16px;              /* keep visual alignment */
        margin-right: -16px;
        -webkit-tap-highlight-color: transparent;
    }

    .oa-photo-nav img {
        width: 48px;                     /* slightly bigger icon for touch */
        height: 16px;
    }

    .oa-cta {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        padding: 0 32px;
        box-sizing: border-box;
        grid-template-columns: 1fr;
        gap: 24px;
        background: linear-gradient(to bottom, #F8F3ED 0 20%, #FFFFFF 20% 100%);
        left: 0;
    }

    /* Mobile separator line after CTA button, before footer */
    .oa-cta {
        position: relative;
        justify-content: center;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
        padding: 0 24px;
        max-width: 100vw;
        box-sizing: border-box;
        overflow: hidden;
        margin-top: 54px;
    }
    .oa-cta::after {
        display: block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;                   /* full-bleed across the viewport */
        height: 4px;
        background: #F1EBE3;
        border-radius: 2px;
        margin: 54px auto 0 auto;
    }

    .oa-cta::before {
        display: none;
    }

    .oa-cta img {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        object-fit: cover;
    }

    .oa-cta-text h3 {
        font-size: 28px;
        font-weight: 400;
        letter-spacing: 0.04em;
        margin-bottom: 16px;
    }

    .oa-cta-text p {
        font-size: 15px;
        line-height: 23px;
        letter-spacing: 0.02em;
    }

    .oa-cta-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .oa-cta-text p {
        width: 100%;
    }

    .oa-cta-text a {
        width: auto;
        box-sizing: border-box;
        display: inline-flex;
        align-self: center;
        margin: 0 auto;
        text-align: center;
        padding: 12px 18px;
    }

    .footer {
        background: #fff;
        border-bottom: 1px solid #e3e1e0;
        padding: 64px 0 44px;
    }

    .footer-content {
        width: 100%;
        max-width: 100%;
        padding: 0 32px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 44px;
    }

    .footer-logo-img {
        width: 209px;
        height: auto;
    }

    .footer-nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 12px;
        justify-items: center;
    }

    .footer-contacts {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-section-title,
    .footer-contact {
        display: none;
    }

    .footer-btn {
        align-self: stretch;
        width: 100%;
        margin-top: -18px;
    }

    .footer-right {
        width: 100%;
    }

    .footer-right .footer-section-title {
        display: none;
    }

    .footer-social {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 24px;
    }

    .footer-social-icon,
    .footer-social-icon-pinterest {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

    .instagram-section {
        background: #fff;
        padding: 24px 32px 44px;
    }

    .instagram-section-content {
        width: 100%;
        max-width: 100%;
    }

    .instagram-title {
        margin-bottom: 18px;
        font-size: 26px;
        line-height: 28px;
        text-align: center;
    }

    .instagram-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .instagram-item {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .footer-bottom {
        background: #fff;
        min-height: 64px;
        padding: 12px 16px;
        border-top: 1px solid #e3e1e0;
    }

    .footer-bottom-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-link {
        text-decoration: underline;
    }

    /*
     * marks-birthday (events4): мобільна мозаїка — порядок і висоти з макету.
     * Секція .mb-mosaic лише на цій сторінці; селектори з events4, щоб не зачепити інші кейси.
     */
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle 62-1.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2062-1.jpg"] {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 408px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle 68.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2068.jpg"] {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        height: 208px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
        transform: none !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle 63.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2063.jpg"] {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        height: 478px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle 67.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2067.jpg"] {
        grid-column: 1 !important;
        grid-row: 6 !important;
        width: 100% !important;
        height: 204px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
    }

    /* 4-й повнорядковий блок — 69; 2×2 моб: зліва 144+204, справа 168+112 */
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle 69.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2069.jpg"] {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        width: 100% !important;
        height: 501px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle 70.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2070.jpg"] {
        grid-column: 1 !important;
        grid-row: 5 !important;
        width: 100% !important;
        height: 144px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
    }

    /* events4 моб: 65+66 у стеку — gap 16px, вирівнювання відносно лівої колонки 144+204 */
    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        grid-column: 2 !important;
        grid-row: 5 / span 2 !important;
        align-self: center !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="events4"] {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        grid-column: unset !important;
        grid-row: unset !important;
        align-self: stretch !important;
        aspect-ratio: unset !important;
        max-height: none !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle 65.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle%2065.jpg"] {
        height: 168px !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle 66.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic .mb-mosaic-right-stack img[src*="events4"][src*="Rectangle%2066.jpg"] {
        height: 112px !important;
    }

    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="61-1.jpg"],
    .oa-columns.oa-columns-mosaic.mb-mosaic img[src*="events4"][src*="Rectangle%2061-1.jpg"] {
        grid-column: 1 / -1 !important;
        grid-row: 7 !important;
        width: 100% !important;
        height: 454px !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        align-self: start !important;
    }
}

/* Two .oa-photo-slider sections: shared scale CSS uses 100vw + calc(50% - 50vw) when vw ≥ 1300; below design width that margin mis-pulls — keep canvas-wide (matches portfolio-case-scale.css tablet band, wins cascade when this file loads last). */
@media (min-width: 740px) and (max-width: 1299.98px) {
    .oa-scale-canvas .oa-photo-slider {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
}

/* marks-birthday — tablet band */
@media (min-width: 740px) and (max-width: 1200px) {
    .oa-cta::before {
        content: "";
        position: absolute;
        left: 62%;
        top: -47px;
        transform: translateX(-50%);
        width: 798px;
        height: 674px;
        background: #fff;
        z-index: 0;
    }
}

/* Планшет 740–1130: sticky CTA — цей файл після portfolio-case-scale; фіксуємо внутрішній padding і вимикаємо clip (як моб. бар 96px зліва) */
@media (min-width: 740px) and (max-width: 1130px) {
    .pf-sticky-cta-inner {
        padding: 0 16px 0 96px !important;
        -webkit-clip-path: none !important;
        clip-path: none !important;
    }
}
