/* Bemazal theme adapter. Palette from the designer; layout/content preserved. */
body.bmg-active {
 --bmg-bg:#F7F2EB; --bmg-band:#EFE6D9; --bmg-card:#FFFDF9;
 --bmg-line:#E4D7C7; --bmg-ink:#2C241D; --bmg-secondary:#6A5D52;
 --bmg-kicker:#57382F; --bmg-accent:#B68D54; --bmg-hover:#CDA56A;
 --bmg-button:#866651; --bmg-muted:#AC998D; --bmg-dark:#1F1A16;
 --bs-body-bg:var(--bmg-bg); --bs-body-color:var(--bmg-ink);
 --bs-border-color:var(--bmg-line); --bs-link-color:var(--bmg-button);
 --bs-link-hover-color:var(--bmg-kicker); --bs-font-sans-serif:Heebo,Arial,sans-serif;
 background-color:var(--bmg-bg)!important;color:var(--bmg-ink);font-family:Heebo,Arial,sans-serif;
}
body.bmg-active :is(.site-main,.entry-content,.site-main>article){background-color:var(--bmg-bg)!important;}
body.bmg-active :is(.site-main,.site-header,.site-footer,.mobile-menu-wrapper,.news-sidebar-panel){font-family:Heebo,Arial,sans-serif!important;}
body.bmg-active :is(input,textarea,select,button){font-family:inherit;}
body.bmg-active .entry-content > :is(p,ul,ol){font-size:17px;line-height:1.75;color:var(--bmg-ink)!important;}
body.bmg-active .entry-content > :is(h1,h2,h3,h4,h5,h6),
body.bmg-active :is(.wp-block-heading,.wp-block-post-title,.entry-title){color:var(--bmg-ink)!important;font-family:Heebo,Arial,sans-serif!important;font-weight:500!important;}
body.bmg-active .entry-content > p a {color:var(--bmg-button)!important;text-decoration:underline;}
body.bmg-active .entry-content > p a:hover {color:var(--bmg-kicker)!important;}
/* Site chrome: match foreground and background together. */
body.bmg-active :is(.site-header,.site-header .navbar,.site-header .dropdown-menu,.mobile-menu-panel,.mobile-menu-nav,.news-sidebar-panel,.news-sidebar-content){background:var(--bmg-card)!important;color:var(--bmg-ink)!important;border-color:var(--bmg-line)!important;}
body.bmg-active :is(.site-header,.mobile-menu-wrapper) :is(.nav-link,.dropdown-item,.mobile-menu-brand,.mobile-menu-arrow,.mobile-menu-back,.mobile-menu-close){color:var(--bmg-ink)!important;}
body.bmg-active :is(.site-header,.mobile-menu-wrapper) :is(.nav-link,.dropdown-item):hover {background-color:var(--bmg-band)!important;color:var(--bmg-kicker)!important;}
body.bmg-active :is(.mobile-menu-header,.mobile-menu-back,.news-sidebar-header){background:var(--bmg-band)!important;color:var(--bmg-ink)!important;border-color:var(--bmg-line)!important;}
body.bmg-active .mobile-menu-nav.mobile-menu-ready .dropdown-menu {background-color:var(--bmg-card)!important;}
body.bmg-active .mobile-menu-toggle .hamburger-inner,
body.bmg-active .mobile-menu-toggle .hamburger-inner::before,
body.bmg-active .mobile-menu-toggle .hamburger-inner::after {background-color:var(--bmg-button)!important;}
body.bmg-active .mobile-menu-toggle.is-active .hamburger-inner {background-color:transparent!important;}
body.bmg-active .site-footer,
body.bmg-active .site-footer :is(.footer-content,.footer-bottom,.footer-search-section,.footer-logo-section){background:var(--bmg-band)!important;color:var(--bmg-ink)!important;border-color:var(--bmg-line)!important;}
body.bmg-active .site-footer :is(p,a,strong,h2,h3,h4,h5,h6,.footer-name,.footer-email,.footer-partner,.footer-regions){color:var(--bmg-ink)!important;}
body.bmg-active .site-footer .footer-column .widget-title {background:var(--bmg-card)!important;color:var(--bmg-kicker)!important;border:1px solid var(--bmg-line)!important;border-radius:10px;font-weight:500!important;}
body.bmg-active .site-footer :is(li,.footer-divider){border-color:var(--bmg-line)!important;}
body.bmg-active .site-footer a:hover {color:var(--bmg-kicker)!important;}
body.bmg-active .site-footer :is(.social-icon,.whatsapp-icon,.btn-search),
body.bmg-active .news-sidebar-toggle {background:var(--bmg-button)!important;color:var(--bmg-card)!important;border-color:var(--bmg-button)!important;}
/* Form controls: retain validation borders and functional states. */
body.bmg-active :is(.site-main,.site-footer,.site-header) :is(.form-control,textarea,select,input[type=text],input[type=email],input[type=tel],input[type=search]) {background-color:var(--bmg-card)!important;color:var(--bmg-ink)!important;border-radius:8px;}
body.bmg-active :is(.form-control,textarea,select):not(.is-invalid):not(.is-valid){border-color:var(--bmg-line)!important;}
body.bmg-active :is(.form-control,input,textarea)::placeholder{color:var(--bmg-secondary)!important;opacity:1;}
body.bmg-active :is(input[type=checkbox],input[type=radio]){accent-color:var(--bmg-button);}
body.bmg-active :is(a,button,input,textarea,select):focus-visible {outline:2px solid var(--bmg-button);outline-offset:3px;}
/* Existing buttons, not gallery tiles / media controls. */
body.bmg-active :is(.wp-block-button__link,.pricing-button,.profile-cta__button,.brit-package-whatsapp,.bmz-video-gallery__btn,.rehovot-gallery-full-btn,.btn-primary,input[type=submit]) {
 background:linear-gradient(90deg,#866651,#AC998D)!important;color:#fff!important;
 border:1px solid var(--bmg-button)!important;border-radius:8px!important;
 font-family:Heebo,Arial,sans-serif!important;text-decoration:none!important;
}
body.bmg-active :is(.wp-block-button__link,.pricing-button,.profile-cta__button,.brit-package-whatsapp,.bmz-video-gallery__btn,.rehovot-gallery-full-btn,.btn-primary,input[type=submit]):hover{background:var(--bmg-button)!important;color:#fff!important;}
/* Cards and content surfaces already present in this theme. */
body.bmg-active :is(.pricing-card,.brit-package,.testimonial-card,.timeline-content,.card-content,.profile-cta__inner) {
 background:var(--bmg-card)!important;color:var(--bmg-ink)!important;border-color:var(--bmg-line)!important;
 border-radius:10px!important;box-shadow:0 2px 10px rgba(87,56,47,.05)!important;
}
body.bmg-active :is(.pricing-card,.brit-package,.testimonial-card,.timeline-content,.card-content,.profile-cta__inner) :is(h1,h2,h3,h4,h5,p,li,.pricing-price,.pricing-currency,.pricing-title,.testimonial-author,.card-title,.card-description,.timeline-title,.timeline-description,.profile-cta__heading,.profile-cta__description) {color:var(--bmg-ink)!important;font-family:Heebo,Arial,sans-serif!important;}
body.bmg-active :is(.pricing-card,.brit-package,.card-content,.timeline-content) :is(h2,h3,h4){font-weight:500!important;}
body.bmg-active :is(.pricing-badge,.timeline-dot,.brit-package:nth-child(n)::before){background:var(--bmg-accent)!important;}
body.bmg-active .pricing-card.is-popular {border-color:var(--bmg-accent)!important;}
body.bmg-active .pricing-card.is-popular::before {background:var(--bmg-accent)!important;}
body.bmg-active :is(.brit-package-label,.brit-package-note,.brit-addon span){background:var(--bmg-band)!important;color:var(--bmg-secondary)!important;border-color:var(--bmg-line)!important;}
body.bmg-active .brit-addon input:checked + span {background:var(--bmg-button)!important;color:#fff!important;}
body.bmg-active :is(.brit-package-divider,.brit-package-dot.is-active){background:var(--bmg-accent)!important;}
body.bmg-active :is(.brit-package-price,.brit-package-includes-title,.brit-package-addons-title){color:var(--bmg-ink)!important;}
body.bmg-active :is(.brit-package-addons-subtitle,.brit-packages-intro,.brit-packages-swipe){color:var(--bmg-secondary)!important;}
body.bmg-active :is(.rehovot-brit-gallery,.rehovot-venues,.brit-packages,.bmz-video-gallery) {background:var(--bmg-bg)!important;color:var(--bmg-ink)!important;font-family:Heebo,Arial,sans-serif!important;}
body.bmg-active :is(.rehovot-gallery-head,.rv-heading,.rv-row-head,.brit-packages-head,.bmz-video-gallery__head) :is(h1,h2,h3,p,span){color:var(--bmg-ink)!important;font-family:Heebo,Arial,sans-serif!important;}
body.bmg-active :is(.rehovot-gallery-head,.brit-packages-head,.bmz-video-gallery__head) :is(h1,h2,h3){font-weight:500!important;}
body.bmg-active .rv-item {background:var(--bmg-card)!important;border-color:var(--bmg-line)!important;color:var(--bmg-ink)!important;}
body.bmg-active .rv-slider {--rv-edge:var(--bmg-bg);}
/* Preserve contrast on photographs, video and modal viewers. */
body.bmg-active :is(.video-hero-content,.card-overlay,.wp-block-cover) :is(h1,h2,h3,p,a){color:var(--bmg-card)!important;}
body.bmg-active .rehovot-lightbox{background:rgba(31,26,22,.97)!important;}
/* Include prior width / background adjustments, without writing custom CSS. */
@media(min-width:960px){
 body.bmg-active.page #main-content.container {width:100%;max-width:none!important;padding-left:32px;padding-right:32px;box-sizing:border-box;}
 body.bmg-active.page #main-content .bm.rehovot-hero {width:100%;max-width:none!important;box-sizing:border-box;}
}
/* Long prose stays readable within full-width pages. */
body.bmg-active .entry-content > :is(p,ul,ol,h1,h2,h3,h4){max-width:1100px;margin-left:auto;margin-right:auto;}
@media(prefers-reduced-motion:reduce){body.bmg-active :is(.pricing-card,.testimonial-card,.timeline-content,.wp-block-button__link,.pricing-button,.profile-cta__button){transition:none!important;}}
