/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #banner-712 {
    padding: 0 1rem;
    padding-top: clamp(9rem, 25vw, 12.5rem);
    padding-bottom: clamp(6.25rem, 14vw, 10rem);
    position: relative;
    z-index: 1;
  }
  #banner-712 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #banner-712 .cs-int-title {
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: center;
    max-width: 43.75rem;
    margin: 0 auto;
    color: #fff;
    position: relative;
  }
  #banner-712 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #banner-712 .cs-background:before {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #banner-712 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

/*-- -------------------------- -->
<---          Gallery           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-45 {
    padding: var(--sectionPadding);
    position: relative;
    overflow: hidden;
  }
  #gallery-45 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-45 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-45 .cs-button-group {
    width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
  #gallery-45 .cs-button {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: center;
    border: none;
    padding: 0.5rem 1.5rem;
    color: var(--bodyTextColor);
    background-color: transparent;
    border-radius: 0.25rem;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
  }
  #gallery-45 .cs-button.cs-active {
    background-color: var(--primary);
    color: #fff;
  }
  #gallery-45 .cs-gallery-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  #gallery-45 .cs-gallery {
    width: 100%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
  }
  #gallery-45 .cs-gallery.cs-hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
  }
  #gallery-45 .cs-image {
    width: 100%;
    height: 18.75rem;
    display: block;
    position: relative;
    overflow: hidden;
  }
  #gallery-45 .cs-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s;
  }
  #gallery-45 .cs-image:hover img {
    transform: scale(1.1);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-45 .cs-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #gallery-45 .cs-button {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #gallery-45 .cs-button.cs-active {
    color: var(--headerColor);
  }
}

/* Desktop - 1024px - Make gallery images wider and taller */
@media only screen and (min-width: 64rem) {
  #gallery-45 .cs-gallery-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  #gallery-45 .cs-image {
    height: 25rem;
  }
}

/* Large Desktop - Make even wider */
@media only screen and (min-width: 80rem) {
  #gallery-45 .cs-gallery-wrapper {
    gap: 2rem;
  }
  #gallery-45 .cs-image {
    height: 28rem;
  }
}

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

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #gallery-49 {
    padding: var(--sectionPadding);
    position: relative;
  }
  #gallery-49 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #gallery-49 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #gallery-49 .cs-image-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    place-content: center;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
  }
  #gallery-49 .cs-item {
    list-style: none;
    width: 100%;
    margin: 0;
    aspect-ratio: 1;
    grid-column: span 6;
    display: block;
    position: relative;
    overflow: hidden;
    transition: border-radius 0.3s;
  }
  #gallery-49 .cs-item:hover {
    border-radius: 9.375rem 9.375rem 0 0;
  }
  #gallery-49 .cs-item:hover .cs-picture img {
    transform: scale(1.1);
  }
  #gallery-49 .cs-item:hover .cs-hover-box {
    opacity: 1;
    pointer-events: all;
  }
  #gallery-49 .cs-item:hover .cs-h3 {
    opacity: 1;
    transform: translateY(0);
  }
  #gallery-49 .cs-item:hover .cs-link {
    opacity: 1;
    transform: translateY(0);
  }
  #gallery-49 .cs-picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #gallery-49 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s;
  }
  #gallery-49 .cs-item-1 {
    grid-column: 1 / span 12;
    grid-row: 1 / 2;
    aspect-ratio: 2.07594937;
  }
  #gallery-49 .cs-item-5 {
    grid-column: 7 / span 6;
    grid-row: 3 / span 2;
    aspect-ratio: initial;
  }
  #gallery-49 .cs-hover-box {
    height: 100%;
    width: 100%;
    padding: 1em 0.625em;
    opacity: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: opacity 0.3s;
    pointer-events: none;
    position: relative;
  }
  #gallery-49 .cs-hover-box:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.9;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
  }
  #gallery-49 .cs-h3 {
    font-size: clamp(0.875rem, 1.8vw, 1.25rem);
    line-height: 1.2em;
    text-align: center;
    margin: 0;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--headerColor);
    opacity: 0;
    display: block;
    transform: translateY(0.625rem);
    transition: opacity 0.3s, transform 0.5s;
  }
  #gallery-49 .cs-link {
    font-size: 0.9375rem;
    line-height: 2.875rem;
    font-weight: bold;
    text-decoration: none;
    padding: 0 1rem;
    background-color: #1a1a1a;
    color: #fff;
    opacity: 0;
    border-radius: 1.4375rem;
    overflow: hidden;
    transform: translateY(0.625rem);
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: opacity 0.5s, transform 0.5s, background-color 0.3s, color 0.3s;
  }
  #gallery-49 .cs-link:hover {
    background-color: #fff;
    color: #1a1a1a;
    cursor: pointer;
  }
  #gallery-49 .cs-link:hover:before {
    width: 100%;
  }
  #gallery-49 .cs-link:before {
    content: "";
    position: absolute;
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 1.4375rem;
    background: #fff;
    opacity: 1;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #gallery-49 .cs-button-solid {
    font-size: 1rem;
    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;
    box-sizing: border-box;
  }
  #gallery-49 .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;
  }
  #gallery-49 .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #gallery-49 .cs-item {
    grid-column: span 3;
  }
  #gallery-49 .cs-item-1 {
    grid-column: 1 / span 6;
  }
  #gallery-49 .cs-item-2 {
    grid-column: 1 / span 3;
    grid-row: 2;
  }
  #gallery-49 .cs-item-3 {
    grid-column: 4 / span 3;
    grid-row: 2;
  }
  #gallery-49 .cs-item-5 {
    grid-column: 7 / span 3;
    grid-row: 2;
  }
  #gallery-49 .cs-item-6 {
    grid-column: 10 / span 3;
    grid-row: 1 / span 2;
    aspect-ratio: initial;
  }
}
