/************************************************************
 * FOOTER BLOCK
 ************************************************************/

/* Footer block background + spacing */
#block-whatcanyoudo-footercontent {
  background: #ccc !important;
  margin-block-end: 0 !important;
}

/* Footer social icons */
#block-whatcanyoudo-footercontent i.fab {
  color: #333 !important;      /* default color */
  transition: color 0.2s ease; /* smooth hover */
}

/* Hover color (optional) */
#block-whatcanyoudo-footercontent a:hover i.fab,
#block-whatcanyoudo-footercontent a:focus i.fab {
  color: #034659 !important;   /* matches your link hover color */
}

/* Remove left margin from footer link list */
#block-whatcanyoudo-footercontent ul.list-inline {
  margin-inline-start: 0 !important;
}

/* Make footer content align with body content grid */
#block-whatcanyoudo-footercontent .container {
  max-width: var(--olivero-max-content-width, 1290px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/************************************************************
 * SUBSCRIBE CTA SECTION (pre-footer teal band)
 ************************************************************/

/* Wrapper for the subscribe band */
.prefooter-subscribe-block {
  position: relative;
  margin-block-end: 0;
  padding: 70px 0;             /* vertical spacing for the band */

  /* full-bleed background illusion */
  background-color: #D4EEF5;   /* base teal */
  box-shadow: 0 0 0 100vmax #D4EEF5;
  clip-path: inset(0 -100vmax);
  z-index: 0;
}

/* Centered content inside site width */
.prefooter-subscribe-block .wpb_wrapper {
  max-width: 1315px;           /* align with main content / wcyd-container */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  padding-bottom: 40px;
}

/* Heading */
.prefooter-subscribe-block h2 {
  color: #333;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* Larger description text */
.prefooter-subscribe-block .f-larger {
  font-size: 20px;
  margin-bottom: 30px;
}

/* CTA button */
.prefooter-subscribe-block .action-button {
  display: inline-block;
  background-color: #96031e;
  color: #fff !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 18px;
}

.prefooter-subscribe-block .action-button:hover,
.prefooter-subscribe-block .action-button:focus {
  background-color: #f2f2f2;
  color: #056c75 !important;
  text-decoration: none;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .prefooter-subscribe-block {
    padding: 45px 0;
  }

  .prefooter-subscribe-block h2 {
    font-size: 32px;
  }

  .prefooter-subscribe-block .f-larger {
    font-size: 18px;
  }
}

/************************************************************
 * SUBSCRIBE CTA BLOCK WRAPPER FIX
 ************************************************************/
#block-whatcanyoudo-subscribecta {
  margin-block-end: 0 !important;
}

/************************************************************
 * FULL-WIDTH FOOTER BACKGROUND
 ************************************************************/
#block-whatcanyoudo-footercontent {
  position: relative;
  background-color: #ccc;   /* actual footer grey */

  /* Full-bleed trick */
  box-shadow: 0 0 0 100vmax #ccc;
  clip-path: inset(0 -100vmax);

  margin-block-end: 0 !important;
}

.region.region--content#content,
#block-whatcanyoudo-content {
  margin-block-end: 0 !important;
}

/* Footer logos side-by-side */
#block-whatcanyoudo-footercontent p {
  display: flex;
  align-items: center;   /* vertical alignment */
  gap: 12px;             /* space between logos */
}

/************************************************************
 * FOOTER CONTAINER ALIGNMENT FIX
 * - Footer uses <footer class="wcyd-container"> which has asymmetric padding-left: 90px.
 * - Override for footer only so footer aligns with page content column.
 ************************************************************/

/* Make the footer container match the content region padding */
footer.wcyd-container {
  max-width: 1315px;              /* same as your main content width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 33.5px !important; /* match .region--content */
  padding-right: 33.5px !important;
  box-sizing: border-box;
}

/*
 * Your footer body markup includes: <div class="container py-4"> ... </div>
 * Bootstrap .container adds its own gutters/max-width behavior.
 * Force that inner container to align with the same content column.
 */
#block-whatcanyoudo-footercontent .container {
  max-width: 1315px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  /* Use the same padding as the main content region */
  padding-left: 33.5px !important;
  padding-right: 33.5px !important;
}

/************************************************************
 * FOOTER RESPONSIVE TYPOGRAPHY (clamp-based)
 * - Smoothly scales down on narrow screens
 * - Scoped ONLY to the footer block
 ************************************************************/

#block-whatcanyoudo-footercontent {
  /* base footer text */
  font-family: var(--wcyd-font-sans);
  font-size: clamp(14px, 1.1vw + 10px, 16px);
  line-height: 1.6;
}

/* Paragraphs + link list */
#block-whatcanyoudo-footercontent p,
#block-whatcanyoudo-footercontent li,
#block-whatcanyoudo-footercontent a {
  font-size: inherit;
  line-height: inherit;
}

/* The “small” legal copy: scale, but stay smaller */
#block-whatcanyoudo-footercontent .small {
  font-size: clamp(12px, 0.9vw + 9px, 14px);
  line-height: 1.55;
}

/* Footer nav list spacing: tighter on mobile */
#block-whatcanyoudo-footercontent ul.list-inline {
  margin-bottom: clamp(10px, 1.2vw, 18px) !important;
  font-size: 16px;
  /* font-weight: 600; */
}

/* Optional: reduce the gap between inline items on smaller screens */
#block-whatcanyoudo-footercontent ul.list-inline .list-inline-item {
  margin-right: clamp(10px, 1.4vw, 18px);
}

/* Social icons: scale with viewport */
#block-whatcanyoudo-footercontent i.fab,
#block-whatcanyoudo-footercontent i.fa-brands {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1;
}

/* If you want the right column to center on mobile */
@media (max-width: 768px) {
  #block-whatcanyoudo-footercontent .text-md-end {
    text-align: left !important; /* or center if you prefer */
  }
}
