.mg-product-page--monday {
  --mg-accent: #1754E0;
  --mg-accent-soft: #DEF3FA;
  --mg-accent-strong: #0539C0;
  --mg-accent-secondary: #6EC183;
  --mg-ink: #080b1a;
  --mg-muted: #59687c;
  --mg-monday-cyan: #0787a3;
  --mg-monday-panel: #f6f8fb;
  --mg-monday-line: #e1e7ef;
  --mg-monday-dark: #060918;
  --mg-monday-dark-card: #121727;
  --mg-monday-content-max: 1332px;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  /*
   * product-page-core.css sets `overflow: hidden` on every product page.
   * Overriding only overflow-x is not enough: with overflow-y still hidden,
   * CSS computes overflow-x: visible as auto and clips viewport-wide bands.
   */
  overflow: visible;
}

.mg-product-page--monday,
.mg-product-page--monday h1,
.mg-product-page--monday h2,
.mg-product-page--monday h3,
.mg-product-page--monday p {
  letter-spacing: 0;
}

.mg-monday-container {
  width: min(var(--mg-monday-content-max), calc(100% - 48px));
  margin: 0 auto;
}

.mg-monday-section {
  width: 100%;
  margin-left: 0;
  padding: 118px 0;
  background: #ffffff;
}

.mg-monday-section--center {
  padding-top: 132px;
}

.mg-monday-section--panel,
.elementor-widget-html .mg-product-page--monday .mg-monday-section--panel,
.elementor-widget-container .mg-product-page--monday .mg-monday-section--panel {
  width: 100vw !important;
  max-width: none !important;
  left: 50%;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: translateX(-50%);
  padding: 68px 0 54px;
  background: var(--mg-monday-panel) !important;
  position: relative;
}

.mg-monday-section--dark,
.elementor-widget-html .mg-product-page--monday .mg-monday-section--dark,
.elementor-widget-container .mg-product-page--monday .mg-monday-section--dark {
  width: 100vw !important;
  max-width: none !important;
  left: 50%;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: translateX(-50%);
  padding: 88px 0 66px;
  background: var(--mg-monday-dark) !important;
  position: relative;
}

.mg-monday-hero {
  width: 100%;
  min-height: 650px;
  margin-left: 0;
  padding: 92px 0 112px;
  display: flex;
  align-items: center;
  background: #ffffff;
}

.mg-monday-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 72px;
  align-items: center;
}

.mg-monday-hero__content {
  max-width: 720px;
}

.mg-monday-kicker {
  margin: 0 0 22px;
  color: var(--mg-monday-cyan);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em !important;
  line-height: 1.3;
  text-transform: uppercase;
}

.mg-monday-hero h1 {
  margin: 0;
  color: var(--mg-ink);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 800;
  line-height: 1.08;
}

.mg-monday-hero p:not(.mg-monday-kicker) {
  margin: 30px 0 0;
  color: var(--mg-muted);
  font-size: 22px;
  line-height: 1.76;
}

.mg-monday-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 34px;
  padding: 13px 24px;
  border: 1px solid var(--mg-accent);
  border-radius: 8px;
  background: var(--mg-accent);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.mg-monday-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mg-monday-button--ghost {
  background: #ffffff;
  color: var(--mg-accent) !important;
}

.mg-monday-visual {
  min-height: 430px;
  border: 0;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #7a8798;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.mg-monday-visual img {
  display: block;
  width: min(460px, 100%);
  height: auto;
  object-fit: contain;
}

.mg-monday-heading {
  max-width: 790px;
}

.mg-monday-heading--center {
  max-width: 930px;
  margin: 0 auto 62px;
  text-align: center;
}

.mg-monday-heading h2,
.mg-monday-cta h2 {
  margin: 0;
  color: var(--mg-ink);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.16;
}

.mg-monday-heading p:not(.mg-monday-kicker),
.mg-monday-cta p:not(.mg-monday-kicker) {
  margin: 28px 0 0;
  color: var(--mg-muted);
  font-size: 22px;
  line-height: 1.78;
}

.mg-monday-pill-grid,
.mg-monday-card-grid {
  display: grid;
  gap: 28px;
}

