:root {
  --aicc-gold: #b28a00;
  --aicc-gold-dark: #7e6400;
  --aicc-ink: #171717;
  --aicc-muted: #626262;
  --aicc-line: #e7e1d2;
  --aicc-soft: #fbf9f1;
  --aicc-green: #23725a;
  --primary: #b28a00 !important;
  --secondary: #23725a !important;
  --text-color: #171717 !important;
  --link-color: #7e6400 !important;
  --black: #171717 !important;
  --white: #ffffff !important;
  --green: #23725a !important;
  --color-ksevr7d4: #b28a00 !important;
  --color-ksexlp13: #fff3ba !important;
  --color-ksf3ma3x: #626262 !important;
  --color-ksf32c1s: #626262 !important;
  --color-ksf5wgyg: #fbf9f1 !important;
  --color-ksfw6emy: #fbf9f1 !important;
  --color-ksg321uh: #171717 !important;
}

html, body, .bg-fixed, .hl_page-preview, .hl_page-preview--content {
  background: #ffffff !important;
  color: var(--aicc-ink) !important;
}

.hl_page-preview--content [class*="section-"] {
  background-color: #ffffff !important;
  color: var(--aicc-ink) !important;
}

.hl_page-preview--content [class*="row-"],
.hl_page-preview--content [class*="col-"] {
  border-color: transparent !important;
}

.hl_page-preview--content h1,
.hl_page-preview--content h2,
.hl_page-preview--content h3,
.hl_page-preview--content h4,
.hl_page-preview--content h5,
.hl_page-preview--content h6,
.hl_page-preview--content p,
.hl_page-preview--content li {
  color: var(--aicc-ink) !important;
  text-shadow: none !important;
}

.hl_page-preview--content strong,
.hl_page-preview--content b,
.hl_page-preview--content em,
.hl_page-preview--content u,
.hl_page-preview--content [class*="heading"] strong,
.hl_page-preview--content [class*="bullet"] strong {
  color: var(--aicc-gold-dark) !important;
}

.hl_page-preview--content a,
.hl_page-preview--content a * {
  color: var(--aicc-gold-dark) !important;
}

.hl_page-preview--content a[id*="button"],
.hl_page-preview--content [class*="cbutton"] {
  background: var(--aicc-gold) !important;
  color: #ffffff !important;
  border-color: rgba(178, 138, 0, 0.28) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 28px rgba(178, 138, 0, 0.18) !important;
}

.hl_page-preview--content a[id*="button"] *,
.hl_page-preview--content [class*="cbutton"] * {
  color: #ffffff !important;
}

.hl_page-preview--content a[id*="button"]:hover,
.hl_page-preview--content [class*="cbutton"]:hover {
  background: var(--aicc-gold-dark) !important;
}

.hl_page-preview--content img[src*="aicc-logo"] { box-shadow: none !important; }
.hl_page-preview--content .image-container img[src*="aicc-logo"],
.hl_page-preview--content img[src*="aicc-logo"] {
  border-radius: 0 !important;
  object-fit: contain !important;
}

.hl_page-preview--content ul li::marker {
  color: var(--aicc-green) !important;
}

.hl_page-preview--content form input,
.hl_page-preview--content form textarea,
.hl_page-preview--content form select,
#_builder-form input,
#_builder-form textarea,
#_builder-form select {
  background: #ffffff !important;
  color: var(--aicc-ink) !important;
  border-color: var(--aicc-line) !important;
  border-radius: 8px !important;
}

.hl_page-preview--content form label,
#_builder-form label {
  color: var(--aicc-ink) !important;
}


/* Center homepage CTA buttons */
.hl_page-preview--content [class*="button-"] {
  text-align: center !important;
}

.hl_page-preview--content [class*="button-"] > div,
.hl_page-preview--content [class*="button-"] .button-container,
.hl_page-preview--content [class*="button-"] .button-wrapper {
  display: flex !important;
  justify-content: center !important;
}

