/* PAGE-SPECIFIC STYLES FOR THE HOME */
/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #hero-998 {
        min-height: 100vh;
        /* Changed padding-bottom to 0 or small to allow list to sit at bottom if needed, 
           but generally standard padding is fine. Adjusted to accommodate the new list. */
        padding: clamp(9rem, 25.95vw, 17.5rem) 1rem clamp(3rem, 5vw, 5rem);
        padding-top: 7rem;
        box-sizing: border-box;
        position: relative;
    }
    #hero-998 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Gap between main content and services list */
        gap: clamp(3rem, 5vw, 5rem);
    }
    #hero-998 .cs-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: clamp(1.75rem, 1vh, 1.75rem);
    }
    #hero-998 .cs-topper {
        font-size: clamp(1rem, 4.3vw, 1.9375rem);
        white-space: nowrap;
        line-height: 1.2em;
        width: 100%;
        margin: 0 0 clamp(0.75rem, 3vw, 1.5rem);
        color: var(--bodyTextColorWhite);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        position: relative;
        gap: 1rem;
    }
    #hero-998 .cs-topper:before,
    #hero-998 .cs-topper:after {
        content: "";
        width: 100%;
        max-width: 6.25rem;
        height: 2px;
        background: var(--primary);
        opacity: 1;
        position: relative;
        display: block;
    }
    #hero-998 .cs-logo {
        width: 100%;
        max-width: 38.375rem;
        margin: 0 0 1.5rem 0;
        display: block;
    }
    #hero-998 .cs-logo img {
        width: 100%;
        height: auto;
    }
    #hero-998 .cs-text {
        font-size: clamp(1.15rem, 1vw, 1.25rem);
        line-height: 1.5em;
        text-align: center;
        max-width: 40.375rem;
        margin: 0 0 clamp(1.5rem, 3vw, 3rem) 0;
        color: var(--bodyTextColorWhite);
    }
    #hero-998 .cs-button-solid {
        font-size: 1rem;
        line-height: clamp(2.875em, 5.5vw, 3.5em);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: auto;
        color: black;
        min-width: 9.375rem;
        padding: 0 2rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        transition: color 0.3s;
    }
    #hero-998 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #fff;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #hero-998 .cs-button-solid:hover {
        color: #1a1a1a;
    }
    #hero-998 .cs-button-solid:hover:before {
        width: 100%;
    }
    
    /* NEW STYLES FOR THE SERVICES LIST */
    #hero-998 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: clamp(1rem, 2.3vw, 1.25rem);
    }
    #hero-998 .cs-item {
        text-align: left; /* Aligned left like the image reference */
        list-style: none;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: 2rem 0 0 0; /* Padding top for the border */
        background-color: transparent;
        /* White border to match dark theme */
        border-top: 1px solid rgba(255, 255, 255, 0.5); 
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        grid-column: span 12; /* Full width on mobile */
    }
    #hero-998 .cs-h3 {
        font-size: clamp(1.25rem, 2.5vw, 1.25rem);
        font-weight: bold;
        line-height: 1.2em;
        text-align: inherit;
        text-transform: uppercase;
        margin: 0 0 0.75rem 0;
        color: #fff; /* White text */
    }
    #hero-998 .cs-item-text {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
        color: #f7f7f7; /* Off-white text */
        opacity: 0.9;
        font-family: Roboto;
    }

    /* BACKGROUND STYLES */
    #hero-998 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #hero-998 .cs-background:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.7;
        top: 0;
        left: 0;
        z-index: 1;
    }
    #hero-998 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #hero-998 .cs-item {
        grid-column: span 6; /* 2 columns on tablet */
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #hero-998 .cs-item {
        grid-column: span 3; /* 4 columns on desktop */
    }
}

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

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-chipper {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    /* Define colors based on image */
    --primary: #dec07b; /* Gold */
    --primaryLight: #fdf8ed; /* Light Beige for circles */
    --headerDark: #141414; /* Dark Background */
    --bodyTextColor: #666666;
    --cardBg: #ffffff;
  }
  
  #services-chipper .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }

  /* This div creates the dark background top half */
  #services-chipper .cs-background-color {
    width: 100%;
    height: 30rem; /* Adjusts how far down the dark color goes */
    background-color: var(--headerDark);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #services-chipper .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  #services-chipper .cs-topper {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
  }

  #services-chipper .cs-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: center;
    max-width: 25ch;
    margin: 0;
    color: #fff;
  }

  #services-chipper .cs-card-group {
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Gap between cards */
    gap: 1.5rem;
  }

  #services-chipper .cs-item {
    list-style: none;
    margin: 0;
    padding: 2.5rem 1.5rem;
    background-color: var(--cardBg);
    /* Border/Shadow slightly visible in image */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0; 
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  #services-chipper .cs-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  }

  #services-chipper .cs-icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    background-color: var(--primaryLight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #services-chipper .cs-icon {
    width: 1.5rem;
    height: auto;
    display: block;
  }

  #services-chipper .cs-h3 {
    font-size: 1.125rem;
    line-height: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #000;
    letter-spacing: 0.05em;
  }

  #services-chipper .cs-item-text {
    font-size: 1rem;
    margin: 0;
    max-width: 30ch;
    font-weight: medium;
    font-family: 'Roboto';
    color: var(--bodyTextColor);
  }

  /* Button Styling */
  #services-chipper .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    width: auto;
    line-height: 3rem;
    padding: 0 2.5rem;
    margin-top: 1rem;
    color: #1a1a1a;
    background-color: var(--primary);
    letter-spacing: 1px;
    transition: background-color 0.3s;
  }

  #services-chipper .cs-button-solid:hover {
    background-color: #c4a664;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-chipper .cs-item {
    grid-column: span 6;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #services-chipper .cs-item {
    grid-column: span 4;
  }
  
  #services-chipper .cs-background-color {
    /* Tweak height to align with card overlap preference */
    height: 25rem;
  }
}

