 /* Professional structural transitions for the big card */
    .big-card-media {
      transition: opacity 0.4s ease-in-out;
      opacity: 1;
    }
    .big-card-media.switching {
      opacity: 0.15;
    }
    
    /* Strict layout alignment engine */
    .gallery-card-wrapper {
      display: flex;
      flex-direction: column;
    }
    .gallery-card-wrapper .shadcn-card {
      height: 100%;
      display: flex;
      flex-direction: column;
      margin-bottom: 0 !important;
    }
    .gallery-card-wrapper .card-body {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* Maintain clean image presentation within flexible heights */
    .gallery-card-wrapper .card-media {
      overflow: hidden;
    }
    .gallery-card-wrapper .card-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Fixed aspect ratios to ensure equal layout scaling on desktop */
    @media (min-width: 992px) {
      .col-lg-8 .card-media {
        aspect-ratio: 16 / 9.5;
      }
      .col-lg-4 .card-media {
        aspect-ratio: 16 / 7;
      }
    }

    /* Custom styles to match your theme in SweetAlert */
    .swal2-popup {
      font-family: 'Nunito', 'Roboto', sans-serif !important;
      border-radius: 12px !important;
    }
    .swal2-title {
      font-weight: 700 !important;
    }
    .btn-details-trigger {
      cursor: pointer;
    }
    /* Minimize the GLightbox Preview Box Size */
@media (min-width: 768px) {
  .glightbox-container .gslide-media {
    max-width: 65% !important;  /* Controls width (reduces from 100%) */
    max-height: 70vh !important; /* Controls height relative to the viewport */
    margin: auto;
  }
  
  .glightbox-container .gslide-image img {
    object-fit: contain !important;
    max-height: 70vh !important;
  }
}
/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/

.gallery {
  position: relative;
  display: block;
  width: 100%;
}

.gallery .isotope-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

.gallery .isotope-filters li {
  cursor: pointer;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--default-color);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

body.dark-mode .gallery .isotope-filters li {
  color: var(--text-muted);
}

.gallery .isotope-filters li:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.gallery .isotope-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}


.gallery .gallery-item {
  position: relative;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.gallery .gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: all 0.3s ease;
  background-color: var(--background-color,#ffffff);
  width: 100%;
  display: block;
}

.gallery .gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery .gallery-card:hover .gallery-overlay {
  opacity: 1;
  visibility: visible;
}

.gallery .gallery-card:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery .gallery-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

.gallery .gallery-img img {
  display: block;
  transition: transform 0.6s ease;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery .gallery-img:hover img {
  transform: scale(1.05);
}

.gallery .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-sizing: border-box;
}

.gallery .gallery-info {
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.gallery .gallery-info h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery .gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 15px;
}

.gallery .gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gallery .gallery-link i {
  font-size: 20px;
}

.gallery .gallery-link:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: scale(1.1);
}
/*--------------------------------------------------------------
# Responsive Settings
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .gallery .isotope-filters {
    margin-bottom: 25px;
    gap: 8px;
  }
  
  .gallery .isotope-filters li {
    padding: 6px 14px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .gallery .isotope-filters li {
    margin-bottom: 2px;
  }

  .gallery .gallery-overlay {
    padding: 15px;
  }

  .gallery .gallery-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .gallery .gallery-info p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .gallery .gallery-link {
    width: 35px;
    height: 35px;
  }

  .gallery .gallery-link i {
    font-size: 18px;
  }

  /* 1. OVERRIDE ISOTOPE CONTAINER INLINE HEIGHT */
  .gallery .isotope-container {
    height: auto !important;
    position: relative !important;
  }
  
  /* 2. FORCE CARDS TO UNSTACK AND ALIGN VERTICALLY */
  .gallery .gallery-item {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    transform: none !important;
    margin-bottom: 12px !important;
    float: none !important;
  }
}


/*--------------------------------------------------------------
# Gallery 3 Section
--------------------------------------------------------------*/
.gallery-3 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.gallery-3 .filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 32px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}

.gallery-3 .filter-bar .filter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color) 60%, transparent);
  padding-right: 16px;
  border-right: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
}

@media (max-width: 576px) {
  .gallery-3 .filter-bar .filter-label {
    border-right: none;
    padding-right: 0;
    width: 100%;
  }
}

.gallery-3 .shadcn-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-3 .shadcn-filters li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  color: var(--default-color);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.gallery-3 .shadcn-filters li .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  background: color-mix(in srgb, var(--default-color) 8%, transparent);
  color: color-mix(in srgb, var(--default-color) 70%, transparent);
  transition: all 0.2s ease;
}

