.academy-top-banner,.academy-top-banner a,.academy-top-banner a:hover,.academy-top-banner a:focus,#academy-top-banner-close{color:#173348!important}
.academy-top-banner a{text-decoration:underline}
.site-footer{background-color:#315a77!important;color:#fff!important}
.site-footer a,.site-footer .genesis-nav-menu a{color:#fff!important}
.site-footer a:hover,.site-footer a:focus,.site-footer .current-menu-item>a{color:#f3dc65!important;text-decoration:underline}
.gform_wrapper a{color:#285675!important;text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #173348!important;outline-offset:3px;box-shadow:0 0 0 5px #fff!important}
.genesis-skip-link a:focus,#pojo-a11y-skip-content:focus{background:#fff!important;color:#173348!important;z-index:100001}
iframe[src*="google.com/maps"]{max-width:100%}
#cliSettingsPopup .cli-modal-content{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto}
#cliSettingsPopup .cli-modal-close:focus-visible{outline-offset:-4px}

/* 1.0.2: readable contact details independent of the background photograph. */
.page-id-16 .wp-block-cover.contact-cover .wp-block-cover__inner-container {
 background:#173348; padding:24px; border-radius:4px;
}
.page-id-16 .wp-block-cover.contact-cover .wp-block-cover__inner-container p,
.page-id-16 .wp-block-cover.contact-cover .wp-block-cover__inner-container a {
 color:#fff!important;
}
.page-id-16 .wp-block-cover.contact-cover .wp-block-cover__inner-container a {
 text-decoration:underline; text-underline-offset:.15em;
}
@media(max-width:480px){
 .page-id-16 .wp-block-cover.contact-cover .wp-block-cover__inner-container{padding:16px;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
 html:focus-within{scroll-behavior:auto}
 .genesis-skip-link a,#pojo-a11y-skip-content{scroll-behavior:auto}
}

/* 1.0.3: stretch the colored panels to their full grid cell, at every width. */
.home .ab-layout-service-3 > .ab-layout-column-wrap {
 align-items:stretch!important; gap:0!important;
}
.home .ab-layout-service-3 > .ab-layout-column-wrap > .ab-block-layout-column {
 display:flex!important; align-self:stretch!important; margin:0!important;
}
.home .ab-layout-service-3 > .ab-layout-column-wrap > .ab-block-layout-column > .ab-block-layout-column-inner {
 flex:1 1 auto; width:100%; margin:0!important; box-sizing:border-box;
 display:flex; flex-direction:column; justify-content:center;
}
.home .ab-layout-service-3 { margin-top:0!important; margin-bottom:0!important; }
.home .ab-layout-service-3 .ab-has-custom-text-color {color:#173348!important}
.home .ab-layout-service-3 .ab-has-custom-text-color p {color:inherit!important}
@media(max-width:767px){
 .home .ab-layout-service-3 > .ab-layout-column-wrap {grid-template-columns:minmax(0,1fr)!important}
 .home .ab-layout-service-3 .ab-block-layout-column-inner {min-width:0}
 .home .ab-layout-service-3 p.wp-block-heading {font-size:clamp(22px,5vw,30px)!important;line-height:1.4!important}
}

/* 1.0.4: report findings and related footer icon contrast. */
.home .entry-content a[href^="tel:"],
.home .entry-content a[href^="tel:"]:hover,
.home .entry-content a[href^="tel:"]:focus {
 color:#173348!important;text-decoration:underline;text-underline-offset:.15em;
}
.entry-content a.ab-button[href="mailto:rafi@samlaw.co.il"],
.entry-content a.ab-button[href="mailto:rafi@samlaw.co.il"]:visited {
 background-color:#315a77!important;color:#fff!important;
}
.entry-content a.ab-button[href="mailto:rafi@samlaw.co.il"]:hover,
.entry-content a.ab-button[href="mailto:rafi@samlaw.co.il"]:focus {
 background-color:#173348!important;color:#fff!important;text-decoration:underline;
}
#footer-cta .simple-social-icons ul li a,
#footer-cta .simple-social-icons ul li a:hover,
#footer-cta .simple-social-icons ul li a:focus {
 background-color:#e2cb2a!important;color:#173348!important;
}
#footer-cta .simple-social-icons svg {fill:currentColor}

/* 1.0.5: fit the 300px legacy logo inside narrow header padding. */
@media(max-width:400px){
 .site-header .wrap{padding-left:20px;padding-right:20px}
 .site-header .title-area,.site-header .site-title,.site-header .site-title a{
  max-width:100%;min-width:0;box-sizing:border-box;
 }
}
/* Keep the cookie notice scrollable rather than covering the entire short viewport. */
#cookie-law-info-bar{max-height:45vh;max-height:45dvh;overflow-y:auto;box-sizing:border-box}
