/*
 Theme Name:   Seoly Child
 Theme URI:    https://reactheme.com/products/wordpress/seoly/
 Description:  Seoly Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     seoly
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

/* 5River visual system — based on the approved site reference. */
:root {
  --five-river-blue: #233d9a;
  --five-river-heading: #35404e;
  --five-river-text: #000000;
  --e-global-color-primary: #233d9a;
  --e-global-color-secondary: #233d9a;
  --e-global-color-text: #000000;
  --e-global-typography-primary-font-family: "Urbanist", sans-serif;
  --e-global-typography-secondary-font-family: "Urbanist", sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: "Urbanist", sans-serif;
}

body,
.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  color: var(--five-river-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
  color: var(--five-river-heading);
  font-family: "Urbanist", sans-serif;
}

h2,
h2.elementor-heading-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

/* Front-page About Us banner heading: 50% larger than its original 25px. */
.elementor-element-bc8eeda .elementor-heading-title {
  color: var(--five-river-blue);
  font-size: 37.5px;
  font-weight: 600;
}

/* Keep other inner-page banner headings at their established size. */
.reactheme-breadcrumbs .page-title,
.reactheme-breadcrumbs .page-title h1 {
  color: var(--five-river-blue);
  font-size: 25px;
  font-weight: 600;
}

.eel-nav-menu--main > .eel-nav-menu > li > a {
  color: var(--five-river-heading);
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
}

.eel-nav-menu--main .sub-menu:not(.easyel-elementor-template-mega-menu) .menu-item > a {
  background-color: var(--five-river-blue);
  color: #ffffff;
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  h2,
  h2.elementor-heading-title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  body,
  .elementor-widget-text-editor,
  .elementor-widget-text-editor p {
    font-size: 16px;
  }

  h2,
  h2.elementor-heading-title {
    font-size: 34px;
  }
}

/* 5River responsive repairs: existing text and image assets are preserved. */
.easyel-content-container {
  box-sizing: border-box;
  max-width: 100%;
}
.easyel-content-container > article,
.easyel-content-container .entry-content {
  min-width: 0;
  max-width: 100%;
}
.sidebar-on-mobile {
  box-sizing: border-box;
  max-width: 100vw;
}
.sidebar-on-mobile:not(.easyel-open) {
  visibility: hidden;
  pointer-events: none;
}
.sidebar-on-mobile.easyel-open {
  visibility: visible;
  pointer-events: auto;
}
html.five-river-menu-open {
  overflow: hidden;
}
.eel-nav-menu__toggle,
.sidebar-on-mobile .eel-mobile-menu-icon-right {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sidebar-on-mobile .eel-mobile-menu-icon-right {
  display: inline-flex;
}
.sidebar-on-mobile .eel-nav-menu-mobile a {
  min-height: 44px;
  overflow-wrap: break-word;
}
:where(a, button, [role="button"], input, select, textarea):focus-visible {
  outline: 2px solid #233d9a !important;
  outline-offset: 3px;
}