.gallery-3 .shadcn-filters li:hover {
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border-color: color-mix(in srgb, var(--default-color) 12%, transparent);
}

.gallery-3 .shadcn-filters li:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 25%, transparent);
}

.gallery-3 .shadcn-filters li.filter-active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.gallery-3 .shadcn-filters li.filter-active .filter-count {
  background: color-mix(in srgb, var(--contrast-color) 22%, transparent);
  color: var(--contrast-color);
}

.gallery-3 .gallery-item {
  margin-bottom: 16px;
}

.gallery-3 .shadcn-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-3 .shadcn-card:hover {
  border-color: color-mix(in srgb, var(--default-color) 22%, transparent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gallery-3 .shadcn-card:hover .card-media img {
  transform: scale(1.03);
}

.gallery-3 .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
}

.gallery-3 .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-3 .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 12px;
  background: color-mix(in srgb, var(--background-color) 92%, transparent);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color) 15%, transparent);
  backdrop-filter: blur(6px);
}

.gallery-3 .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.gallery-3 .card-head {
  margin-bottom: 16px;
}

.gallery-3 .card-head .card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--heading-color);
  margin: 0 0 8px 0;
}

.gallery-3 .card-head .card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color) 70%, transparent);
  margin: 0;
}

.gallery-3 .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
}

.gallery-3 .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--default-color) 18%, transparent);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.gallery-3 .btn-ghost i {
  font-size: 14px;
}

.gallery-3 .btn-ghost:hover {
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border-color: color-mix(in srgb, var(--default-color) 28%, transparent);
  color: var(--heading-color);
}

.gallery-3 .btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.gallery-3 .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color);
  padding: 8px 4px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.gallery-3 .btn-link i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.gallery-3 .btn-link:hover {
  color: color-mix(in srgb, var(--accent-color) 80%, transparent);
}

.gallery-3 .btn-link:hover i {
  transform: translate(2px, -2px);
}

.gallery-3 .btn-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.gallery-3 .glightbox-clean .gslide-description {
  background: #272727;
}

.gallery-3 .glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-3 .card-body {
    padding: 20px;
  }

  .gallery-3 .card-head .card-title {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Gallery 3 — Category Headers & Event Blocks
--------------------------------------------------------------*/
.gallery-3 .gallery-category {
  margin-bottom: 56px;
}

.gallery-3 .gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-3 .gallery-cat-head {
  margin-bottom: 40px;
  padding: 28px 32px;
  background: linear-gradient(160deg, #e8f1fe, #d7e6fb);
  border: 1px solid rgba(0, 165, 215, 0.18);
  border-left: 6px solid #00a5d7;
  border-radius: 12px;
}

.gallery-3 .gallery-cat-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a4f9e;
  position: relative;
}

.gallery-3 .gallery-cat-title::before {
  content: "\f4d0";
  font-family: "bootstrap-icons";
  font-size: 0.75em;
  line-height: 1;
  color: #00a5d7;
}

.gallery-3 .cat-event .gallery-cat-title::before {
  content: "\f1fe";
}

.gallery-3 .gallery-cat-desc {
  max-width: 640px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color) 68%, transparent);
}

/* =========================================================
   Event Blocks
========================================================= */
.gallery-3 .gallery-event {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

.gallery-3 .gallery-event:last-child {
  margin-bottom: 0;
}

.gallery-3 .event-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(160deg, #e8f1fe, #d7e6fb);
  border: 1px solid rgba(0, 165, 215, 0.18);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(45, 90, 180, 0.12);
}

.gallery-3 .event-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-3 .event-meta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5b7bb0;
}

.gallery-3 .event-meta-value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #1a5cc8;
}

.gallery-3 .event-head {
  margin-bottom: 20px;
}

.gallery-3 .event-title {
  position: relative;
  margin: 0 0 10px 0;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading-color);
  padding-left: 18px;
}

.gallery-3 .event-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, #00a5d7, #3f9e93);
}

.gallery-3 .event-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color) 68%, transparent);
}

.gallery-3 .event-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-3 .event-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--default-color) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--default-color) 12%, transparent);
}

