/* CEyS site module: ceys-site-footer.css */

.ceys-plugin-header-enabled footer.site-footer {
  display: none !important;
}

.ceys-footer-entities {
  width: 100%;
  margin-top: clamp(42px, 6vw, 86px);
  background: #fff;
  border-top: 1px solid rgba(29, 58, 108, .08);
}

.ceys-footer-entities-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px) 0 clamp(18px, 3vw, 30px);
}

.ceys-footer-entities-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.ceys-footer-entities-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: ceys-footer-entities-scroll 34s linear infinite;
}

.ceys-footer-entities:hover .ceys-footer-entities-track,
.ceys-footer-entities:focus-within .ceys-footer-entities-track {
  animation-play-state: paused;
}

.ceys-footer-entities-group {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  padding-right: clamp(30px, 4vw, 64px);
}

.ceys-footer-entity {
  height: 86px;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ceys-footer-entity img {
  display: block;
  width: auto;
  max-width: 260px;
  max-height: 74px;
  object-fit: contain;
}

.ceys-footer-entity-link:hover,
.ceys-footer-entity-link:focus-visible {
  background: rgba(0, 176, 205, .08);
  box-shadow: 0 10px 24px rgba(29, 58, 108, .12);
  outline: none;
  transform: translateY(-1px);
}

@keyframes ceys-footer-entities-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ceys-site-footer {
  width: 100%;
  color: #fff;
  background: #1d3a6c;
  border-top: 4px solid #5fb030;
}

.ceys-site-footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 58px) 0 26px;
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) repeat(3, minmax(120px, .8fr)) minmax(250px, 1.4fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}

.ceys-site-footer-brand a {
  display: inline-flex;
  align-items: center;
  background: #1d3a6c;
  text-decoration: none;
}

.ceys-site-footer-brand img {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  background: #1d3a6c;
  filter: none;
  box-shadow: none;
}

.ceys-site-footer-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-style: normal;
}

.ceys-site-footer-column h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.ceys-site-footer-column a,
.ceys-site-footer-column span {
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  text-decoration: none;
}

.ceys-site-footer-column a:hover,
.ceys-site-footer-column a:focus-visible {
  color: #00b0cd;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ceys-site-footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ceys-site-footer-social a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.ceys-site-footer-social a:hover,
.ceys-site-footer-social a:focus-visible {
  color: #fff;
  background: #00b0cd;
  border-color: #00b0cd;
  text-decoration: none;
}

.ceys-site-footer-social .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
}

.ceys-site-footer-contact {
  gap: 5px;
}

.ceys-site-footer-credit {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 14px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1024px) {
  .ceys-site-footer-inner {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .ceys-footer-entities-inner,
  .ceys-site-footer-inner,
  .ceys-site-footer-credit {
    width: min(100% - 28px, 520px);
  }

  .ceys-site-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .ceys-site-footer-brand img {
    width: min(270px, 78vw);
  }
}

@media (max-width: 680px) {
  .ceys-footer-entities-inner {
    width: min(calc(100vw - 32px), 360px) !important;
    max-width: min(calc(100vw - 32px), 360px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ceys-footer-entities-track {
    animation-duration: 28s;
  }

  .ceys-footer-entities-group {
    gap: 24px;
    padding-right: 24px;
  }

  .ceys-footer-entity {
    height: 64px;
    min-width: 118px;
    padding: 6px 8px;
  }

  .ceys-footer-entity img {
    max-width: 190px;
    max-height: 54px;
  }
}
