/* Shared footer styles – works without Tailwind (homepage + internal pages) */
/* Accessibility: portfolio carousel subtitle contrast fix */
.portfolio-carousel-subtitle {
  color: #767676 !important;
}
/* Performance: content-visibility for below-fold sections */
.portfolio-carousel-wrapper,
.tg_horizontal_gallery,
#cityline-home-testimonials {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
/* Prevent horizontal scroll / whitespace on the right (site-wide) */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.cityline-footer {
  margin-top: auto;
  background-color: #000;
  color: #aaa;
}
.cityline-footer__inner {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 100px 0 60px;
  box-sizing: border-box;
  background-color: #000;
}
@media (max-width: 1190px) {
  .cityline-footer__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.cityline-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 0;
  background-color: #000;
}
.cityline-footer__grid > div {
  background-color: #000;
}
@media (min-width: 768px) {
  .cityline-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .cityline-footer__grid {
    grid-template-columns: 20% 20% 25% 35%;
  }
}
.cityline-footer__title {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  margin: 0 0 1.5rem;
}
.cityline-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #000;
}
.cityline-footer__list li {
  margin-bottom: 0.5rem;
}
.cityline-footer__list li:last-child {
  margin-bottom: 0;
}
.cityline-footer__list a,
.cityline-footer__list .cityline-footer__text {
  font-size: 16px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}
.cityline-footer__list a:hover {
  color: #fff;
}
.cityline-footer__newsletter {
  margin-top: 1.25rem;
  width: 100%;
  max-width: none;
}
.cityline-footer__newsletter .mc4wp-form {
  margin: 0;
}
.cityline-footer__newsletter .mc4wp-form-fields {
  display: block;
}
.cityline-footer__newsletter .input_wrapper {
  width: 187px;
}
.cityline-footer__newsletter .input_effect {
  width: 100%;
  height: 49px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding: 14px 0;
  line-height: normal;
  box-sizing: border-box;
}
.cityline-footer__newsletter .input_effect::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.cityline-footer__newsletter .input_effect:focus {
  outline: none;
  border-bottom-color: #fff;
}
.cityline-footer__newsletter .input_submit_wrapper input[type="submit"] {
  appearance: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-family: Heebo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  min-height: 41px;
  width: 103.562px;
  padding: 9.6px 40px;
  margin-left: 10px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.cityline-footer__newsletter .input_submit_wrapper input[type="submit"]:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}
.cityline-footer-subscribe__honeypot {
  display: none;
}
.cityline-footer-subscribe__status,
.cityline-footer-subscribe__error,
.cityline-footer-subscribe .invalid-feedback {
  margin-top: 0.625rem;
  font-size: 12px;
  line-height: 1.4;
}
.cityline-footer-subscribe__status {
  color: #aaa;
}
.cityline-footer-subscribe__error,
.cityline-footer-subscribe .invalid-feedback {
  color: #ff6b6b;
}
@media (max-width: 767px) {
  .cityline-footer__newsletter .mc4wp-form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .cityline-footer__newsletter .input_wrapper {
    display: block !important;
    width: 100%;
  }
  .cityline-footer__newsletter .input_submit_wrapper {
    display: block !important;
    width: 100%;
  }
  .cityline-footer__newsletter .input_submit_wrapper input[type="submit"] {
    margin-left: 0;
    width: auto;
  }
}
.cityline-footer__social {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.cityline-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}
.cityline-footer__social a:hover {
  background-color: #fff;
  color: #000;
}
.cityline-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.cityline-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000;
  padding: 1.5rem 0;
  box-sizing: border-box;
}
.cityline-footer__bar-inner {
  max-width: 1190px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  box-sizing: border-box;
}
@media (max-width: 1190px) {
  .cityline-footer__bar-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 640px) {
  .cityline-footer__bar-inner {
    flex-direction: row;
  }
}
.cityline-footer__copyright {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  margin: 0;
}
.cityline-footer__copyright a {
  color: #9b9b9b;
  text-decoration: underline;
  transition: color 0.2s;
}
.cityline-footer__copyright a:hover {
  color: #fff;
}
