/* Header & footer — SkyTech (load sau front/category) */

.st-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100000;
  padding: 12px 18px;
  background: var(--st-brand, #0e76bc);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(14, 118, 188, 0.45);
  transition: top 0.2s ease;
}

.st-skip-link:focus {
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* —— Top bar —— */
.st-topbar {
  position: relative;
  z-index: 50;
  background: linear-gradient(
    90deg,
    var(--st-topbar-start, #001d3d) 0%,
    var(--st-brand, #0e76bc) 42%,
    var(--st-brand-light, #5eb3e0) 100%
  );
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.st-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding: 0.45rem 0;
}

.st-topbar__msg {
  margin: 0;
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.st-topbar__hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.25rem 0.65rem 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  white-space: nowrap;
}

.st-topbar__hotline a {
  color: #fff;
  text-decoration: none;
}

.st-topbar__hotline a:hover {
  text-decoration: underline;
}

.st-topbar__hotline svg {
  flex-shrink: 0;
  opacity: 0.95;
}

/* —— Main header —— */
.st-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(207, 232, 245, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 4px 20px rgba(0, 29, 61, 0.04);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.st-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 28px rgba(0, 29, 61, 0.08);
}

.st-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.35rem);
  padding: 0.7rem 0;
  min-height: 72px;
}

/* Bọc menu — desktop: hàng nav tối giản; mobile: full width dưới logo */
.st-header__nav-shell {
  justify-self: center;
  width: 100%;
  max-width: min(100%, 56rem);
  display: flex;
  justify-content: center;
  min-width: 0;
}

.st-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.st-logo:hover .st-logo__name {
  color: var(--st-brand, #0e76bc);
}

.st-logo__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--st-brand-light, #5eb3e0), var(--st-brand, #0e76bc));
  box-shadow: 0 10px 26px rgba(14, 118, 188, 0.35);
}

.st-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  min-width: 0;
}

.st-logo__name {
  font-size: clamp(1.12rem, 2.2vw, 1.38rem);
  font-weight: 900;
  color: var(--st-navy, #001d3d);
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.st-logo--image .st-logo__mark {
  display: none;
}

.st-logo--image .st-logo__text {
  display: none;
}

.st-logo--image img {
  display: block;
  max-height: 52px;
  width: auto;
}

/* Logo file trong theme (Images/logo.png …) */
.st-logo--bundle {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

.st-logo__figure {
  display: flex;
  align-items: center;
  line-height: 0;
}

.st-logo--bundle .st-theme-logo-img {
  display: block;
  max-height: 50px;
  width: auto;
  max-width: min(220px, 46vw);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.st-footer__brand-head--logo {
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.st-footer__brand-img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.st-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--st-line, #cfe8f5);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.st-menu-toggle:hover {
  background: var(--st-menu-hover-bg, #eef6fb);
  border-color: var(--st-line-2, #b8dcee);
}

.st-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--st-brand, #0e76bc);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.st-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.st-nav > ul,
.st-nav .st-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.st-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #20415e;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

/* Underline animation từ giữa */
.st-nav a::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--st-brand, #0e76bc), var(--st-brand-light, #5eb3e0));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  pointer-events: none;
}

.st-nav a:hover,
.st-nav a:focus-visible {
  color: var(--st-brand-dark, #094d78);
  outline: none;
}

.st-nav a:hover::before,
.st-nav a:focus-visible::before {
  transform: scaleX(1);
  opacity: 1;
}

.st-nav .current-menu-item > a,
.st-nav .current_page_item > a {
  color: var(--st-brand, #0e76bc);
  font-weight: 800;
}

.st-nav .current-menu-item > a::before,
.st-nav .current_page_item > a::before {
  transform: scaleX(1);
  opacity: 1;
}

.st-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.st-header__phone-mini {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.85rem;
  height: 44px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--st-navy, #001d3d);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(14, 118, 188, 0.08);
  border: 1px solid rgba(14, 118, 188, 0.18);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.st-header__phone-mini:hover {
  background: rgba(14, 118, 188, 0.14);
  color: var(--st-brand-dark, #094d78);
  transform: translateY(-1px);
}

.st-header__phone-mini::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: st-header-pulse 1.8s ease-in-out infinite;
}

@keyframes st-header-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.05);
  }
}

.st-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    135deg,
    var(--st-brand, #0e76bc) 0%,
    var(--st-brand-dark, #094d78) 60%,
    var(--st-navy, #001d3d) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 8px 22px rgba(14, 118, 188, 0.32);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease;
}

.st-header__cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.st-header__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38) inset,
    0 12px 30px rgba(14, 118, 188, 0.44);
}

.st-header__cta:hover::after {
  left: 130%;
}

.st-header__cta:active {
  transform: translateY(0) scale(0.98);
}

.st-header__cta svg {
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .st-header__phone-mini {
    display: inline-flex;
  }
}

/* —— Footer —— */
.st-footer {
  margin-top: auto;
  background: linear-gradient(
    180deg,
    var(--st-footer-1, #000f22) 0%,
    var(--st-footer-2, #001d3d) 38%,
    var(--st-footer-3, #000a14) 100%
  );
  color: #b8d4f0;
  font-size: 0.9rem;
}

.st-footer a {
  color: rgba(220, 240, 255, 0.95);
  text-decoration: none;
  font-weight: 650;
}

.st-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.st-footer__main {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

/* Wrapper 2 cột Liên kết + Danh mục: desktop dùng contents để vẫn 4 cột grid */
.st-footer__nav-cols {
  display: contents;
}

.st-footer__title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--st-accent-sky, #6ec4f0);
}

.st-footer__brand .st-footer__title {
  margin-bottom: 0.75rem;
}

.st-footer__brand-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.st-footer__logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--st-brand-light, #5eb3e0), var(--st-brand, #0e76bc));
}

.st-footer__brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 22rem;
}

.st-footer__brand-desc {
  margin: 0;
  line-height: 1.65;
  color: #94b8d9;
  font-size: 0.875rem;
  max-width: 28rem;
}

.st-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.st-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  font-weight: 650;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.st-footer__list a:hover {
  color: #fff;
}

.st-footer__contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.st-footer__contact-line:last-child {
  margin-bottom: 0;
}

.st-footer__contact-line svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.85;
}

.st-footer__contact-line strong {
  display: block;
  color: #e2e8f0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.st-footer__contact-line--address > div > span {
  display: block;
  color: #cbd5e1;
  font-weight: 650;
  line-height: 1.55;
}

.st-footer__bar {
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.st-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #7ba3cc;
}

.st-footer__bar-inner p {
  margin: 0;
}

.st-footer__bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.st-footer__bar-links a {
  color: #94b8d9;
  font-weight: 700;
}

.st-footer__bar-links a:hover {
  color: #fff;
}

/* —— Footer: tối ưu mobile —— */
@media (max-width: 768px) {
  .st-footer {
    /* Tránh nội dung cuối bị che bởi nút nổi Gọi/Zalo */
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .st-footer__main {
    padding: clamp(1.5rem, 4vw, 2rem) 0 1.15rem;
  }

  .st-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .st-footer__nav-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 0.85rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .st-footer__brand-head {
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
  }

  .st-footer__brand-name {
    font-size: 1.05rem;
    max-width: none;
    word-break: break-word;
    hyphens: auto;
  }

  .st-footer__brand-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    max-width: none;
  }

  .st-footer__title {
    margin-bottom: 0.55rem;
    font-size: 0.6875rem;
  }

  .st-footer__list {
    gap: 0.35rem;
  }

  .st-footer__list a {
    min-height: 2.5rem;
    padding: 0.15rem 0;
    font-size: 0.8125rem;
    border-radius: 8px;
    margin: 0 -0.15rem;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .st-footer__list a:active {
    background: rgba(255, 255, 255, 0.06);
  }

  /* Ghi đè front.css: footer .container { text-align: center } */
  .st-footer .container {
    text-align: left;
  }

  .st-footer__col--contact {
    padding: 1rem 0.85rem 0.95rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: left;
  }

  .st-footer__col--contact .st-footer__title {
    text-align: left;
    margin-bottom: 0.75rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .st-footer__contact-line {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem 0.75rem;
    margin-bottom: 0;
    padding: 0.65rem 0;
    font-size: 0.8125rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .st-footer__contact-line:last-child {
    border-bottom: none;
    padding-bottom: 0.15rem;
  }

  .st-footer__contact-line svg {
    margin-top: 0.15rem;
    justify-self: start;
  }

  .st-footer__contact-line > div {
    min-width: 0;
    text-align: left;
  }

  .st-footer__contact-line strong {
    text-align: left;
  }

  .st-footer__contact-line a {
    display: inline;
    padding: 0;
    min-height: 0;
    line-height: inherit;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

  .st-footer__bar {
    padding: 0.75rem 0 max(0.75rem, env(safe-area-inset-bottom, 0px));
  }

  .st-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
  }

  .st-footer__bar-inner p {
    font-size: 0.75rem;
    line-height: 1.55;
    color: #8eb0d4;
    max-width: 100%;
  }

  .st-footer__bar-links {
    gap: 0.5rem 1.1rem;
    width: 100%;
  }

  .st-footer__bar-links a {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0;
  }
}

@media (max-width: 380px) {
  .st-footer__nav-cols {
    grid-template-columns: 1fr;
  }
}

/* —— Floating —— */
.st-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 29, 61, 0.35);
  transition: transform 0.15s ease;
}

.st-float a:active {
  transform: scale(0.97);
}

.st-float__call {
  background: linear-gradient(135deg, var(--st-brand-light, #5eb3e0), var(--st-brand-dark, #094d78));
}

.st-float__zalo {
  background: var(--st-zalo-bg, #082a42);
  border: 1px solid rgba(125, 211, 252, 0.25);
}

/* —— Mobile —— */
@media (max-width: 1020px) {
  /* Gọn: không hiển thị topbar gradient */
  .st-topbar {
    display: none;
  }

  /* Header nền trắng đặc — không lẫn với nền trang index */
  .st-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid #d6e8f4;
    box-shadow:
      0 1px 0 #ffffff inset,
      0 4px 18px rgba(0, 29, 61, 0.06);
  }

  .st-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    row-gap: 0.55rem;
    column-gap: 0.75rem;
  }

  .st-logo {
    grid-area: brand;
    justify-self: start;
    min-width: 0;
  }

  .st-menu-toggle {
    display: flex;
    grid-area: toggle;
    justify-self: end;
    align-self: center;
  }

  /* Bỏ nút gọi trên mobile — dùng nút nổi / liên hệ trong trang */
  .st-header__actions {
    display: none;
  }

  .st-header__phone-mini {
    display: none;
  }

  .st-header__nav-shell {
    grid-area: nav;
    justify-self: stretch;
    max-width: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .st-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.25rem 0 0.35rem;
    border-top: 2px solid #e8f3fb;
    background: #ffffff;
  }

  .st-nav.is-open {
    display: flex;
  }

  .st-nav > ul,
  .st-nav .st-nav-list {
    justify-content: flex-start;
    align-items: stretch;
  }

  .st-nav.is-open > ul,
  .st-nav.is-open .st-nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  /* Bỏ gạch dọc desktop */
  .st-nav li + li::before {
    display: none;
  }

  /* Gạch ngang phân vùng giữa các item */
  .st-nav li + li {
    border-top: 1px solid #edf4fa;
  }

  .st-nav a {
    white-space: normal;
    border-radius: 0;
    border: none;
    padding: 0.82rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #001d3d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    position: relative;
    text-align: left;
  }

  /* Tắt underline desktop trên mobile — dùng chevron + bg highlight */
  .st-nav a::before {
    display: none;
  }

  .st-nav a::after {
    content: "";
    display: block;
    margin-left: auto;
    width: 6px;
    height: 6px;
    border-right: 2px solid rgba(14, 118, 188, 0.35);
    border-top: 2px solid rgba(14, 118, 188, 0.35);
    transform: rotate(45deg);
    border-radius: 1px;
    flex-shrink: 0;
  }

  .st-nav a:hover,
  .st-nav a:focus-visible {
    background: linear-gradient(90deg, rgba(14, 118, 188, 0.07) 0%, transparent 100%);
    color: var(--st-brand, #0e76bc);
    border-color: transparent;
    box-shadow: none;
  }

  .st-nav a:hover::after,
  .st-nav a:focus-visible::after {
    border-color: var(--st-brand, #0e76bc);
  }

  .st-nav .current-menu-item > a,
  .st-nav .current_page_item > a {
    background: linear-gradient(90deg, rgba(14, 118, 188, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--st-brand, #0e76bc);
    padding-left: calc(0.75rem - 3px);
    color: var(--st-brand, #0e76bc);
  }

  .st-nav .current-menu-item > a::after,
  .st-nav .current_page_item > a::after {
    border-color: var(--st-brand, #0e76bc);
  }

}

@media (max-width: 640px) {
  .st-topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0.55rem 0;
  }

  .st-topbar__hotline {
    width: 100%;
    justify-content: center;
  }

  .st-header__cta-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .st-header__cta {
    min-width: 46px;
    padding: 0 0.75rem;
  }

  .st-float {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    flex-direction: row;
    justify-content: stretch;
  }

  .st-float a {
    flex: 1;
    border-radius: 14px;
  }
}

@media (min-width: 981px) {
  .layout .sidebar {
    top: 118px;
  }
}
