{# RESET #}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}


{#  BLOCK #}
.split-section {
  position: relative;
  padding: 2rem 0;
  overflow: hidden;
}


{# CONTAINER #}
.split-section__container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


{# COLUMNS #}
.split-section__media-col {
  width: 100%;
}

.split-section__content-col {
  width: 100%;
  display: flex;
  align-items: center;
}


{# FIGURE & IMAGE #}
.split-section__figure {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.split-section__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


{# CONTENT #}
.split-section__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  text-align: center;
}


{#  Tag #}
.split-section__tag {
  display: inline-block;
  font-family: AvenirNext Bold, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  width: fit-content;
  margin: 20px auto 0px auto;
}


{# HEADING #}
.split-section__heading {
  font-size: 2rem;
  font-weight: 800;
  line-height: 2.5rem;
  margin-bottom: 0;
}

{# BODY #}
.split-section__body p {
  font-size: 0.9375rem;
  line-height: 1.7;
}


{# CTA #}
.split-section__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  padding-top: 0.5rem;
}

.split-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.split-section__cta--primary {
  background-color: #303AAE;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(26, 92, 255, 0.3);
}

.split-section__cta--primary:hover {
  background-color: #303AAE;
  box-shadow: 0 4px 12px rgba(26, 92, 255, 0.35);
  transform: translateY(-1px);
}

.split-section__cta:focus-visible {
  outline: 3px solid #1a5cff;
  outline-offset: 3px;
}


@media (min-width: 786px) {
  .split-section {
    padding: 4.5rem 0;
  }

  .split-section__container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding: 0 2.5rem;
  }

  .split-section__content {
    gap: 1.5rem;
    text-align: left;
  }

  .split-section__tag {
    margin: 0;
  }

  .split-section__heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 3rem;
    margin-bottom: 0;
  }

  .split-section__cta-group {
    justify-content: flex-start;
  }

  {# REVERSED #}
  .split-section--reversed .split-section__container {
    flex-direction: row-reverse;
  }


}

