/*-- -------------------------- -->
<---          CTA Banner         -->
<--- -------------------------- -*/

/* A thin, full-bleed strip directly above the footer -- not a full section
   with the usual --sectionPadding, just enough vertical room for the
   heading/button row. Sits flush against the footer (no margin/padding
   below) so the two visually read as one bottom block. Mustard is a one-off
   accent colour for this banner (not one of the site's tokens), chosen to
   contrast against the surrounding cream/white sections. */

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-banner-3391 {
    padding: 2.5rem 0;
    background-color: #dfb13a;
  }
  #cta-banner-3391 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }
  #cta-banner-3391 .cs-cta-title {
    font-family: var(--headingFont);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2em;
    margin: 0;
    color: var(--navy);
  }
  /* Overrides the site-wide peach button just for this banner -- a peach
     button on a mustard background has almost no contrast, so it becomes a
     solid navy fill with white text instead. */
  #cta-banner-3391 .cs-cta-button.cs-button-solid {
    background-color: var(--navy);
    color: #fff;
  }
  #cta-banner-3391 .cs-cta-button.cs-button-solid:before {
    background: var(--headerColor);
  }
}

/* Tablet - 768px: heading left, button right, touching the section edges */
@media only screen and (min-width: 48rem) {
  #cta-banner-3391 .cs-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0 2rem;
  }
}
