/* VLF Footer Sidebar EN · v1.3.1 — light mega-menu-aligned styling.
   The Fox footer widgets only: original VLF CSS, no third-party assets. */
body.vlf-footer-en-active {
  --vlf-footer-bg: #f5f3ef;
  --vlf-footer-bottom-bg: #ebe9e5;
  --vlf-footer-text: #44505d;
  --vlf-footer-muted: #656e79;
  --vlf-footer-heading: #2e3947;
  --vlf-footer-accent: #55677b;
  --vlf-footer-rule: #cdd1d4;
}
/* Optional darker scheme retained for existing admin configurations. */
body.vlf-footer-en-mode-dark {
  --vlf-footer-bg: #253242;
  --vlf-footer-bottom-bg: #202b38;
  --vlf-footer-text: #e9edf0;
  --vlf-footer-muted: #c8d0d8;
  --vlf-footer-heading: #fff;
  --vlf-footer-accent: #c6a477;
  --vlf-footer-rule: rgba(255,255,255,.26);
}
/* The Fox wrappers, without touching the global megamenu or main content. */
body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) {
  background: var(--vlf-footer-bg) !important;
  color: var(--vlf-footer-text) !important;
  border-top: 1px solid var(--vlf-footer-rule);
}
body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) :is(.widget, .widget-title) {
  background: transparent !important;
}
body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) > :is(.container, .wrap, .container-fluid),
body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) > .inner > .container {
  width: calc(100% - 64px) !important;
  max-width: 1672px !important;
  margin-inline: auto !important;
}
body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) :is(.widget, .widget-area) {border-color: var(--vlf-footer-rule);}

/* Stop inherited centered/italic theme widget styles. All columns start on the
   same visual baseline. Typography follows the sober top-megamenu style. */
