/* Kaman Lend 1.3.42 — last in the cascade. Footer visuals remain matched to
   Figma 11423:11053 / 11431:11900 while all non-menu content uses Widgets. */

/* The uploaded desktop SVG was cropped by a 32px tall, overflow-hidden link
   coupled with a visual scale transform. Do not crop image or its ancestors. */
@media (min-width:900px) {
  .kl-footer--desktop.klf .klf-inner,
  .kl-footer--desktop.klf .klf-top,
  .kl-footer--desktop.klf .klf-main-logo,
  .kl-footer--desktop.klf .klf-main-logo .kl-brand-logo-area,
  .kl-footer--desktop.klf .klf-main-logo .kl-brand-logo-widget,
  .kl-footer--desktop.klf .klf-main-logo .kl-brand-logo-link,
  .kl-footer--desktop.klf .klf-main-logo .klf-default-logo { overflow:visible !important; }
  .kl-footer--desktop.klf .klf-top {align-items:center !important; padding-top:0 !important; }
}
.klf .klf-main-logo,
.klf .klf-main-logo .kl-brand-logo-area,
.klf .klf-main-logo .kl-brand-logo-widget,
.klf .klf-main-logo .kl-brand-logo-link {
  overflow:visible !important;
  height:32px;
  min-height:32px;
  max-height:none;
  align-items:center;
  flex-shrink:0;
}
.klf .klf-main-logo .kl-brand-logo-link .kl-brand-logo-image,
.klf .klf-main-logo .kl-brand-logo-link[data-kl-logo-svg="1"] .kl-brand-logo-image,
.klf .klf-main-logo .kl-brand-logo-link[data-kl-logo-fit="cover"] .kl-brand-logo-image,
.klf .klf-main-logo .kl-brand-logo-link[data-kl-logo-fit="auto"] .kl-brand-logo-image {
  display:block;
  width:100% !important;
  max-width:201.6px !important;
  height:32px !important;
  max-height:32px !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:none !important;
  clip-path:none !important;
}
.klf .klf-main-logo .kl-brand-logo-link[data-kl-logo-has-mark="1"] .kl-brand-logo-image {width:calc(100% - 48px) !important;max-width:153.6px !important;}
.klf .klf-main-logo .kl-brand-logo-link .kl-brand-logo-mark {width:32px !important; height:32px !important; max-height:32px !important; flex:0 0 32px;object-fit:contain !important;transform:none !important;}
.klf .klf-main-logo .klf-default-logo,
.klf .klf-main-logo .klf-default-logo img {overflow:visible !important;}
.klf .klf-main-logo .klf-default-logo img {transform:none !important;object-fit:contain !important;}

/* Custom-socials widget contains several icons; it must not inherit the old
   36×36 single-image widget bounds or clip other networks. */
.klf .klf-socials > .klf-widget:has(.klf-socials-list) {
  width:auto !important;height:auto !important;max-width:none;flex:0 0 auto;
  background:transparent;overflow:visible !important;border-radius:0;
}
.klf .klf-socials-list {display:flex;direction:ltr;align-items:center;flex-wrap:wrap;gap:8px;}
.klf .klf-socials-list > a,.klf .klf-socials-list > span {
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;background:#f3f6f9;
  overflow:hidden;font-size:11px;text-decoration:none;
}
.klf .klf-socials-list img {width:22px;height:22px;max-width:22px;max-height:22px;object-fit:contain;}

/* Brand logo widget manages five slots as one logical collection. */
.klf .klf-family-logos > .klf-widget:has(.klf-brands-widget-list) {
  display:block;flex:1 1 100%;width:100%;max-width:none;max-height:none;
  padding:0;border:0;min-width:0;
}
.klf .klf-brands-widget-list {display:flex;direction:ltr;align-items:center;justify-content:space-around;width:100%;}
.klf .klf-brands-widget-list > .klf-family-item {flex:1 1 0;min-width:0;max-width:none;}
.klf .klf-brands-widget-list .klf-family-item img {height:auto;width:auto;max-width:50%;max-height:46px;object-fit:contain;}
.klf .klf-brands-widget-list .klf-family-item a {display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;}
.klf .klf-brands-widget-list .klf-family-image--mark {max-width:26% !important;}

/* Mobile contact is always right aligned; each label and its value share rail. */
@media (max-width:899px) {
  .kl-footer--mobile .klf-mobile-contact .klf-contact-row,
  .kl-footer--mobile .klf-mobile-contact .klf-contact-row :is(span,strong) {direction:rtl !important;text-align:right !important;}
  .kl-footer--mobile .klf-main-logo .kl-brand-logo-link .kl-brand-logo-image {transform:none !important;}
  .kl-footer--mobile .klf-socials-list > a,.kl-footer--mobile .klf-socials-list > span {width:44px;height:44px;}
  .kl-footer--mobile .klf-socials-list img {width:24px;height:24px;max-height:24px;max-width:24px;}
  .kl-footer--mobile .klf-brands-widget-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:0;row-gap:16px;direction:rtl;}
  .kl-footer--mobile .klf-brands-widget-list > .klf-family-item {height:32px;max-height:32px;border:0;min-width:0;padding:0 4px;}
  .kl-footer--mobile .klf-brands-widget-list .klf-family-item:nth-child(3) {order:1;}
  .kl-footer--mobile .klf-brands-widget-list .klf-family-item:nth-child(4) {order:2;}
  .kl-footer--mobile .klf-brands-widget-list .klf-family-item:nth-child(5) {order:3;}
  .kl-footer--mobile .klf-brands-widget-list .klf-family-item:nth-child(1) {order:4;}
  .kl-footer--mobile .klf-brands-widget-list .klf-family-item:nth-child(2) {order:5;}
  .kl-footer--mobile .klf-brands-widget-list .klf-family-item img {max-height:32px;}
  .kl-footer--mobile .klf-family-logos > .klf-widget:has(.klf-brands-widget-list) {max-height:none;}
}

/* Controls are only shown on the WordPress Widgets edit screen. */
.kl-footer-badge-row {border:1px solid #dce3ed;border-radius:8px;padding:10px;margin:10px 0;background:#f8faff;}