.mg-monday-pill-grid--4,
.mg-monday-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mg-monday-pill,
.mg-monday-card,
.mg-monday-stack-card {
  border: 1px solid var(--mg-monday-line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(8, 11, 26, 0.08);
}

.mg-monday-pill {
  min-height: 126px;
  padding: 34px 30px;
  display: flex;
  align-items: center;
  background: #f6f8fb;
  color: #2f3b4d;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.55;
}

.mg-monday-panel {
  padding: 0;
  background: transparent;
}

.mg-monday-panel .mg-monday-heading {
  max-width: 920px;
  margin-bottom: 70px;
}

.mg-monday-card {
  min-height: 190px;
  padding: 38px 34px;
}

.mg-monday-card h3,
.mg-monday-stack-card h3 {
  margin: 0;
  color: var(--mg-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.mg-monday-card p,
.mg-monday-stack-card p {
  margin: 26px 0 0;
  color: var(--mg-muted);
  font-size: 18px;
  line-height: 1.72;
}

.mg-monday-split,
.mg-monday-switcher {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 86px;
  align-items: start;
}

.mg-monday-stack,
.mg-monday-switcher__nav {
  display: grid;
  gap: 20px;
}

.mg-monday-stack-card {
  min-height: 136px;
  padding: 31px 34px;
  width: 100%;
  appearance: none;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mg-monday-stack-card:hover {
  border-color: rgba(23, 84, 224, 0.38);
  background: var(--mg-accent);
  box-shadow: 0 10px 24px rgba(8, 11, 26, 0.12);
  transform: translateY(-1px);
}

.mg-monday-stack-card p,
.mg-monday-stack-card small {
  margin-top: 20px;
}

.mg-monday-stack-card span {
  display: block;
  color: var(--mg-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.mg-monday-stack-card small {
  display: block;
  color: var(--mg-muted);
  font-size: 18px;
  line-height: 1.72;
}

.mg-monday-stack-card:hover span,
.mg-monday-stack-card:hover small {
  color: #ffffff;
}

.mg-monday-switch-panel {
  display: none;
}

.mg-monday-switch-panel.active {
  display: block;
}

.mg-monday-switch-panel h2 {
  margin: 0;
  color: var(--mg-ink);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.16;
}

.mg-monday-switch-panel p:not(.mg-monday-kicker) {
  margin: 28px 0 0;
  color: var(--mg-muted);
  font-size: 22px;
  line-height: 1.78;
}

.mg-monday-dark-band {
  padding: 0;
  background: transparent;
  color: #ffffff;
}

.mg-monday-dark-band .mg-monday-heading {
  max-width: 1000px;
}

.mg-monday-dark-band h2 {
  color: #ffffff;
}

.mg-monday-dark-band .mg-monday-heading p:not(.mg-monday-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.mg-monday-dark-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 62px;
}

.mg-monday-dark-pills div {
  min-height: 94px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: var(--mg-monday-dark-card);
  color: #ffffff;
  font-size: 18px;
  font-weight: 650;
}

.mg-monday-split--services {
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  align-items: center;
}

.mg-monday-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mg-monday-service-grid .mg-monday-pill {
  min-height: 118px;
  padding: 28px 26px;
  gap: 18px;
  font-size: 17px;
}

.mg-monday-service-grid .mg-monday-pill::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%230787a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.7 2.7L16.5 9'/%3E%3C/svg%3E");
}

.mg-monday-section--cta {
  padding-top: 70px;
}

.mg-monday-cta {
  padding: 62px 72px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0539C0, #1754E0);
  color: #ffffff;
}

.mg-monday-cta h2 {
  color: #ffffff;
}

.mg-monday-cta p:not(.mg-monday-kicker) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.mg-monday-cta .mg-monday-button {
  border-color: #ffffff;
  background: #ffffff;
  color: #0539C0 !important;
}

@media (max-width: 1200px) {
  .mg-monday-panel {
    padding-right: 56px;
    padding-left: 56px;
  }

  .mg-monday-pill-grid--4,
  .mg-monday-card-grid--4,
  .mg-monday-dark-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mg-monday-split,
  .mg-monday-switcher,
  .mg-monday-split--services {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 767px) {
  .mg-monday-container {
    width: min(100% - 36px, var(--mg-monday-content-max));
  }

  .mg-monday-section,
  .mg-monday-section--center,
  .mg-monday-hero {
    padding: 72px 0;
  }

  .mg-monday-hero__grid,
  .mg-monday-pill-grid--4,
  .mg-monday-card-grid--4,
  .mg-monday-dark-pills,
  .mg-monday-service-grid {
    grid-template-columns: 1fr;
  }

  .mg-monday-hero h1 {
    font-size: 34px;
  }

  .mg-monday-heading h2,
  .mg-monday-cta h2 {
    font-size: 34px;
  }

  .mg-monday-hero p:not(.mg-monday-kicker),
  .mg-monday-heading p:not(.mg-monday-kicker),
  .mg-monday-cta p:not(.mg-monday-kicker) {
    font-size: 18px;
  }

  .mg-monday-panel,
  .mg-monday-dark-band,
  .mg-monday-cta {
    padding: 42px 24px;
  }

  .mg-monday-pill,
  .mg-monday-card,
  .mg-monday-stack-card,
  .mg-monday-dark-pills div {
    min-height: auto;
    padding: 24px;
    border-radius: 18px;
  }
}
