/*
  Footer custom CSS for Beleef Eindhoven.

  Keep footer-specific modifications here so this section can be reviewed,
  merged, or moved independently from the approved base stylesheet.
  Scope changes to .footer-area, .cta-banner, .site-footer, or footer-specific
  child classes to avoid affecting the rest of the homepage.
*/


/* Global css */
.footer-area .be-container {
    width: min(calc(100% - 160px), var(--be-container));
	padding-inline: 0;
}

@media (max-width: 1500px) and (min-width: 1201px) {
.footer-area .be-container {
    width: min(calc(100% - 160px), var(--be-container));
	padding-inline: 0;
}
}

@media (max-width: 1200px) and (min-width: 1025px) {
.footer-area .be-container {
    width: min(calc(100% - 120px), var(--be-container));
	padding-inline: 0;
}
}

@media (max-width: 1024px) and (min-width: 768px) {
.footer-area .be-container {
    width: min(calc(100% - 80px), var(--be-container));
	padding-inline: 0;
}
}

@media (max-width: 767px) { 
.footer-area .be-container {
    width: min(calc(100% - 40px), var(--be-container));
	padding-inline: 0;
}
}

/* Global css */

.cta-banner h2 span {
  color: #501f3a;
}

.cta-banner {
  align-items: stretch;
  border-radius: 17px;
  background: var(--be-coral);
  margin-bottom: 0px;
  overflow: hidden;
  position: relative;
  top: -148px;
}