/*-- -------------------------- -->
<---        Side By Side        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #sbs-1010 {
        padding: var(--sectionPadding);
        /* Changed to white/light gray to match image */
        background-color: #FAFAFA;
        /* Defined Gold Color from image */
        --primary: #dec07b;
        --headerColor: #1a1a1a;
        --bodyTextColor: #4e4b66;
    }
    #sbs-1010 .cs-container {
        width: 100%;
        max-width: 80rem; /* 1280px */
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(3rem, 6vw, 4rem);
    }
    #sbs-1010 .cs-content {
        text-align: left;
        width: 100%;
        max-width: 36.125rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    #sbs-1010 .cs-topper {
        font-size: 1rem;
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: inherit;
        letter-spacing: .1em;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
        display: block;
    }
    #sbs-1010 .cs-title {
        font-size: clamp(2.4rem, 5vw, 3.5rem); /* Bigger serif title */
        font-weight: 400;
        line-height: 1.2em;
        text-align: inherit;
        max-width: 43.75rem;
        margin: 0 0 2rem 0;
        color: var(--headerColor);
        position: relative;
        text-transform: uppercase;
    }
    #sbs-1010 .cs-text {
        font-family: 'Roboto', sans-serif; /* Requested Font */
        font-size: 1rem;
        line-height: 1.6em;
        text-align: inherit;
        width: 100%;
        margin: 0;
        margin-bottom: 1rem;
        color: var(--bodyTextColor);
    }
    #sbs-1010 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }
    #sbs-1010 .cs-button-solid {
        font-size: 1rem;
        line-height: 3.5rem;
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        text-transform: uppercase;
        margin: 0;
        color: #1a1a1a; /* Dark text on gold button */
        min-width: 9.375rem;
        padding: 0 2rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        transition: color 0.3s;
        letter-spacing: 1px;
    }
    #sbs-1010 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #1a1a1a;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #sbs-1010 .cs-button-solid:hover {
        color: #fff;
    }
    #sbs-1010 .cs-button-solid:hover:before {
        width: 100%;
    }
    #sbs-1010 .cs-image-group {
        width: 100%;
        position: relative;
    }
    #sbs-1010 .cs-picture {
        width: 100%;
        height: auto;
        /* White border around the image */
        border: 12px solid #fff;
        background-color: #fff;
        display: block;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        position: relative;
    }
    #sbs-1010 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    /* --- The Circular Badge/Seal --- */
    #sbs-1010 .cs-seal {
        width: clamp(7rem, 15vw, 10rem);
        height: clamp(7rem, 15vw, 10rem);
        background-color: #1a1a1a;
        border: 6px solid #fff;
        border-radius: 50%;
        position: absolute;
        /* Positioned bottom right on mobile */
        bottom: -2rem;
        right: 1rem;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
    }
    #sbs-1010 .cs-seal-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* The curved text SVG */
    #sbs-1010 .cs-rotating-text {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        animation: spin 20s linear infinite;
        font-family: sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 42px; /* Adjust scale of text within SVG */
        letter-spacing: 5px;
    }
    /* The Fish Icon */
    #sbs-1010 .cs-fish {
        width: 35%;
        height: auto;
        /* CSS filter to turn a black SVG into the Gold color */
        transform: rotate(-15deg);
    }
    
    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #sbs-1010 .cs-container {
        align-items: flex-start;
    }
    #sbs-1010 .cs-content {
        max-width: 100%;
    }
    #sbs-1010 .cs-text {
        /* Split text into columns roughly */
        max-width: 40rem;
    }
}

