@import url("./plugins.min.css");
@import url("./main.min.css");
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  width: 100%;
}
.mxd-nav__wrap {
  display: block;
  pointer-events: none;
}
.mxd-nav__wrap.active_menu {
  pointer-events: all;
}
.mxd-menu__wrapper {
  display: block;
  pointer-events: none;
}
.mxd-menu__wrapper.active_menu {
  pointer-events: all;
}

.mxd-menu__wrapper .fade-in-elm {
  transition: all 0.6s ease;
  visibility: hidden;
  opacity: 0;
}
.mxd-menu__wrapper.active_menu .fade-in-elm {
  visibility: visible;
  opacity: 1;
}
.mxd-menu__wrapper .fade-in-up-elm {
  transition: all 0.6s ease;
  visibility: hidden;
  opacity: 0;
  transform: translateY(25px);
}
.mxd-menu__wrapper.active_menu .fade-in-up-elm {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}
.submenu {
  display: block;
  height: 0px;
  overflow: hidden;
  padding-top: 0px;
}

/* Locks page scroll while modal is open */
.videoModal__bodyOpen {
  overflow: hidden;
}

/* Fullscreen overlay, centered content, no overlay scrolling */
.videoModal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  overflow: hidden; /* prevent overlay scrollbar */
  z-index: 111;
}

/* Transparent content, no internal scroll */
.videoModal__content {
  background: transparent;
  border: none;
  outline: none;
  overflow: hidden; /* prevent content scrollbar */
}

/* Responsive 16:9 player that never exceeds viewport */
.videoModal__playerWrap {
  max-width: 1200px;
  width: min(90vw, 1600px);
  aspect-ratio: 16 / 9; /* modern browsers */
  position: relative;
}
.swiper-navigation-icon {
  display: none;
}
.hamburger__line {
  transition: all 0.3s ease;
}
.nav-open .hamburger__line:first-child {
  translate: none;
  rotate: none;
  scale: none;
  transform: translate(0px, 5px) rotate(45deg);
}
.nav-open .hamburger__line:last-child {
  translate: none;
  rotate: none;
  scale: none;
  transform: translate(0px, -5px) rotate(-45deg);
}
.loading__item,
.loading__fade {
  opacity: 0;
}
.mxd-footer-name {
  margin-bottom: 3rem;
}
@media only screen and (min-width: 768px) {
  .mxd-footer-name {
    margin-bottom: 6rem;
  }
}

/* SVG Styling - Replaces dangerouslySetInnerHTML */
.mxd-logo__bg {
  fill: var(--base-opp);
}

.mxd-logo__cat {
  fill: var(--base);
}

