/* Colours */
/* Fluid heading sizes - set your min/max sizes and you're done! */
/* Some device sizes to use with min-width */
/* adjusted breakpoints for above */
/* Container widths */
/* Utility */
/* Additional Spacers -- don't think you'll need more than 10, but if you do -- maybe just use a custom class  :)  */
#sec-hero {
  /* top padding clears the centred logo in the overlaid #masthead */
  padding: 240px 0 123px; }
  #sec-hero h1 {
    max-width: 920px;
    font-weight: 700;
    margin-bottom: 36px; }
    #sec-hero h1 .created-year {
      display: table;
      margin: 0 auto;
      background-color: #0B60A9;
      padding: 0 18px; }
  #sec-hero h3, #sec-hero .h3 {
    font-weight: 500;
    line-height: 1.45;
    max-width: 820px;
    margin: 0; }
  #sec-hero .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 28px; }
    #sec-hero .cta-container .btn {
      margin-top: 0; }
    #sec-hero .cta-container .btn-primary.transparent {
      border: 2px solid #FFFFFF;
      color: #FFFFFF; }
      #sec-hero .cta-container .btn-primary.transparent:hover {
        border-color: #084A83; }
  @media screen and (min-width: 769px) {
    #sec-hero {
      padding: 230px 0 203px; }
      #sec-hero h1 {
        margin-bottom: 1.3rem; }
        #sec-hero h1 .created-year {
          display: inline;
          margin: 0;
          padding: 0 10px; }
      #sec-hero .cta-container {
        flex-direction: row;
        gap: 16px;
        margin-top: 0; }
        #sec-hero .cta-container .btn {
          margin-top: 3.2rem; } }
  @media screen and (min-width: 1025px) {
    #sec-hero {
      padding: 317px 0 203px;
      min-height: 959px; } }

#services {
  position: relative;
  padding: 64px 0 56px;
  /* Colours */
  /* Fluid heading sizes - set your min/max sizes and you're done! */
  /* Some device sizes to use with min-width */
  /* adjusted breakpoints for above */
  /* Container widths */
  /* Utility */
  /* Additional Spacers -- don't think you'll need more than 10, but if you do -- maybe just use a custom class  :)  */ }
  #services .card {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px #00000029;
    background-color: #FFFFFF;
    color: #303030;
    padding-bottom: 23px;
    height: 100%;
    transition: border 0.2s linear;
    border: 1px solid #FFFFFF; }
    #services .card .img-wrapper {
      padding: 12px 9px 0 12px; }
      #services .card .img-wrapper .img {
        position: relative;
        aspect-ratio: 1.732 / 1; }
        #services .card .img-wrapper .img picture,
        #services .card .img-wrapper .img img {
          position: absolute;
          inset: 0;
          max-width: 100% !important;
          max-height: 100% !important;
          width: 100%;
          height: 100%;
          object-fit: cover; }
        #services .card .img-wrapper .img .number {
          position: absolute;
          width: 54px;
          height: 54px;
          font-size: 30px;
          font-weight: 700;
          top: 0;
          left: 0;
          z-index: 3;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #0B60A9;
          color: #FFFFFF; }
    #services .card .content {
      padding: 0 28px; }
      #services .card .content h3 {
        font-size: 18px;
        margin: 32px 0 24px;
        line-height: 1.2; }
      #services .card .content p {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 18px; }
      @media screen and (min-width: 769px) {
        #services .card .content h3 {
          font-size: 20px; }
        #services .card .content p {
          margin-bottom: 34px; } }
    #services .card .cta {
      margin-top: auto;
      padding: 24px 28px 0;
      border-top: 1px solid #303030; }
      #services .card .cta p {
        margin: 0;
        font-size: 16px; }
    #services .card:hover {
      border-color: #0B60A9; }
      #services .card:hover .cta p {
        color: #084A83; }
        #services .card:hover .cta p::after {
          background-color: #084A83; }
  #services::after {
    position: absolute;
    inset: 0;
    bottom: unset;
    height: 50%;
    background-color: #F9F9F9;
    content: '';
    z-index: -1; }
  @media screen and (min-width: 1025px) {
    #services {
      padding-bottom: 99px; } }

