@charset "UTF-8";
/*
//////
360×800 
390×844
414×896 
393×873 
412×915
*/
@media screen and (max-width: 1024px) {
  .brian, .attorneys {
    display: none;
  }
  .banner-page {
    position: relative;
    height: 620px;
    width: 100vw;
    border: solid thin black;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-image: url("/wp-content/themes/allinjuries/dist/img/background-page.svg");
    background-position: center;
    background-repeat: no-repeat;
  }
  .banner-page:after {
    content: " ";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: #000000;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 80%, rgba(0, 0, 0, 0.01) 100%);
    height: 11em;
  }
  .banner-page .photos .group {
    position: absolute;
    left: 0;
    width: 100vw;
    overflow: hidden;
    aspect-ratio: 4.3/2.3;
    bottom: 7em;
  }
  .banner-page .photos .group img {
    position: absolute;
    top: auto;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    height: auto;
    object-fit: cover;
  }
  .headlines {
    position: absolute;
    right: 1rem;
    bottom: 0;
    left: 1rem;
    padding-bottom: 1rem;
    background-color: #fff;
    display: inline-block;
    border-top: solid 4px #4EACC6;
    z-index: 2;
  }
  .headlines h1 {
    font-size: 24px;
  }
  .headlines h3 {
    font-size: 16px;
    margin: 0 1rem 0 1rem;
  }
  .cta-box-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 220px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    min-height: 60px;
    z-index: 5;
  }
  .cta-box-phone.page {
    top: 0px;
    z-index: auto;
  }
  .cta {
    display: inline-flex;
    border-radius: 8rem;
    background-color: #fff;
    border: 4px solid #FFD938;
  }
  .cta h3 {
    margin: 10px auto 10px auto;
  }
  .cta h3 a > span {
    display: block;
  }
  .cta h3 a > span:first-child {
    white-space: nowrap;
  }
  .cta h3 a > span:nth-child(2) {
    font-size: 10px;
    line-height: 1.125em;
  }
  .reviews {
    display: inline-block;
    border-radius: 4rem;
    background-color: #012941;
    padding: 0.5rem 1rem 0.5rem 1rem;
    color: #fff;
    margin-top: -0.5rem;
    font-size: 16px;
  }
}
@media screen and (min-width: 400px) and (max-width: 476px) {
  .banner-page .photos .group {
    bottom: 5em;
  }
  .banner-page:after {
    height: 8em;
  }
}
@media screen and (min-width: 477px) and (max-width: 768px) {
  .banner-page .photos .group {
    bottom: 2em;
  }
  .banner-page:after {
    height: 6em;
  }
}
h1.quote, h2.quote, h3.quote {
  position: relative;
  padding: 1rem 1rem 0 2rem;
  font-size: 24px;
  color: #004C79;
  font-weight: bold;
  margin: 10px 0 0 10px 0;
}
h1.quote:before, h2.quote:before, h3.quote:before {
  content: "“";
  display: inline-flex;
  font-size: 72px;
  color: #57B0CB;
  position: absolute;
  top: 30px;
  left: 0px;
}

