/* Self-hosted Varela under a unique family name so a broken local
   "Varela" install cannot steal glyphs (e.g. digit "8"). */
@font-face {
  font-family: 'Varela Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/varela-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Varela Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/varela-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --oit-ff-body: "Varela Web", Arial, Helvetica, sans-serif;
  --oit-ff-dm-sans: "Varela Web", Arial, Helvetica, sans-serif;
  --oit-ff-p: "Varela Web", Arial, Helvetica, sans-serif;
}

/* Theme hides `p br` on most breakpoints; keep breaks for CMS rich text. */
.rich-text-content p br {
  display: unset !important;
}

.rich-text-content ul {
  padding-left: 50px;
}

.oit-header-action a[href^="tel"],
.oit-header-action a[href^="mailto"],
header a[href^="tel"] {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Footer: keep Varela Web (do not force Arial on tel/mail here) */
.footer-inner-style,
.footer-inner-style a,
.footer-inner-style p,
.footer-inner-style span,
.footer-inner-style li,
.footer-inner-style h4 {
  font-family: "Varela Web", Arial, Helvetica, sans-serif !important;
}

/* Contact form: message field — starts at 60px, grows with content */
.bi-contact-input-box textarea#contact-message,
.mc-contact-style .bi-contact-input-box textarea#contact-message {
  height: 60px;
  min-height: 60px;
  max-height: none;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  line-height: 1.35 !important;
  resize: none;
  overflow: hidden;
  field-sizing: content;
}

/* Calculator iframe: hide grey strip under the white card */
.investment-calculator-frame {
  background: transparent !important;
  overflow: hidden;
}

.investment-calculator-iframe {
  background: transparent !important;
  min-height: 0 !important;
}

/* Why-choose: keep cards inside content container grid */
.bs-choose-style .ic-choose-cards-row {
  --bs-gutter-x: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  width: 100%;
}

@media only screen and (min-width: 1200px) {
  .bs-choose-style .ic-choose-cards-row .ic-choose-item,
  .bs-choose-style .ic-choose-thumb-wrap {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Inner first screens: blue bg + breadcrumb texture (not homepage) */
.bc-hero-area.blue-bg:has(.oit-breadcrumb-wrap) {
  position: relative;
  isolation: isolate;
  background-color: var(--oit-text-color);
}

.bc-hero-area.blue-bg:has(.oit-breadcrumb-wrap)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/breadcrumb-bg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.bc-hero-area.blue-bg:has(.oit-breadcrumb-wrap) > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1299px){
    .bc-hero-area:has(.oit-breadcrumb-wrap) .bc-hero-border {
    padding-top: 100px;
    padding-bottom: 60px !important;
  }
}

/* Inner first screens: compact height + smaller type only below 1200px */
@media (max-width: 1199px) {
  

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-wrap {
    padding: 48px 20px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-nav-link.mb-25 {
    margin-bottom: 14px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-title {
    font-size: 50px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-nav-link a {
    font-size: 15px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .bc-breadcrumb-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .bc-hero-area:has(.oit-breadcrumb-wrap) .bc-hero-border {
    padding-top: 84px;
    padding-bottom: 24px !important;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-wrap {
    padding: 28px 16px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-title {
    font-size: 32px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-nav-link a {
    font-size: 13px;
  }

  .bc-hero-area:has(.oit-breadcrumb-wrap) .bc-breadcrumb-subtitle {
    font-size: 16px;
    margin-top: 8px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .bc-hero-area:has(.oit-breadcrumb-wrap) .oit-breadcrumb-title {
    font-size: 40px;
  }
}

/* Homepage contact: E-mail label regular weight */
.bi-contact-form label[for="contact-email"] {
  font-weight: 400;
}

/* Bold CMS text: Varela has no 700 / no Cyrillic; digits stay in Varela 400 on Mac */
.rich-text-content strong,
.rich-text-content b,
.bi-contact-info strong,
.bi-contact-info b,
.filament-rich-content strong,
.filament-rich-content b,
.bi-contact-info span[style*="font-weight"],
.rich-text-content span[style*="font-weight"] {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.footer-inner-style .bc-footer-widget-menu .footer-hours {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--oit-clr-white);
  cursor: default;
}

.consent-article {
  text-align: left;
  color: var(--oit-text-color);
}

.consent-article > *:first-child {
  margin-top: 0;
}

.consent-article h1,
.consent-article h2,
.consent-article h3,
.consent-article h4 {
  font-weight: 600;
  color: var(--oit-clr-dark-navy);
  margin: 0 0 20px;
  line-height: 1.3;
}

.consent-article h3 {
  font-size: 32px;
}

.consent-article p {
  margin: 0 0 18px;
  line-height: 1.75;
  text-align: left;
}


