/*-- -------------------------- -->
<---          Content           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-1450 {
    padding: var(--sectionPadding);
  }
  #content-1450 .container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #content-1450 .content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #content-1450 .title,
  #content-1450 .text {
    max-width: 100%;
    margin: 1rem;
  }
  #content-1450 .text {
    /* 16px - 20px */
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0 0 1rem 0;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #content-1450 .title,
  body.dark-mode #content-1450 .text {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #content-1450 .text {
    opacity: .9;
  }
}

/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-2287 {
    padding: var(--sectionPadding);
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
  }
  #services-2287::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/img/blob-scene-haikei-m.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 12%,
        black 88%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 12%,
        black 88%,
        transparent 100%
    );
    }
  #services-2287 .container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-2287 .content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #services-2287 .title {
    max-width: 18ch;
  }
  #services-2287 .card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
  }
  #services-2287 .item {
    text-align: center;
    list-style: none;
    width: 100%;
    margin: 0;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    /* 32px - 60px top & bottom */
    /* 16px - 48px sides */
    padding: clamp(2rem, 6vw, 3.75rem) clamp(1rem, 5vw, 3rem);
    border-bottom: 1px solid #e7e7e8;
    grid-column: span 12;
    grid-row: span 1;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s;
  }
  #services-2287 .link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #services-2287 .service-icon {
    width: 5.75rem;
    height: 5.75rem;
    margin: 0 0 1.5rem 0;
    background-color: #9A2F0E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  #services-2287 svg {
    width: 3.5rem;
    height: auto;
  }
  #services-2287 .h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    font-weight: bold;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0 0 0.75rem 0;
    color: var(--textBlack);
  }
  #services-2287 .item-text {
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    padding: 0;
    color: var(--textBlack);
  }
  #services-2287 .floater {
    /* 115px - 264px */
    width: clamp(7.1875rem, 14vw, 16.5rem);
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: 0;
  }
  #services-2287 .floater-left {
    left: calc(clamp(7.1875rem, 14vw, 16.5rem)*-0.6);
  }
  #services-2287 .floater-right {
    right: calc(clamp(7.1875rem, 14vw, 16.5rem)*-0.6);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-2287 .card-group {
    gap: 0;
  }
  #services-2287 .item {
    padding-top: 0;
    border-right: 1px solid #e7e7e8;
    grid-column: span 4;
    position: relative;
  }
  #services-2287 .item:hover {
    background-color: rgba(154, 47, 14, 0.05);
  }
  #services-2287 .item:hover .link {
    transform: translateY(0);
  }
  #services-2287 .item:hover .item-text {
    opacity: 1;
    visibility: visible;
  }
  #services-2287 .item:hover .service-icon {
    transform: scale(0);
  }
  #services-2287 .item:nth-of-type(5),
  #services-2287 .item:nth-of-type(8) {
    position: relative;
    z-index: 100;
    /* middle-left square */
  }
  #services-2287 .item:nth-of-type(5)::before,
  #services-2287 .item:nth-of-type(8)::before {
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--secondary);
    position: absolute;
    top: -0.41666667rem;
    left: -0.41666667rem;
    z-index: 99;
  }
  #services-2287 .item:nth-of-type(5)::after,
  #services-2287 .item:nth-of-type(8)::after {
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--secondary);
    position: absolute;
    top: -0.41666667rem;
    right: -0.41666667rem;
    z-index: 99;
  }
  #services-2287 .item:nth-of-type(4),
  #services-2287 .item:nth-of-type(5),
  #services-2287 .item:nth-of-type(6) {
    border-bottom: none;
  }
  #services-2287 .item:nth-of-type(3),
  #services-2287 .item:nth-of-type(6) {
    border-right: none;
  }
  #services-2287 .item:nth-of-type(7),
  #services-2287 .item:nth-of-type(8),
  #services-2287 .item:nth-of-type(9) {
    border-top: 1px solid #e7e7e8;
    border-bottom: 0;
  }
  #services-2287 .item:nth-of-type(9) {
    border-right: none;
  }
  #services-2287 .link {
    /* same amount as the item-text height */
    transform: translateY(6rem);
    transition: transform 0.3s;
  }
  #services-2287 .service-icon {
    max-height: 6.25rem;
    overflow: hidden;
    transition: transform 0.3s;
  }
  #services-2287 .item-text {
    height: 6rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64rem) {
    #services-2287::before {
    background-image: url("/assets/img/blob-scene-haikei.svg");
    background-position: center;
    background-size: cover;
    opacity: 0.15;
        mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 8%,
      black 22%,
      black 78%,
      rgba(0, 0, 0, 0.25) 92%,
      transparent 100%
    );

    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 8%,
      black 22%,
      black 78%,
      rgba(0, 0, 0, 0.25) 92%,
      transparent 100%
    );
    }
}
/* Large Desktop - 1700px */
@media only screen and (min-width: 106.25rem) {
  #services-2287 .floater-right {
    margin-right: -63.75rem;
    right: 50%;
  }
  #services-2287 .floater-left {
    margin-left: -63.75rem;
    left: 50%;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #services-2287 {
    background-color: var(--dark);
  }
  body.dark-mode #services-2287 .title,
  body.dark-mode #services-2287 .text,
  body.dark-mode #services-2287 .h3,
  body.dark-mode #services-2287 .item-text {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #services-2287 .text {
    opacity: 0.8;
  }
  body.dark-mode #services-2287 .item {
    border-color: rgba(255, 255, 255, 0.2);
  }
  body.dark-mode #services-2287 .item:hover {
    background-color: var(--dark);
  }
  body.dark-mode #services-2287 .item:hover .text {
    opacity: 0.8;
  }
  body.dark-mode #services-2287 .icon-wrapper {
    background-color: var(--medium);
  }
  body.dark-mode #services-2287 .icon {
    filter: invert(1) brightness(1000%);
  }
}

