/* Text colour defaults via CSS variables — when the Style tab's Text Colour is
   set, flexible_main_content.twig emits --section-color on the parent
   .content-component wrapper, which wins over these design-default fallbacks. */
.two-column-section__left      { color: var(--section-color, #0F3D73); }
.two-column-section__right-copy { color: var(--section-color, #081C3B); }

.two-column-section .welcome-text {
  opacity: 0;
}

.two-column-section .welcome-text.animate {
  animation: welcomeFade 0.8s ease forwards;
}

.two-column-section .welcome-wave-img {
  opacity: 0;
}

.two-column-section .welcome-wave-img.animate {
  animation: welcomeFade 1s ease forwards 0.7s;
}

.two-column-section .welcome-wave-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  fill-opacity: 0;
}

.two-column-section .welcome-wave-path.animate {
  animation: drawWave 1s ease forwards 0.7s;
}

.two-column-section p {
  margin: 0;
}

.two-column-section__media {
  overflow: hidden;
}

.two-column-section__image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.two-column-section__media:hover .two-column-section__image {
  transform: scale(1.08);
}

@keyframes welcomeFade {
  to {
    opacity: 1;
  }
}

@keyframes drawWave {
  to {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

.two-column-section.make-a-submission .two-column-section__cta {
  background: transparent;
  color: #000;
  border-color: #f20d03;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.two-column-section.make-a-submission .two-column-section__cta:hover {
  background: #f20d03;
  color: #fff;
}

/* make-a-submission (section_class): mobile/tablet — centered text, side padding, extra space under CTA */
@media (max-width: 1023px) {
  .two-column-section.make-a-submission {
    text-align: center;
    padding-bottom: 3.5rem;
    margin-bottom: -75px;
  }

  .two-column-section.make-a-submission .grid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .two-column-section.make-a-submission .container > div.mt-12:last-child {
    margin-bottom: 1.75rem;
  }
}
