/* Protected collection: ketubah carousel structure in black and gold. */
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category{margin-block:36px 64px;background:#050505!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-heading h2{background:#080808!important;background-image:none!important;color:#dfc38b!important;border-color:#a88950!important;box-shadow:inset 0 0 0 4px #080808,0 4px 18px #0006!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-carousel-stage{padding-inline:54px!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-grid{display:grid!important;grid-template-columns:none!important;grid-template-rows:auto!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - (var(--mantle-columns) - 1)*20px)/var(--mantle-columns))!important;gap:20px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;padding:0 0 24px!important;scroll-padding:0;align-items:stretch!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-card{scroll-snap-align:start;aspect-ratio:auto!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls{display:contents!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls button{display:grid!important;position:absolute!important;top:calc(clamp(240px,32vw,440px)/2)!important;transform:translateY(-50%)!important;width:42px!important;height:70px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#d5b87b!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls button::before{border-color:#d5b87b!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls button:hover{color:#ffe3a9!important;filter:drop-shadow(0 0 5px #bc985755)}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-card>a>.mantle-gallery-media{height:clamp(240px,32vw,440px)!important;min-height:clamp(240px,32vw,440px)!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-mobile-counter-controls button{background:#080808!important;border-color:#b79552!important;color:#d5b87b!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-mobile-pagination{color:#d5b87b!important}
@media(max-width:1000px) and (min-width:651px){html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-grid{grid-auto-columns:calc((100% - 20px)/2)!important}}
@media(max-width:650px){
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-carousel-stage{padding-inline:30px!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-grid{grid-auto-columns:100%!important;gap:16px!important;align-items:start!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-heading h2{font-size:clamp(23px,6vw,32px)!important;padding-inline:18px!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls button{width:26px!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-card>a>.mantle-gallery-media{height:360px!important;min-height:360px!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls button{top:180px!important}
}

/* Tighter portrait tiles, retaining every mantle from top rim to hem. */
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-card>a>.mantle-gallery-media{height:auto!important;min-height:0!important;aspect-ratio:2/3!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-carousel-stage{container-type:inline-size}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-controls button{top:calc((100cqw - (var(--mantle-columns) - 1)*20px)/var(--mantle-columns)*.75)!important}

@media(max-width:1000px) and (min-width:651px){html body.kg-white.mantles-private.mantle-gallery-index .mantle-category{--mantle-columns:2!important}}
@media(max-width:650px){html body.kg-white.mantles-private.mantle-gallery-index .mantle-category{--mantle-columns:1!important}}

html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-heading{margin-bottom:38px!important}
html body.kg-white.mantles-private.mantle-gallery-index .kg-intro .mantle-daily-note{color:#d5b87b!important;font-size:clamp(16px,1.3vw,19px)!important;line-height:1.65!important;margin:18px auto 0!important;max-width:760px}
html[lang=en] body.mantles-private.mantle-gallery-index .mantle-category .kg-grid{direction:ltr!important}
html[lang=en] body.mantles-private .kg-card-copy{direction:ltr;text-align:center}
html[lang=en] body.mantles-private .mantle-category .kg-row-heading h2{font-size:clamp(24px,2.6vw,40px)!important}
@media(max-width:650px){html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-heading{margin-bottom:28px!important}}
/* Larger titles stay on one line; script fits long titles to their own tile. */
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-card-copy h2{font-size:var(--mantle-title-size,28px)!important;white-space:nowrap!important;line-height:1.35!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;min-width:0!important}
html body.kg-white.mantles-private.mantle-gallery-index .mantle-category .kg-row-heading h2{font-size:var(--mantle-title-size,44px)!important;white-space:nowrap!important;width:fit-content!important;max-width:100%!important;box-sizing:border-box!important;min-width:0!important}

html body.kg-white.mantles-private.mantle-gallery-index .kg-intro>p:not(.kg-eyebrow){font-size:clamp(22px,2vw,29px)!important;line-height:1.6!important;max-width:950px!important;margin:20px auto 0!important}

html body.kg-white.mantles-private.mantle-gallery-index .kg-intro{max-width:1100px!important}
html body.kg-white.mantles-private.mantle-gallery-index .kg-intro>p:not(.kg-eyebrow){font-size:var(--mantle-title-size,29px)!important;white-space:nowrap!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