/*-- -------------------------- -->
<---         Content         -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0rem) {
    #catch-all .container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        padding: var(--sectionPadding);
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #content-829 {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }
    #content-829 .topper {
        font-size: var(--topperFontSize);
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: inherit;
        letter-spacing: 0.1em;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
        display: block;
    }
    #content-829 .title {
        font-size: var(--headerFontSize);
        font-weight: 900;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75rem;
        margin: 0 0 1rem 0;
        color: var(--headerColor);
        position: relative;
    }
    #content-829 .text {
        font-size: var(--bodyFontSize);
        line-height: 1.5em;
        text-align: inherit;
        width: 100%;
        max-width: 40.625rem;
        margin: 0;
        color: var(--bodyTextColor);
    }
    #content-829 .title {
        max-width: 20ch;
    }
    #content-829 .text {
        max-width: 31.5rem;
    }
    #content-829 .text:before {
        /* divider line */
        content: "";
        width: 7.8125rem;
        height: 3px;
        margin-bottom: 1rem;
        background: var(--primary);
        opacity: 1;
        display: block;
        position: relative;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #content-829 {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    #content-829 .flex {
        width: 50%;
        max-width: 34.375rem;
        flex: none;
    }
    #content-829 .topper,
    #content-829 .title {
        text-align: right;
    }
    #content-829 .title {
        margin: 0;
    }
    #content-829 .text {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #content-829 .text:before {
        width: 3px;
        height: 7.8125rem;
        /* 24px - 28px */
        margin: 0 clamp(1.5rem, 3vw, 1.75rem);
        /* prevents flexbox from squishing it */
        flex: none;
    }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
    body.dark-mode #content-829 .title,
    body.dark-mode #content-829 .text,
    body.dark-mode #content-829 .h3,
    body.dark-mode #content-829 .item-text {
        color: var(--bodyTextColorWhite);
    }
}