#about {
  padding-bottom: 36px;
  /* collage bleeds to both screen edges on phones */ }
  #about p {
    max-width: 626px; }
  #about .cta-container {
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px; }
    #about .cta-container .btn {
      margin-top: 0; }
  #about .collage {
    margin: 0 calc(var(--bs-gutter-x) * -.5); }
    #about .collage picture,
    #about .collage img {
      width: 100%; }
  @media screen and (min-width: 1025px) {
    #about {
      padding-bottom: 140px; }
      #about .cta-container {
        margin-top: 52px; }
      #about .collage {
        margin: 0; }
        #about .collage picture,
        #about .collage img {
          width: auto; } }

/* Areas We Serve band (partials/locations.php) - imported by front-page.scss and archive-services.scss */
#locations {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  background-color: #004A89;
  /* phones: the map sits under the copy, the button overlapping its top edge */ }
  #locations .container {
    position: relative;
    z-index: 1; }
  #locations .btn {
    margin-top: 40px; }
  #locations .bg-img {
    order: 1;
    position: relative;
    height: 361px;
    margin-top: -24px;
    z-index: 0; }
    #locations .bg-img img {
      object-position: 35% 80%; }
  @media screen and (min-width: 1025px) {
    #locations {
      display: block;
      padding: 137px 0; }
      #locations .btn {
        margin-top: 3.2rem; }
      #locations .bg-img {
        position: absolute;
        width: 50%;
        height: 100%;
        margin-top: 0;
        left: unset; }
        #locations .bg-img img {
          object-position: center; } }

#overview {
  padding-top: 80px;
  padding-bottom: 52px; }
  #overview .intro p:first-of-type {
    letter-spacing: 1.8px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase; }
  #overview h4 {
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    display: flex;
    align-items: flex-start;
    font-weight: 700; }
    #overview h4::before {
      font-family: 'standard-icons';
      content: '\e904';
      margin-right: 16px;
      font-size: 12px;
      color: #FFFFFF;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      font-weight: 700;
      background-color: #FF2C2C;
      display: flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center; }
    #overview h4 + p {
      font-size: 20px;
      padding-left: 46px;
      margin-bottom: 40px; }
  @media screen and (min-width: 1025px) {
    #overview {
      padding-top: 122px;
      padding-bottom: 144px; }
      #overview h2 {
        margin-bottom: 38px; }
      #overview h4 {
        align-items: center; }
        #overview h4 + p {
          margin-bottom: 1.5em;
          padding-left: 0; } }

#reviews {
  padding: 98px 0 77px;
  background-color: #004A89;
  /* Centre card enlarged with a transform so its width (and the text wrap) never changes */ }
  #reviews h2 {
    margin-bottom: 0; }
  #reviews .owl-carousel {
    margin-top: 62px; }
  #reviews .owl-stage {
    display: flex; }
  #reviews .owl-item {
    display: flex; }
  #reviews .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 74px 36px 47px;
    border: 0;
    border-radius: 0;
    transition: transform .3s ease;
    box-shadow: 0px 0px 10px #00000029;
    background-color: #FFFFFF; }
    #reviews .card .rating {
      display: flex;
      justify-content: center;
      gap: 10px;
      color: #FBBC04;
      font-size: 25px; }
    #reviews .card .content {
      margin: 34px 0 30px; }
      #reviews .card .content p {
        font-size: 20px;
        line-height: 34px;
        color: #201E1E;
        margin: 0;
        text-transform: unset;
        font-weight: 400;
        letter-spacing: 0; }
    #reviews .card .name {
      display: block;
      margin-top: auto;
      font-size: 16px;
      font-weight: 700;
      text-transform: uppercase;
      color: #201E1E; }
  #reviews .owl-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 44px; }
    #reviews .owl-dots.disabled {
      display: none; }
    #reviews .owl-dots .owl-dot span {
      display: block;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      transition: background-color .2s ease; }
    #reviews .owl-dots .owl-dot.active span {
      background-color: #FFFFFF; }
  #reviews .btn-primary:hover {
    background-color: #201E1E; }
  @media (prefers-reduced-motion: reduce) {
    #reviews .card,
    #reviews .owl-dot span {
      transition: none; } }
  @media screen and (min-width: 769px) {
    #reviews .card {
      display: block;
      margin: 20px;
      padding: 98px 22px 103px; }
      #reviews .card .content {
        margin: 46px 0 30px; }
        #reviews .card .content p {
          font-size: 24px;
          line-height: 1.45; }
      #reviews .card .name {
        margin-top: 0; }
    #reviews .owl-item.center .card {
      transform: scale(1.08); } }
  @media screen and (min-width: 1025px) {
    #reviews {
      padding: 92px 0 58px; }
      #reviews .owl-carousel {
        margin-top: 52px; } }

