
/* Isbaneteknikk audit fixes - conservative static export patch */
:root {
  --isbat-audit-radius-card: 8px;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

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

table {
  max-width: 100%;
}

.site,
.site-content,
.content-area,
.entry-content,
.inside-article,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-container,
.wp-block-group,
.wp-block-columns,
.container,
.grid-container,
.isbat-container,
.isbat-wrap,
.fin-wrap,
.saas-wrap,
.card,
.panel,
.tile,
[class*="grid"],
[class*="cards"],
[class*="columns"] {
  min-width: 0;
}

body,
p,
li,
a,
button,
input,
textarea,
select,
.main-navigation a,
.isbat-nav a,
.isbat-topbar a,
.card,
.panel,
.tile {
  letter-spacing: 0;
}

.entry-content img:not([width]),
.elementor-widget-container img:not([width]) {
  aspect-ratio: attr(width number) / attr(height number);
}

.card,
.panel,
.tile,
[class*="card"],
[class*="panel"],
[class*="tile"] {
  max-width: 100%;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  [style*="width"],
  [style*="min-width"] {
    max-width: 100% !important;
  }

  .entry-content,
  .inside-article,
  .elementor-widget-container {
    overflow-wrap: anywhere;
  }

  .wp-block-columns,
  .elementor-container,
  [class*="grid"],
  [class*="columns"] {
    max-width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  button,
  .button,
  .wp-block-button__link,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Isbaneteknikk audit improvements phase 2 */
.isbat-auto-faq {
  width: min(1120px, calc(100% - 32px));
  margin: 48px auto;
  padding: 28px;
  border: 1px solid rgba(15, 54, 104, 0.14);
  border-radius: 8px;
  background: #f7fbff;
  color: #10213f;
}

.isbat-auto-faq h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.isbat-auto-faq details {
  border-top: 1px solid rgba(15, 54, 104, 0.14);
  padding: 14px 0;
}

.isbat-auto-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.isbat-auto-faq p {
  margin: 8px 0 0;
}

img[width][height] {
  height: auto;
}

/* Isbaneteknikk Woo static helper */
.isbat-woo-help {
  margin: 20px 0 26px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 54, 104, 0.14);
  border-radius: 8px;
  background: #f7fbff;
  color: #10213f;
}

.isbat-woo-help h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.isbat-woo-help p {
  margin: 8px 0 0;
}
