.ws-new-machinery {
    --ws-nm-ink: #191917;
    --ws-nm-charcoal: #24231f;
    --ws-nm-muted: #68645d;
    --ws-nm-red: #b52228;
    --ws-nm-cream: #f2efe8;
    --ws-nm-paper: #fbfaf7;
    --ws-nm-line: rgba(25, 25, 23, 0.14);
    background: var(--ws-nm-paper);
    color: var(--ws-nm-ink);
    font-family: "Source Sans 3", sans-serif;
    overflow: hidden;
}

.ws-new-machinery *,
.ws-new-machinery *::before,
.ws-new-machinery *::after {
    box-sizing: border-box;
}

.ws-new-machinery__shell {
    margin: 0 auto;
    max-width: 1320px;
    padding-left: clamp(1.25rem, 4vw, 4rem);
    padding-right: clamp(1.25rem, 4vw, 4rem);
}

.ws-new-machinery__hero {
    background: var(--ws-nm-charcoal);
    color: #fff;
    min-height: min(640px, 76vh);
    position: relative;
}

.ws-new-machinery__hero::after {
    background: var(--ws-nm-red);
    bottom: 0;
    content: "";
    height: 0.45rem;
    left: 0;
    position: absolute;
    width: clamp(6rem, 18vw, 18rem);
}

.ws-new-machinery__hero-texture {
    background-image:
        linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.035) 58% 59%, transparent 59%),
        radial-gradient(circle at 82% 15%, rgba(181, 34, 40, 0.2), transparent 34%);
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.ws-new-machinery__hero-inner {
    display: flex;
    flex-direction: column;
    min-height: min(640px, 76vh);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    padding-top: 1.25rem;
    position: relative;
    z-index: 1;
}

