/* Layout of the SEO-rewritten page bodies (seo-rewrites.ts). Only .mvp-rewrite
 * content is styled here; the site header, footer and fonts stay the original
 * Elementor ones. */
.mvp-rewrite {
  text-align: right;
}
/* Brand palette (Elementor kit 94): teal headings, gold accents. */
/* The theme reset gives links, paragraphs and buttons a system font stack;
 * the site's brand font is Heebo (Elementor kit), so set it on every element. */
.mvp-rewrite, .mvp-rewrite * { font-family: "Heebo", sans-serif !important; }
.mvp-rewrite h1, .mvp-rewrite h2 { color: #01637C !important; }
.mvp-rewrite h3 { color: #014A5C !important; }
.mvp-rewrite__eyebrow { color: #B88A4A !important; }
.mvp-rewrite__hero {
  background: linear-gradient(135deg, #EEF3F4 0%, #E4EBED 100%) !important;
  padding-top: 82px !important;
  padding-bottom: 64px !important;
}
.mvp-rewrite__hero-inner { gap: 52px !important; }
.mvp-rewrite__hero-copy { min-width: 0; }
.mvp-rewrite__eyebrow { letter-spacing: .01em; }
.mvp-rewrite__title { letter-spacing: -.025em; text-wrap: balance; }
.mvp-rewrite__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
}
.mvp-rewrite__primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  color: #fff !important;
  background: #01637C;
  box-shadow: 0 8px 18px rgba(1, 99, 124, .22);
  font-weight: 800;
  text-decoration: none;
}
.mvp-rewrite__primary-cta:hover { background: #014A5C; }
.mvp-rewrite__phone-cta {
  color: #014A5C !important;
  direction: ltr;
  font-weight: 800;
  text-decoration: none;
}
.mvp-rewrite__hero-figure {
  overflow: hidden;
  border: 1px solid rgba(1, 99, 124, .15);
  border-radius: 10px;
  background: #CADADE;
}
.mvp-rewrite__hero-figure img {
  min-height: 320px;
  object-position: center;
  transition: transform .3s ease;
}
.mvp-rewrite__hero-figure:hover img { transform: scale(1.015); }
.mvp-rewrite section h2 { letter-spacing: -.012em; }
.mvp-rewrite a[href="/צרו-קשר/"] { box-shadow: 0 8px 18px rgba(1, 99, 124, .22); }
.mvp-rewrite a[href="/צרו-קשר/"]:hover { background: #014A5C !important; }
.mvp-table-scroll-hint { display: none; }

@media (max-width: 767px) {
  .mvp-rewrite__hero { padding-top: 48px !important; padding-bottom: 46px !important; }
  .mvp-rewrite__hero-inner { gap: 28px !important; }
  .mvp-rewrite__hero-figure img { min-height: 220px; }
  .mvp-rewrite__title { font-size: clamp(32px, 10vw, 42px) !important; }
  .mvp-rewrite__hero-actions { gap: 12px 16px; margin-top: 22px; }
  .mvp-rewrite .mvp-table-scroll-hint {
    display: block;
    margin: 0 0 9px;
    color: #667085;
    font-size: 14px !important;
  }
  .mvp-rewrite p { font-size: 17px !important; }
}

/* Archive templates (מידע-מקצועי, categories): the Elementor overlay tiles
 * footerback.png at 5% width into a band of blue triangles down both sides.
 * Keep the plain brand background colour underneath. */
.elementor-313 .elementor-element.elementor-element-d89df30 > .elementor-background-overlay { background-image: none !important; }

/* Blocks injected into the archive pages (FAQ, related services, page
 * expansions, related posts, dispute links) carry inline layout only and fell
 * back to the theme's system font. Give them the brand font too. */
[data-mvp-page], [data-mvp-page] *,
[data-mvp-faq], [data-mvp-faq] *,
[data-mvp-related], [data-mvp-related] *,
[data-mvp-expansion], [data-mvp-expansion] *,
[data-mvp-dispute-links], [data-mvp-dispute-links] *,
.mvp-related-posts, .mvp-related-posts * { font-family: "Heebo", sans-serif !important; }

/* Lead form at the end of the rewritten pages (renderLeadForm). */
.mvp-rewrite__lead-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 40px;
  align-items: start;
}
.mvp-rewrite__form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid #CADADE;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(1, 99, 124, .08);
}
.mvp-rewrite__form input[type="text"],
.mvp-rewrite__form input[type="tel"],
.mvp-rewrite__form input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #CADADE;
  border-radius: 6px;
  background: #F3F6F7;
  color: #363C3D;
  font-size: 16px;
  text-align: right;
}
.mvp-rewrite__form input:focus { outline: 2px solid #01637C; outline-offset: 1px; background: #fff; }
.mvp-rewrite__consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #54595F;
  font-size: 12.5px;
  line-height: 1.6;
}
.mvp-rewrite__consent input { margin-top: 4px; flex: 0 0 auto; }
.mvp-rewrite__consent a { color: #01637C; text-decoration: underline; }
.mvp-rewrite__form button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #01637C;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.mvp-rewrite__form button:hover { background: #014A5C; }
.mvp-rewrite__form button:disabled { opacity: .6; cursor: default; }
@media (max-width: 767px) {
  .mvp-rewrite__lead-inner { grid-template-columns: 1fr; gap: 24px; }
  .mvp-rewrite__form { padding: 18px; }
}