body.vlf-footer-en-active .vlf-footer-en-widget,
body.vlf-footer-en-active .vlf-footer-en-widget :is(h2, h3, nav, ul, li, a),
body.vlf-footer-en-active .vlf-footer-en-shortcode,
body.vlf-footer-en-active .vlf-footer-en-shortcode :is(h2, h3, nav, ul, li, a) {
  text-align: left !important;
  font-style: normal !important;
  direction: ltr !important;
  text-indent: 0 !important;
  font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif !important;
}
.vlf-footer-en-widget *, .vlf-footer-en-widget *::before, .vlf-footer-en-widget *::after,
.vlf-footer-en-shortcode *, .vlf-footer-en-shortcode *::before, .vlf-footer-en-shortcode *::after {box-sizing: border-box;}
body.vlf-footer-en-active .vlf-footer-en-widget {
  min-width: 0;
  padding: clamp(32px, 3.2vw, 52px) 14px clamp(36px, 3.6vw, 66px) 0;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vlf-footer-text) !important;
}
body.vlf-footer-en-active .vlf-footer-en-heading {
  margin: 0 0 13px !important;
  padding: 15px 0 13px !important;
  border: 0 !important;
  border-top: 1px solid var(--vlf-footer-rule) !important;
  border-bottom: 1px solid var(--vlf-footer-rule) !important;
  background: none !important;
  color: var(--vlf-footer-heading) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: .015em !important;
  text-transform: uppercase !important;
  min-height: 52px;
  word-break: normal;
}
body.vlf-footer-en-active .vlf-footer-en-heading-link {
  color: inherit !important;
  display: inline-flex !important;
  gap: 9px !important;
  align-items: baseline;
  width: auto !important;
  text-decoration: none !important;
  border: none !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  background: transparent !important;
}
.vlf-footer-en-heading-arrow {display: inline; font-size: 14px; opacity: .65;}
body.vlf-footer-en-active .vlf-footer-en-heading-link:hover,
body.vlf-footer-en-active .vlf-footer-en-heading-link:focus-visible {color: var(--vlf-footer-accent) !important;}
body.vlf-footer-en-active .vlf-footer-en-nav,
body.vlf-footer-en-active .vlf-footer-en-links {width: 100%; margin: 0 !important; padding: 0 !important;}
body.vlf-footer-en-active .vlf-footer-en-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
  list-style: none !important;
}
body.vlf-footer-en-active .vlf-footer-en-links > li {
  list-style: none !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  clear: both !important;
}
body.vlf-footer-en-active .vlf-footer-en-links > li::before,
body.vlf-footer-en-active .vlf-footer-en-links > li::after {display:none !important; content: none !important;}
body.vlf-footer-en-active .vlf-footer-en-links a {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  color: var(--vlf-footer-text) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  transform: none !important;
  transition: color .15s ease;
}
body.vlf-footer-en-active .vlf-footer-en-links a:hover,
body.vlf-footer-en-active .vlf-footer-en-links a:focus-visible {
  color: var(--vlf-footer-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
body.vlf-footer-en-active .vlf-footer-en-group-title {margin-top: 18px !important;}
body.vlf-footer-en-active .vlf-footer-en-group-title h3 {
  border: 0 !important;
  border-top: 1px solid var(--vlf-footer-rule) !important;
  margin: 0 !important;
  padding: 13px 0 7px !important;
  background: none !important;
  color: var(--vlf-footer-heading) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1.5 !important;
}
.vlf-footer-en-contact-aside {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--vlf-footer-rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.vlf-footer-en-contact-aside > span {color: var(--vlf-footer-muted); font-size: 12px;}
body.vlf-footer-en-active .vlf-footer-en-contact-aside a {
  color: var(--vlf-footer-text) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-color: var(--vlf-footer-accent) !important;
  text-underline-offset: 4px;
}
body.vlf-footer-en-active .vlf-footer-en-widget :focus-visible {outline: 2px solid var(--vlf-footer-accent); outline-offset: 3px;}
body.vlf-footer-en-active.vlf-footer-en-style-bottom :is(.footer-bottom, #footer-bottom, .wi-footer-bottom, .site-footer-bottom) {
  background: var(--vlf-footer-bottom-bg) !important;
  color: var(--vlf-footer-muted) !important;
  border-top: 1px solid var(--vlf-footer-rule) !important;
}
body.vlf-footer-en-active.vlf-footer-en-style-bottom :is(.footer-bottom, #footer-bottom, .wi-footer-bottom, .site-footer-bottom) a {color: var(--vlf-footer-text) !important;}
body.vlf-footer-en-active.vlf-footer-en-style-bottom :is(.footer-bottom, #footer-bottom, .wi-footer-bottom, .site-footer-bottom) a:hover {color: var(--vlf-footer-accent) !important;}
.vlf-footer-en-shortcode {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(16px,2vw,36px);
  max-width: 1672px;
  margin-inline: auto;
  padding-inline: 24px;
  background: var(--vlf-footer-bg);
}
@media(max-width:960px) {
  .vlf-footer-en-shortcode{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.vlf-footer-en-active .vlf-footer-en-widget {padding-top: 28px; padding-bottom: 36px;}
}
@media(max-width:640px) {
  body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) > :is(.container, .wrap, .container-fluid),
  body.vlf-footer-en-active :is(.footer-sidebar, #footer-sidebar, .wi-footer-sidebar, .site-footer-widgets, .footer-widgets, .footer-widgets-area) > .inner > .container {width:calc(100% - 36px) !important;}
  .vlf-footer-en-shortcode{grid-template-columns:minmax(0,1fr);padding-inline:18px;}
  body.vlf-footer-en-active .vlf-footer-en-widget {padding: 26px 0 30px;}
  body.vlf-footer-en-active .vlf-footer-en-heading {min-height:0;}
}
@media(prefers-reduced-motion:reduce){body.vlf-footer-en-active .vlf-footer-en-widget a{transition:none !important;}}
