/* Reserve the same outside page-flow clearance as the proven Birthday Frame.
   These margins belong to the Baby 2 section, not to Core media geometry. */
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square {
    margin-block: clamp(35px, 4.5vw, 72.5px);
}
@media (max-width: 767px) {
    .bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square {
        margin-block: clamp(18px, 5vw, 36px);
    }
}

/* 1.0.19: centre-cut, native-resolution mitred strips assembled into three transparent frame assets.
   The completed frame is the only element scaled by the browser. Core geometry remains unchanged. */
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square .bjc-frame-baseline-box {
    position: relative;
    isolation: isolate;
    border: max(var(--bjc-frame-baseline-thickness), 8px) solid transparent;
    border-radius: 0;
    padding: max(var(--bjc-frame-baseline-padding), 12px);
    background: transparent;
    box-shadow: none;
}
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square .bjc-frame-baseline-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    /* The artwork has an exactly 156px-wide opaque moulding on every edge.
       Nine-slice it at that measured boundary so its transparent opening
       tracks Core's existing padding + border at every frame size/ratio.
       No media geometry or renderer overrides. */
    border-style: solid;
    border-width: 0;
    border-image-slice: 156;
    border-image-width: calc(max(var(--bjc-frame-baseline-thickness), 8px) + max(var(--bjc-frame-baseline-padding), 12px));
    border-image-repeat: stretch;
}
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square .bjc-frame-baseline-box::before { border-image-source: url('frame.webp'); }
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square .bjc-frame-baseline-box::after { content: none; }
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square .bjc-frame-baseline-media,
.bjc-studio-section.bjc-studio-frame-design.bjc-studio-design-birthday-baby-2-square .bjc-studio-frame-footer-inside { position: relative; z-index: 2; }