.ws-new-machinery__breadcrumbs ol {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ws-new-machinery__breadcrumbs li {
    color: rgba(255, 255, 255, 0.58);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ws-new-machinery__breadcrumbs li:not(:last-child)::after {
    color: var(--ws-nm-red);
    content: "/";
    margin-left: 0.45rem;
}

.ws-new-machinery__breadcrumbs a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.ws-new-machinery__breadcrumbs a:hover,
.ws-new-machinery__breadcrumbs a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.ws-new-machinery__hero-grid {
    align-items: end;
    display: grid;
    flex: 1;
    gap: clamp(2rem, 6vw, 7rem);
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    padding-top: clamp(5rem, 11vw, 10rem);
}

.ws-new-machinery__kicker {
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.13em;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
}

.ws-new-machinery__kicker span {
    background: var(--ws-nm-red);
    display: inline-block;
    height: 2px;
    width: 2.6rem;
}

.ws-new-machinery__hero h1 {
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(3.7rem, 7.7vw, 7.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.84;
    margin: 0;
    max-width: 9ch;
    text-transform: uppercase;
}

.ws-new-machinery__hero h1 em {
    color: #d7d1c6;
    font-weight: 500;
}

.ws-new-machinery__hero-copy {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: clamp(1.5rem, 3vw, 3rem);
}

.ws-new-machinery__hero-copy p {
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    line-height: 1.58;
    margin: 0 0 1.8rem;
}

.ws-new-machinery__hero-copy a,
.ws-new-machinery__support a {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 0.65rem;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.ws-new-machinery__hero-copy a span,
.ws-new-machinery__support a span {
    color: #e45b60;
    transition: transform 180ms ease;
}

.ws-new-machinery__hero-copy a:hover,
.ws-new-machinery__hero-copy a:focus-visible,
.ws-new-machinery__support a:hover,
.ws-new-machinery__support a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.ws-new-machinery__hero-copy a:hover span,
.ws-new-machinery__hero-copy a:focus-visible span,
.ws-new-machinery__support a:hover span,
.ws-new-machinery__support a:focus-visible span {
    transform: translateX(0.25rem);
}

.ws-new-machinery__directory {
    padding-bottom: clamp(5rem, 9vw, 9rem);
    padding-top: clamp(5rem, 9vw, 9rem);
}

.ws-new-machinery__directory-heading {
    align-items: end;
    display: grid;
    gap: clamp(2rem, 6vw, 7rem);
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.ws-new-machinery__kicker--dark {
    color: var(--ws-nm-muted);
}

.ws-new-machinery__directory-heading h2 {
    color: var(--ws-nm-ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.92;
    margin: 0;
    max-width: 11ch;
    text-transform: uppercase;
}

.ws-new-machinery__directory-heading > p {
    color: var(--ws-nm-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
    max-width: 42rem;
}

.ws-new-machinery-filter {
    background: var(--ws-nm-charcoal);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 2.28fr);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ws-new-machinery-filter__heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.ws-new-machinery-filter__eyebrow {
    color: #e45b60;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.ws-new-machinery-filter__heading h3 {
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.95;
    margin: 0;
    max-width: 9ch;
    text-transform: uppercase;
}

.ws-new-machinery-filter__status {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    margin: 1rem 0 0;
}

.ws-new-machinery-filter__toggle {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    display: none;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 0 0 0.2rem;
    text-transform: uppercase;
}

.ws-new-machinery-filter__options {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.8rem;
}

.ws-new-machinery-filter__option {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--ws-nm-ink);
    cursor: pointer;
    display: flex;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    gap: 0.75rem;
    justify-content: space-between;
    line-height: 1.25;
    min-width: 0;
    padding: 0.8rem 0.9rem;
    text-align: left;
}

.ws-new-machinery-filter__option span {
    min-width: 0;
}

.ws-new-machinery-filter__option strong {
    color: #99938a;
    flex: 0 0 auto;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.8rem;
}

.ws-new-machinery-filter__option:hover,
.ws-new-machinery-filter__option:focus-visible {
    background: var(--ws-nm-cream);
    color: var(--ws-nm-red);
    outline: none;
}

.ws-new-machinery-filter__option.is-active {
    background: var(--ws-nm-red);
    color: #fff;
}

.ws-new-machinery-filter__option.is-active strong {
    color: rgba(255, 255, 255, 0.78);
}

.ws-new-machinery__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-new-machinery-card {
    animation: ws-nm-rise 520ms both;
    background: #fff;
    border: 1px solid var(--ws-nm-line);
    display: flex;
    flex-direction: column;
    min-height: 30rem;
    overflow: hidden;
    position: relative;
}

.ws-new-machinery-card[hidden] {
    display: none;
}

.ws-new-machinery-card:nth-child(even) {
    animation-delay: 80ms;
}

.ws-new-machinery-card::before {
    background: var(--ws-nm-red);
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    top: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
    width: 100%;
}

.ws-new-machinery-card:hover::before {
    transform: scaleX(1);
}

.ws-new-machinery-card__top {
    align-items: flex-start;
    border-bottom: 1px solid var(--ws-nm-line);
    display: flex;
    justify-content: space-between;
    min-height: 8.5rem;
    padding: 1.7rem;
}

.ws-new-machinery-card__number {
    color: #a39e95;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.ws-new-machinery-card__mark {
    align-items: center;
    display: flex;
    height: 5rem;
    justify-content: flex-end;
    max-width: 65%;
    min-width: 7rem;
}

.ws-new-machinery-card__mark img {
    display: block;
    height: auto;
    max-height: 4.6rem;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.ws-new-machinery-card__mark > span {
    align-items: center;
    background: var(--ws-nm-cream);
    color: var(--ws-nm-red);
    display: flex;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    height: 4.6rem;
    justify-content: center;
    width: 4.6rem;
}

.ws-new-machinery-card__body {
    flex: 1;
    padding: clamp(1.7rem, 3vw, 2.5rem);
}

.ws-new-machinery-card__label {
    color: var(--ws-nm-red);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.ws-new-machinery-card h3 {
    color: var(--ws-nm-ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 0.95;
    margin: 0 0 1.35rem;
    text-transform: uppercase;
}

.ws-new-machinery-card__description {
    color: var(--ws-nm-muted);
    font-size: 1rem;
    line-height: 1.62;
    margin: 0;
}

.ws-new-machinery-card__gallery {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 clamp(1.7rem, 3vw, 2.5rem) 1.7rem;
}

.ws-new-machinery-card__gallery img {
    aspect-ratio: 4 / 3;
    background: #fff;
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.ws-new-machinery-card,
.ws-new-machinery-filter,
.ws-new-machinery__directory {
    scroll-margin-top: 10rem;
}

.ws-new-machinery [hidden] {
    display: none !important;
}

.ws-new-machinery-card__footer {
    align-items: center;
    background: var(--ws-nm-cream);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    justify-content: space-between;
    min-height: 4.6rem;
    padding: 1.1rem 1.7rem;
}

.ws-new-machinery-card__enquire {
    align-items: center;
    color: var(--ws-nm-ink);
    display: inline-flex;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 0.55rem;
    letter-spacing: 0.065em;
    text-decoration: none;
    text-transform: uppercase;
}

.ws-new-machinery-card__enquire span {
    color: var(--ws-nm-red);
}

.ws-new-machinery-card__enquire:hover,
.ws-new-machinery-card__enquire:focus-visible {
    color: var(--ws-nm-red);
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.ws-new-machinery-card__used {
    color: var(--ws-nm-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(104, 100, 93, 0.45);
    text-underline-offset: 0.25rem;
}

.ws-new-machinery-card__website {
    color: var(--ws-nm-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(104, 100, 93, 0.45);
    text-underline-offset: 0.25rem;
}

.ws-new-machinery-card__website:hover,
.ws-new-machinery-card__website:focus-visible {
    color: var(--ws-nm-red);
    text-decoration-color: currentColor;
}

.ws-new-machinery-card__used:hover,
.ws-new-machinery-card__used:focus-visible {
    color: var(--ws-nm-red);
    text-decoration-color: currentColor;
}

.ws-new-machinery__empty {
    background: var(--ws-nm-cream);
    border-left: 4px solid var(--ws-nm-red);
    padding: clamp(2rem, 5vw, 4rem);
}

.ws-new-machinery__empty p {
    color: var(--ws-nm-ink);
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.ws-new-machinery__empty a {
    color: var(--ws-nm-red);
    font-weight: 700;
}

.ws-new-machinery__support {
    background: var(--ws-nm-red);
    color: #fff;
}

.ws-new-machinery__support-inner {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding-bottom: 1.7rem;
    padding-top: 1.7rem;
}

.ws-new-machinery__support p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.ws-new-machinery__support p span {
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-right: 0.7rem;
    text-transform: uppercase;
}

.ws-new-machinery__support a span {
    color: #fff;
}

@keyframes ws-nm-rise {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 899.98px) {
    .ws-new-machinery__hero-grid,
    .ws-new-machinery__directory-heading {
        grid-template-columns: 1fr;
    }

    .ws-new-machinery__hero-copy {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        max-width: 42rem;
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .ws-new-machinery__grid {
        grid-template-columns: 1fr;
    }

    .ws-new-machinery-filter {
        grid-template-columns: 1fr;
    }

    .ws-new-machinery-filter__heading h3 {
        max-width: none;
    }

    .ws-new-machinery-filter__toggle {
        display: block;
        flex: 0 0 auto;
        margin-left: 1rem;
    }

    .ws-js .ws-new-machinery-filter__options {
        display: none;
    }

    .ws-js .ws-new-machinery-filter__options.is-open {
        display: grid;
    }

    .ws-new-machinery-filter__options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ws-new-machinery-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .ws-new-machinery__hero,
    .ws-new-machinery__hero-inner {
        min-height: 37rem;
    }

    .ws-new-machinery__hero-grid {
        padding-top: 4rem;
    }

    .ws-new-machinery__hero h1 {
        font-size: clamp(3.25rem, 17vw, 4.7rem);
    }

    .ws-new-machinery-card__footer,
    .ws-new-machinery__support-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ws-new-machinery-filter__options {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-new-machinery-card {
        animation: none;
    }

    .ws-new-machinery-card::before,
    .ws-new-machinery__hero-copy a span,
    .ws-new-machinery__support a span {
        transition: none;
    }
}
