/* Shared rendering safeguards for locally-served/static pages. */

:root {
  --anvir-accent: #dc143c;
  --anvir-accent-dark: #8b0000;
  --anvir-text: #1a1a1a;
  --anvir-surface: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--anvir-surface);
}

body {
  color: var(--anvir-text);
  background: var(--anvir-surface);
  overflow-x: hidden;
}


img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

iframe[src*="facebook.com/plugins/video.php"] {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 560 / 314;
}

.aa-video-container,
.video-responsive {
  width: min(100%, 560px);
  max-width: 100%;
  margin-inline: auto;
}

.video-responsive {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto !important;
  padding-bottom: 0 !important;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.footer-links {
  flex-wrap: wrap !important;
  row-gap: 10px;
}

.footer-links a {
  margin-left: 0 !important;
}

.gtranslate_wrapper {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9997;
}

.gt_float_switcher,
#gt_float_wrapper {
  left: 16px !important;
  right: auto !important;
  top: auto !important;
  bottom: 16px !important;
  z-index: 9997 !important;
}

.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.goog-te-banner-frame {
  display: none !important;
}

.whatsapp-float {
  bottom: 16px !important;
  right: 16px !important;
  width: 56px !important;
  height: 56px !important;
  z-index: 9998 !important;
}

.whatsapp-float img {
  width: 32px !important;
  height: 32px !important;
}

img[style*="width: 392px"] {
  width: 100% !important;
  max-width: 392px !important;
}

img[width="800"],
img[width="985"],
img[width="1981"] {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  body > header.aa-site-header > div[data-global-resource-path] > header.aa-site-header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .footer-content,
  .footer-right,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-left,
  .footer-right {
    max-width: 100% !important;
    width: 100%;
  }

  .footer-links {
    justify-content: center !important;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-section,
  .email-form,
  .email-input {
    min-width: 0;
    max-width: 100%;
  }

  .email-input {
    padding-right: 120px !important;
  }

  .submit-btn {
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: 48%;
  }

  .aa-hero__body,
  .aa-content,
  .aa-inner {
    max-width: 100%;
  }

  .gtranslate_wrapper,
  .gt_float_switcher,
  #gt_float_wrapper {
    left: 12px !important;
    bottom: 12px !important;
    transform: scale(0.92);
    transform-origin: left bottom;
  }

  .whatsapp-float {
    bottom: 12px !important;
    right: 12px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .whatsapp-float::after {
    display: none !important;
  }
}
