/* Scoped sister company dropdown for Bayern Center HC */
.bchc-sisters { position: relative; }
.bchc-sisters-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; background: transparent; color: #282828; font: 400 18px/1.25 Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.bchc-sisters-toggle:hover { color: #419a37; }
.bchc-sisters-toggle:focus-visible { outline: 2px solid #419a37; outline-offset: 5px; }
.bchc-sisters-chevron { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
.bchc-sisters-toggle[aria-expanded="true"] .bchc-sisters-chevron { transform: rotate(225deg); margin-top: 3px; }
.bchc-sisters-panel[hidden] { display: none !important; }
.bchc-sisters-panel { position: absolute; top: 37px; left: 0; z-index: 100; width: 330px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 6px 18px; border: 1px solid #eef0f1; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(18,28,35,.18), 0 2px 5px rgba(18,28,35,.06); }
.bchc-sisters-panel::before { content: ""; position: absolute; top: -8px; left: 36px; width: 14px; height: 14px; background: #fff; border-top: 1px solid #eef0f1; border-left: 1px solid #eef0f1; transform: rotate(45deg); }
.bchc-sisters-panel::after { content: ""; position: absolute; top: -18px; left: 0; width: 100%; height: 18px; }
.head .menu .bchc-sisters-panel > a.bchc-sisters-row,
.overlay .menu .bchc-sisters-panel > a.bchc-sisters-row { display: grid; grid-template-columns: 108px minmax(0,1fr); align-items: center; min-height: 104px; gap: 12px; box-sizing: border-box; padding: 14px 0; color: #18212b; text-decoration: none; border: 0; font: 700 18px/1.2 Arial, sans-serif; }
.bchc-sisters-row + .bchc-sisters-row { border-top: 1px solid #dce0e3 !important; }
.bchc-sisters-row:hover .bchc-sisters-name { color: #419a37; }
.bchc-sisters-row:focus-visible { outline: 2px solid #419a37; outline-offset: 2px; }
.head .menu .bchc-sisters-panel .bchc-sisters-name,
.overlay .menu .bchc-sisters-panel .bchc-sisters-name { display: block; color: inherit; }
.head .menu .bchc-sisters-panel .bchc-sisters-art,
.overlay .menu .bchc-sisters-panel .bchc-sisters-art { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 64px; border-left: 1px solid #dce0e3; padding-left: 12px; }
.bchc-sisters-panel .bchc-sisters-image { display: block; width: 100%; max-width: 180px; height: auto; max-height: 82px; object-fit: contain; filter: drop-shadow(0 2px 0 rgba(20,30,45,.20)) drop-shadow(0 4px 3px rgba(20,30,45,.24)); }
@media (min-width: 1025px) {
  /* Let the card extend below the original fixed-height header */
  #container > .head { overflow: visible; z-index: 50; }
  .head .menu ul.secondmenu > li { padding-left: 18px; padding-right: 18px; }
  .head .menu ul.secondmenu > li.noleftpadding { padding-left: 0; }
  .head .menu ul.secondmenu > li.norightpadding { padding-right: 18px; }
  .head .menu .secondmenu > .bchc-sisters { height: 45px; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .head .menu ul.secondmenu > li { padding-left: 10px; padding-right: 10px; }
  .head .menu ul.secondmenu > li.norightpadding { padding-right: 10px; }
  .head .menu ul.secondmenu > li > a, .head .bchc-sisters-toggle { font-size: 16px; }
  .head .bchc-sisters-panel { left: auto; right: 0; }
  .head .bchc-sisters-panel::before { left: auto; right: 70px; }
}
@media (max-width: 1024px) {
  #overlay.open { overflow-y: auto; }
  #overlay .menu { padding-bottom: 36px; }
  .overlay .bchc-sisters-toggle { color: #fff; font-size: 18px; min-height: 44px; white-space: normal; text-align: left; }
  .overlay .bchc-sisters-panel { position: relative; top: auto; left: auto; width: 330px; max-width: 100%; margin: 10px 0 16px; padding: 4px 12px; }
  .overlay .bchc-sisters-panel::after { display: none; }
  .overlay .menu .bchc-sisters-panel > a.bchc-sisters-row { grid-template-columns: 84px minmax(0,1fr); min-height: 88px; gap: 8px; font-size: 15px; padding: 12px 0; }
  .overlay .menu .bchc-sisters-panel .bchc-sisters-art { padding-left: 8px; min-height: 55px; }
}

/* Approved label treatment and compact desktop alignment */
.bchc-sisters-toggle { padding: 8px 12px; border-radius: 8px; background: #fff; box-shadow: 0 3px 10px rgba(18,28,35,.12); color: #18212b; font-weight: 700; text-decoration: underline; text-decoration-color: #f2d632; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.bchc-sisters-panel .bchc-sisters-image { filter: none; }
@media (min-width:1025px) {
 .head .menu ul.secondmenu { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
 .head .menu ul.secondmenu > li { float: none; flex: 0 0 auto; padding-left: 0; padding-right: 0; }
 .head .menu ul.secondmenu > li.norightpadding { padding-right: 0; }
 .head .menu ul.secondmenu > li > a { display: inline-block; padding-top: 8px; }
 .head .secondmenu .social { top: 0; }
 .head .bchc-sisters-panel { top: 49px; }
}
@media (max-width:1024px) {
 .overlay .bchc-sisters-toggle { color: #18212b; font-size: 16px; }
}

/* Original client-approved 3D artwork, no additional logo effects */
.bchc-sisters-panel .bchc-sisters-image { max-width: 155px; max-height: 92px; filter: none; transform: none; }

/* Bayern HC navigation: same typography and hover color as adjacent links */
.head .menu .bchc-sisters-toggle { appearance: none; display: inline-block; margin: 0; padding: 8px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #282828; font: 400 18px/normal sans-serif; font-family: sans-serif; font-size: 18px; font-weight: 400; line-height: normal; text-decoration: none; }
.head .menu .bchc-sisters-toggle:hover,
.head .menu .bchc-sisters-toggle[aria-expanded="true"] { color: #419a37; }
.bchc-sisters-chevron { display: none !important; }
.overlay .menu .bchc-sisters-toggle { background: transparent; box-shadow: none; border-radius: 0; padding: 0; color: #fff; font: 400 18px/normal sans-serif; text-decoration: none; }
@media (min-width:1025px) and (max-width:1200px) {
 .head .menu .bchc-sisters-toggle { font-size: 16px; }
}
