﻿.page-wrap {
  min-width: 0;
}

/* Header logo tagline visibility recovery (display-only; keep same asset/content). */
.header-main .logo-main .logo--shop {
  height: 6.4rem;
  overflow: hidden;
}

.header-main .logo-main .logo--link {
  height: 6.4rem;
  display: inline-flex;
  align-items: flex-start;
  overflow: hidden;
  max-width: 100%;
}

.header-main .logo-main .logo--link picture,
.header-main .logo-main .logo--link img[src*="assets/images/dear-my-logo-with-tagline-header-clean.png"] {
  display: block;
  max-width: 100%;
}

.header-main .logo-main .logo--link img[src*="assets/images/dear-my-logo-with-tagline-header-clean.png"] {
  width: auto !important;
  height: auto !important;
  max-width: 360px !important;
  max-height: 106px !important;
  margin-top: -0.2rem;
  object-fit: contain !important;
}

@media screen and (max-width: 63.9375em) {
  .header-main .logo-main .logo--shop,
  .header-main .logo-main .logo--link {
    height: 5.1rem;
  }

  .header-main .logo-main .logo--link img[src*="assets/images/dear-my-logo-with-tagline-header-clean.png"] {
    max-width: 285px !important;
    max-height: 84px !important;
    margin-top: -0.15rem;
  }
}

.emotion--element:has(> .emotion--banner-slider) {
  height: auto !important;
  min-height: 0 !important;
  overflow-x: clip;
  contain: layout paint;
}

.emotion--element > .emotion--banner-slider.image-slider {
  aspect-ratio: 3 / 1;
  width: 100%;
  height: auto !important;
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  contain: layout paint;
}

.emotion--banner-slider .banner-slider--container,
.emotion--banner-slider .banner-slider--slide,
.emotion--banner-slider .banner-slider--item {
  height: 100% !important;
  max-width: 100%;
}

.emotion--banner-slider .banner-slider--container,
.emotion--banner-slider .banner-slider--slide {
  overflow-x: clip;
  contain: paint;
}

.content--home .emotion--banner-slider .banner-slider--slide,
.content--home .emotion--banner-slider .banner-slider--item {
  white-space: normal;
}

.emotion--banner-slider .banner-slider--banner {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
}

.emotion--banner-slider .banner-slider--image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.emotion--banner-slider .banner-slider--banner:has(> img[src*="assets/rx/home-slider/Flat-color-Modern-Isometric-Illustration-design-Healthcare-scaled-e1593621977368-1024x911.jpg"]) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f8fafc;
  box-sizing: border-box;
}

.emotion--banner-slider .banner-slider--banner > img[src*="assets/rx/home-slider/Flat-color-Modern-Isometric-Illustration-design-Healthcare-scaled-e1593621977368-1024x911.jpg"] {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto;
  flex: 0 0 auto;
}

/* RX body flow: keep Concept-S styling, but let long RX body content push the footer down. */
.content--home .emotion--wrapper {
  height: auto !important;
  overflow: visible !important;
}

.content--home .emotion--container.emotion--0 {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  left: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
  overflow-x: clip !important;
  padding-bottom: 2rem;
}