/*
//////
360×800 
390×844
414×896 
393×873 
412×915
*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .banner-page {
    position: relative;
    height: 720px;
  }
  .cta-box-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 220px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    min-height: 60px;
    z-index: 5;
  }
  .cta-box-phone.page {
    top: 0px;
    z-index: auto;
  }
  .headlines h1 {
    font-size: 36px;
  }
  .headlines h3 {
    font-size: 18px;
    margin: 0 1rem 0 1rem;
  }
  .headlines {
    position: absolute;
    right: 2rem;
    bottom: 0;
    left: 2rem;
    padding-bottom: 1rem;
  }
  .photos .group {
    width: 100vw;
    aspect-ratio: 4.3/2.3;
    bottom: 5em !important;
  }
  .photos .group img {
    width: 90% !important;
  }
}
/*** desktop-small **/
@media screen and (min-width: 1024px) {
  .banner-page {
    margin-top: 75px;
    height: 450px;
    background-image: url("/wp-content/themes/allinjuries/dist/img/background-page.svg");
    background-position: center;
    background-width: 100%;
    background-height: 100%;
    background-repeat: no-repeat;
  }
  .banner-page .photos {
    width: 100%;
    padding-inline: 2%;
    height: 341px;
    display: flex;
    justify-content: space-between;
    top: 120px;
    bottom: 0;
    position: relative;
    overflow: hidden;
  }
  .banner-page .photos > div img {
    width: 100%;
    height: auto;
  }
  .banner-page .photos .group {
    width: 900px;
    position: relative;
    z-index: 1;
  }
  .banner-page .photos .brian {
    display: none;
  }
  .banner-page .photos .attorneys {
    width: 40%;
    position: absolute;
    right: 0;
    top: 0px;
    height: 100%;
    z-index: 5;
  }
  .banner-page .photos .attorneys img {
    display: none;
  }
  .cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
  }
  .cta-box.page {
    top: 0px;
    z-index: auto;
  }
  .cta {
    display: inline-flex;
    border-radius: 8rem;
    background-color: #fff;
    border: 4px solid #FFD938;
  }
  .cta h3 {
    margin: 20px;
  }
  .cta h3 a > span {
    display: block;
  }
  .cta h3 a > span:nth-child(2) {
    font-size: 14px;
  }
  .reviews {
    display: inline-block;
    border-radius: 4rem;
    background-color: #012941;
    padding: 0.5rem 1rem 0.5rem 1rem;
    color: #fff;
    margin-top: -1rem;
  }
  .headlines {
    position: absolute;
    top: 250px;
    left: 2%;
    bottom: 0px;
    right: auto;
    width: 60%;
    height: 250px;
    padding-top: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    text-align: center;
    /*

    hgroup {
        container-type: inline-size;
        width: 25vw;


        h1 {
            @container (min-width: 25vw) {
                font-size: calc(18px + (36 - 18) * (100cqi - 500px) / (1200 - 500));
            }

        }
    }

    */
  }
  .headlines hgroup {
    width: 80%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 0.3rem 2rem 0.3rem 2rem;
  }
  .headlines hgroup h1 {
    font-size: calc(16px + 16 * (100vw - 375px) / 1545);
    margin: 0.25em 0 0.25em 0;
  }
  .headlines hgroup h3 {
    font-size: calc(12px + 12 * (100vw - 375px) / 1545);
    margin: 0.25em 0 0.25em 0;
  }
  .cta-box-phone {
    display: none;
  }
}
@media screen and (min-width: 1660px) {
  .banner-page {
    margin-top: 75px;
    height: 450px;
    background-image: url("/wp-content/themes/allinjuries/dist/img/background-page.svg");
    background-size: cover;
    background-width: 100%;
    background-height: 100%;
    background-repeat: no-repeat;
  }
  .banner-page .photos {
    width: 100%;
    padding-inline: 10%;
    height: 341px;
    display: flex;
    justify-content: space-between;
    top: 120px;
    bottom: 0;
    position: relative;
    overflow: hidden;
  }
  .banner-page .photos > div img {
    width: 100%;
    height: auto;
  }
  .banner-page .photos .group {
    display: none;
  }
  .banner-page .photos .brian {
    display: block;
    width: 353px;
    position: relative;
  }
  .banner-page .photos .brian img {
    position: absolute;
    bottom: -10px;
  }
  .banner-page .photos .attorneys {
    display: block;
    width: 706px;
    position: relative;
  }
  .banner-page .photos .attorneys img {
    display: block;
    position: absolute;
    bottom: -10px;
  }
  .cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
  }
  .cta-box.page {
    top: 0px;
    z-index: auto;
  }
  .cta {
    display: inline-flex;
    border-radius: 8rem;
    background-color: #fff;
    border: 4px solid #FFD938;
  }
  .cta h3 {
    margin: 20px;
  }
  .cta h3 a > span {
    display: block;
  }
  .cta h3 a > span:nth-child(2) {
    font-size: 14px;
  }
  .reviews {
    display: inline-block;
    border-radius: 4rem;
    background-color: #012941;
    padding: 0.5rem 1rem 0.5rem 1rem;
    color: #fff;
    margin-top: -1rem;
  }
  .headlines {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 532px;
    padding-top: 180px;
    padding-left: 10%;
    padding-right: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    text-align: center;
  }
  .headlines hgroup {
    width: 400px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .headlines hgroup h1 {
    font-size: calc(16px + 16 * (100vw - 375px) / 1545);
    margin: 0.25em 0 0.25em 0;
  }
  .headlines hgroup h3 {
    font-size: calc(12px + 12 * (100vw - 375px) / 1545);
    margin: 0.25em 0 0.25em 0;
  }
}
/*

//////
360×800 
390×844
414×896 
393×873 
412×915

///////
768x1024 
1024x600 
810x1080
1280x800
800x1180
962x601

////////
1200x720
1280×720      
1280×1024 
1366×768
1440×900
1536x864
1600x900 

*/
