/* Shifobakhsh 46.63: shared header and announcement image sizing */
.sh-home-4660 .sh-header .mainnav { margin:0; }
.sh-home-4660 .announcement-archive-image { display:block!important; width:190px!important; max-width:100%!important; height:125px!important; object-fit:cover!important; object-position:center!important; }
.sh-home-4660 .announcement-detail-image { width:100%!important; max-width:540px!important; height:auto!important; object-fit:contain!important; }
@media(max-width:600px) { .sh-home-4660 .announcement-archive-image {width:160px!important;height:105px!important;} .sh-home-4660 .announcement-detail-image {max-width:100%!important;} }

/* 46.68: enlarge the official emblem in the shared site header only. */
.sh-home-4660 .sh-header .brand img.sh-logo[src*="shifobakhsh-emblem-4667.png"] {
  width:116px !important;
  height:88px !important;
  max-width:none !important;
  object-fit:contain !important;
  flex-shrink:0;
}
.sh-home-4660 .sh-header .brand { gap:9px !important; }
.sh-home-4660 .sh-header-row { min-height:110px; }
@media (max-width:680px) {
  .sh-home-4660 .sh-header .brand img.sh-logo[src*="shifobakhsh-emblem-4667.png"] {
    width:84px !important;
    height:66px !important;
  }
  .sh-home-4660 .sh-header-row { min-height:86px; }
}

/* 46.69: clickable hero navigation, preserving existing layout */
.sh-home-4660 .sh-hero-highlights>a{display:flex;align-items:center;gap:12px;padding:13px 5px;text-decoration:none;color:inherit;border-radius:10px;transition:background-color .2s ease,transform .2s ease;cursor:pointer}
.sh-home-4660 .sh-hero-highlights>a+a{border-top:1px solid #d4ecea;border-top-left-radius:0;border-top-right-radius:0}
.sh-home-4660 .sh-hero-highlights>a:hover{background:#e4f7f5;transform:translateX(-2px)}
.sh-home-4660 .sh-hero-highlights>a:focus-visible{outline:3px solid #087f86;outline-offset:2px;background:#e4f7f5}
.sh-home-4660 .sh-hero-highlights>a b{display:grid;place-items:center;flex:0 0 42px;height:42px;background:linear-gradient(135deg,#0ac0ae,#05677c);color:#fff;border-radius:13px;font-size:21px}
.sh-home-4660 .sh-hero-highlights>a strong{display:block;font-size:12px;color:#06445f;line-height:1.3}
.sh-home-4660 .sh-hero-highlights>a small{display:block;color:#567989;font-size:10px;margin-top:4px}
@media (prefers-reduced-motion:reduce){.sh-home-4660 .sh-hero-highlights>a{transition:none}}

/* 46.70: restore vertical stacking of clickable hero menu links. */
.sh-home-4660 .sh-hero-highlights {
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
.sh-home-4660 .sh-hero-highlights > a {
  display:flex !important;
  flex-direction:row !important;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  flex:0 0 auto !important;
}
.sh-home-4660 .sh-hero-highlights > a > span {min-width:0; flex:1 1 auto;}
@media (max-width:950px) { .sh-home-4660 .sh-hero-highlights {display:none !important;} }


/* 46.72 — mobile navigation: spaced links and smooth disclosure. */
@media (max-width:680px) {
  .sh-home-4660 .sh-header .navlist,
  .sh-home-4660 .mainnav .navlist {
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    gap:8px !important;
    max-height:0;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    padding:0 3px !important;
    margin:0 !important;
    pointer-events:none;
    transform:translateY(-7px);
    transition:max-height .38s ease,opacity .28s ease,transform .38s ease,visibility 0s linear .38s,padding .38s ease;
  }
  .sh-home-4660 .sh-header .navlist.is-open,
  .sh-home-4660 .mainnav .navlist.is-open {
    max-height:800px;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    padding:12px 3px 15px !important;
    transform:translateY(0);
    transition:max-height .42s ease,opacity .3s ease,transform .42s ease,visibility 0s;
  }
  .sh-home-4660 .navlist > li {width:100%;margin:0 !important;}
  .sh-home-4660 .navlist > li > a {
    display:block;
    padding:14px 15px !important;
    border-radius:10px !important;
    line-height:1.35;
    transition:background-color .18s ease,color .18s ease;
  }
  .sh-home-4660 .navlist > li > a:focus-visible {outline:2px solid #009d98;outline-offset:2px;}
}
@media (max-width:680px) and (prefers-reduced-motion:reduce) {
  .sh-home-4660 .navlist,
  .sh-home-4660 .navlist.is-open,
  .sh-home-4660 .navlist > li > a {transition:none !important;transform:none !important;}
}

/* 46.73 — Staff login visible on desktop only (width >= 1025px). */
@media (max-width:1024px) {
  body.public-site .sh-header a.sh-login { display:none !important; }
}
