/* Synopticom Footer Widget styles */

.synopticom-footer {
  --syn-coral: #CE6452;
  --syn-ink: #383838;
  --syn-max: 1240px;
  --syn-gut: clamp(1.25rem, 4vw, 3.5rem);
}

.synopticom-footer a {
  color: inherit;
  text-decoration: none;
}

.synopticom-footer .site-footer {
  background: var(--syn-ink);
  color: rgba(255, 255, 255, 0.55);
}

.synopticom-footer .W {
  max-width: var(--syn-max);
  margin: 0 auto;
  padding: 0 var(--syn-gut);
}

.synopticom-footer .foot-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.synopticom-footer .fl-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.synopticom-footer .fl-wrap img,
.synopticom-footer .fl-wrap svg {
  display: block;
  max-height: 26px;
  width: auto;
}

.synopticom-footer .ft-tag {
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 230px;
  margin: 0 0 1.3rem;
}

.synopticom-footer .ft-em {
  font-size: 0.78rem;
  color: rgba(206, 100, 82, 0.85);
  font-weight: 600;
}

.synopticom-footer .ft-em:hover {
  color: var(--syn-coral);
}

.synopticom-footer .fc-t {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0 1rem;
}

/* Column links — match original .fc-l { gap: .45rem } */
.synopticom-footer .fc-l {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.synopticom-footer .fc-l > li {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  background: transparent;
}

.synopticom-footer .fc-l > li::before,
.synopticom-footer .fc-l > li::after {
  content: none;
  display: none;
}

.synopticom-footer .fc-l a {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.83rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.16s;
}

.synopticom-footer .fc-l a:hover {
  color: #fff;
}

.synopticom-footer .foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.25);
}

.synopticom-footer .foot-bot > span {
  margin: 0;
  padding: 0;
}

/* Bottom legal links — match original .foot-leg { gap: 1.5rem } */
.synopticom-footer .foot-leg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.synopticom-footer .foot-leg a {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.16s;
}

.synopticom-footer .foot-leg a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/*
 * Theme overrides (e.g. Blocksy, Elementor kit) often add li/a margins
 * to wp_nav_menu output. These rules mirror the original HTML reset.
 */
.elementor-widget-synopticom-footer .synopticom-footer ul.fc-l,
.elementor-location-footer .synopticom-footer ul.fc-l,
footer .synopticom-footer ul.fc-l {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-widget-synopticom-footer .synopticom-footer .fc-l > li,
.elementor-location-footer .synopticom-footer .fc-l > li,
footer .synopticom-footer .fc-l > li,
.elementor-widget-synopticom-footer .synopticom-footer .fc-l .menu-item,
.elementor-location-footer .synopticom-footer .fc-l .menu-item,
footer .synopticom-footer .fc-l .menu-item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}

.elementor-widget-synopticom-footer .synopticom-footer .fc-l > li + li,
.elementor-location-footer .synopticom-footer .fc-l > li + li,
footer .synopticom-footer .fc-l > li + li {
  margin-top: 0 !important;
}

.elementor-widget-synopticom-footer .synopticom-footer .fc-l a,
.elementor-widget-synopticom-footer .synopticom-footer .foot-leg a,
.elementor-location-footer .synopticom-footer .fc-l a,
.elementor-location-footer .synopticom-footer .foot-leg a,
footer .synopticom-footer .fc-l a,
footer .synopticom-footer .foot-leg a {
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.elementor-widget-synopticom-footer .synopticom-footer .fc-l,
.elementor-location-footer .synopticom-footer .fc-l,
footer .synopticom-footer .fc-l {
  row-gap: 0.45rem !important;
}

.elementor-widget-synopticom-footer .synopticom-footer .foot-leg,
.elementor-location-footer .synopticom-footer .foot-leg,
footer .synopticom-footer .foot-leg {
  gap: 1.5rem !important;
}

@media (max-width: 1024px) {
  .synopticom-footer .foot-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .synopticom-footer .foot-main {
    grid-template-columns: 1fr;
  }
}
