/* Public-site refinements. Compile with:
 * sass --no-source-map public/css/scss/updates.scss public/css/updates.css
 * The generated stylesheet loads after the legacy and RTL styles.
 */
:root {
  --brand-ink: #203451;
  --brand-accent: #f46924;
  --brand-paper: #f7f5f0;
  --brand-muted: #536173;
  --brand-line: #d8dce2;
  --brand-light: #fbfaf7;
  --brand-link: #a83d0e;
  --site-font: "Readex Pro", sans-serif;
}

body {
  font-family: var(--site-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--brand-muted);
  background: var(--brand-light);
}

/* Keep the icon fonts at their supplied weights despite legacy theme rules. */
#full-container .fa, #full-container .fas {
  font-weight: 900;
}

#full-container .far, #full-container .fab {
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, .os-tabs > li, .testmonial-single .ts-person {
  font-family: var(--site-font);
  font-weight: 600;
  color: var(--brand-ink);
}

/* The legacy form rule uses !important. Keep the override localized. */
form {
  font-family: var(--site-font) !important;
}

p, .section-title p, .slide-content .description,
.testmonial-single .ts-content {
  font-size: 17px;
  line-height: 1.7;
}

.section-title p, .slide-content .description {
  max-width: 65ch;
  margin-inline: auto;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 18px;
}

.slide-content h1 {
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.2;
  font-weight: 600;
  text-transform: none;
  color: var(--brand-light);
  padding-bottom: 0;
  margin-bottom: 24px;
}

.section-title {
  padding: clamp(48px, 6vw, 80px) 0 36px;
}

.section-title h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.3;
  padding-bottom: 0;
}

.section-title h2::before, .section-title h2::after,
.flat-section .section-content::before, .flat-section .section-content::after,
.slide-content h1::after, .cta-title h1::after,
.os-tabs::after, .os-tabs > li::before, .os-tabs > li::after {
  display: none;
}

#content {
  background: var(--brand-light);
}

.flat-section .section-content {
  background: var(--brand-paper);
  margin-top: 0;
  padding: 40px 0 64px;
}

a, a:focus, .colored, .contact-info li i,
.scroll-top-btn, .testmonial-single .ts-person {
  color: var(--brand-link);
}

a:hover, .main-menu > li > a.current,
.main-menu > li:hover > a, #mobile-menu li a:hover {
  color: var(--brand-ink);
}

.main-menu > li > a {
  font-size: 15px;
  font-weight: 500;
}

.main-menu > li > a.current {
  text-decoration: underline;
  text-decoration-color: var(--brand-accent);
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.btn, .btn.large, input.form-control, textarea.form-control,
input[type=submit].form-control {
  font-family: var(--site-font);
  font-size: 16px;
}

.btn, .connect-box h5, .testmonial-single .ts-person {
  text-transform: none;
}

.testmonial-single .ts-person {
  font-size: 14px;
}

#contact label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

#contact .contact-info a {
  display: inline-block;
  min-height: 44px;
  padding-block: 8px;
}

#contact .contact-info .fa-phone {
  top: 14px;
}

.btn.colorful, input[type=submit].form-control, .scroll-top {
  color: var(--brand-light);
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  text-shadow: none;
}

.btn.colorful:hover, input[type=submit].form-control:hover,
input[type=submit].form-control:focus, .scroll-top:hover,
.scroll-top:focus, .scroll-top-btn:hover {
  color: var(--brand-ink);
  background: var(--brand-paper);
  border-color: var(--brand-accent);
}

input[type=submit].form-control {
  min-height: 48px;
  padding-inline: 28px;
}

input.form-control, textarea.form-control {
  color: var(--brand-ink);
  background: var(--brand-light);
  border-color: var(--brand-line);
}

.form-control::placeholder {
  color: var(--brand-muted);
  opacity: 1;
}

a:focus-visible, input:focus-visible, textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-link) !important;
  outline-offset: 3px;
}