.cta-banner h2 {
  width: 100%;
  margin: 0 auto;
  color: var(--be-white);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.cta-banner p {
  width: 100%;
  margin: 10px auto 23px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 300;
  text-align: left;
}

.cta-banner .be-button {
  min-height: 40px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
}

.cta-banner .be-button img {
  width: 22px;
  height: 22px;
}

:root {
  --footer-cta-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1473' height='1138' viewBox='0 0 1473 1138'%3E%3Cpath d='M 1396.468 974.088 C 1377.993 998.948, 1356.193 1020.061, 1331.674 1036.849 C 1159.918 1154.448, 657.202 1170.508, 409.012 1079.812 C 203.398 1004.672, 46.988 871.236, 10.545 739.872 C -18.303 635.926, 12.261 519.336, 98.93 402.708 C 276.815 163.327, 905.622 -33.736, 1111.658 4.859 C 1222.685 25.663, 1328.138 144.45, 1400.992 330.77 C 1482.254 538.601, 1512.368 818.119, 1396.468 974.088 Z' fill='black'/%3E%3Crect x='1328' y='0' width='145' height='1138' fill='black'/%3E%3C/svg%3E");
}

.cta-banner__media {
  position: relative;
  aspect-ratio: 1032 / 554;
  overflow: hidden;
  border-radius: 17px;
  isolation: isolate;
}

.site-footer {
    padding: 20px 0 44px;
}

.cta-banner__media img {
  position: absolute;
	  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  -webkit-mask-image: var(--footer-cta-mask);
  mask-image: var(--footer-cta-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 31% 42%;
  mask-position: 31% 42%;
  -webkit-mask-size: 145% 160%;
  mask-size: 145% 160%;
  border-radius: 0;
  clip-path: none;
  display: block;
  object-fit: cover;
  object-position: 50% 48%;
}

.site-footer__map {
  width: 100%;
  min-height: 282px;
  display: block;
  border: 0;
  border-radius: 13px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.site-footer__grid {
  align-items: center;
}

@media (min-width: 1025px) {
  .cta-banner > .cta-banner__copy {
    flex: 0 0 auto;
    width: 60%;
  }

  .cta-banner > .cta-banner__media {
    flex: 0 0 auto;
    width: 40%;
  }

  .footer-area > .be-container,
  .footer-area .site-footer > .be-container {
    padding-inline: 0;
  }

  .site-footer__grid > .be-col-lg-5,
  .site-footer__grid > .be-col-lg-7 {
    flex: 0 0 auto;
    width: 50%;
  }

  .site-footer__grid > .be-col-lg-5 {
    margin-top: 0;
  }
}

.site-footer__content {
  align-items: start;
}

.site-footer address,
.site-footer nav,
.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: rgb(255 255 255);
  font-style: normal;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
}

.site-footer strong {
  font-size: 16px;
  font-weight: 600;
}

.site-footer__addresses {
  margin-top: 0;
}

.site-footer__address-lines {
  display: block;
  min-width: 0;
}

/*
 * iOS Safari turns detected postal addresses into links. Keep those generated
 * links visually consistent and inside the normal address line flow.
 */
.site-footer__addresses a[x-apple-data-detectors],
.site-footer__addresses a[href^="x-apple-data-detectors"] {
  display: inline !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-footer__contact {
  gap: 9px;
}

.site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.site-footer__separator {
  display: inline-block;
  margin: 0 0.45em;
  opacity: 0.72;
}

.site-footer__icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

a.site-footer__icon-link {
  color: #fff;
  font-weight: 300;
}

.site-footer__icon-link img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
  margin: 0;
  transition: filter 180ms ease;
}

.site-footer__icon-link:hover img,
.site-footer__icon-link:focus-visible img {
  filter: brightness(0) saturate(100%) invert(66%) sepia(72%) saturate(1563%) hue-rotate(322deg) brightness(101%) contrast(101%);
}

.site-footer .socials {
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.site-footer .socials a {
  width: 27px;
  height: 27px;
  background: var(--be-coral);
}

.site-footer .socials img {
  width: 15px;
  height: 15px;
  margin: 0;
  object-fit: contain;
}

.site-footer .socials a[aria-label="Facebook"] img {
  width: 9px;
}

.site-footer__contact > img {
  width: 120px;
  margin-top: 20px;
}

.site-footer__logo-link {
  display: inline-block;
  margin-top: 20px;
  line-height: 0;
}

.site-footer__logo-link img {
  width: 120px;
  margin-top: 0;
}

.site-footer .socials a:hover {
  background: #fff;
}

.site-footer a,
.site-footer .socials a {
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-footer .socials a img {
  transition: filter 0.3s ease;
}

.site-footer .socials a:hover img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(30%) saturate(1515%) hue-rotate(279deg) brightness(92%) contrast(91%);
}



/* Responsive css */

@media (min-width: 1201px) and (max-width: 1500px) {
  .cta-banner {
    align-items: stretch;
    border-radius: 17px;
    background: var(--be-coral);
    margin-bottom: 0px;
    overflow: hidden;
    position: relative;
    top: -135px;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .cta-banner {
    align-items: stretch;
    border-radius: 17px;
    background: var(--be-coral);
    margin-bottom: 0px;
    overflow: hidden;
    position: relative;
    top: -115px;
  }
}

@media (max-width: 1299px) and (min-width: 1025px) {
.cta-banner__copy {
    padding: 34px 40px 34px 40px;
}
}

@media (max-width: 1250px) and (min-width: 1025px) {
.cta-banner .be-button {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
}

.cta-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}	
.cta-banner h2 {
    font-size: 32px;
}
}

@media (max-width: 1100px) and (min-width: 1025px) {
.cta-banner__media img {
    -webkit-mask-size: 140% 135%;
    mask-size: 140% 135%;
}
}


@media (max-width: 1024px) {
  .cta-banner__media img {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: inherit;
    clip-path: none;
  }
.cta-banner__media {
    aspect-ratio: 2.2 / 1;
    border-radius: 0px 0px 17px 17px;
}
.cta-banner__actions {
    display: inline-block;
    text-align: center;
}
.cta-banner__actions a {
    margin: 0px 5px;
}
.cta-banner h2 {
    text-align: center;
}
.cta-banner p {
    text-align: center;
}
.cta-banner__copy {
    padding: 60px 30px 60px;
}
.cta-banner {
    transform: translateY(0px);
    margin-bottom: -70px;
    position: relative;
    top: -140px;
}
.site-footer__content {
    max-width: 100%;
    margin-top: 20px;
}
}

@media (max-width: 767px) {
.cta-banner h2 {
    font-size: 32px;
}
.cta-banner {
    transform: translateY(0px);
    margin-bottom: -60px;
    position: relative;
    top: -120px;
}
.be-row.site-footer__content nav.be-col-12.be-col-sm-4 {
    margin: 35px 0px;
}
    .cta-banner__copy {
        padding: 50px 20px 60px;
    }
.cta-banner__actions {
    display: flex;
    width: 100%;
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: center;
}
.cta-banner .be-button {
    margin: 10px 0 !important;
}
}

@media (max-width: 480px) {
  .site-footer__map {
    min-height: 220px;
  }
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ff8359;
}