/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #sbs-1010 .cs-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: clamp(4rem, 8vw, 6rem);
    }
    #sbs-1010 .cs-image-group {
        max-width: 45%;
        /* Push image group slightly to make room for seal overhang */
        position: relative;
    }
    #sbs-1010 .cs-picture {
        height: auto;
    }
    #sbs-1010 .cs-seal {
        /* On desktop, position it halfway overlapping the right edge */
        bottom: auto;
        top: 50%;
        right: -3rem; 
        transform: translateY(-50%);
    }
    #sbs-1010 .cs-content {
        width: 50%;
        max-width: 38rem;
    }
}

/*-- -------------------------- -->
<---           Stats            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #stats-chipper {
        /* Adjust padding to match the slim look of the image */
        padding: clamp(3rem, 6vw, 4rem) 1rem;
        background-color: #1a1a1a;
        /* Branding Colors */
        --primary: #dec07b;
    }
    #stats-chipper .cs-card-group {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Align top to handle variable text height */
        flex-direction: column;
        gap: 2.5rem;
    }
    #stats-chipper .cs-item {
        list-style: none;
        width: 100%;
        max-width: 25rem;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    #stats-chipper .cs-picture {
        /* Circle Dimensions */
        width: 5rem;
        height: 5rem;
        margin-right: 1.25rem;
        border-radius: 50%;
        border: 1px solid var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
        /* prevents flexbox from squishing it */
        flex: none;
    }
    #stats-chipper .cs-icon {
        width: 2.25rem;
        height: auto;
        display: block;
        /* If icons are black SVGs, this filter turns them gold. 
           If they are already gold images, remove this filter line. */
        /* filter: invert(77%) sepia(35%) saturate(600%) hue-rotate(350deg) brightness(95%) contrast(90%); */
    }
    #stats-chipper .cs-flex-group {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        font-family: Roboto;
    }
    #stats-chipper .cs-number {
        font-size: clamp(2rem, 4vw, 3rem);
        color: #fff;
        font-weight: 900;
        line-height: 1.2em;
        margin: 0;
        display: block;
        font-family: Roboto;
    }
    #stats-chipper .cs-desc {
        font-size: 1rem;
        line-height: 1.2em;
        color: #CCCCCC; /* Muted text color */
        text-transform: uppercase;
        display: block;
        margin-top: 0.25rem;
    }
}

/* Tablet - 650px */
@media only screen and (min-width: 40.625rem) {
    #stats-chipper .cs-card-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        column-gap: 1.25rem;
        row-gap: 2rem;
    }
    #stats-chipper .cs-item {
        width: 45%;
        font-family: "Roboto";
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #stats-chipper .cs-card-group {
        flex-wrap: nowrap;
        justify-content: space-evenly; /* Spread them out evenly */
    }
    #stats-chipper .cs-item {
        width: auto; /* Let them take necessary natural width */
        flex: 1;
        justify-content: center; /* Center content within their flex area */
        font-family: Roboto;
    }
}

