@media only screen and (min-width: 0rem) {
	#gallery-2297 {
        position: relative;
        z-index: 1;
        background-color: var(--bgcolor);
        padding: var(--sectionPadding);
        overflow: hidden;
    }

    #gallery-2297 .cs-container {
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1;
        margin: auto;
        width: 100%;
        max-width: 80rem;
    }

    #gallery-2297 .cs-content {
        display: contents;
        width: 100%;
    }

    #gallery-2297 .cs-title {
        margin: 0 0 3rem;
    }

    #gallery-2297 .cs-button-group {
        display: flex;
        -moz-column-gap: clamp(1.25rem, 3.4vw, 2.5rem);
        column-gap: clamp(1.25rem, 3.4vw, 2.5rem);
        row-gap: 1rem;
        flex-wrap: wrap;
        order: 2;
        margin: 2rem auto 0;
        background-color: var(--bodyTextColorWhite);
        padding: 1rem 1.5rem;
    }

    #gallery-2297 .cs-button {
        position: relative;
        transition: color 0.3s;
        border: none;
        background-color: transparent;
        padding: 0 0 0 1rem;
        color: var(--bodyTextColor);
        font-size: 1rem;
        line-height: 1.5em;
        text-align: left;
    }

    #gallery-2297 .cs-button:before {
        display: block;
        position: absolute;
        top: 50%;
        left: -1.25rem;
        transform: translateY(-50%) rotate(45deg);
        opacity: 0;
        transition: opacity 0.3s, left 0.3s;
        background: var(--primary);
        width: 0.5rem;
        height: 0.5rem;
        pointer-events: none;
        content: "";
    }

    #gallery-2297 .cs-button:hover {
        cursor: pointer;
        color: var(--primary);
    }

    #gallery-2297 .cs-button:hover:before {
        left: -0.25rem;
        opacity: 1;
    }

    #gallery-2297 .cs-button.cs-active {
        color: var(--primary);
    }

    #gallery-2297 .cs-button.cs-active:before {
        left: -0.25rem;
        opacity: 1;
    }

    #gallery-2297 .cs-gallery-wrapper {
        position: relative;
        z-index: 1;
        width: 100%;
    }

    #gallery-2297 .cs-gallery {
        display: grid;
        position: relative;
        grid-template-columns: repeat(12, 1fr);
        gap: clamp(1rem, 1.5vw, 1.25rem);
        transform-origin: left top;
        transform-style: preserve-3d;
        perspective: 700px;
        transition: transform 0.7s, opacity 0.3s, visibility 0.5s, top 0.3s, left 0.3s;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #gallery-2297 .cs-gallery.cs-hidden {
        position: absolute;
        top: 0;
        left: 0;
        transform: scaleY(0) scaleX(0);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    #gallery-2297 .cs-gallery.cs-hidden .cs-image {
        transform: translateY(2.1875rem) rotateX(90deg);
        opacity: 0;
    }

    #gallery-2297 .cs-image {
        display: block;
        position: relative;
        grid-column: span 12;
        transform: translateY(0rem) rotateX(0);
        opacity: 1;
        transition: opacity 0.6s, transform 0.6s;
        min-height: clamp(20rem, 35vw, 32.75rem);
        overflow: hidden;
    }

    #gallery-2297 .cs-image:nth-of-type(1) {
        transition-delay: 0.1s;
    }

    #gallery-2297 .cs-image:nth-of-type(2) {
        transition-delay: 0.2s;
    }

    #gallery-2297 .cs-image:nth-of-type(3) {
        transition-delay: 0.3s;
    }

    #gallery-2297 .cs-picture {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #000;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }

    #gallery-2297 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        transition: transform 0.65s, opacity 0.3s;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }

    #gallery-2297 .cs-info {
        display: flex;
        position: absolute;
        /* bottom: 0; */
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        z-index: 10;
    }

    #gallery-2297 .cs-tag {
        background-color: var(--primary);
        padding: 0.5rem 1.25rem;
        color: var(--bodyTextColorWhite);
        font-weight: 700;
        font-size: clamp(0.5rem, 2vw, 1rem);
        text-transform: uppercase;
    }

    #gallery-2297 .cs-project {
        background-color: #fefaf6;
        padding: 0.5rem 1.25rem;
        color: var(--headerColor);
        font-size: clamp(0.5rem, 2vw, 1rem);
    }

    #gallery-2297 .cs-number {
        color: var(--secondary);
        font-weight: 700;
        font-size: var(--headerFontSize);
        line-height: 1.2em;
    }

    #gallery-2297 .cs-desc {
        color: var(--headerColor);
        font-weight: 700;
        font-size: 1.25rem;
        line-height: 1.2em;
    }
}

@media only screen and (min-width: 48rem) {
	#gallery-2297 .cs-container {
		gap: clamp(3rem, 6vw, 4rem);
	}
	
	#gallery-2297 .cs-content {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		gap: 1.5rem;
		text-align: left;
	}

	#gallery-2297 .cs-title {
		margin: 0;
	}

	#gallery-2297 .cs-button-group {
		/*flex-wrap: nowrap;*/
		margin: 0;
	}

	#gallery-2297 .cs-image {
		grid-column: span 6;
        height: 39rem;
	}

	#gallery-2297 .cs-stats {
		flex-direction: row;
	}

	#gallery-2297 .cs-stat {
		flex: 1;
	}
}