/* Footer base */
/* Remove the space between newsletter bar and footer main */
.cpld-footer{
  --wp--style--block-gap: 0px; /* kills default block gap inside this footer */
}

.cpld-footer__newsletter,
.cpld-footer__main{
  margin: 0 !important; /* prevents theme-added margins on groups */
}

.cpld-footer__icon { line-height: 0; }
.cpld-footer {
  margin-top: 0;
}

/* Newsletter bar */
.cpld-footer__newsletter {
  background: #e1c25a; /* golden */
  padding: 28px 0;
}

.cpld-footer__newsletter-inner {
  gap: 18px;
}

.cpld-footer__newsletter-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
}

.cpld-footer__newsletter-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cpld-footer__newsletter-form input[type="email"]{
  width: min(420px, 70vw);
  height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.15);
  font-size: 16px;
}

.cpld-footer__newsletter-form button{
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 0;
  background: #4f8fe8; /* blue button */
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.cpld-footer__newsletter-form button:hover{
  filter: brightness(0.95);
}

/* Main dark footer */
.cpld-footer__main{
  background: #2f3a49; /* dark slate */
  color: #fff;
  padding: 48px 0;
}

.cpld-footer__columns{
  gap: 36px;
}

.cpld-footer__heading{
  margin: 0 0 18px 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Lists */
.cpld-footer__list,
.cpld-footer__hours{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.cpld-footer__hours strong{
  font-weight: 800;
}

.cpld-footer__list a{
  color: #fff;
  text-decoration: none;
}

.cpld-footer__list a:hover{
  text-decoration: underline;
}

/* Icon column is fixed; text column is free */
.cpld-footer__icon{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  place-items: center;
  justify-content: center;
  margin-top: 0px;
  color: #fff;
}

.cpld-footer__icon svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Make sure the row can be taller than the icon */
.cpld-footer__list li,
.cpld-footer__hours li{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;      /* important if a global style set a min-height */
  height: auto;       /* override any “button-like” height rules */
}

/* Ensure the text area can wrap naturally */
.cpld-footer__list li > :not(.cpld-footer__icon){
  flex: 1 1 auto;
  min-width: 0;
}
