.mg-header.guide-header {
  display: block;
  padding: 0;
  background: #0d2947;
  color: #fff;
}
.guide-header .guide-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px;
  direction: ltr;
}
.guide-header .guide-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}
.guide-header .guide-brand .mg-logo {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  min-height: 44px;
  background: transparent;
}
.guide-header .mg-logo img {
  width: clamp(86px, 11vw, 138px);
  height: auto;
  filter: brightness(0) invert(1);
}
.guide-header .guide-brand .mg-locale-toggle,
.guide-header .guide-tools a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 7px;
  margin: 0;
  border: 1px solid #51779a;
  border-radius: 7px;
  background: #174670;
  color: #fff;
  text-decoration: none;
}
.guide-header .guide-brand .mg-locale-toggle img {
  width: 26px;
  height: auto;
  max-height: 22px;
  object-fit: contain;
}
.guide-header .guide-nav,
.guide-header .guide-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.guide-header .guide-nav {
  margin-inline-start: auto;
  min-width: 0;
  flex-wrap: wrap;
}
.guide-header .guide-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 5px 12px;
  margin: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  overflow-wrap: normal;
}
.guide-header .guide-nav a:hover,
.guide-header .guide-nav a[aria-current="page"],
.guide-header .guide-tools a:hover,
.guide-header .guide-brand .mg-locale-toggle:hover {
  background: #286090;
}
.guide-header a:focus-visible {
  outline: 2px solid #ffdb7c;
  outline-offset: 2px;
}
.guide-header .guide-tools svg {
  width: 22px;
  height: 22px;
}
.guide-promo {
  max-width: 1192px;
  margin: 28px auto;
  padding: 20px clamp(14px, 4vw, 32px);
  border-radius: 12px;
  background: linear-gradient(105deg,#103451,#154c77);
  color: white;
}
.guide-promo p {
  margin: 6px 0 12px;
  line-height: 1.55;
}
.guide-promo strong {
  font-size: 1.18em;
}
.guide-promo-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-promo a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #fff;
  color: #123553;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}
.guide-promo a:first-child {
  background: #d9f389;
  color: #102f29;
}
.guide-promo small {
  color: #dbeaff;
}
.guide-directory {
  max-width: 1192px;
  margin: 0 auto;
  padding: 24px 20px;
}
.guide-directory ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap: 12px;
  padding: 0;
}
.guide-directory li a {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 12px;
  border: 1px solid #6685a1;
  border-radius: 7px;
}
.home-guide-section {
  scroll-margin-top: calc(var(--plain-header-offset, 110px) + 16px);
}
.home-guide-section table {
  border-collapse: collapse;
  width: 100%;
}
.home-guide-section th,
.home-guide-section td {
  padding: 9px;
  border: 1px solid currentColor;
  text-align: start;
}
.guide-old-anchor {
  display: block;
  height: 0;
  scroll-margin-top: calc(var(--plain-header-offset, 110px) + 16px);
}
@media (max-width: 730px) {
  .guide-header .guide-header-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 3px 8px;
    padding: 6px 10px;
  }
  .guide-header .guide-brand { grid-column: 1; grid-row: 1; }
  .guide-header .guide-tools { grid-column: 2; grid-row: 1; }
  .guide-header .guide-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin: 0;
    gap: 3px;
  }
  .guide-header .guide-nav a {
    font-size: 13px;
    padding: 4px 3px;
  }
  .guide-promo { margin-inline: 12px; }
}
.guide-sources {
  max-width: 1192px;
  margin: 16px auto;
  padding-inline: 16px;
}
@media (max-width: 640px) {
  .mg-section.home-guide-section table {
    display: table;
    table-layout: fixed;
    font-size: 14px;
  }
  .mg-section.home-guide-section thead {
    display: table-header-group;
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    overflow: visible;
  }
  .mg-section.home-guide-section tbody { display: table-row-group; }
  .mg-section.home-guide-section tr { display: table-row; }
  .mg-section.home-guide-section td,
  .mg-section.home-guide-section th {
    display: table-cell;
    overflow-wrap: anywhere;
    padding: 8px;
    vertical-align: top;
  }
  .mg-section.home-guide-section td::before { content: none; }
}
.guide-topic-intro {
  padding: clamp(24px, 5vw, 56px) max(20px,calc((100% - 1152px) / 2));
  background: #103451;
  color: white;
}
.guide-topic-intro h1 {
  margin-bottom: 14px;
}
.guide-topic-intro p {
  max-width: 48rem;
}