.gallery-3 .event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-3 .event-photo::after {
  content: "\f62c";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-3 .event-photo:hover img {
  transform: scale(1.05);
}

.gallery-3 .event-photo:hover::after {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery-3 .gallery-event {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-3 .event-meta {
    flex-direction: row;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .gallery-3 .event-photos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .gallery-3 .event-photos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .gallery-3 .gallery-cat-head {
    flex-direction: column;
    gap: 12px;
  }

  .gallery-3 .gallery-cat-num {
    min-width: 46px;
    height: 46px;
  }

  .gallery-3 .event-meta {
    flex-direction: column;
    gap: 20px;
  }
}


/* =========================================================
   HEADER
========================================================= */

.gallery-heading {
    width: min(1400px, 100%);

    margin: 0 auto 70px;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 80px;
}

.gallery-eyebrow {
    display: block;

    margin-bottom: 25px;

    color: var(--maroon);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;
}

.gallery-heading h2 {
    margin: 0;

    font-family: Georgia, serif;

    font-size: clamp(75px, 9vw, 145px);

    line-height: .78;

    letter-spacing: -7px;

    font-weight: 500;
}

.gallery-heading h2 span {
    color: var(--maroon);

    font-style: italic;
}

.gallery-intro {
    width: 350px;

    padding-bottom: 8px;
}

.gallery-intro p {
    margin: 0;

    color: var(--grey);

    font-family: Arial, sans-serif;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   MAIN COLLAGE
========================================================= */

.gallery-collage {

    width: min(1400px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.15fr
        .52fr
        .52fr
        .52fr
        .52fr
        1fr;

    /*
        Bigger vertical proportions
    */

    grid-template-rows:
        260px
        220px
        145px
        230px;

    gap: var(--gap);
}


/* =========================================================
   CARD
========================================================= */

.gallery-card {

    position: relative;

    overflow: hidden;

    min-width: 0;

    min-height: 0;

    background: #ddd;

    cursor: pointer;

    box-shadow:
        10px 10px 0 rgba(65,67,68,.08);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.gallery-card img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .9s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.gallery-card:hover {

    z-index: 5;

    transform: translateY(-5px);

    box-shadow:
        12px 18px 30px rgba(0,0,0,.16);
}

.gallery-card:hover img {

    transform: scale(1.06);

    filter: saturate(.9);
}


/* =========================================================
   EXACT COLLAGE PLACEMENT
========================================================= */


/* TOP LARGE */

.card-01 {

    grid-column: 1 / 6;

    grid-row: 1;
}


/* TOP RIGHT TALL */

.card-02 {

    grid-column: 6;

    grid-row: 1 / 3;
}


/* LEFT TALL */

.card-03 {

    grid-column: 1;

    grid-row: 2 / 4;
}


/* CENTER LARGE */

.card-04 {

    grid-column: 2 / 4;

    grid-row: 2;
}


/* CENTER RIGHT LARGE */

.card-05 {

    grid-column: 4 / 6;

    grid-row: 2;
}


/* RIGHT LOWER */

.card-06 {

    grid-column: 6;

    grid-row: 3 / 5;
}


/* =========================================================
   SMALL MIDDLE STRIP
========================================================= */

.card-07 {

    grid-column: 2;

    grid-row: 3;
}

.card-08 {

    grid-column: 3;

    grid-row: 3;
}

.card-09 {

    grid-column: 4;

    grid-row: 3;
}

.card-10 {

    grid-column: 5;

    grid-row: 3;
}


/*
    Fifth small card is deliberately
    removed from the visual flow because
    the right column is occupied by card 06.
*/

.card-11 {

    display: none;
}


/* =========================================================
   BOTTOM ROW
========================================================= */

.card-12 {

    grid-column: 1;

    grid-row: 4;
}

.card-13 {

    grid-column: 2 / 4;

    grid-row: 4;
}

.card-14 {

    grid-column: 4 / 6;

    grid-row: 4;
}

.card-15 {

    grid-column: 6;

    grid-row: 4;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.gallery-overlay {

    position: absolute;

    inset: 0;

    padding: 25px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    background:
        linear-gradient(
            to top,
            rgba(35,5,12,.88),
            rgba(35,5,12,.03) 68%
        );

    color: white;

    opacity: 0;

    transition: opacity .4s ease;
}

.gallery-card:hover .gallery-overlay {

    opacity: 1;
}


/* =========================================================
   OVERLAY TEXT
========================================================= */

.gallery-overlay span {

    display: block;

    margin-bottom: 9px;

    color: #e3b8c0;

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;
}

.gallery-overlay h3 {

    margin: 0;

    max-width: 400px;

    font-family: Georgia, serif;

    font-size: clamp(23px, 2.4vw, 38px);

    font-weight: 500;

    line-height: 1;
}

.gallery-overlay h3 em {

    color: #e3b8c0;

    font-style: italic;
}

.gallery-overlay p {

    max-width: 360px;

    margin: 12px 0 0;

    color: rgba(255,255,255,.7);

    font-family: Arial, sans-serif;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   VIEW ICON
========================================================= */

.gallery-overlay > b {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    margin-left: 20px;

    border: 1px solid rgba(255,255,255,.5);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    font-weight: 300;
}


/* =========================================================
   SMALL CARDS
========================================================= */

.gallery-small .gallery-overlay {

    padding: 12px;
}

.gallery-small .gallery-overlay span {

    margin: 0;

    font-size: 6px;
}

.gallery-small .gallery-overlay > b {

    width: 28px;

    height: 28px;

    margin-left: 5px;

    font-size: 11px;
}


/* =========================================================
   BOTTOM
========================================================= */

.gallery-bottom {

    width: min(1400px, 100%);

    margin: 80px auto 0;

    padding-top: 30px;

    border-top: 1px solid rgba(0,0,0,.12);

    display: flex;

    justify-content: space-between;

    align-items: flex-start;
}

.gallery-bottom span {

    color: #999;

    font-family: Arial, sans-serif;

    font-size: 8px;

    letter-spacing: 2px;
}

.gallery-bottom strong {

    max-width: 600px;

    font-family: Georgia, serif;

    font-size: clamp(30px, 4vw, 55px);

    font-weight: 500;

    line-height: .95;
}

.gallery-bottom em {

    color: var(--maroon);

    font-style: italic;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1600px) {

    .gallery-collage {

        grid-template-rows:
            300px
            255px
            165px
            270px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .our-gallery {

        padding: 90px 4%;
    }

    .gallery-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 35px;
    }

    .gallery-intro {

        width: 100%;

        max-width: 550px;
    }

    .gallery-collage {

        grid-template-columns:
            repeat(4, 1fr);

        grid-template-rows:
            220px
            180px
            120px
            210px
            210px;
    }


    .card-01 {

        grid-column: 1 / 4;

        grid-row: 1;
    }

    .card-02 {

        grid-column: 4;

        grid-row: 1 / 3;
    }

    .card-03 {

        grid-column: 1;

        grid-row: 2 / 4;
    }

    .card-04 {

        grid-column: 2 / 4;

        grid-row: 2;
    }

    .card-05 {

        grid-column: 2 / 4;

        grid-row: 3;
    }

    .card-06 {

        grid-column: 4;

        grid-row: 3 / 5;
    }

    .card-07 {

        grid-column: 2;

        grid-row: 3;
    }

    .card-08 {

        grid-column: 3;

        grid-row: 3;
    }

    .card-09,
    .card-10,
    .card-11 {

        display: none;
    }

    .card-12 {

        grid-column: 1;

        grid-row: 4;
    }

    .card-13 {

        grid-column: 2 / 4;

        grid-row: 4;
    }

    .card-14 {

        grid-column: 2 / 4;

        grid-row: 5;
    }

    .card-15 {

        grid-column: 4;

        grid-row: 5;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .our-gallery {

        padding: 70px 4%;
    }

    .gallery-heading {

        margin-bottom: 50px;
    }

    .gallery-heading h2 {

        font-size: 65px;

        letter-spacing: -4px;
    }

    .gallery-collage {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        grid-template-rows:
            200px
            180px
            120px
            190px
            190px
            190px;

        gap: 9px;
    }

    .gallery-card {

        grid-column: auto !important;

        grid-row: auto !important;
    }


    /* Full width hero */

    .card-01 {

        grid-column: 1 / 3 !important;
    }


    /* Tall right */

    .card-02 {

        grid-column: 2 !important;
    }


    /* Left */

    .card-03 {

        grid-column: 1 !important;
    }


    /* Large center */

    .card-04 {

        grid-column: 1 / 3 !important;
    }


    .card-05 {

        grid-column: 1 !important;
    }


    .card-06 {

        grid-column: 2 !important;
    }


    /* Bottom */

    .card-12 {

        grid-column: 1 !important;
    }

    .card-13 {

        grid-column: 2 !important;
    }

    .card-14 {

        grid-column: 1 !important;
    }

    .card-15 {

        grid-column: 2 !important;
    }


    .gallery-overlay {

        padding: 14px;

        opacity: 1;

        background:
            linear-gradient(
                to top,
                rgba(35,5,12,.75),
                transparent 65%
            );
    }

    .gallery-overlay p {

        display: none;
    }

    .gallery-overlay h3 {

        font-size: 19px;
    }

    .gallery-overlay > b {

        width: 34px;

        height: 34px;
    }


    .gallery-bottom {

        margin-top: 55px;

        flex-direction: column;

        gap: 25px;
    }

}