#callout {
  padding: 161px 0 100px;
  /* the copy runs wider than the page gutter on phones */ }
  #callout .container {
    --bs-gutter-x: 3rem; }
  #callout p:first-of-type {
    margin-bottom: 32px; }
  #callout h2 {
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 37px; }
  #callout .btn {
    margin-top: 83px; }
  @media screen and (min-width: 1025px) {
    #callout {
      padding: 176px 0 137px; }
      #callout p:first-of-type {
        margin-bottom: 12px; }
      #callout h2 {
        margin-bottom: 38px; }
      #callout p {
        max-width: 871px;
        margin-inline: auto; }
      #callout .btn {
        margin-top: 3.2rem; } }

#news {
  padding: 92px 0 90px;
  background-color: #F9F9F9;
  /* Colours */
  /* Fluid heading sizes - set your min/max sizes and you're done! */
  /* Some device sizes to use with min-width */
  /* adjusted breakpoints for above */
  /* Container widths */
  /* Utility */
  /* Additional Spacers -- don't think you'll need more than 10, but if you do -- maybe just use a custom class  :)  */ }
  #news .post-card {
    color: #201E1E; }
    #news .post-card .image-container {
      display: block;
      aspect-ratio: 1.628 / 1;
      overflow: hidden; }
      #news .post-card .image-container img {
        transition: transform 0.3s ease; }
      #news .post-card .image-container:hover img {
        transform: scale(1.03); }
    #news .post-card .content {
      padding-top: 39px; }
    #news .post-card h3 {
      font-size: 20px;
      line-height: 30px;
      margin-bottom: 13px; }
      #news .post-card h3 a {
        color: #201E1E; }
        #news .post-card h3 a:hover {
          color: #0B60A9; }
    #news .post-card .entry-meta {
      font-size: 18px;
      line-height: 28px; }
      #news .post-card .entry-meta .sep {
        margin: 0 6px; }
    #news .post-card .btn-secondary {
      margin-top: 27px;
      font-size: 16px;
      line-height: 21px;
      color: #201E1E; }
    @media screen and (min-width: 769px) {
      #news .post-card {
        padding: 12px 12px 24px;
        box-shadow: 0px 0px 10px #00000029;
        background-color: #FFFFFF;
        /* date sits above a full-width rule, blue "Read Article" link below it */ }
        #news .post-card .content {
          padding: 24px 12px 0; }
        #news .post-card .entry-meta {
          margin-top: auto; }
        #news .post-card .btn-secondary {
          width: auto;
          margin: 23px -24px 0;
          padding: 24px 24px 0;
          border-top: 1px solid #303030;
          border-radius: 0;
          color: #0B60A9; }
          #news .post-card .btn-secondary:hover, #news .post-card .btn-secondary:focus-visible {
            color: #084A83; } }
  #news .btn-primary {
    margin-top: 62px; }
  @media screen and (min-width: 1025px) {
    #news {
      padding: 110px 0 63px; }
      #news .btn-primary {
        margin-top: 3.2rem; } }
