/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #hero-997 {
        /* 200px - 300px - leaving extra space for the navigation */
        padding: clamp(12.5rem, 25.95vw, 18.75rem) 1rem 0;
        /* 100px - 250px */
        padding-bottom: clamp(6.25rem, 25.95vw, 15.625rem);
        position: relative;
        z-index: 1;
        /* prevents overflow from the lines extending past the screen width */
        overflow: hidden;
    }
    #hero-997 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* 100px - 200px */
        gap: clamp(6.25rem, 25vw, 12.5rem);
    }
    #hero-997 .cs-content {
        width: 100%;
        max-width: 59.6875rem;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        box-sizing: border-box;
    }
    #hero-997 .cs-topper {
        /* 13px - 16px */
        font-size: clamp(0.8125rem, 1.6vw, 1rem);
        line-height: 1.2em;
        white-space: nowrap;
        text-transform: uppercase;
        text-align: left;
        letter-spacing: 0.1rem;
        font-weight: 700;
        width: 100%;
        color: var(--bodyTextColorWhite);
        margin-bottom: 1.75rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1.25rem;
        position: relative;
    }
    #hero-997 .cs-topper:after {
        /* white line */
        content: "";
        width: 50%;
        max-width: 7.5rem;
        height: 1px;
        background: currentColor;
        opacity: 1;
        position: relative;
        display: block;
    }
    #hero-997 .cs-title {
        /* 39px - 80px */
        font-size: clamp(2.4375rem, 6.4vw, 5rem);
        font-weight: 900;
        line-height: 1.2em;
        text-align: left;
        width: 100%;
        max-width: 20ch;
        margin: 0 0 2rem 0;
        color: var(--bodyTextColorWhite);
        position: relative;
    }
    #hero-997 .cs-color {
        color: var(--primary);
    }
    #hero-997 .cs-text {
        /* 16px - 20px */
        font-size: clamp(1rem, 1.95vw, 1.25rem);
        line-height: 1.5em;
        text-align: left;
        width: 100%;
        max-width: 39.375rem;
        margin: 0 0 2rem 0;
        color: var(--bodyTextColorWhite);
    }
    #hero-997 .cs-button-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 1.25rem;
    }
 
    #hero-997 .cs-button-solid:hover {
        color: #1a1a1a;
    }
    #hero-997 .cs-button-solid:hover:before {
        width: 100%;
    }
    #hero-997 .cs-button-transparent {
        font-size: 1rem;
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        width: 11.25rem;
        height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        margin: 0;
        color: #fff;
        padding: 0;
        background-color: transparent;
        border: 1px solid var(--bodyTextColorWhite);
        box-sizing: border-box;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        position: relative;
        font-family: var(--subFont);
        z-index: 1;
        transition: color / 3s;
    }
    #hero-997 .cs-button-transparent:before {
        content: "";
        position: absolute;
        display: block;
        background: #fff;
        opacity: 1;
        /* so it sits on top of the border */
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        z-index: -1;
        transform-origin: left;
        /* this is what creates the grow affect on hover */
        transform: scaleX(0);
        transition: transform 0.3s;
    }
    #hero-997 .cs-button-transparent:hover {
        color: #1a1a1a;
    }
    #hero-997 .cs-button-transparent:hover:before {
        transform: scaleX(1);
    }
    #hero-997 .cs-background {
        /* Background Image */
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
    }
    #hero-997 .cs-background:before {
        /* Black Color Overlay */
        content: "";
        width: 100%;
        height: 100%;
        background: linear-gradient(
            41deg,
            rgba(26, 26, 26, 0.9) 30%,
            rgba(26, 26, 26, 0.3) 100%
        );
        opacity: 1;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: 1;
        /* prevents the cursor from interacting with it */
        pointer-events: none;
    }
    #hero-997 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes image act like a background-image */
        object-fit: cover;
    }
}
/* Large Desktop Parallax Effect - 1300px */
@media only screen and (min-width: 81.25rem) {
    #hero-997 {
        background: url("https://dorsetfencers.co.uk/wp-content/uploads/2025/11/AdobeStock_539904184-scaled.jpeg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        /* creates parallax effect on background image */
        background-attachment: fixed;
        /* remove img tag so we can make parallax work */
    }
    #hero-997 .cs-background img {
        display: none;
    }
}

                                
/* Logo Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #logos-2444 {
    background: #1A1A1A;
    padding: var(--sectionPadding);
  }
  #logos-2444 .cs-container {
    gap: 2rem;
    width: 100%;
    margin: auto;
    display: flex;
    max-width: 80rem;
    align-items: center;
    flex-direction: column;
  }
  #logos-2444 .cs-content {
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
  }
  #logos-2444 .cs-title {
    color: var(--bodyTextColorWhite);
  }
  #logos-2444 .cs-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--bodyTextColorWhite);
  }
  #logos-2444 .cs-ul {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #logos-2444 .cs-img {
    width: 50%;
    height: auto;
    filter: grayscale(1) brightness(100%);
  }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
  #logos-2444 .cs-ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #logos-2444 .cs-container {
    flex-direction: row;
  }
  #logos-2444 .cs-content {
    text-align: left;
    align-items: flex-start;
  }
}
/* Main Services Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1081 {
    background-color: var(--bg04);
    padding: var(--sectionPadding);
    padding-bottom: 2rem;
  }
  #services-1081 .cs-container {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    max-width: 34.375rem;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1081 .cs-content {
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
  }
  #services-1081 .cs-title {
    max-width: 20ch;
  }
  #services-1081 .cs-card-group {
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.25rem);
    grid-template-columns: repeat(12, 1fr);
  }
  #services-1081 .cs-item {
    z-index: 1;
    width: 100%;
    display: flex;
    text-align: left;
    list-style: none;
    position: relative;
    grid-column: span 12;
    border-radius: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--itemColor);
  }
  #services-1081 .cs-item:hover .cs-picture:before {
    opacity: 0.8;
  }
  #services-1081 .cs-item:hover .cs-picture img {
    transform: scale(1.2);
  }
  #services-1081 .cs-item:hover .cs-h3 {
    background: var(--primary);
  }
  #services-1081 .cs-picture {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 0.75rem 0.75rem 0 0;
    height: clamp(11.25rem, 24vw, 15rem);
  }
  #services-1081 .cs-picture:before {
    /* black hover overlay */
    top: 0;
    left: 0;
    opacity: 0;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: #1A1A1A;
    transition: opacity 0.3s;
  }
  #services-1081 .cs-picture img {
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform 0.65s;
  }
  #services-1081 .cs-h3 {
    margin: 0;
    width: 100%;
    display: flex;
    font-weight: 700;
    line-height: 1.5em;
    text-align: inherit;
    align-items: center;
    background: #1A1A1A;
    box-sizing: border-box;
    justify-content: flex-start;
    gap: clamp(0.5rem, 1vw, 1rem);
    color: var(--bodyTextColorWhite);
    transition: background-color 0.3s;
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    padding: clamp(0.75rem, 1.6vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
  }
  #services-1081 .cs-item-text {
    width: 100%;
    padding-bottom: 0;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0 0 1.25rem;
    box-sizing: border-box;
    color: var(--bodyTextColor);
    padding: clamp(1rem, 2.5vw, 1.25rem);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
  #services-1081 .cs-link {
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    justify-content: flex-start;
    margin: 0 0 clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.5rem);
  }
  #services-1081 .cs-link:hover .cs-arrow {
    transform: translateX(0.25rem);
  }
  #services-1081 .cs-arrow {
    height: auto;
    width: 1.25rem;
    display: block;
    transition: transform 0.3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-1081 .cs-container {
    max-width: 80rem;
  }
  #services-1081 .cs-item {
    grid-column: span 4;
  }
}