#scroll-progress .scroll-percent, .testmonial-single .ts-img i,
.testmonials-slider .owl-dots .owl-dot.active span {
  background: var(--brand-accent);
}

.cta-title h1, .cta-title h1 * {
  color: var(--brand-light) !important;
}

.cta-title h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.35;
  text-transform: none;
  padding-bottom: 0;
  margin-bottom: 32px;
}

.cta-title .section-inner {
  padding: clamp(64px, 8vw, 110px) 0;
}

.os-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 36px;
}

.os-tabs > li {
  width: auto;
  float: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  text-align: start;
  font-size: 15px;
  color: var(--brand-muted);
  border: 1px solid var(--brand-line);
}

.os-tabs > li i, .os-tabs > li:hover i {
  flex: 0 0 24px;
  width: 24px;
  height: auto;
  line-height: 1;
  font-size: 20px;
  margin: 0;
  border: 0;
  top: 0;
  color: inherit;
}

.os-tabs > li.active, .os-tabs > li.active:hover,
.os-tabs > li.active i {
  color: var(--brand-light);
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}

/* ponytail: native flow keeps panels sized after font loading and resizing. */
.os-tabs-content {
  height: auto !important;
}

.os-tabs-content > li {
  position: relative;
}

.os-tabs-content > li::after {
  content: "";
  display: block;
  clear: both;
}

.os-tabs-content > li.active {
  animation: service-panel-in 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes service-panel-in {
  from {
    opacity: 0.65;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .os-tabs-content > li.active {
    animation: none;
  }
}
[dir=rtl] body, [dir=rtl] p,
[dir=rtl] .slide-content .description {
  line-height: 1.8;
}

[dir=rtl] .slide-content h1, [dir=rtl] .cta-title h1,
[dir=rtl] .section-title h2 {
  line-height: 1.45;
}

@media (min-width: 768px) {
  .os-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .os-tabs > li {
    gap: 8px;
    padding: 14px 10px;
    font-size: 14px;
  }
  .contact-info li {
    overflow-wrap: anywhere;
  }
}
.banner-slider .owl-nav button.owl-prev, .banner-slider .owl-nav button.owl-next, .banner-slider .banner-playback {
  position: absolute;
  top: auto;
  bottom: 72px;
  z-index: 5;
  min-width: 44px;
  height: 44px;
  width: auto;
  margin: 0 !important;
  padding: 0 16px;
  line-height: 1;
  border: 1px solid var(--brand-light);
  border-radius: 4px;
  font-family: var(--site-font);
  font-size: 14px;
  color: var(--brand-light);
  background: var(--brand-ink);
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}
.banner-slider .owl-nav button.owl-prev:hover, .banner-slider .owl-nav button.owl-next:hover, .banner-slider .banner-playback:hover {
  color: var(--brand-ink);
  background: var(--brand-paper);
}
.banner-slider .owl-nav button.owl-prev, .banner-slider .owl-nav button.owl-next {
  padding: 0;
  font-size: 30px;
}
.banner-slider .owl-nav .owl-prev {
  left: auto;
  right: auto;
  inset-inline-start: 16px;
}
.banner-slider .owl-nav .owl-next {
  left: auto;
  right: auto;
  inset-inline-end: 16px;
}
.banner-slider .banner-playback {
  left: 50%;
  width: 44px;
  padding: 0;
  transform: translateX(-50%);
}
.banner-slider .owl-dots {
  bottom: 12px;
  display: flex;
  justify-content: center;
  z-index: 5;
}
.banner-slider .owl-dots .owl-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
}
.banner-slider .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--brand-light);
}
.banner-slider .owl-dots .owl-dot.active span, .banner-slider .owl-dots .owl-dot.active:hover span {
  background: var(--brand-accent);
}
.banner-slider button:focus-visible, .banner-slider .owl-dot:focus-visible {
  outline: 2px solid var(--brand-light) !important;
  outline-offset: 2px;
}
