.maeveport-landing-parallax-content-section {
  width: 100%;
  max-width: 1200px; /* Max width of the content area */
  margin: 0 auto; /* Center the content */
  padding: 80px 20px; /* Vertical and horizontal padding */
  box-sizing: border-box;
  will-change: opacity; /* PERFORMANCE: Hint for opacity animation */
  contain: layout paint style; /* PERFORMANCE: Hint for containment */
  position: relative; /* Added for stacking context */
  z-index: 1; /* Added to ensure visibility within panel-stack-container */
}

.maeveport-landing-parallax-content-header {
  text-align: center;
  margin-bottom: 60px;
  overflow: hidden; /* ADDED to contain parallaxing header lines */
}

.maeveport-landing-parallax-content-header h2 {
  font-size: var(
    --font-size-display-md
  ); /* Mapped to dual-pane-text-line default */
  font-weight: 700;
  color: #111;
  margin: 0.2em 0;
  line-height: 1.2;
  will-change: transform; /* PERFORMANCE: Hint for parallax */
}

.maeveport-landing-parallax-content-content-rows {
  display: flex;
  flex-direction: column;
  gap: 80px; /* Space between rows */
}

.maeveport-landing-parallax-content-row {
  display: flex;
  align-items: center;
  gap: 40px; /* Space between text and image */
  overflow: hidden; /* ADDED to contain parallaxing images within the row bounds */
  contain: layout paint style; /* PERFORMANCE: Hint for containment */
}

.maeveport-landing-parallax-content-text-content {
  flex: 1 1 55%; /* Adjusted flex-basis to give text more space */
  padding-right: 20px; /* Some space if image is on the right */
  display: flex; /* Arrange icon-wrapper and main-text-area */
  align-items: flex-start; /* Align top of icon with top of text area */
  gap: 15px; /* Space between icon and main text area */
}

.maeveport-landing-parallax-content-icon-wrapper {
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.maeveport-landing-parallax-content-main-text-area {
  flex-grow: 1; /* Allow text area to take remaining space */
}

.maeveport-landing-parallax-content-icon {
  width: 40px; /* Fixed width for the icon */
  height: 40px; /* Fixed height for the icon */
  flex-shrink: 0; /* Prevent icon from shrinking */
  color: #000000;
}

.maeveport-landing-parallax-content-text-content
  h3.maeveport-landing-parallax-content-title-text {
  font-size: var(--font-size-heading-sm); /* Mapped to global typography */
  font-weight: 600;
  color: #222;
  margin: 5px 0 5px 0; /* Adjusted top and bottom margin to 5px */
}

.maeveport-landing-parallax-content-text-content p {
  font-size: var(--font-size-body-md); /* Mapped to global typography */
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
}

.maeveport-landing-parallax-content-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  color: #000000;
  text-decoration: none;
  font-weight: 400;
  position: relative;
  font-size: var(--font-size-body-md); /* Mapped to global typography */
  transition: gap 0.2s ease-out;
}

.maeveport-landing-parallax-content-arrow-svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  transition: transform 0.2s ease-out;
}

.maeveport-landing-parallax-content-button:hover {
  gap: 10px;
}

.maeveport-landing-parallax-content-button:hover
  .maeveport-landing-parallax-content-arrow-svg {
  transform: translateX(3px);
}

.maeveport-landing-parallax-content-image-container {
  flex: 1 1 45%;
  aspect-ratio: 16 / 9; /* Enforce 16:9 aspect ratio */
  overflow: hidden; /* Crop content that overflows */
}

.maeveport-landing-parallax-content-image {
  display: block;
  width: 100%;
  height: 100%; /* Fill the container's height */
  object-fit: cover; /* Cover the container, cropping if necessary */
  border-radius: 8px;
  will-change: transform; /* PERFORMANCE: Hint for parallax */
  contain-intrinsic-size: none !important; /* Override WP style, using none for a more forceful reset */
}

/* Neutralize WordPress default block styles within the parallax content to prevent layout issues */
.maeveport-landing-parallax-content-section .wp-block-group {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  padding: 0 !important; /* Ensure no unwanted padding from wp:group */
}

.maeveport-landing-parallax-content-row .wp-block-image {
  margin: 0 !important; /* Remove default image block margins */
  max-width: 100% !important;
  width: 100%;
  height: auto; /* Allow height to adjust */
}

.maeveport-landing-parallax-content-row .wp-block-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important; /* Ensure image fills its figure container */
}

.maeveport-landing-parallax-content-header .wp-block-heading {
  margin: 0.2em 0 !important; /* Ensure original margins are respected */
}

.maeveport-landing-parallax-content-main-text-area .wp-block-heading {
  margin: 5px 0 5px 0 !important; /* Ensure original margins are respected */
}

.maeveport-landing-parallax-content-main-text-area .wp-block-paragraph {
  margin-bottom: 25px !important; /* Ensure original margins are respected */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .maeveport-landing-parallax-content-section {
    padding: 60px 15px;
  }
  .maeveport-landing-parallax-content-header {
    /* font-size for h2 handled by global var, keep text-align */
    text-align: left;
  }
  /* .maeveport-landing-parallax-content-header h2 font-size is now responsive via var */

  .maeveport-landing-parallax-content-row {
    flex-direction: column;
    gap: 30px;
  }
  .maeveport-landing-parallax-content-text-content {
    padding-right: 0;
    text-align: left;
  }
  .maeveport-landing-parallax-content-text-content p {
    text-align: left;
  }

  .maeveport-landing-parallax-content-image-container {
    width: 100%;
    max-width: 400px; /* Reduced max-width for smaller images on mobile */
    margin: 0 auto;
  }
  .maeveport-landing-parallax-content-row
    .maeveport-landing-parallax-content-text-content {
    order: 1;
  }
  .maeveport-landing-parallax-content-row
    .maeveport-landing-parallax-content-image-container {
    order: 2;
  }
  /* .maeveport-landing-parallax-content-text-content h3 font-size is now responsive via var */
}

/* Match .maeveport-dual-pane-text-line responsive font sizes for header h2 */
@media (min-width: 768px) and (max-width: 991px) {
  .maeveport-landing-parallax-content-header h2 {
    font-size: var(--font-size-heading-xxxl);
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .maeveport-landing-parallax-content-header h2 {
    font-size: var(--font-size-heading-xl);
  }
}

@media (max-width: 575px) {
  .maeveport-landing-parallax-content-header h2 {
    font-size: var(--font-size-heading-lg);
  }
}

@media (max-width: 479px) {
  /* .maeveport-landing-parallax-content-header h2 font-size is now responsive via var above */
  /* .maeveport-landing-parallax-content-text-content h3 font-size is now responsive via var */
  /* .maeveport-landing-parallax-content-button font-size is now responsive via var */
  /* .maeveport-landing-parallax-content-arrow-svg size will adjust with font-size */
}