.content--home .emotion--container.emotion--0 > [class*="emotion--sizer"] {
  display: none !important;
  height: 0 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element:not(:has(> .emotion--banner-slider)) {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.content--home .emotion--container.emotion--0 > .emotion--element:not(:has(> .emotion--banner-slider)) .emotion--html,
.content--home .emotion--container.emotion--0 > .emotion--element:not(:has(> .emotion--banner-slider)) .panel {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] {
  order: 1;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] {
  order: 2;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] {
  order: 3;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 28.2051%"] {
  order: 4;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] {
  order: 5;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 66.6667%"] {
  order: 6;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] {
  order: 7;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] {
  order: 8;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 92.3077%"] {
  order: 9;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] {
  order: 10;
}

.content--home .emotion--container.emotion--0 > .emotion--element:has(> .emotion--banner-slider) {
  order: 0 !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  flex: 0 0 auto;
  overflow-x: clip;
}

.header-main .container--ajax-cart.off-canvas {
  display: none;
  right: 0;
  left: auto;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
}

.header-main .container--ajax-cart.off-canvas.is--shown {
  display: block;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.performance-page .rx-panel,
.performance-page .rx-metric-card,
.performance-page .rx-shot-card,
.performance-page .rx-faq {
  box-sizing: border-box;
  max-width: 100%;
}

.performance-page,
.performance-page .rx-section,
.performance-page .rx-container {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 767px) {
  .performance-page .rx-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .performance-page .rx-panel {
    padding: 20px !important;
  }

  .performance-page .rx-metric-card,
  .performance-page .rx-shot-card,
  .performance-page .rx-faq {
    padding: 16px !important;
  }
}

/* Hero and webinar polish: scoped to the first RX body sections after the top slider. */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"]:not(:has(> .emotion--banner-slider)),
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"]:not(:has(> .emotion--banner-slider)) {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  padding-bottom: 0 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"]:not(:has(> .emotion--banner-slider)) {
  margin-top: 1.25rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"]:not(:has(> .emotion--banner-slider)) {
  margin-bottom: 3.75rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] .emotion--html,
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] .emotion--html {
  background: #ffffff !important;
  border-color: #ececf1 !important;
  box-shadow: 0 18px 45px rgba(35, 35, 45, 0.08);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] .emotion--html {
  border-bottom: 0 !important;
  border-radius: 6px 6px 0 0;
  padding: 3.4rem 3rem 0.75rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] .emotion--html {
  border-top: 0 !important;
  border-radius: 0 0 6px 6px;
  padding: 0.5rem 3rem 3.2rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] p {
  margin: 0 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] span[style*="font-size: x-large"] {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  font-size: 2.35rem !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] a,
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] span {
  color: #27272f !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] .html--content {
  max-width: 760px;
  margin: 0 auto;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] p {
  margin: 0 auto 1rem !important;
  color: #5f6270;
  font-size: 1.08rem;
  line-height: 1.75;
  text-align: justify !important;
  text-align-last: auto;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] p:last-child {
  margin-bottom: 0 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 4rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] > .emotion--html {
  border-color: #ededf2 !important;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(35, 35, 45, 0.07);
  padding: 3rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] h2 {
  margin: 0 0 2rem !important;
  color: #27272f !important;
  text-align: center;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] h2 + div {
  gap: 1.4rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] h2 + div > a {
  min-height: 9.5rem;
  display: flex !important;
  align-items: flex-end;
  padding: 1.35rem !important;
  border: 1px solid #e1e3ea !important;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  color: #303247 !important;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 10px 25px rgba(35, 35, 45, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, color 160ms ease;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] h2 + div > a:hover {
  border-color: #c9ccd8 !important;
  box-shadow: 0 14px 32px rgba(35, 35, 45, 0.1);
  color: #1f2937 !important;
  transform: translateY(-2px);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] > .emotion--html > div:last-child {
  margin-top: 1.75rem !important;
  text-align: center !important;
  color: #555967 !important;
}

/* Services Offerings image aspect fix (Home section top: 28.2051%). */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 28.2051%"] .html--content > div[style*="grid-template-columns:repeat(4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: start !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 28.2051%"] .html--content > div[style*="grid-template-columns:repeat(4"] > a > img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover !important;
  display: block !important;
}

@media screen and (max-width: 63.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 28.2051%"] .html--content > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] h2 + div {
    grid-template-columns: 1fr !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] span[style*="font-size: x-large"] {
    font-size: 1.85rem !important;
  }
}