/* Clip path for logo cat - applied via CSS where clipPath is defined in SVG */
svg:has(#mxd-logo__id) .mxd-logo__cat {
  clip-path: url(#mxd-logo__id);
}

svg:has(#mxd-logo__id-2) .mxd-logo__cat {
  clip-path: url(#mxd-logo__id-2);
}

.icon-star {
  fill: var(--additional);
}

.mxd-card-bg {
  fill: url(#purple-radial-grad);
}

/* Alternative gradient ID for different cards */
svg:has(#purple-radial-gradient) .mxd-card-bg {
  fill: url(#purple-radial-gradient);
}

svg:has(#purple-radial-gr) .mxd-card-bg {
  fill: url(#purple-radial-gr);
}

.icon-star-scroll {
  fill: var(--accent);
}

.mxd-logo-colored__bg {
  fill: var(--accent);
}

.mxd-logo-colored__cat {
  fill: var(--additional);
}

svg:has(#mxd-logo__crop) .mxd-logo-colored__cat {
  clip-path: url(#mxd-logo__crop);
}

.cls-1 {
  fill: var(--t-bright);
}

.cls-2 {
  fill: #e52421;
}

/* Smaller manifest text for About section */
.mxd-block__manifest--smaller .mxd-manifest {
  font-size: 1.9em;
}

/* Reduce line spacing for hero title */
.hero-01-title {
  line-height: 0.95;
}

.hero-01-title__row {
  margin-bottom: -0.2em;
}

/* Add bottom padding to the second row (starts with an intelligent startpoint) */
.hero-01-title__row:last-child {
  padding-bottom: 0.3em;
}

/* Light mode - white shadow (default) */
.hero-01-title__item--glow {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95),
    0 0 26px rgba(255, 255, 255, 0.85);
}

/* Explicit light mode selectors */
@media (prefers-color-scheme: light) {
  .hero-01-title__item--glow {
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.95),
      0 0 26px rgba(255, 255, 255, 0.85);
  }
}

body.light-mode .hero-01-title__item--glow,
html.light-mode .hero-01-title__item--glow,
body[data-theme="light"] .hero-01-title__item--glow,
html[data-theme="light"] .hero-01-title__item--glow,
html[color-scheme="light"] .hero-01-title__item--glow,
[color-scheme="light"] .hero-01-title__item--glow {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95),
    0 0 26px rgba(255, 255, 255, 0.85);
}

/* Dark mode - dark shadow */
@media (prefers-color-scheme: dark) {
  .hero-01-title__item--glow {
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9),
      0 0 24px rgba(0, 0, 0, 0.8);
  }
}

body.dark-mode .hero-01-title__item--glow,
html.dark-mode .hero-01-title__item--glow,
body[data-theme="dark"] .hero-01-title__item--glow,
html[data-theme="dark"] .hero-01-title__item--glow,
html[color-scheme="dark"] .hero-01-title__item--glow,
[color-scheme="dark"] .hero-01-title__item--glow {
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(0, 0, 0, 0.8);
}

.mxd-pulse-soft {
  animation: mxd-pulse-soft 2s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes mxd-pulse-soft {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.02);
  }
}

.mxd-menu__caption--spacer {
  min-height: 4.8rem;
}

.menu-promo__video--spacer {
  width: 100%;
  min-height: 220px;
  border-radius: var(--_radius-m);
  background: transparent;
}

@media only screen and (min-width: 1200px) {
  .mxd-menu__caption--spacer {
    min-height: 6rem;
  }

  .menu-promo__video--spacer {
    min-height: 260px;
    padding: 1rem;
    background-color: transparent;
  }
}

.mxd-menu__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.mxd-menu__social-link:hover {
  opacity: 0.8;
}

/* Add top padding to hero bottom section */
.mxd-hero-01__bottom {
  padding-top: 2rem;
}

/* Prevent horizontal overflow - only apply to body/html, not to scroll containers */
/* Removed overflow-x from pinned-projects to allow scroll animations */

/* Reduce image preview height in Featured projects section to accommodate more text */
.mxd-pinned-projects .mxd-project-item__preview {
  height: 306px;
  max-width: 100%;
}

@media only screen and (min-width: 768px) {
  .mxd-pinned-projects .mxd-project-item__preview {
    height: 405px;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-pinned-projects .mxd-project-item__preview {
    height: 405px;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-pinned-projects .mxd-project-item__preview {
    height: 405px;
  }
}

/* Match media container height to reduced preview height and remove spacing */
.mxd-pinned-projects .mxd-project-item__media {
  height: 306px;
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .mxd-pinned-projects .mxd-project-item__media {
    height: 405px;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-pinned-projects .mxd-project-item__media {
    height: 405px;
    margin-bottom: 0;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-pinned-projects .mxd-project-item__media {
    height: 405px;
    margin-bottom: 0;
  }
}

/* Add top padding to promo section for better spacing */
.mxd-pinned-projects .mxd-project-item__promo {
  margin-top: 0;
  padding-top: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media only screen and (min-width: 768px) {
  .mxd-pinned-projects .mxd-project-item__promo {
    padding-top: 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-pinned-projects .mxd-project-item__promo {
    padding-top: 1.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-pinned-projects .mxd-project-item__promo {
    padding-top: 2rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* Style tags in pinned projects section */
.mxd-pinned-projects .tag.tag-default.tag-permanent {
  background-color: #cb2526;
  border-color: #cb2526;
  color: #ffffff;
  font-weight: bold;
}

/* Percentage Loader Styles */
.percentage-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background-color: var(--base, #faf7f6);
}

.percentage-loader__percent {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  color: var(--base-opp, #161616);
  line-height: 1;
  margin-bottom: 2rem;
  font-family: var(--_font-accent, "Funnel Display", sans-serif);
}

.percentage-loader__text {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--base-opp, #161616);
  text-align: center;
  font-family: var(--_font-accent, "Funnel Display", sans-serif);
}

.percentage-loader__text .word {
  display: inline-block;
}

/* Article page only - title and heading styling */
.mxd-article__title {
  max-width: 100% !important;
  width: 100% !important;
}

.mxd-article__title .h1-small {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem) !important;
  max-width: 100%;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .mxd-article__title .h1-small {
    font-size: clamp(3rem, 6vw, 5rem) !important;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-article__title .h1-small {
    font-size: clamp(3.5rem, 6.5vw, 5.5rem) !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-article__title .h1-small {
    font-size: clamp(4rem, 7vw, 6rem) !important;
  }
}

/* Article content headings - progressively smaller than title (article pages only) */
.mxd-article__content h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem) !important;
}

.mxd-article__content h3 {
  font-size: clamp(1.3rem, 2.8vw, 2.2rem) !important;
}

.mxd-article__content h4 {
  font-size: clamp(1.2rem, 2.5vw, 2rem) !important;
}

.mxd-article__content h5 {
  font-size: clamp(1.1rem, 2.2vw, 1.8rem) !important;
}

.mxd-article__content h6 {
  font-size: clamp(1rem, 2vw, 1.6rem) !important;
}

@media only screen and (min-width: 768px) {
  .mxd-article__content h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem) !important;
  }

  .mxd-article__content h3 {
    font-size: clamp(1.5rem, 3vw, 2.4rem) !important;
  }

  .mxd-article__content h4 {
    font-size: clamp(1.35rem, 2.7vw, 2.2rem) !important;
  }

  .mxd-article__content h5 {
    font-size: clamp(1.2rem, 2.4vw, 2rem) !important;
  }

  .mxd-article__content h6 {
    font-size: clamp(1.1rem, 2.2vw, 1.8rem) !important;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-article__content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
  }

  .mxd-article__content h3 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem) !important;
  }

  .mxd-article__content h4 {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem) !important;
  }

  .mxd-article__content h5 {
    font-size: clamp(1.3rem, 2.8vw, 2.2rem) !important;
  }

  .mxd-article__content h6 {
    font-size: clamp(1.2rem, 2.5vw, 2rem) !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-article__content h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem) !important;
  }

  .mxd-article__content h3 {
    font-size: clamp(1.9rem, 4vw, 3rem) !important;
  }

  .mxd-article__content h4 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem) !important;
  }

  .mxd-article__content h5 {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem) !important;
  }

  .mxd-article__content h6 {
    font-size: clamp(1.3rem, 2.8vw, 2.2rem) !important;
  }
}

/* Remove padding from footer SVG */
.mxd-demo-footer__mixdesign {
  padding-top: 0 !important;
}

@media only screen and (min-width: 768px) {
  .mxd-demo-footer__mixdesign {
    padding-top: 0 !important;
  }
}

@media only screen and (min-width: 992px) {
  .mxd-demo-footer__mixdesign {
    padding-top: 0 !important;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-demo-footer__mixdesign {
    padding-top: 0 !important;
  }
}

@media only screen and (min-width: 1400px) {
  .mxd-demo-footer__mixdesign {
    padding-top: 0 !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-demo-footer__mixdesign {
    padding-top: 0 !important;
  }
}

/* Remove padding and margin from footer SVG elements */
.mxd-demo-footer__mixdesign svg {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.mxd-footer__svg,
.mxd-footer__svg-v2 {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.mxd-logo__image {
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove margin from footer SVG container */
.mxd-demo-footer__mixdesign {
  margin: 0 !important;
}

/* Restore original animation - remove flex overrides that break animation */
.mxd-footer__fullwidth-text {
  margin: 0 !important;
  padding: 0 !important;
  /* Restore original display for animation */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

/* Ensure footer fullwidth text color updates in dark mode */
html[color-scheme="dark"] .mxd-footer__fullwidth-text,
[color-scheme="dark"] .mxd-footer__fullwidth-text {
  color: #ffffff !important;
}

html[color-scheme="light"] .mxd-footer__fullwidth-text,
[color-scheme="light"] .mxd-footer__fullwidth-text {
  color: #111111 !important;
}

@media only screen and (min-width: 768px) {
  .mxd-footer__fullwidth-text {
    padding: 0 6rem !important;
    padding-top: 10.5rem !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-footer__fullwidth-text {
    padding: 0 9rem !important;
    padding-top: 11.1rem !important;
    margin-bottom: -1rem !important;
  }
}

/* Dark mode support for footer SVG */
@media (prefers-color-scheme: dark) {
  .mxd-footer__svg-v2 {
    color: #ffffff !important;
    fill: #ffffff !important;
  }
  
  .mxd-footer__svg-v2 text {
    fill: #ffffff !important;
  }
}

/* Support for dark mode class on body/html */
body.dark-mode .mxd-footer__svg-v2,
html.dark-mode .mxd-footer__svg-v2,
body[data-theme="dark"] .mxd-footer__svg-v2,
html[data-theme="dark"] .mxd-footer__svg-v2,
html[color-scheme="dark"] .mxd-footer__svg-v2,
[color-scheme="dark"] .mxd-footer__svg-v2 {
  color: #ffffff !important;
  fill: #ffffff !important;
}

body.dark-mode .mxd-footer__svg-v2 text,
html.dark-mode .mxd-footer__svg-v2 text,
body[data-theme="dark"] .mxd-footer__svg-v2 text,
html[data-theme="dark"] .mxd-footer__svg-v2 text,
html[color-scheme="dark"] .mxd-footer__svg-v2 text,
[color-scheme="dark"] .mxd-footer__svg-v2 text {
  fill: #ffffff !important;
}

/* Light mode - ensure it's dark */
@media (prefers-color-scheme: light) {
  .mxd-footer__svg-v2 {
    color: #111111 !important;
    fill: #111111 !important;
  }
  
  .mxd-footer__svg-v2 text {
    fill: #111111 !important;
  }
}

body.light-mode .mxd-footer__svg-v2,
html.light-mode .mxd-footer__svg-v2,
body[data-theme="light"] .mxd-footer__svg-v2,
html[data-theme="light"] .mxd-footer__svg-v2,
html[color-scheme="light"] .mxd-footer__svg-v2,
[color-scheme="light"] .mxd-footer__svg-v2 {
  color: #111111 !important;
  fill: #111111 !important;
}

body.light-mode .mxd-footer__svg-v2 text,
html.light-mode .mxd-footer__svg-v2 text,
body[data-theme="light"] .mxd-footer__svg-v2 text,
html[data-theme="light"] .mxd-footer__svg-v2 text,
html[color-scheme="light"] .mxd-footer__svg-v2 text,
[color-scheme="light"] .mxd-footer__svg-v2 text {
  fill: #111111 !important;
}

/* Divider image theme swap */
.divider-img--dark {
  display: none;
}

html[color-scheme="dark"] .divider-img--light,
[color-scheme="dark"] .divider-img--light {
  display: none;
}

html[color-scheme="dark"] .divider-img--dark,
[color-scheme="dark"] .divider-img--dark {
  display: block;
}

/* Make hero images bigger without increasing container size */
.hero-00-image {
  overflow: hidden;
}

.hero-00-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center center;
}

@media only screen and (min-width: 768px) {
  .hero-00-image.image-01 img {
    transform: scale(1.25);
  }
  
  .hero-00-image.image-02 img {
    transform: scale(1.3);
  }
}

@media only screen and (min-width: 1200px) {
  .hero-00-image.image-01 img {
    transform: scale(1.3);
  }
  
  .hero-00-image.image-02 img {
    transform: scale(1.35);
  }
}

@media only screen and (min-width: 1600px) {
  .hero-00-image.image-01 img {
    transform: scale(1.35);
  }
  
  .hero-00-image.image-02 img {
    transform: scale(1.4);
  }
}

/* Contact Modal Styles */
.contactModal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.contactModal__content {
  position: relative;
  background: var(--base, #faf7f6);
  border-radius: var(--_radius-l, 3.8rem);
  outline: none;
  overflow: hidden;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contactModal__wrap {
  position: relative;
  padding: 4rem 3rem;
}

@media only screen and (min-width: 768px) {
  .contactModal__wrap {
    padding: 5rem 4rem;
  }
}

.contactModal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  background: var(--base-opp, #161616);
  color: var(--base, #faf7f6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.8rem;
}

.contactModal__close:hover {
  transform: rotate(90deg);
  background: var(--accent, #cb2526);
}

.contactModal__close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contactModal__inner {
  width: 100%;
}

.contactModal__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contactModal__title {
  font-family: var(--_font-accent, "Funnel Display", sans-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--base-opp, #161616);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contactModal__subtitle {
  font-size: 1.6rem;
  color: var(--t-medium, #666);
  line-height: 1.6;
}

.contactModal__form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form__field {
  position: relative;
  width: 100%;
}

.form__input {
  width: 100%;
  padding: 1.8rem 2rem;
  border: 2px solid var(--base-tint, #f0f0f0);
  border-radius: var(--_radius-m, 1.6rem);
  background: var(--base, #faf7f6);
  color: var(--base-opp, #161616);
  font-size: 1.6rem;
  font-family: var(--_font-default, "Funnel Sans", sans-serif);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  outline: none;
}

.form__input:focus {
  border-color: var(--accent, #cb2526);
  background: var(--base, #faf7f6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Contact modal modern depth */
.contactModal__input {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16),
    0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

.contactModal__input:focus {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2),
    0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.contactModal__textarea {
  min-height: 10rem;
  height: 10rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  line-height: 1.5;
  resize: vertical;
  overflow: auto;
}

.form__input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__input::placeholder {
  color: var(--t-muted, #999);
}

.contactModal__actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.contactModal__actions .btn {
  width: 100%;
  max-width: 300px;
  height: auto !important;
  line-height: normal !important;
  padding: 1.1rem 2.6rem !important;
  min-height: 0 !important;
}

.contactModal__actions .btn .btn-caption {
  height: 3.3rem !important;
  line-height: 3.3rem !important;
  overflow: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.contactModal__actions .btn .btn-anim__block {
  line-height: 1.2 !important;
}

.contactModal__actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contactModal__error {
  margin: 0;
  padding: 1rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(203, 37, 38, 0.12);
  color: #a31c1d;
  font-size: 1.4rem;
  text-align: center;
}

/* CTA text styling - red "Disc" in Discover */
.mxd-promo__caption .disc-red {
  color: #cb2526;
}

/* Fix CTA and Footer alignment on blog article pages */
/* Match the grid-container padding values for proper alignment */
.inner-page-content .mxd-section:has(.mxd-promo) .mxd-container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.inner-page-content .mxd-section:has(.mxd-promo) .mxd-container .mxd-block {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mxd-footer__footer-blocks {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
  .inner-page-content .mxd-section:has(.mxd-promo) .mxd-container .mxd-block {
    padding-left: 4.5rem;
    padding-right: 4.5rem;
  }
  
  .mxd-footer__footer-blocks {
    padding-left: 4.5rem;
    padding-right: 4.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .inner-page-content .mxd-section:has(.mxd-promo) .mxd-container .mxd-block {
    padding-left: 7.5rem;
    padding-right: 7.5rem;
  }
  
  .mxd-footer__footer-blocks {
    padding-left: 7.5rem;
    padding-right: 7.5rem;
  }
}

/* Newsletter subscription form success/error messages */
.form-container .form__reply {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-container .form__reply.active {
  display: block;
  opacity: 1;
}

.form-container.subscription-success .subscription-ok.active,
.form-container.subscription-error-state .subscription-error.active {
  display: block;
  opacity: 1;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--_radius-m, 1.6rem);
  font-size: 1.4rem;
}

.form-container.subscription-success .subscription-ok.active {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.form-container.subscription-error-state .subscription-error.active {
  background-color: rgba(203, 37, 38, 0.1);
  color: #cb2526;
}

.form-container.subscription-success .form.notify-form,
.form-container.subscription-error-state .form.notify-form {
  display: none;
}

/* Mobile-only: keep hero marquee within viewport */
@media only screen and (max-width: 767px) {
  .mxd-hero-01__title-wrap {
    display: flex;
    flex-direction: column;
  }

  .hero-01-title {
    display: contents;
  }

  .hero-01-title__row {
    order: 1;
  }

  .mxd-hero-01__marquee {
    order: 2;
    position: relative;
    top: 0;
    right: 0;
    transform: translateX(0) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.4rem;
    margin-bottom: 1rem;
    height: 5.2rem;
    border-radius: 3.1rem;
    padding: 0 0.8rem;
  }

  .mxd-hero-01__marquee .marquee__item.item-regular p {
    font-size: 4.4rem;
  }

  .hero-01-title__row:last-child {
    order: 3;
    margin-top: -3.7rem;
  }

  .hero-01-title {
    font-size: clamp(3.2rem, 10vw, 5.2rem);
  }
}
