/*-- -------------------------- -->
<---         Gallery Page         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-before-after,
  #gallery-intro,
  #gallery-projects,
  #gallery-seo {
    padding: var(--sectionPadding);
  }
  #gallery-before-after {
    background-color: #f7f7f7;
  }
  #gallery-before-after .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vw, 3rem);
  }
  #gallery-before-after .cs-content {
    text-align: center;
    max-width: 50rem;
  }
  #gallery-before-after .cs-text {
    margin-bottom: 0;
  }
  #gallery-before-after .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
  }
  #gallery-before-after .cs-item {
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }
  #gallery-before-after .cs-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #gallery-before-after .cs-compare-picture {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f0f0f0;
  }
  #gallery-before-after .cs-compare-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #gallery-before-after .cs-compare-picture.after.zoom img {
    transform: scale(1.5);
    transform-origin: center center;
  }
  #gallery-before-after .cs-tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 62.4375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background-color: rgba(20, 20, 43, 0.8);
  }
  #gallery-before-after .cs-compare-picture.after .cs-tag {
    left: auto;
    right: 0.75rem;
    background-color: var(--primary);
    color: var(--headerColor);
  }
  #gallery-before-after .cs-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 2vw, 1.25rem);
  }
  #gallery-before-after .cs-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  #gallery-before-after .cs-category {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
  }
  #gallery-before-after .cs-location {
    font-size: 0.75rem;
    color: var(--bodyTextColor);
  }
  #gallery-before-after .cs-h3 {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    font-weight: 700;
    line-height: 1.3em;
    margin: 0 0 0.5rem 0;
    color: var(--headerColor);
  }
  #gallery-before-after .cs-item-text {
    flex: 1;
    font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #gallery-intro {
    background-color: #fff;
  }
  #gallery-intro .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-intro .cs-content {
    text-align: center;
    max-width: 50rem;
  }
  #gallery-intro .cs-text {
    margin-bottom: 0;
  }
  #gallery-projects {
    background-color: #f7f7f7;
  }
  #gallery-projects .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vw, 2.5rem);
  }
  #gallery-projects .cs-content {
    text-align: center;
    max-width: 50rem;
  }
  #gallery-projects .cs-filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  #gallery-projects .cs-filter-btn {
    font-family: inherit;
    font-size: clamp(0.6875rem, 1.2vw, 0.8125rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.625rem 1.125rem;
    border-radius: 62.4375rem;
    border: 2px solid rgba(20, 20, 43, 0.2);
    background-color: #fff;
    color: var(--headerColor);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  }
  #gallery-projects .cs-filter-btn:hover, #gallery-projects .cs-filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--headerColor);
  }
  #gallery-projects .cs-masonry {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #gallery-projects .cs-masonry-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  #gallery-projects .cs-masonry-stash {
    display: none;
  }
  #gallery-projects .cs-project-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0.625rem 0.625rem 0;
    border: 1px solid #e8e8e8;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  #gallery-projects .cs-project-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  #gallery-projects .cs-project-card:hover .cs-project-picture img {
    transform: scale(1.05);
  }
  #gallery-projects .cs-project-card:hover .cs-project-link {
    text-decoration: underline;
  }
  #gallery-projects .cs-project-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  #gallery-projects .cs-project-card[hidden] {
    display: none;
  }
  #gallery-projects .cs-project-picture {
    display: block;
    aspect-ratio: 4/3;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  #gallery-projects .cs-project-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
  }
  #gallery-projects .cs-project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.625rem;
  }
  #gallery-projects .cs-project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
  }
  #gallery-projects .cs-project-category {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
  }
  #gallery-projects .cs-project-location {
    font-size: 0.625rem;
    color: var(--bodyTextColor);
    flex-shrink: 0;
  }
  #gallery-projects .cs-project-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3em;
    margin: 0 0 0.375rem 0;
    color: var(--headerColor);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  #gallery-projects .cs-project-outcome {
    flex: 1;
    font-size: 0.6875rem;
    line-height: 1.45em;
    margin: 0 0 0.5rem 0;
    color: var(--bodyTextColor);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  #gallery-projects .cs-project-link {
    margin-top: auto;
    display: inline-block;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
  }
  #gallery-projects .cs-load-more {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 62.4375rem;
    background-color: var(--primary);
    color: var(--headerColor);
    cursor: pointer;
    transition: filter 0.3s;
  }
  #gallery-projects .cs-load-more:hover {
    filter: brightness(1.1);
  }
  #gallery-projects .cs-load-more[hidden] {
    display: none;
  }
  #gallery-seo {
    background-color: #fff;
  }
  #gallery-seo .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-seo .cs-content {
    text-align: center;
    max-width: 50rem;
  }
  #gallery-seo .cs-text {
    margin-bottom: 0;
  }
  #reviews-864 {
    background-color: #f7f7f7;
  }
  #gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(5.5rem, 11vw, 8.75rem) 1rem 1.5rem;
    overflow-y: auto;
    background-color: rgba(20, 20, 43, 0.9);
  }
  #gallery-modal[hidden] {
    display: none;
  }
  #gallery-modal .cs-modal-panel {
    width: 100%;
    max-width: 60rem;
    max-height: none;
    overflow: visible;
    border-radius: 0.75rem;
    background-color: #fff;
    position: relative;
  }
  #gallery-modal .cs-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--headerColor);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }
  #gallery-modal .cs-modal-image {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: block;
    background-color: var(--headerColor);
  }
  #gallery-modal .cs-modal-body {
    padding: clamp(1.25rem, 3vw, 2rem);
  }
  #gallery-modal .cs-modal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  #gallery-modal .cs-modal-category,
  #gallery-modal .cs-modal-location {
    font-size: 0.75rem;
  }
  #gallery-modal .cs-modal-category {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
  }
  #gallery-modal .cs-modal-location {
    color: var(--bodyTextColor);
  }
  #gallery-modal .cs-modal-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 1.25rem 0;
    color: var(--headerColor);
  }
  #gallery-modal .cs-modal-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
  }
  #gallery-modal .cs-modal-outcome,
  #gallery-modal .cs-modal-scope {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6em;
    color: var(--bodyTextColor);
    margin: 0 0 1.5rem 0;
  }
  #gallery-modal .cs-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  #gallery-modal .cs-fact-card {
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 0.75rem;
  }
  #gallery-modal .cs-fact-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bodyTextColor);
    margin: 0 0 0.25rem 0;
  }
  #gallery-modal .cs-fact-value {
    font-size: 0.875rem;
    margin: 0;
    color: var(--headerColor);
  }
  #gallery-modal .cs-modal-cta-wrap {
    margin-bottom: 1.5rem;
  }
  #gallery-modal .cs-modal-note {
    font-size: 0.75rem;
    color: var(--bodyTextColor);
    margin: 0.5rem 0 0 0;
  }
  #gallery-modal .cs-modal-callout {
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    background-color: #f7f7f7;
    padding: clamp(1rem, 2vw, 1.25rem);
  }
  #gallery-modal .cs-modal-callout-title {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--headerColor);
  }
  #gallery-modal .cs-modal-callout-text {
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    line-height: 1.6em;
    color: var(--bodyTextColor);
    margin: 0 0 1rem 0;
  }
  #gallery-modal .cs-trust-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  #gallery-modal .cs-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--headerColor);
  }
  #gallery-modal .cs-trust-icon {
    width: 1rem;
    height: 1rem;
    flex: none;
  }
  body.cs-modal-open {
    overflow: hidden;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-before-after .cs-card-group {
    grid-template-columns: repeat(2, 1fr);
  }
  #gallery-projects .cs-masonry {
    gap: clamp(1.25rem, 2.5vw, 1.5rem);
  }
  #gallery-projects .cs-masonry-col {
    gap: clamp(1.25rem, 2.5vw, 1.5rem);
  }
  #gallery-projects .cs-project-card {
    padding: 0;
  }
  #gallery-projects .cs-project-picture {
    aspect-ratio: 10/11;
    border-radius: 0;
  }
  #gallery-projects .cs-project-content {
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
  }
  #gallery-projects .cs-project-meta {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  #gallery-projects .cs-project-category {
    font-size: 0.6875rem;
  }
  #gallery-projects .cs-project-location {
    font-size: 0.75rem;
  }
  #gallery-projects .cs-project-title {
    font-size: clamp(1rem, 1.8vw, 1.0625rem);
    line-height: 1.4em;
    margin: 0 0 0.75rem 0;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  #gallery-projects .cs-project-outcome {
    font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
    line-height: 1.65em;
    margin: 0 0 1rem 0;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  #gallery-projects .cs-project-link {
    font-size: 0.6875rem;
  }
  #gallery-modal .cs-fact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  #gallery-modal .cs-trust-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*# sourceMappingURL=gallery.css.map */
