@font-face {
  font-family: Montserrat;
  src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  max-width: 100%;
  background: #fff;
}

body {
  margin: 0;
  color: #608296;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

h1,
h2,
h3,
.elementor-heading-title {
  color: #023b5a;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.elementor-widget-text-editor {
  color: #608296;
  font-family: Montserrat, sans-serif;
}

a {
  color: #023b5a;
}

img {
  max-width: 100%;
  height: auto;
}

.elementor-button,
.elementor-button:hover,
.elementor-button:focus {
  background-color: #023b5a;
  color: #fff;
  border: 2px solid #023b5a;
  border-radius: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
}

#header .injury-header-row.e-con {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  gap: 12px;
}

#header .injury-header-row img {
  width: 180px;
}

#header img[src*="line-logo"] {
  width: min(625px, 100%);
  max-width: 625px;
  height: auto;
}

#hero.e-con,
#hero.e-con > .e-con-inner {
  align-items: center;
}

@media (min-width: 768px) {
  #hero.e-con,
  #hero.e-con > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100%;
  }

  .hero-copy.e-con,
  .hero-photo.e-con {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
  }
}

.hero-photo img {
  width: 100%;
  min-width: 0;
  height: 420px;
  object-fit: cover;
  object-position: center 18%;
}

.injury-grid.e-con {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 16px;
  width: 100%;
}

.injury-grid > .e-con,
.injury-grid > .e-child,
.injury-grid > .e-con-inner > .e-con {
  flex: 1 1 calc(50% - 16px);
  max-width: calc(50% - 16px);
  min-width: 0;
  box-sizing: border-box;
}

.injury-card .elementor-heading-title {
  font-size: 16px;
  overflow-wrap: normal;
  word-break: normal;
}

.injury-card {
  border: 1px solid #d5e0e6;
  background: #fff;
}

.injury-card img {
  width: 40px;
}

.attorney img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  object-position: center top;
}

.attorney,
.attorney .elementor-heading-title,
.attorney .elementor-widget-text-editor,
.attorney .elementor-widget-text-editor p {
  text-align: center;
}

#case-results .elementor-heading-title {
  font-size: 36px;
}

#final-cta,
#final-cta .elementor-heading-title,
#final-cta .elementor-widget-text-editor {
  background: #023b5a;
  color: #fff;
}

#final-cta .elementor-button,
#final-cta .elementor-button:hover,
#final-cta .elementor-button:focus {
  background: #fff;
  color: #023b5a;
  border-color: #fff;
}

#footer {
  text-align: center;
}

#footer img {
  width: 200px;
}

#sticky {
  display: none;
}

@media (min-width: 900px) {
  #header .injury-header-row img {
    width: 240px;
  }

  .hero-photo img {
    height: 520px;
  }

  .injury-grid.cols-4 > .e-con,
  .injury-grid.cols-4 > .e-child,
  .injury-grid.cols-4 > .e-con-inner > .e-con {
    flex-basis: calc(25% - 16px);
    max-width: calc(25% - 16px);
  }

  .injury-grid.cols-3 > .e-con,
  .injury-grid.cols-3 > .e-child,
  .injury-grid.cols-3 > .e-con-inner > .e-con {
    flex-basis: calc(33.33% - 16px);
    max-width: calc(33.33% - 16px);
  }
}

@media (max-width: 899px) {
  .injury-grid.cols-3 > .e-con,
  .injury-grid.cols-3 > .e-child,
  .injury-grid.cols-3 > .e-con-inner > .e-con {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  #hero.e-con,
  #hero.e-con > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-copy.e-con,
  .hero-photo.e-con {
    width: 100% !important;
    max-width: 100% !important;
  }

  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  #sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 8px rgba(2, 59, 90, 0.12);
  }

  #sticky .elementor-button,
  a.is-sticky-call {
    display: block;
    width: 100%;
    text-align: center;
  }
}