@media screen and (max-width: 47.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 28.2051%"] .html--content > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] .emotion--html,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] .emotion--html,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 10.2564%"] > .emotion--html {
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 0%"] span[style*="font-size: x-large"] {
    font-size: 1.55rem !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 2.5641%"] p {
    font-size: 1rem;
    line-height: 1.65;
    text-align: left !important;
  }
}

/* KPI section polish inside the Dashboard block. */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 {
  max-width: 980px;
  margin: 2.5rem auto 0 !important;
  padding: 2.25rem 2.5rem 0.35rem;
  border: 1px solid #e4e6ed;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fbfbfc;
  color: #27272f !important;
  text-align: center;
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p {
  max-width: 980px;
  margin: 0 auto !important;
  padding: 0.25rem 2.5rem 1.5rem;
  border-left: 1px solid #e4e6ed;
  border-right: 1px solid #e4e6ed;
  background: #fbfbfc;
  color: #656976;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.65;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p + ul {
  max-width: 980px;
  margin: 0 auto !important;
  padding: 0 2.5rem 2.35rem 3.6rem;
  columns: auto !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
  border: 1px solid #e4e6ed;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #fbfbfc;
  box-shadow: 0 12px 30px rgba(35, 35, 45, 0.06);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p + ul > li {
  margin: 0;
  padding-left: 0.2rem;
  color: #303247;
  line-height: 1.55;
  break-inside: avoid;
}

/* Remove frame only for Dashboard intro lines (first h3 + first p). */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3:first-of-type {
  max-width: 100%;
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3:first-of-type + p {
  max-width: 100%;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media screen and (max-width: 63.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p + ul {
    max-width: 100%;
  }
}

@media screen and (max-width: 47.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 {
    padding: 1.75rem 1.35rem 0.3rem;
    font-size: 1.45rem;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p {
    padding: 0.25rem 1.35rem 1.25rem;
    text-align: left;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 48.7179%"] .html--content > h3 + p + ul {
    grid-template-columns: 1fr;
    padding: 0 1.35rem 1.8rem 2.35rem;
    gap: 0.7rem;
  }
}

/* Free Downloads form polish. */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] > .emotion--html {
  border-color: #e4e6ed !important;
  border-radius: 6px;
  background: #fbfbfc !important;
  box-shadow: 0 14px 34px rgba(35, 35, 45, 0.06);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] .html--content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.75rem !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] h2 {
  margin: 0 0 1.75rem !important;
  color: #27272f !important;
  text-align: center;
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
  padding: 1.8rem;
  border: 1px solid #e0e2ea;
  border-radius: 6px;
  background: #ffffff;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > br {
  display: none;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:first-child {
  grid-column: 1 / -1;
  margin: 0 0 0.25rem !important;
  color: #303247;
  font-size: 1.05rem;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #eef0f5;
  border-radius: 5px;
  background: #fbfbfc;
  color: #303247;
  line-height: 1.4;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 0.16rem;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  margin: 1rem 0 0 !important;
  padding-top: 1.2rem;
  border-top: 1px solid #e8eaf0;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:last-child > br {
  display: none;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:last-child label {
  display: grid;
  gap: 0.4rem;
  color: #303247;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:last-child input {
  width: 100% !important;
  height: 2.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d9dce5;
  border-radius: 4px;
  background: #ffffff;
  color: #303247;
  font: inherit;
  font-weight: 400;
  box-sizing: border-box;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:last-child button {
  justify-self: start;
  align-self: end;
  min-width: 9rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.4rem;
}

@media screen and (max-width: 47.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] .html--content {
    padding: 1.35rem !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] h2 {
    font-size: 1.45rem;
    text-align: left;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 74.359%"] form > p:last-child {
    grid-template-columns: 1fr;
  }
}

/* Keep Learning / Stay in Touch form polish. */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 1rem !important;
  margin-bottom: 3rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] > .emotion--html {
  border-color: #e4e6ed !important;
  border-radius: 6px;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(35, 35, 45, 0.06);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] .html--content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 2rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 2.75rem !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h2 {
  margin: 0 0 1rem !important;
  color: #27272f !important;
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h2 + p {
  max-width: 32rem;
  margin: 0 !important;
  color: #5f6270;
  line-height: 1.7;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 !important;
  padding: 1.6rem 1.6rem 0.25rem;
  border: 1px solid #e0e2ea;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fbfbfc;
  color: #303247;
  font-size: 1.2rem;
  line-height: 1.35;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  gap: 1rem;
  margin: -1rem 0 0;
  padding: 1.4rem 1.6rem 1.6rem;
  border: 1px solid #e0e2ea;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #fbfbfc;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form > br {
  display: none;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form label {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  color: #303247;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form input {
  width: 100% !important;
  height: 2.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #d9dce5;
  border-radius: 4px;
  background: #ffffff;
  color: #303247;
  font: inherit;
  font-weight: 400;
  box-sizing: border-box;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form button {
  justify-self: start;
  min-width: 9rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.4rem;
}

@media screen and (max-width: 63.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] .html--content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h3,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form {
    grid-column: 1;
    grid-row: auto;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h2 + p {
    max-width: 100%;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form {
    margin-top: -1.5rem;
  }
}

@media screen and (max-width: 47.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] .html--content {
    padding: 1.35rem !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h2 {
    font-size: 1.45rem;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] h3,
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 84.6154%"] form {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Learning Center page-only form tone: override the RX blue form panel without changing form content. */
.learning-center-page .form-panel {
  width: min(100%, 430px) !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #222222 !important;
  border: 1px solid #dddddd !important;
  border-radius: 6px !important;
  padding: 1.5rem !important;
  box-shadow: 0 8px 22px rgba(35, 35, 45, 0.08) !important;
}

.learning-center-page .form-panel h3 {
  color: #222222 !important;
  margin-bottom: 1rem !important;
  font-size: 1.15rem !important;
}

.learning-center-page .form-panel h3 span {
  color: #c3161c !important;
}

.learning-center-page .form-panel fieldset {
  margin-bottom: 1.1rem !important;
}

.learning-center-page .form-panel label {
  color: #303030 !important;
  line-height: 1.45 !important;
}

.learning-center-page .form-panel .option {
  display: flex !important;
  gap: 0.55rem !important;
  align-items: flex-start !important;
  margin-bottom: 0.6rem !important;
  padding: 0.55rem 0.65rem !important;
  border: 1px solid #eeeeee !important;
  border-radius: 4px !important;
  background: #f7f7f7 !important;
  color: #303030 !important;
}

.learning-center-page .form-panel .option input[type="checkbox"] {
  flex: 0 0 auto !important;
  margin-top: 0.2rem !important;
}

.learning-center-page .form-panel input[type="text"],
.learning-center-page .form-panel input[type="email"],
.learning-center-page .form-panel input[type="tel"] {
  width: 100% !important;
  min-height: 2.65rem !important;
  box-sizing: border-box !important;
  margin: 0 0 0.85rem !important;
  padding: 0.55rem 0.7rem !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #222222 !important;
  box-shadow: none !important;
}

.learning-center-page .form-panel input[type="text"]:focus,
.learning-center-page .form-panel input[type="email"]:focus,
.learning-center-page .form-panel input[type="tel"]:focus {
  border-color: #c3161c !important;
  outline: 2px solid rgba(195, 22, 28, 0.14) !important;
  outline-offset: 1px !important;
}

.learning-center-page .form-panel .btn,
.learning-center-page .form-panel button[type="submit"] {
  min-height: 2.75rem !important;
  margin-top: 0.35rem !important;
  padding: 0.6rem 1.4rem !important;
  border: 1px solid #a91117 !important;
  border-radius: 4px !important;
  background: #c3161c !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.learning-center-page .form-panel .btn:hover,
.learning-center-page .form-panel button[type="submit"]:hover {
  background: #a91117 !important;
  border-color: #8f0f14 !important;
  color: #ffffff !important;
}

@media screen and (max-width: 47.9375em) {
  .learning-center-page .form-panel {
    width: 100% !important;
    padding: 1.15rem !important;
  }
}

/* Latest News card alignment. */
.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] > .emotion--html {
  border-color: #e4e6ed !important;
  border-radius: 6px;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(35, 35, 45, 0.06);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] .html--content {
  padding: 2.75rem !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] h2 {
  margin: 0 0 2rem !important;
  color: #27272f !important;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] h2 + div {
  gap: 1.35rem !important;
  align-items: stretch !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #e1e3ea;
  border-radius: 6px;
  background: #fbfbfc;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(35, 35, 45, 0.05);
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article > a:first-child {
  display: block;
  flex: 0 0 auto;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article img {
  height: 10rem !important;
  object-fit: cover !important;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article h3 {
  margin: 1rem 1rem 0.55rem;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 700;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article h3 a {
  color: #303247;
  text-decoration: none;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article h3 a:hover {
  color: #1f2937;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article p {
  margin: 0 1rem 1rem;
  color: #656976;
  line-height: 1.5;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article p:last-child {
  margin-top: auto;
  padding-top: 0.75rem;
}

.content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] article p:last-child .btn {
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 63.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] h2 + div {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 47.9375em) {
  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] .html--content {
    padding: 1.35rem !important;
  }

  .content--home .emotion--container.emotion--0 > .emotion--element[style*="top: 110.2564%"] h2 {
    font-size: 1.55rem;
  }
}

/* Services mega menu cleanup: keep the Concept-S dropdown shell, format only the Services panel. */
.advanced-menu .services-mega-menu .content--wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  box-sizing: border-box;
}

.advanced-menu .services-mega-menu .services-mega-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  float: none !important;
  width: 100% !important;
}

.advanced-menu .services-mega-menu .services-mega-card {
  float: none !important;
  width: auto !important;
  min-width: 0;
}

.advanced-menu .services-mega-menu .services-mega-heading {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fefefe;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.advanced-menu .services-mega-menu .services-mega-heading:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

@media screen and (max-width: 63.9375em) {
  .advanced-menu .services-mega-menu .services-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 47.9375em) {
  .advanced-menu .services-mega-menu .content--wrapper {
    padding: 1.25rem;
  }

  .advanced-menu .services-mega-menu .services-mega-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* Language switch container — subtle gray frame so flag is visible on white header */
.header-main .top-bar--navigation .top-bar--language {
  background: #f3f4f6;
  border: 1px solid #d7dbe2;
  border-radius: 3px;
  padding: 0 6px;
  overflow: visible;
}

/* Language switch flags — KO/VI (EN uses shell .language--flag.en_GB) */
.header-main .top-bar--navigation .language--flag.ko_KR {
  background-position: 0 0;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2030%2020'%3E%3Crect%20width%3D'30'%20height%3D'20'%20fill%3D'%23fff'%20stroke%3D'%23b0b0b0'%20stroke-width%3D'0.5'%2F%3E%3Ccircle%20cx%3D'15'%20cy%3D'10'%20r%3D'5.8'%20fill%3D'%23cd2e3a'%2F%3E%3Cpath%20d%3D'M15%204.2A5.8%205.8%200%201%200%2015%2015.8A2.9%202.9%200%201%201%2015%2010A2.9%202.9%200%201%200%2015%204.2Z'%20fill%3D'%230047a0'%2F%3E%3C%2Fsvg%3E");
}

.header-main .top-bar--navigation .language--flag.vi_VN {
  background-position: 0 0;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect fill='%23da251d' width='30' height='20'/%3E%3Cpolygon fill='%23ff0' points='15,3 17,9 23,9 18,13 20,19 15,15 10,19 12,13 7,9 13,9'/%3E%3C/svg%3E");
}
