:root {

  --a1-s: 0.7;


  --a1-topbar-bg: #f9f9f9;
  --a1-topbar-text: #0b0b0b;
  --a1-topbar-icon: #a40a0d;
  --a1-divider: #d9dae0;
  --a1-header-bg: #81121f;
  --a1-btn-bg: #ffffff;
  --a1-btn-text: #93080a;
  --a1-footer-bg: #650d1a;
  --a1-footer-rule: #410810;
  --a1-white: #ffffff;


  --a1-font: "helvetica-w01-roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;   
}
.a1-footer { margin-top: auto; }               
.MemberPage { padding: 0 24px; }               
@media (max-width: 575px) { .MemberPage { padding: 0 16px; } }

.a1-header, .a1-footer,
.a1-header *, .a1-footer * { box-sizing: border-box; }

.a1-header, .a1-footer {
  font-family: var(--a1-font);
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.a1-wrap {
  width: 100%;
  padding: 0 calc(37px * var(--a1-s));
}

.a1-icon { flex-shrink: 0; display: block; }
.a1-logo:hover, .a1-logo:focus { text-decoration: none; }


.a1-topbar { background: var(--a1-topbar-bg); }
.a1-topbar .a1-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: calc(64px * var(--a1-s));
}
.a1-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: calc(21px * var(--a1-s));
  color: var(--a1-topbar-text);
  font-size: max(12px, calc(18px * var(--a1-s)));
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
a.a1-topbar__item:hover,
a.a1-topbar__item:focus,
a.a1-topbar__item:focus-visible { color: var(--a1-topbar-icon); text-decoration: none; }
.a1-topbar__item .a1-icon {
  width: calc(31px * var(--a1-s));
  height: calc(31px * var(--a1-s));
  color: var(--a1-topbar-icon);
}
.a1-topbar__item--store { gap: calc(23px * var(--a1-s)); }
.a1-topbar__sep {
  width: 1px;
  height: calc(33px * var(--a1-s));
  background: var(--a1-divider);
  margin: 0 calc(47px * var(--a1-s)) 0 calc(40px * var(--a1-s));
}


.a1-mainbar { background: var(--a1-header-bg); }
.a1-mainbar .a1-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: calc(148px * var(--a1-s));
}
.a1-logo {
  display: inline-block;
  line-height: 0;
  margin-left: calc(10px * var(--a1-s));
  flex-shrink: 1;
  min-width: 0;
}
.a1-logo img {
  display: block;
  width: calc(471px * var(--a1-s));
  max-width: 100%;
  height: auto;
}

.a1-chat {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: calc(76px * var(--a1-s));
  padding: 0 calc(23px * var(--a1-s)) 0 calc(25px * var(--a1-s));
  background: var(--a1-btn-bg);
  color: var(--a1-btn-text);
  border-radius: calc(8px * var(--a1-s));
  font-size: max(12px, calc(20px * var(--a1-s)));
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .2s ease;
}
.a1-chat:hover,
.a1-chat:focus,
.a1-chat:focus-visible { color: var(--a1-btn-text); text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.a1-chat__icon {
  width: calc(41px * var(--a1-s));
  height: calc(44px * var(--a1-s));
  margin-right: calc(21px * var(--a1-s));
}
.a1-chat__arrow {
  width: calc(25px * var(--a1-s));
  height: calc(21px * var(--a1-s));
  margin-left: calc(26px * var(--a1-s));
}
.a1-chat__short { display: none; }


.a1-footer {
  background: var(--a1-footer-bg);
  border-top: calc(11px * var(--a1-s)) solid var(--a1-footer-rule);
  color: var(--a1-white);
  text-align: center;
}
.a1-footer .a1-wrap {
  min-height: calc(155px * var(--a1-s));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(12px * var(--a1-s));
  padding-bottom: calc(12px * var(--a1-s));
}
.a1-footer__links {
  list-style: none;
  margin: 0 0 calc(14px * var(--a1-s));
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.a1-footer__links li { display: flex; align-items: center; }
.a1-footer__links li + li::before {
  content: "";
  display: block;
  width: 2px;
  height: calc(24px * var(--a1-s));
  background: var(--a1-white);
  margin: 0 calc(50px * var(--a1-s)) 0 calc(42px * var(--a1-s));
}
.a1-footer__links a {
  color: var(--a1-white);
  font-size: max(13px, calc(23px * var(--a1-s)));
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}
.a1-footer__links a:hover,
.a1-footer__links a:focus,
.a1-footer__links a:focus-visible { color: var(--a1-white); text-decoration: underline; }
.a1-footer__copy {
  margin: 0;
  font-size: max(12px, calc(17.3px * var(--a1-s)));
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
}


@media (max-width: 991px) {
  :root { --a1-s: 0.6; }
}


@media (max-width: 767px) {
  :root { --a1-s: 0.5; }
  .a1-topbar .a1-wrap { justify-content: center; }
  .a1-chat__long, .a1-chat__arrow { display: none; }
  .a1-chat__short { display: inline; }
  .a1-chat { height: 34px; padding: 0 12px; font-size: 14px; }
  .a1-chat__icon { width: 20px; height: 21px; margin-right: 8px; }

  .a1-footer .a1-wrap { padding-top: 18px; padding-bottom: 18px; }
  .a1-footer__links { flex-direction: column; gap: 6px; margin-bottom: 10px; }
  .a1-footer__links li + li::before { content: none; }
  .a1-footer__links a { font-size: 15px; }
  .a1-footer__copy { font-size: 12px; }
}


@media (max-width: 575px) {
  .a1-wrap { padding: 0 16px; }
  .a1-logo { margin-left: 0; }
  .a1-logo img { width: 170px; }
  .a1-topbar .a1-wrap { min-height: 34px; }
  .a1-topbar__item { font-size: 12px; gap: 6px; }
  .a1-topbar__item .a1-icon { width: 16px; height: 16px; }
  .a1-topbar__sep { height: 16px; margin: 0 14px; }
  .a1-mainbar .a1-wrap { min-height: 64px; gap: 10px; }
}


@media (max-width: 379px) {
  .a1-topbar__sep { margin: 0 8px; }
  .a1-logo img { width: 145px; }
  .a1-chat__short { display: none; }
  .a1-chat { padding: 0 8px; }
  .a1-chat__icon { margin-right: 0; }
}
