.ba {
  --ink: #211913;
  --soft: #62574e;
  --paper: #fffdfa;
  --wash: #f7f1e9;
  --line: #e7dcd0;
  --accent: #991f1b;
  --accent-hover: #751713;
  --accent-wash: #f5e7e2;
  --size: 1160px;
  color: var(--ink);
  font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}

.ba, .ba *, .ba *::before, .ba *::after { box-sizing: border-box; }
.ba [hidden] { display: none !important; }
.ba a { color: inherit; text-decoration: none; }
.ba a:focus-visible, .ba summary:focus-visible, .ba [role="button"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.ba :focus-visible { box-shadow: none; }
.ba img { display: block; max-width: 100%; }

.ba-frame { width: min(var(--size), calc(100% - 64px)); margin-inline: auto; }
.ba-header { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.ba-topbar { position: relative; min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.3vw, 28px); }
.ba-logo { flex: none; display: inline-flex; align-items: center; padding: 4px 0; }
.ba-logo img { width: 138px; max-height: 45px; object-fit: contain; }
.ba-nav, .ba-tools { display: flex; align-items: center; }
.ba-header .ba-nav { justify-content: center; gap: clamp(10px, 1.6vw, 24px); }
.ba-tools { gap: 12px; }
.ba-header .ba-nav a, .ba-header .ba-menu-panel > a, .ba-header .ba-header-account, .ba-header .ba-lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ba-header .ba-nav a:hover, .ba-header .ba-menu-panel > a:hover, .ba-header .ba-header-account:hover, .ba-header .ba-lang:hover,
.ba-header .ba-nav a[aria-current="page"], .ba-header .ba-menu-panel > a[aria-current="page"] {
  color: var(--accent) !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.ba-header button.ba-header-account { font-family: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ba-header button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.ba-header .ba-signout-status { max-width: 14ch; color: var(--accent); font-size: 12px; }
.ba-header .ba-lang { justify-content: center; min-width: 46px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 9px; }
.ba-header .ba-header-cta { min-height: 44px; padding: 8px 13px; font-size: 14px; white-space: nowrap; }
.ba-menu { display: none; }
.ba .ba-menu > summary { display: flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; background: var(--paper); }
.ba .ba-menu > summary::after { content: none; }
.ba .ba-menu[open] > summary { background: var(--accent-wash); border-color: #d5b5ae; }
.ba-menu-panel { position: absolute; z-index: 8; top: calc(100% + 4px); right: 0; width: min(100%, 405px); max-height: calc(100dvh - 92px); overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 16px 34px rgb(45 26 18 / .14); }
.ba-header .ba-menu-panel > a { display: flex; padding-inline: 10px; border-radius: 6px; }
.ba-header .ba-menu-panel > a:hover { background: var(--wash); }
.ba-menu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 15px; padding: 11px 4px 0; border-top: 1px solid var(--line); }
.ba-menu-actions .ba-header-account { padding-inline: 6px; }
.ba-skip { position: absolute; top: 10px; left: 16px; z-index: 30; padding: 10px 16px; border-radius: 7px; background: var(--paper); transform: translateY(-160%); }
.ba-skip:focus { transform: translateY(0); }

.ba-btn {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 17px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  font: 750 15px/1.25 "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}
.ba-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

@media (max-width: 920px) {
  .ba-topbar { grid-template-columns: 1fr auto; gap: 12px; min-height: 67px; }
  .ba-topbar > .ba-nav, .ba-tools > .ba-header-account, .ba-tools > .ba-header-cta, .ba-tools > .ba-signout { display: none; }
  .ba-menu { display: block; }
}

@media (max-width: 780px) {
  .ba-frame { width: calc(100% - 34px); }
  .ba-logo img { width: 124px; max-height: 42px; }
  .ba-tools { gap: 8px; }
}

@media (max-width: 380px) {
  .ba-tools { gap: 7px; }
}

.ba-footer { background: #251a18; color: #fff9f2; scroll-margin-top: 0; }
.ba-footer-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .83fr) minmax(0, 1.06fr); column-gap: clamp(22px, 3.3vw, 48px); row-gap: 25px; padding-block: clamp(34px, 6vw, 62px) 29px; }
.ba-footer .ba-footer-heading { margin: 0 0 7px; color: #ffd4b6; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ba-footer p { color: #e2cec2; font-size: 14px; }
.ba-footer .ba-footer-logo { width: fit-content; margin-bottom: 11px; padding: 8px 12px; border-radius: 8px; background: #fff9f2; }
.ba-footer-logo img { width: 122px; height: auto; object-fit: contain; }
.ba-footer-links, .ba-footer-contact address { display: flex; flex-direction: column; align-items: flex-start; }
.ba-footer-contact address { gap: 0; font-style: normal; }
.ba-footer-contact address p { margin-block: 6px 5px; }
.ba-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: #fff9f2 !important; font-size: 14px; }
.ba-footer-contact a { overflow-wrap: anywhere; }
.ba-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.ba-footer a:focus-visible { outline-color: #fff9f2; }
.ba-social-group { margin-top: 19px; }
.ba-socials { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ba-footer .ba-social-icon { display: grid; width: 44px; height: 44px; min-height: 44px; place-items: center; border: 1px solid #7a5f52; border-radius: 9px; color: #fff2e7; }
.ba-footer a.ba-social-icon:hover { background: #4c3025; border-color: #ffd4b6; }
.ba-footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 18px; border-top: 1px solid #684e43; padding-block: 9px 13px; }
.ba-footer-legal nav { display: flex; flex-wrap: wrap; column-gap: 20px; }


@media (max-width: 920px) {
  .ba-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 610px) {
  .ba-footer-brand, .ba-footer-contact { grid-column: 1 / -1; }
  .ba-footer-main { gap: 23px 16px; }
  .ba-footer-legal { align-items: flex-start; flex-direction: column; }
  .ba-footer-legal p { margin-top: 7px; }
}
