/* Enterprise footer */

.ck-footer.site-footer {
  padding: 0 !important;
  background:
    linear-gradient(180deg, rgba(184, 149, 106, 0.55) 0, rgba(184, 149, 106, 0.55) 3px, transparent 3px),
    var(--ck-primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
}

.ck-footer.site-footer,
.ck-footer.site-footer .top-footer,
.ck-footer.site-footer .buttom-footer {
  overflow: visible;
}

.ck-footer.site-footer .top-footer {
  background: transparent;
}

/* Legacy style.css zeros .top-footer padding — must win on .ck-footer__main */
.ck-footer.site-footer .ck-footer__main.top-footer,
.ck-footer.site-footer .top-footer.ck-footer__main {
  padding: clamp(2.25rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem) !important;
  min-height: auto;
  height: auto;
  max-height: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ck-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(200px, 1fr) minmax(160px, 0.85fr) minmax(200px, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.5rem, 2.5vw, 2.25rem);
  align-items: start;
  padding-top: 0;
}

.ck-footer__col {
  min-width: 0;
  padding-top: 0;
}

.ck-footer__brand {
  max-width: 22rem;
  padding-bottom: 0.5rem;
}

.ck-footer__logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  text-decoration: none !important;
  color: #fff !important;
}

.ck-footer__brand-name {
  font-family: "Roboto Serif", Georgia, serif;
  font-size: clamp(1.55rem, 2.1vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fff;
  padding-top: 0.15rem;
}

.ck-footer__brand-sub {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ck-accent-light);
  padding-bottom: 0.15rem;
}

.ck-footer__tagline {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  line-height: 1.65;
}

.ck-footer__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ck-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ck-footer__cta:hover {
  color: var(--ck-accent-light) !important;
}

.ck-footer__cta i {
  width: 1.1rem;
  text-align: center;
  color: var(--ck-accent);
}

.ck-footer__heading {
  margin: 0 0 1.15rem;
  padding: 0.35rem 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ck-accent-light) !important;
  border-bottom: 1px solid rgba(212, 196, 168, 0.35);
  overflow: visible;
}

.ck-footer__heading::before {
  display: none !important;
}

.ck-footer__affil {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ck-footer__affil-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.ck-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ck-footer__nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ck-footer__nav a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.ck-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
}

.ck-footer__contact li {
  margin: 0;
  padding: 0;
}

.ck-footer__contact li + li {
  margin-top: 0.65rem;
}

.ck-footer__address {
  margin: 0;
  line-height: 1.75;
  overflow: visible;
  white-space: normal;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.02rem;
}

/* Override global `p { color: #444 }` inside footer */
.ck-footer.site-footer p,
.ck-footer.site-footer .ck-footer__contact li {
  color: rgba(255, 255, 255, 0.92) !important;
}

.ck-footer__social {
  list-style: none;
  margin: 1.15rem 0 0.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ck-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ck-footer__social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.ck-footer.site-footer .ck-footer__bar.buttom-footer,
.ck-footer.site-footer .buttom-footer.ck-footer__bar {
  padding: 1.1rem 0 2.75rem !important;
  background: #0b1c33 !important;
  min-height: auto;
  height: auto;
}

.ck-footer__bar-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.ck-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0 6.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.35rem;
  max-width: 100%;
}

.ck-footer__legal li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.ck-footer .footer-menu ul {
  font-size: inherit;
}

.ck-footer .footer-menu ul li {
  display: inline-flex;
  padding: 0;
}

.ck-footer .footer-menu ul li::before,
.ck-footer__legal li::before {
  display: none !important;
}

.ck-footer__legal a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.ck-footer__legal a:hover {
  color: #fff !important;
}

.ck-footer.site-footer .copy-right.ck-footer__copy {
  margin: 0;
  padding-right: 6.5rem;
  max-width: 100%;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75) !important;
  text-align: left !important;
}

/* Neutralize legacy footer widget rules inside ck-footer */
.ck-footer .widget {
  margin-bottom: 0;
  color: inherit;
}

.ck-footer .widget .widget-title {
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .ck-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ck-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 575px) {
  .ck-footer__grid {
    grid-template-columns: 1fr;
  }

  .ck-footer.site-footer .ck-footer__bar.buttom-footer {
    padding-bottom: 3.25rem;
  }

  .ck-footer__legal,
  .ck-footer__copy {
    padding-right: 0;
  }

  .ck-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .ck-footer__legal a {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ck-footer__nav a,
  .ck-footer__social a {
    transition: none;
  }

  .ck-footer__nav a:hover {
    transform: none;
  }
}