.hl_page-preview--content a[id*="button"],
.hl_page-preview--content [class*="cbutton"] {
  margin-left: auto !important;
  margin-right: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.hl_page-preview--content a[id*="button"] .main-heading-group,
.hl_page-preview--content [class*="cbutton"] .main-heading-group,
.hl_page-preview--content a[id*="button"] .sub-heading-group,
.hl_page-preview--content [class*="cbutton"] .sub-heading-group {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Unified AICC homepage header */
.aicc-home-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e7e1d2;
  backdrop-filter: blur(14px);
}

.aicc-home-brand img {
  display: block;
  width: min(280px, 34vw);
  height: auto;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.aicc-home-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.aicc-home-menu a {
  color: #292929 !important;
  text-decoration: none !important;
  font-weight: 400;
  white-space: nowrap;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.aicc-home-menu a:hover,
.aicc-home-menu a[aria-current="page"] {
  color: #7e6400 !important;
  border-color: #b28a00;
}

@media (max-width: 1100px) {
  .aicc-home-header {
    grid-template-columns: 1fr;
  }
  .aicc-home-menu {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .aicc-home-brand img {
    width: min(300px, 72vw);
  }
}

@media (max-width: 760px) {
  .aicc-home-header {
    position: sticky;
    min-height: auto;
    padding: 12px 16px;
  }
  .aicc-home-menu {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
}

/* Homepage header hardening: keep AICC navigation visible above cloned-page scripts */
body > .aicc-home-header,
.aicc-home-header {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 2147483000 !important;
  box-sizing: border-box !important;
}

.aicc-home-header[style],
.aicc-home-menu[style] {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.aicc-home-menu,
.aicc-home-menu[style] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.aicc-home-menu a {
  display: inline-flex !important;
  align-items: center !important;
}

@media (max-width: 760px) {
  body > .aicc-home-header,
  .aicc-home-header {
    grid-template-columns: 1fr !important;
  }
}

/* AICC homepage booking modal */
.aicc-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 17, 17, 0.48);
}

.aicc-booking-modal.open {
  display: flex;
}

.aicc-booking-dialog {
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #e7e1d2;
  border-radius: 16px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.aicc-booking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: #fbf9f1;
  border-bottom: 1px solid #e7e1d2;
}

.aicc-booking-head p {
  margin: 0 0 6px;
  color: #7e6400;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.aicc-booking-head h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

#aiccBookingClose {
  width: 42px;
  height: 42px;
  border: 1px solid #e7e1d2;
  border-radius: 12px;
  background: #ffffff;
  color: #171717;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.aicc-booking-form {
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
}

.aicc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.aicc-booking-form label {
  display: grid;
  gap: 7px;
  color: #171717;
  font-size: 14px;
  font-weight: 900;
}

.aicc-booking-form input,
.aicc-booking-form select,
.aicc-booking-form textarea {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #e0d8c6;
  border-radius: 10px;
  padding: 10px 12px;
  background: #ffffff;
  color: #292929;
  font: inherit;
}

.aicc-booking-form textarea {
  resize: vertical;
}

.aicc-booking-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f2fbf7;
  color: #23725a;
  font-weight: 800;
}

.aicc-booking-submit {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #b28a00;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(178, 138, 0, 0.22);
}

.aicc-booking-submit:hover {
  background: #9d7900;
}

.aicc-booking-success {
  margin: 0;
  color: #23725a;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 760px) {
  .aicc-form-grid {
    grid-template-columns: 1fr;
  }
  .aicc-booking-head,
  .aicc-booking-form {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Hide duplicated logo inside cloned homepage hero; keep top AICC header logo */
.hl_page-preview--content .image-8MSv4slfc,
.hl_page-preview--content #image-8MSv4slfc,
.hl_page-preview--content .cimage-8MSv4slfc,
.hl_page-preview--content .image-container img[src*="aicc-logo.png"]:not(.aicc-home-brand img) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Center the important notice and booking CTA section */
.hl_page-preview--content #paragraph-D9wC7tNp0,
.hl_page-preview--content .paragraph-D9wC7tNp0,
.hl_page-preview--content .cparagraph-D9wC7tNp0 {
  width: 100% !important;
  max-width: 880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hl_page-preview--content #paragraph-D9wC7tNp0 p,
.hl_page-preview--content .paragraph-D9wC7tNp0 p,
.hl_page-preview--content .cparagraph-D9wC7tNp0 p {
  text-align: center !important;
}

.hl_page-preview--content #button-r8mn6oTHS,
.hl_page-preview--content .button-r8mn6oTHS {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hl_page-preview--content #button-r8mn6oTHS_btn,
.hl_page-preview--content .cbutton-r8mn6oTHS {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(340px, 92vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Match homepage navigation weight with inner pages */
.aicc-home-menu a,
.aicc-home-menu a:link,
.aicc-home-menu a:visited {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.aicc-home-menu a:hover,
.aicc-home-menu a[aria-current="page"] {
  font-weight: 500 !important;
}

.aicc-home-header .site-header-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

.aicc-home-header .site-member-login {
  min-height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid rgba(22,22,22,.12) !important;
  border-radius: 999px !important;
  background: #171717 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.aicc-home-header .site-lang-switch {
  display: inline-flex !important;
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid rgba(22,22,22,.12) !important;
  border-radius: 999px !important;
  background: #fff !important;
}

.aicc-home-header .site-lang-switch button {
  min-width: 38px !important;
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #171717 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.aicc-home-header .site-lang-switch button.active {
  background: #b28a00 !important;
  color: #fff !important;
}

@media (max-width: 1100px) {
  .aicc-home-header .site-header-controls {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

/* Frontend AI assistant on cloned homepage */
.aicc-assistant {
  position: fixed;
  left: 22px;
  right: auto;
  bottom: 24px;
  z-index: 2147483001;
  font-family: inherit;
}

.aicc-assistant-toggle {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #171717;
  color: #fff3ba;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
  cursor: pointer;
}

.aicc-assistant-panel {
  width: min(360px, calc(100vw - 32px));
  margin-bottom: 10px;
  border: 1px solid rgba(22,22,22,.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}

.aicc-assistant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #171717;
  color: #fff3ba;
}

.aicc-assistant-head button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.aicc-assistant-log {
  max-height: 260px;
  overflow: auto;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.aicc-assistant-log p {
  margin: 0;
  color: #171717;
  line-height: 1.55;
  font-size: 14px;
}

.aicc-assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(22,22,22,.12);
  background: #fbf8ee;
}

.aicc-assistant-form input {
  min-width: 0;
  border: 1px solid rgba(22,22,22,.16);
  border-radius: 8px;
  padding: 10px 12px;
}

.aicc-assistant-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #b99000;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 760px) {
  .aicc-assistant {
    left: 10px;
    right: auto;
    bottom: 24px;
  }
}

/* 2026 homepage real content gateway */
.aicc-home-showcase {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #fffaf0 0%, #ffffff 48%, #f3fbf7 100%);
  border-bottom: 1px solid #e7e1d2;
  color: #171717;
}
.aicc-showcase-copy { max-width: 760px; }
.aicc-kicker {
  margin: 0 0 14px;
  color: #7e6400;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.aicc-showcase-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
  color: #111;
}
.aicc-showcase-copy p {
  margin: 0;
  max-width: 680px;
  color: #555;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}
.aicc-showcase-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.aicc-showcase-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: #171717;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
}
.aicc-showcase-actions a:nth-child(2) { background: #b28a00; }
.aicc-showcase-actions a:nth-child(3) { background: #23725a; }
.aicc-showcase-media { position: relative; }
.aicc-showcase-media img {
  width: 100%;
  height: clamp(360px, 46vw, 620px);
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(31, 25, 16, .18);
}
.aicc-showcase-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(178, 138, 0, .26);
  box-shadow: 0 16px 36px rgba(31, 25, 16, .14);
}
.aicc-showcase-badge strong { color: #7e6400; font-size: 30px; line-height: 1; }
.aicc-showcase-badge span { color: #333; font-weight: 700; }
.aicc-home-entry-grid {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px) 44px;
  background: #fff;
}
.aicc-entry-card {
  display: grid;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid #e7e1d2;
  border-radius: 12px;
  background: #fff;
  color: #171717 !important;
  text-decoration: none !important;
  box-shadow: 0 16px 42px rgba(31, 25, 16, .08);
}
.aicc-entry-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.aicc-entry-card:nth-child(2) img { object-fit: contain; background: #07231e; }
.aicc-entry-card:nth-child(3) img { object-fit: cover; object-position: top; }
.aicc-entry-card span { padding: 16px 16px 4px; color: #7e6400; font-weight: 800; }
.aicc-entry-card strong { padding: 0 16px 18px; font-size: 20px; line-height: 1.35; color: #171717; }
.aicc-home-proof-strip {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px) 54px;
  background: #fff;
}
.aicc-home-proof-strip div {
  padding: 22px;
  border: 1px solid #e7e1d2;
  background: #fbf9f1;
}
.aicc-home-proof-strip strong { display: block; color: #23725a; font-size: clamp(28px, 4vw, 44px); line-height: 1; }
.aicc-home-proof-strip span { display: block; margin-top: 8px; color: #555; font-weight: 700; }
@media (max-width: 1100px) {
  .aicc-home-showcase { grid-template-columns: 1fr; }
  .aicc-home-entry-grid, .aicc-home-proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .aicc-home-showcase { padding-top: 34px; }
  .aicc-showcase-actions a { width: 100%; }
  .aicc-showcase-media img { height: 300px; }
  .aicc-home-entry-grid, .aicc-home-proof-strip { grid-template-columns: 1fr; }
}

/* Purpose-first homepage navigation */
.aicc-intent-section {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid #eee8d8;
}

.aicc-intent-heading {
  align-self: center;
}

.aicc-intent-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.aicc-intent-heading p:not(.aicc-kicker) {
  margin: 0;
  color: #5a5f66;
  font-size: 17px;
  line-height: 1.65;
}

.aicc-intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.aicc-intent-grid a,
.quick-action-board a {
  display: grid;
  gap: 7px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid #e7e1d2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbf8ef);
  color: #171717;
  box-shadow: 0 12px 30px rgba(31, 25, 16, .07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.aicc-intent-grid a:hover,
.quick-action-board a:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 138, 0, .42);
  box-shadow: 0 18px 44px rgba(31, 25, 16, .12);
}

.aicc-intent-grid span,
.quick-action-board span {
  color: #7e6400;
  font-weight: 900;
  font-size: 13px;
}

.aicc-intent-grid strong,
.quick-action-board strong {
  font-size: 20px;
  line-height: 1.28;
}

.aicc-intent-grid em,
.quick-action-board em {
  color: #626262;
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .aicc-intent-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .aicc-intent-grid { grid-template-columns: 1fr; }
  .aicc-intent-grid a { min-height: 112px; }
}

/* UI skill compact homepage header refinement */
.aicc-home-header {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto !important;
  min-height: 66px !important;
  padding: 8px clamp(18px, 4vw, 46px) !important;
  gap: 16px !important;
  align-items: center !important;
}

.aicc-home-brand img {
  width: clamp(170px, 18vw, 238px) !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

.aicc-home-menu {
  justify-content: flex-end !important;
  gap: clamp(10px, 1.4vw, 18px) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.aicc-home-menu a {
  min-height: 34px !important;
  padding: 0 4px !important;
  display: inline-grid !important;
  place-items: center !important;
}

.aicc-home-header .site-header-controls {
  gap: 8px !important;
}

.aicc-home-header .site-member-login {
  min-height: 34px !important;
  padding: 0 13px !important;
  font-size: 13px !important;
}

.aicc-home-header .site-lang-switch {
  padding: 3px !important;
}

.aicc-home-header .site-lang-switch button {
  min-width: 34px !important;
  min-height: 28px !important;
  font-size: 12px !important;
}

@media (max-width: 760px) {
  .aicc-home-header {
    min-height: 0 !important;
    padding: 8px 12px 9px !important;
    gap: 8px !important;
  }

  .aicc-home-brand img {
    width: min(224px, 58vw) !important;
    max-height: 52px !important;
  }

  .aicc-home-header .site-header-controls {
    gap: 7px !important;
  }

  .aicc-home-header .site-member-login {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
  }

  .aicc-home-header .site-lang-switch button {
    min-width: 42px !important;
    min-height: 32px !important;
    font-size: 14px !important;
  }

  .aicc-home-menu {
    gap: 8px !important;
    padding: 0 0 4px !important;
  }

  .aicc-home-menu a {
    min-height: 38px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(23, 23, 23, .12) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.92) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .aicc-home-menu a[aria-current="page"] {
    background: #b28a00 !important;
    color: #fff !important;
    border-color: #b28a00 !important;
  }

  .hl_page-preview--content h1,
  .hl_page-preview--content .text-output h1,
  .hl_page-preview--content [class*="heading"] h1 {
    font-size: clamp(34px, 11vw, 46px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

/* UI skill final header alignment: move member and language controls to the right */
@media (min-width: 761px) {
  body > .aicc-home-header,
  .aicc-home-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-height: 72px !important;
    padding: 10px clamp(32px, 4.4vw, 86px) !important;
    gap: clamp(18px, 2vw, 34px) !important;
  }

  .aicc-home-brand {
    flex: 0 0 auto !important;
  }

  .aicc-home-brand img {
    width: clamp(190px, 15vw, 260px) !important;
    max-height: 58px !important;
  }

  .aicc-home-menu {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    gap: clamp(12px, 1.15vw, 20px) !important;
    white-space: nowrap !important;
  }

  .aicc-home-header .site-header-controls {
    flex: 0 0 auto !important;
    margin-left: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  .site-header:not(.member-site-header) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-height: 72px !important;
    padding: 10px clamp(32px, 4.4vw, 86px) !important;
    gap: clamp(18px, 2vw, 34px) !important;
  }

  .site-header:not(.member-site-header) .brand {
    flex: 0 0 auto !important;
  }

  .site-header:not(.member-site-header) .brand img {
    width: clamp(190px, 15vw, 260px) !important;
    max-height: 58px !important;
  }

  .site-header:not(.member-site-header) .desktop-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    gap: clamp(12px, 1.15vw, 20px) !important;
    white-space: nowrap !important;
  }

  .site-header:not(.member-site-header) .site-header-controls {
    flex: 0 0 auto !important;
    margin-left: 4px !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 760px) {
  body > .aicc-home-header,
  .aicc-home-header,
  .site-header:not(.member-site-header) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 8px 14px 10px !important;
    row-gap: 9px !important;
    column-gap: 10px !important;
  }

  .aicc-home-brand,
  .site-header:not(.member-site-header) .brand {
    flex: 1 1 100% !important;
  }

  .aicc-home-brand img,
  .site-header:not(.member-site-header) .brand img {
    width: min(206px, 56vw) !important;
    max-height: 48px !important;
  }

  .aicc-home-header .site-header-controls,
  .site-header:not(.member-site-header) .site-header-controls {
    order: 2 !important;
    flex: 1 1 100% !important;
    justify-content: flex-start !important;
  }

  .aicc-home-menu,
  .site-header:not(.member-site-header) .desktop-nav {
    order: 3 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 3px !important;
  }

  .hl_page-preview--content h1,
  .page-hero-copy h1,
  .promo-hero .page-hero-copy h1 {
    font-size: clamp(30px, 9.2vw, 42px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

/* UI skill desktop header polish: one-line right actions */
@media (min-width: 761px) {
  body > .aicc-home-header,
  .aicc-home-header {
    min-height: 64px !important;
    padding: 8px clamp(34px, 4.8vw, 96px) !important;
    gap: clamp(16px, 1.6vw, 28px) !important;
    background: rgba(255,255,255,.98) !important;
  }

  .aicc-home-brand img {
    width: clamp(184px, 13.5vw, 244px) !important;
    max-height: 52px !important;
  }

  .aicc-home-menu {
    margin-left: auto !important;
    flex: 0 1 auto !important;
    gap: clamp(14px, 1.25vw, 22px) !important;
  }

  .aicc-home-menu a {
    min-height: 32px !important;
    padding: 0 2px !important;
    font-size: 14px !important;
  }

  .aicc-home-header .site-header-controls {
    margin-left: 10px !important;
    gap: 8px !important;
  }

  .aicc-home-header .site-member-login {
    min-height: 34px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
  }

  .aicc-home-header .site-lang-switch {
    height: 34px !important;
    padding: 3px !important;
  }

  .aicc-home-header .site-lang-switch button {
    min-width: 34px !important;
    min-height: 28px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 760px) {
  body > .aicc-home-header,
  .aicc-home-header,
  .site-header:not(.member-site-header) {
    padding-top: 7px !important;
    padding-bottom: 9px !important;
  }

  .aicc-home-brand img,
  .site-header:not(.member-site-header) .brand img {
    width: min(190px, 52vw) !important;
    max-height: 44px !important;
  }

  .aicc-showcase-copy h1,
  .hl_page-preview--content h1,
  .page-hero-copy h1,
  .promo-hero .page-hero-copy h1 {
    font-size: clamp(28px, 8.5vw, 38px) !important;
    line-height: 1.12 !important;
  }
}