/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-chipper {
    padding: var(--sectionPadding);
    background-color: #fff;
    /* Chipper Branding Colors */
    --primary: #dec07b;
    --headerColor: #1a1a1a;
  }
  #gallery-chipper .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Gap between header and images */
    gap: clamp(2rem, 4vw, 3rem);
  }
  #gallery-chipper .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  #gallery-chipper .cs-flex {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #gallery-chipper .cs-topper {
    font-size: 0.875rem;
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    display: block;
  }
  #gallery-chipper .cs-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 20ch;
    margin: 0;
    color: var(--headerColor);
  }
  
  /* Button Styling */
  #gallery-chipper .cs-button-solid {
    font-size: 1rem;
    line-height: 3rem;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    color: #1a1a1a;
    min-width: 9.375rem;
    padding: 0 2rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
  }
  #gallery-chipper .cs-button-solid:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 0%;
    background: #1a1a1a;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width .3s;
  }
  #gallery-chipper .cs-button-solid:hover {
    color: #fff;
  }
  #gallery-chipper .cs-button-solid:hover:before {
    width: 100%;
  }

  /* Gallery Layout */
  #gallery-chipper .cs-gallery {
    width: 100%;
    padding: 0;
    margin: 0;
    display: grid;
    /* Grid for mobile: 2 columns */
    grid-template-columns: repeat(2, 1fr);
    /* No gap to make images touch like the photo */
    gap: 0;
  }
  #gallery-chipper .cs-link {
    width: 100%;
    height: 100%;
    /* Aspect ratio for the images */
    aspect-ratio: 1/1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: default;
  }
  #gallery-chipper .cs-image {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
  }
  /* Dark overlay on hover */
  #gallery-chipper .cs-image:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity .3s;
  }
  #gallery-chipper .cs-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-chipper .cs-content {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  #gallery-chipper .cs-gallery {
    /* 4 columns on tablet/desktop */
    grid-template-columns: repeat(4, 1fr);
  }
}

/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-403 {
    padding: var(--sectionPadding);
    position: relative;
  }
  #cta-403 .cs-background {
    width: 100%;
    height: 100%;
    background-blend-mode: multiply;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta-403 .cs-background:before {
    /* background color overlay */
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #1a1a1a;
    opacity: 0.8;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cta-403 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
    /* positions the image inside the parent */
    object-position: 0% 30%;
  }
  #cta-403 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #cta-403 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    max-width: 32.3125rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #cta-403 .cs-title,
  #cta-403 .cs-text {
    color: var(--bodyTextColorWhite);
  }
  #cta-403 .cs-text {
    opacity: 0.8;
    margin-bottom: 1rem;
    font-family: Roboto;
  }
  #cta-403 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #cta-403 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #000;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    /* border-radius: 0.25rem; */
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }
  #cta-403 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #fff;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #cta-403 .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #cta-403 .cs-background {
    /* clips the black slant so it doesnt overflow */
    overflow: hidden;
  }
  #cta-403 .cs-background:before {
    width: 40%;
    opacity: 1;
  }
  #cta-403 .cs-background:after {
    /* black slant */
    content: "";
    width: 31.25rem;
    height: 93.75rem;
    margin-right: -3.125rem;
    background: -moz-linear-gradient(left, #1a1a1a 0%, #1a1a1a 57%, rgba(26, 26, 26, 0) 100%);
    background: -webkit-linear-gradient(left, #1a1a1a 0%, #1a1a1a 57%, rgba(26, 26, 26, 0) 100%);
    background: linear-gradient(to right, #1a1a1a 0%, #1a1a1a 57%, rgba(26, 26, 26, 0) 100%);
    opacity: 1;
    position: absolute;
    display: block;
    top: 50%;
    right: 50%;
    transform: rotate(10deg) translateY(-50%);
  }
  #cta-403 .cs-background img {
    width: 60%;
    object-position: right;
    left: auto;
    right: 0;
  }
  #cta-403 .cs-container {
    flex-direction: row;
    justify-content: space-between;
  }
  #cta-403 .cs-content {
    text-align: left;
    align-items: flex-start;
    width: 45%;
  }
  #cta-403 .cs-text,
  #cta-403 .cs-title {
    margin-left: 0;
  }
}

