.kb-options{margin:28px auto 42px;width:100%}.kb-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kb-banner{display:block;width:100%;aspect-ratio:6/1;border:0;padding:0;cursor:pointer;background-color:#f6efdf;background-image:url('/assets/ketubah-banners-en.png');background-size:110.5% 441.4%;background-position:50% var(--kb-position);box-shadow:0 3px 10px #7a5a2722;transition:filter .2s,box-shadow .2s}.kb-banner:hover{filter:brightness(1.05);box-shadow:0 4px 14px #7a5a2740}.kb-banner:focus-visible,.kb-close:focus-visible{outline:2px solid #98712d;outline-offset:4px}.kb-panel{position:relative;margin-top:20px;padding:28px 32px;border:1px solid #c8aa6c;background:#fcf8ef;color:#473c2a;text-align:start}.kb-panel[hidden]{display:none}.kb-panel h2{font-family:Georgia,'Times New Roman',serif;font-size:26px;margin:12px 0}.kb-panel p{font-size:17px;line-height:1.8;margin:0;max-width:800px}.kb-close{display:block;margin-inline-start:auto;background:transparent;border:0;color:#765420;font:inherit;cursor:pointer;padding:6px 10px}@media(max-width:600px){.kb-row{gap:4px}.kb-options{margin:20px 0 30px}.kb-banner{min-height:35px;background-size:110.5% 441.4%}.kb-panel{padding:18px}.kb-panel h2{font-size:22px}}

/* Align with the product image and description, including wide desktop pages. */
.kg-white .kb-options{width:100%;max-width:1240px;box-sizing:border-box;margin-inline:auto}
.kb-row{width:100%;min-width:0;box-sizing:border-box}
.kb-banner{min-width:0;box-sizing:border-box;filter:brightness(1.09) saturate(.65);box-shadow:0 2px 7px #9d855013;background-color:#fffdf8}
.kb-banner:hover{filter:brightness(1.12) saturate(.65);box-shadow:0 3px 9px #9d855022}
.kb-panel{box-sizing:border-box;background:#fff;border:1px solid #d7b979;box-shadow:0 8px 26px rgba(90,62,20,.08)}
html .kg-white .kb-panel,html .kg-white .kb-panel-content,html .kg-white .kb-panel>h2{background-color:#fff}
.kb-panel-cta{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:24px;min-height:112px;margin:38px auto 4px;padding:18px 34px 18px 122px;overflow:hidden;border:1px solid #d7b979;border-radius:5px;background:#fff;color:#684617;text-decoration:none;box-shadow:inset 0 0 0 5px #fff,0 5px 18px rgba(90,62,20,.08);transition:border-color .25s,box-shadow .25s,transform .25s}.kb-panel-cta::after{content:'';position:absolute;inset:7px;z-index:-1;border:1px solid #eadfc9;pointer-events:none}.kb-panel-cta:hover{border-color:#b58a3e;box-shadow:inset 0 0 0 5px #fff,0 8px 24px rgba(90,62,20,.14);transform:translateY(-2px)}.kb-panel-cta-icon{position:absolute;left:10px;bottom:-7px;width:112px;height:112px;background-image:url('/assets/ketubah-floating-icons.png');background-size:200% 200%;background-repeat:no-repeat;filter:saturate(.72) brightness(1.04)}html[dir=rtl] .kb-panel-cta{padding:18px 122px 18px 34px}html[dir=rtl] .kb-panel-cta-icon{right:10px;left:auto}.kb-panel-cta-copy{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap;text-align:center}.kb-panel-cta-copy strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(22px,2vw,28px);font-weight:600}.kb-panel-cta-copy>span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 25px;border:1px solid #b98d42;border-radius:3px;background:#fff;color:#765420;font-size:18px;font-weight:700;transition:background .2s,color .2s}.kb-panel-cta:hover .kb-panel-cta-copy>span{background:#94702f;color:#fff}@media(max-width:600px){.kb-panel-cta,html[dir=rtl] .kb-panel-cta{min-height:126px;padding:68px 12px 14px}.kb-panel-cta-icon,html[dir=rtl] .kb-panel-cta-icon{top:-8px;right:calc(50% - 43px);left:auto;bottom:auto;width:86px;height:86px}.kb-panel-cta-copy{gap:10px}.kb-panel-cta-copy strong{width:100%;font-size:21px}.kb-panel-cta-copy>span{min-height:40px;font-size:17px}}

/* Taller ivory plaques with separate transparent animated artwork. */
.kg-white .kb-options{margin-top:62px}
.kb-row{gap:18px;overflow:visible}
.kg-white .kb-banner{position:relative;isolation:isolate;overflow:visible;aspect-ratio:auto;min-height:122px;padding:28px 94px 22px 14px;border:1px solid #deccaa;border-radius:5px;background-image:none;background:linear-gradient(120deg,#fffefd,#faf5e9);filter:none;box-shadow:inset 0 0 0 4px #fff,0 3px 12px #9d855015;color:#94713c}
.kg-white .kb-banner:hover{filter:none;background:linear-gradient(120deg,#fff,#fff9ec)}
.kb-banner::after{content:'';position:absolute;inset:7px;border:1px solid #e9ddc6;border-radius:2px;pointer-events:none;z-index:-1}
.kb-title{display:block;font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,1.65vw,27px);line-height:1.3;font-weight:400;text-align:center;text-wrap:balance}
.kb-floating-icon{position:absolute;right:-3px;top:-30px;width:112px;height:112px;background-image:url('/assets/ketubah-floating-icons.png');background-size:200% 200%;background-repeat:no-repeat;pointer-events:none;animation:kb-float 5.5s ease-in-out infinite;transform-origin:center 70%;filter:saturate(.7) brightness(1.04)}
@keyframes kb-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-6px) rotate(1deg)}}
@media(max-width:900px){.kb-row{gap:10px}.kg-white .kb-banner{min-height:130px;padding:65px 7px 14px}.kb-floating-icon{right:calc(50% - 43px);width:86px;height:86px;top:-25px}.kb-title{font-size:18px}}
@media(max-width:600px){.kb-row{gap:5px}.kg-white .kb-banner{min-height:112px;padding:49px 4px 10px}.kb-floating-icon{right:calc(50% - 33px);width:66px;height:66px;top:-20px}.kb-title{font-size:clamp(12px,3vw,17px);overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.kb-floating-icon{animation:none}}

html .kg-white .kb-banner,html .kg-white .kb-banner:hover{background:#fff;filter:none;border-color:#dfccaa;box-shadow:inset 0 0 0 4px #fff,0 3px 10px #94713c0b}
.kb-title{color:#684617;font-weight:600;text-shadow:0 1px 0 #fff;font-size:clamp(19px,1.7vw,28px)}
.kb-title::after{content:'';display:block;width:85%;height:20px;margin:9px auto 0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' fill='none' stroke='%23b98d42' stroke-width='1.2'%3E%3Cpath d='M0 12h65c12 0 14-9 23-7 12 3 4 15-2 10-6-5 5-12 14-3 9-9 20-2 14 3-6 5-14-7-2-10 9-2 11 7 23 7h65M92 12l8-7 8 7-8 7z'/%3E%3Ccircle cx='100' cy='12' r='2' fill='%23b98d42' stroke='none'/%3E%3C/svg%3E")}
@media(max-width:900px){.kb-title{font-size:19px}.kb-title::after{height:16px;margin-top:7px}}
@media(max-width:600px){.kb-title{font-size:clamp(13px,3.1vw,17px)}.kb-title::after{width:90%;height:13px}}

.kg-related>h2{display:flex;align-items:center;justify-content:center;gap:22px;color:#a47b32;font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.2vw,44px);font-weight:500;line-height:1.3;text-align:center}
.kg-related>h2::before,.kg-related>h2::after{content:'';display:block;flex:0 1 120px;height:16px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 18' fill='none' stroke='%23c3a364' stroke-width='1'%3E%3Cpath d='M0 9h103c8 0 10-6 17-4 8 2 3 10-2 7-5-3 2-8 9-3h13'/%3E%3C/svg%3E")}
.kg-related>h2::before{transform:scaleX(-1)}
@media(max-width:650px){.kg-related>h2{font-size:32px;gap:12px}.kg-related>h2::before,.kg-related>h2::after{flex-basis:55px}}

/* Lower floating illustrations and remove the neighbouring sprite fragment. */
.kb-floating-icon{top:-8px;right:8px}
.kb-banner:nth-child(2) .kb-floating-icon{clip-path:inset(0 0 0 9%)}
@media(max-width:900px){.kb-floating-icon{top:-6px;right:calc(50% - 43px)}}
@media(max-width:600px){.kb-floating-icon{top:-5px;right:calc(50% - 33px)}}

.kg-white .kb-banner{transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.kg-white .kb-banner::before{content:'';position:absolute;inset:7px;z-index:-1;border-radius:2px;pointer-events:none;background:linear-gradient(112deg,transparent 0%,transparent 40%,rgba(196,151,64,.06) 45%,rgba(255,229,158,.48) 50%,rgba(181,128,38,.12) 55%,transparent 60%,transparent 100%);background-size:280% 100%;background-position:140% 0;animation:kb-gold-shine 7.5s ease-in-out infinite;animation-delay:var(--kb-shine-delay,0s)}
@keyframes kb-gold-shine{0%,58%{background-position:140% 0}82%,100%{background-position:-140% 0}}
.kb-panel>h2{color:#684617;font-size:clamp(28px,3vw,38px);text-align:center;margin:8px auto 26px}.kb-panel>h2::after,.kb-panel-content h3::after{display:none!important;content:none!important}.kb-panel-content{max-width:940px;margin-inline:auto}.kb-panel-content h3{margin:34px 0 12px;color:#7b551d;font-family:Georgia,'Times New Roman',serif;font-size:clamp(23px,2.25vw,29px);font-weight:600;line-height:1.4}.kb-panel-content h3:first-child{margin-top:8px}.kb-panel-content p{margin:0 0 18px;max-width:none;color:#342d24;font-size:clamp(18px,1.55vw,21px);line-height:1.9}.kb-close{position:absolute;top:16px;inset-inline-end:18px;width:44px;height:44px;margin:0;padding:0;border:1px solid #b98d42;border-radius:50%;background:#fff;color:#7b551d;font-family:Arial,sans-serif;font-size:32px;line-height:38px;text-align:center;box-shadow:0 3px 12px rgba(91,60,13,.14);transition:background .2s,color .2s,transform .2s}.kb-close:hover{background:#9b722f;color:#fff;transform:scale(1.05)}@media(max-width:600px){.kb-panel{padding:68px 20px 24px}.kb-close{top:14px;inset-inline-end:14px}.kb-panel-content p{font-size:18px;line-height:1.8}.kb-panel-content h3{font-size:23px}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
html .kg-white .kb-banner:hover{transform:translateY(-5px);border-color:#b48b43;box-shadow:inset 0 0 0 4px #fff,0 9px 22px #94713c25}
.kb-banner:hover::after{border-color:#c6a562;transition:border-color .3s ease}
}
@media(prefers-reduced-motion:reduce){.kg-white .kb-banner{transition:none}.kg-white .kb-banner::before{animation:none;background:none}}

.kb-mobile-ring{display:none}
@media(max-width:650px){
.kg-white .kb-options{margin:28px auto 36px;max-width:440px}
.kb-options .kb-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
html .kg-white .kb-banner,html .kg-white .kb-banner:hover{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;min-height:0;padding:7px 4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;overflow:visible}
.kb-banner::after{display:none}
.kb-options .kb-floating-icon{position:relative;top:auto;right:auto;width:98px;height:98px;flex:none;margin:0;animation:none;transform:none;filter:saturate(.75) brightness(1.04)}
.kb-options .kb-mobile-ring{display:block;position:absolute;top:0;left:calc(50% - 56px);width:112px;height:112px;pointer-events:none;overflow:visible}
.kb-mobile-ring circle{fill:none;stroke:#b28a42;stroke-width:1.2}
.kb-mobile-ring .kb-ring-track{stroke:#e9dcc3;stroke-width:.8}
.kb-mobile-ring .kb-ring-inner{stroke:#ded0b2;stroke-width:.7}
.kb-mobile-ring .kb-ring-motion{stroke-width:1.7;stroke-dasharray:72 28;stroke-linecap:round;transform-origin:center;animation:kb-ring-turn 8s linear infinite}
.kb-options .kb-title{font-size:19px;line-height:1.45;color:#684617;font-weight:600;text-align:center;overflow-wrap:normal;padding-top:1px}
.kb-title::after{display:none}
.kb-banner:focus-visible{outline:2px solid #b28a42;outline-offset:5px;border-radius:9px}
}
@keyframes kb-ring-turn{from{transform:rotate(-90deg)}to{transform:rotate(270deg)}}
@media(max-width:360px){.kb-options .kb-title{font-size:17px}.kb-options .kb-row{column-gap:8px}}
@media(prefers-reduced-motion:reduce){.kb-mobile-ring .kb-ring-motion{animation:none}}

.kb-panel .kb-close-bottom{position:static;display:block;width:max-content;max-width:100%;margin:28px auto 0;padding:10px 20px;border:1px solid #c9ae79;border-radius:5px;background:#fff;color:#765420;font:inherit;cursor:pointer;line-height:1.5}
.kb-panel .kb-close-bottom:hover{background:#fcf8ef}

/* Match the contact action to the ivory-and-gold option buttons above. */
.kb-panel .kb-panel-cta{background:#fff;color:#684617;border-color:#dfccaa;box-shadow:inset 0 0 0 4px #fff,0 3px 10px #94713c16}
.kb-panel .kb-panel-cta::after{border-color:#e9ddc6}
.kb-panel .kb-panel-cta-copy strong{color:#684617}
.kb-panel .kb-panel-cta-copy>span{background:#fff;color:#765420;border-color:#b98d42}
.kb-panel .kb-panel-cta:hover{border-color:#b48b43;box-shadow:inset 0 0 0 4px #fff,0 8px 20px #94713c22}
.kb-panel .kb-panel-cta:hover .kb-panel-cta-copy>span{background:#94702f;color:#fff}

.kb-section-figure{margin:16px 0 24px;width:100%;overflow:hidden;border:1px solid #e5d9c1;border-radius:5px;background:#faf7f0}.kb-section-figure img{display:block;width:100%;height:clamp(200px,26vw,340px);object-fit:cover}@media(max-width:650px){.kb-section-figure{margin:12px 0 20px}.kb-section-figure img{height:210px}}
.kb-section-figure figcaption{padding:14px 18px 12px;background:#fff;text-align:center;color:#4b3a24;line-height:1.45}.kb-section-figure figcaption strong{display:block;font-size:clamp(17px,1.45vw,20px);font-weight:600}.kb-section-figure figcaption small{display:block;margin-top:5px;color:#8b7a60;font-size:12px;font-weight:400}

/* Compact black-and-gold contact action, with icon on the right in both languages. */
.kb-panel .kb-panel-cta,html[dir=rtl] .kb-panel .kb-panel-cta{display:flex;flex-direction:row;direction:rtl;align-items:center;justify-content:center;gap:18px;min-height:0;height:auto;max-width:440px;margin:26px auto 4px;padding:10px 22px;box-sizing:border-box}
.kb-panel .kb-panel-cta-icon,html[dir=rtl] .kb-panel .kb-panel-cta-icon{position:static;inset:auto;display:block;width:56px;height:56px;flex:0 0 56px;margin:0;background-size:200% 200%}
.kb-panel .kb-panel-cta-copy{display:block;direction:inherit;font:600 21px/1.4 Arial,sans-serif;color:#efd69a;white-space:nowrap}
@media(max-width:600px){.kb-panel .kb-panel-cta,html[dir=rtl] .kb-panel .kb-panel-cta{gap:14px;padding:8px 18px;max-width:340px}.kb-panel .kb-panel-cta-icon,html[dir=rtl] .kb-panel .kb-panel-cta-icon{width:48px;height:48px;flex-basis:48px}.kb-panel .kb-panel-cta-copy{font-size:19px}}
