.msc-guides-shell {
  --navy: #061935;
  --teal: #45b9ca;
  --teal-dark: #087a8c;
  --line: rgba(69, 185, 202, 0.26);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #10233f;
  background:
    radial-gradient(circle at 8% 10%, rgba(70, 202, 232, .16), transparent 30%),
    linear-gradient(180deg, #f4fbfd 0%, #eef8fb 42%, #f8fbfd 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
  contain: layout paint;
}

.msc-guides-shell,
.msc-guides-shell * {
  box-sizing: border-box;
}

body.admin-bar.msc-guides-hub-preview-page .msc-guides-shell {
  margin-top: -54px !important;
}

body.msc-guides-hub-preview-page #masthead,
body.msc-guides-hub-preview-page #colophon,
body.msc-guides-hub-preview-page .site-header,
body.msc-guides-hub-preview-page .site-footer,
body.msc-guides-hub-preview-page .entry-header {
  display: none !important;
}

body.msc-guides-hub-preview-page,
body.msc-guides-hub-preview-page .site-content,
body.msc-guides-hub-preview-page .ast-container,
body.msc-guides-hub-preview-page main#primary,
body.msc-guides-hub-preview-page article,
body.msc-guides-hub-preview-page .hentry,
body.msc-guides-hub-preview-page .entry-content,
body.msc-guides-hub-preview-page .entry-content > *,
body.msc-guides-hub-preview-page .wp-site-blocks,
body.msc-guides-hub-preview-page .wp-block-group,
body.msc-guides-hub-preview-page .wp-block-group__inner-container,
body.msc-guides-hub-preview-page .is-layout-constrained > * {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.msc-guides-hub-preview-page .wp-block-spacer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

.msc-guides-inner {
  width: min(1680px, calc(100% - 56px));
  margin: 0 auto;
}

.msc-guides-admin-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, .38);
  border-radius: 14px;
  color: #5b4212;
  background: rgba(255, 248, 225, .95);
  font-size: 0.92rem;
  font-weight: 750;
}

.msc-guides-header {
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(7, 23, 52, .1);
  box-shadow: 0 3px 14px rgba(7, 23, 52, .06);
  position: relative;
  z-index: 20;
}

.msc-guides-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.msc-guides-logo {
  width: 190px;
  height: 42px;
  min-width: 190px;
  position: relative;
  display: block;
  overflow: hidden;
}

.msc-guides-logo img {
  width: 190px;
  max-width: none;
  height: auto;
  position: absolute;
  top: -21px;
  left: 0;
  display: block;
}

.msc-guides-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.msc-guides-nav .msc-nav-home {
  display: none;
}

.msc-guides-nav a,
.msc-guides-footer nav a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.msc-guides-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #1d96b8);
  font-weight: 900;
  text-decoration: none;
}

.msc-guides-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0 !important;
}

.msc-guides-menu span {
  display: block !important;
  width: 22px;
  min-width: 22px;
  height: 2px;
  min-height: 2px;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--navy) !important;
  border-radius: 999px;
  opacity: 1 !important;
  visibility: visible !important;
}

.msc-guides-kicker,
.msc-guides-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.msc-guides-hero {
  width: min(1680px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 6vw, 78px);
  background:
    linear-gradient(90deg, rgba(6, 25, 53, 0.96), rgba(6, 25, 53, 0.52)),
    url("hero-team.webp") center 42% / cover no-repeat;
}

.msc-guides-kicker span {
  display: inline-block;
  width: 28px;
  height: 5px;
  margin-right: 10px;
  vertical-align: middle;
  background: #ffad0f;
  border-radius: 999px;
}

.msc-guides-hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.msc-guides-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.5;
}

.msc-guides-category-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(10, 28, 45, 0.58);
  backdrop-filter: blur(18px);
}

.msc-guides-category-panel span {
  padding: 10px 13px;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.msc-guides-main {
  width: min(1680px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(180deg, #eafdff, #f7fdff 50%, #fff);
}

.msc-guides-section {
  margin: 0 0 32px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(34, 139, 155, 0.1);
}

.msc-guides-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.msc-guides-heading-row h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.msc-guides-heading-row > span {
  color: #536884;
  font-weight: 900;
}

.msc-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.msc-guide-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(6, 25, 53, 0.08);
}

.msc-guide-card > span {
  width: fit-content;
  padding: 6px 10px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: #dff9fd;
  border-radius: 999px;
}

.msc-guide-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.22rem;
}

.msc-guide-card p {
  margin: 0;
  color: #536884;
  line-height: 1.5;
}

.msc-guide-card a,
.msc-guide-card em {
  margin-top: auto;
  color: #087493;
  font-weight: 900;
  text-decoration: none;
}

.msc-guide-card em {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(8, 116, 147, .2);
  border-radius: 999px;
  background: #e9fbff;
  font-style: normal;
}

.msc-guide-card--preview,
.msc-guides-planned .msc-guide-card {
  background: rgba(255, 255, 255, 0.58);
}

.msc-guide-card--preview {
  position: relative;
}

.msc-guide-card--preview::after,
.msc-guides-planned .msc-guide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(8, 116, 147, .08);
}

.msc-guides-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.msc-guides-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(69, 185, 202, .36);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #1d96b8);
  font-weight: 900;
  text-decoration: none;
}

.msc-guides-cta-row a:nth-child(2),
.msc-guides-cta-row a:nth-child(3) {
  color: var(--navy);
  background: rgba(255, 255, 255, .82);
}

.msc-guides-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid rgba(7, 23, 52, .08);
}

.msc-guides-footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.msc-guides-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.msc-guides-footer small {
  color: #65778a;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .msc-guides-grid,
  .msc-guides-hero {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .msc-guides-inner,
  .msc-guides-hero,
  .msc-guides-main {
    width: min(100% - 32px, 680px);
  }

  .msc-guides-header-inner {
    min-height: 52px;
    gap: 12px;
  }

  .msc-guides-logo {
    width: 148px;
    min-width: 148px;
    height: 32px;
  }

  .msc-guides-logo img {
    width: 148px;
    top: -17px;
  }

  .msc-guides-nav {
    position: absolute;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    width: min(260px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid rgba(33, 184, 176, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(7, 23, 52, .12);
    flex-direction: column;
    align-items: stretch;
    z-index: 50;
  }

  .msc-guides-shell.is-menu-open .msc-guides-nav {
    display: flex;
  }

  .msc-guides-nav .msc-nav-home {
    display: block;
  }

  .msc-guides-header-cta {
    display: none;
  }

  .msc-guides-menu {
    display: inline-flex !important;
    margin-left: auto;
    flex: 0 0 44px;
    position: relative;
    z-index: 60;
  }

  .msc-guides-hero,
  .msc-guides-grid {
    grid-template-columns: 1fr;
  }

  .msc-guides-hero {
    padding: 30px 22px;
  }

  .msc-guides-main {
    padding: 22px 16px;
  }

  .msc-guides-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .msc-guides-footer-inner {
    min-height: 0;
    padding: 24px 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    text-align: center;
  }

  .msc-guides-footer nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    order: 2;
  }

  .msc-guides-footer small {
    order: 3;
  }

  .msc-guides-logo-footer {
    order: 1;
  }
}