/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #reviews-2248 {
        /* Centers the button */
        text-align: center;
        padding: var(--sectionPadding);
        background-color: #FFFFFF;
    }
    #reviews-2248 .cs-container {
        width: 100%;
        /* changes to 1280px at tablet */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #reviews-2248 .cs-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;
    }
    #reviews-2248 .cs-title {
        margin-bottom: 0;
    }
    #reviews-2248 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #reviews-2248 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #reviews-2248 .cs-button-solid:hover:before {
        width: 100%;
    }
    #reviews-2248 .cs-button-solid {
        /* places it at the bottom of the container in the 3rd position */
        order: 3;
    }
    #reviews-2248 .cs-card-group {
        width: 100%;
        padding: 0;
        margin: 0;
        /* 16px - 20px */
        row-gap: clamp(1rem, 2.5vw, 1.25rem);

        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #reviews-2248 .cs-item {
        text-align: left;
        list-style: none;
        /* 32px - 40px top & bottom */
        /* 16px - 32px left & right */
        padding: clamp(2rem, 5vw, 2.5rem) clamp(1rem, 4vw, 2rem);
        overflow: hidden;
        display: flex;
        /* Ensure the content stacks vertically */
        flex-direction: column; 
        /* Key fix: Push content (text and author-group) to top and bottom edges */
        justify-content: space-between; 
        /* Align content to the left */
        align-items: flex-start; 
        grid-column: span 12;
        position: relative;
        z-index: 1;
        max-width: 415px;
        min-width: 400px;
        background-color: #FAFAFA;
    }
    #reviews-2248 .cs-item:before {
        /* background color */
        content: '';
        width: 100%;
        height: 100%;
        /* background: var(--primary); */
        opacity: 0.1;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
    }
    
    /* New rule for consistent vertical alignment */
    #reviews-2248 .cs-author-group {
        width: 100%;
        margin-top: 1.5rem;
    }

    #reviews-2248 .cs-wrapper {
        height: auto;
        width: auto;
        margin-bottom: 1rem;
        position: relative;
        z-index: 1;
    }
    #reviews-2248 .cs-wrapper:before {
        content: '';
        width: 100vw;
        height: 2px;
        background: var(--primary);
        opacity: 1;
        position: absolute;
        display: block;
        top: 50%;
        left: calc(100% + 1rem);
        transform: translateY(-50%);
    }
    
    /* REMOVED: Specific 'span' rules that caused conflict are removed here. */

    #reviews-2248 .cs-info {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        /* 8px - 16px */
        gap: clamp(0.8rem, 2vw, 1rem);
    }
    #reviews-2248 .cs-picture {
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        display: block;
        flex: none;
        position: relative;
        z-index: 1;
    }
    #reviews-2248 .cs-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    #reviews-2248 .cs-quote {
        width: 1.25rem;
        height: auto;
        margin-top: -0.5rem;
        display: block;
    }
    #reviews-2248 .cs-item-text {
        font-size: 1rem;
        text-align: inherit;
        line-height: 1.5em;
        /* 32px - 40px */
        /* Removed bottom margin here as cs-author-group handles spacing */
        margin: 0 0 0; 
        color: var(--bodyTextColor);
        font-family: "Roboto";
    }
    #reviews-2248 .cs-name {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        margin-top: 0.75rem;
        color: var(--headerColor);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-family: "Roboto";
    }
    #reviews-2248 .cs-desc {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        font-weight: 400;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #reviews-2248 .cs-container {
        max-width: 80rem;
    }
    #reviews-2248 .cs-content {
        display: flex;
    }
    #reviews-2248 .cs-card-group {
        flex-direction: row;
        gap: clamp(1rem, 2.5vw, 1.25rem);
        display: flex;
        justify-content: center;
    }
    #reviews-2248 .cs-item {
        grid-column: span 4;
        justify-content: space-between; /* Ensures proper alignment on tablet too */
    }
}
                                
/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #cta-1071 {
        padding: var(--sectionPadding);
        background-color: var(--primary);
        position: relative;
        z-index: 1;
    }
    #cta-1071 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #cta-1071 .cs-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;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #cta-1071 .cs-flex {
        max-width: 39.375rem;
    }

    #cta-1071 .cs-title {
        margin: 0;

        color: var(--bodyTextColorWhite);
    }
    #cta-1071 .cs-button-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    #cta-1071 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: black;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #cta-1071 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #fff;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #cta-1071 .cs-button-solid:hover:before {
        width: 100%;
    }
    #cta-1071 .cs-button-transparent {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: transparent;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        transition: color 0.3s;
    }
    #cta-1071 .cs-button-transparent:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #fff;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #cta-1071 .cs-button-transparent:after {
        /* border */
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        background-color: transparent;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        border: 1px solid #fff;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
        pointer-events: none;
    }
    #cta-1071 .cs-button-transparent:hover {
        color: var(--primary);
    }
    #cta-1071 .cs-button-transparent:hover:before {
        width: 100%;
    }
    #cta-1071 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #cta-1071 .cs-background:before {
        /* background color overlay */
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #1a1a1a;
        opacity: 0.88;
        top: 0;
        left: 0;
        z-index: 1;
    }
    #cta-1071 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #cta-1071 .cs-content {
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
    }
    #cta-1071 .cs-button-box {
        flex-wrap: nowrap;
        align-items: center;
        flex: none;
    }
}
