.ggtcc-gallery,
.ggtcc-gallery *,
.ggtcc-gallery-lightbox,
.ggtcc-gallery-lightbox * {
  box-sizing: border-box;
}

.ggtcc-gallery {
  padding: 6rem 0;
  color: #20271f;
  font-family: inherit;
}

.ggtcc-gallery__shell {
  position: relative;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.ggtcc-gallery__section-title {
  position: relative;
  max-width: 48rem;
  margin: 0 0 2rem;
  padding-left: 1.1rem;
}

.ggtcc-gallery__section-title::before {
  position: absolute;
  top: 0.2rem;
  bottom: 0.25rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f15b45, #f4a62a 42%, #16a89a);
  content: "";
}

.ggtcc-gallery__kicker {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(200, 62, 120, 0.15);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(241, 91, 69, 0.075), rgba(244, 166, 42, 0.09), rgba(22, 168, 154, 0.07));
  padding: 0.35rem 0.7rem;
  color: #a64a3b;
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ggtcc-gallery__gold-line {
  display: block;
  width: min(100%, 30rem);
  height: 2px;
  margin: 0.25rem 0 0.9rem;
  background: linear-gradient(90deg, transparent, #c7a76c, transparent);
  opacity: 0.82;
}

.ggtcc-gallery__heading {
  margin: 0;
  color: #20271f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.ggtcc-gallery__intro {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #59675d;
  font-size: 1rem;
  line-height: 1.55;
}

.ggtcc-gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ggtcc-gallery__filter {
  border: 1px solid rgba(38, 53, 42, 0.15);
  border-radius: 999px;
  background: #fff;
  padding: 0.5rem 1rem;
  color: #59675d;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.ggtcc-gallery__filter:hover {
  border-color: #92733c;
}

.ggtcc-gallery__filter[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(105deg, #f15b45, #f4a62a);
  box-shadow: 0 6px 18px rgba(210, 94, 58, 0.18);
  color: #fff;
}

.ggtcc-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.ggtcc-gallery__card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(50, 57, 40, 0.14);
  border-radius: 24px;
  background: #0d1a15;
  padding: 0;
  box-shadow: 0 12px 32px rgba(61, 45, 34, 0.09);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ggtcc-gallery__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(61, 45, 34, 0.12);
}

.ggtcc-gallery__card[hidden] {
  display: none;
}

.ggtcc-gallery__media {
  position: relative;
  display: block;
  height: 18rem;
  overflow: hidden;
}

.ggtcc-gallery__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.ggtcc-gallery__card:hover .ggtcc-gallery__media img {
  transform: scale(1.05);
}

.ggtcc-gallery__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  background: linear-gradient(to top, rgba(9, 22, 17, 0.35), transparent);
  padding: 0.75rem;
}

.ggtcc-gallery__overlay-panel {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(9, 22, 17, 0.55);
  padding: 0.75rem;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ggtcc-gallery__tag {
  display: block;
  color: rgba(231, 210, 165, 0.9);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ggtcc-gallery__caption {
  display: block;
  max-width: 100%;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.45;
}

.ggtcc-gallery [hidden],
.ggtcc-gallery-lightbox[hidden],
.ggtcc-gallery-lightbox [hidden] {
  display: none !important;
}

.ggtcc-gallery :focus-visible,
.ggtcc-gallery-lightbox :focus-visible {
  outline: 3px solid rgba(200, 62, 120, 0.7);
  outline-offset: 3px;
}

.ggtcc-gallery-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  background: rgba(7, 21, 15, 0.9);
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ggtcc-gallery-lightbox__panel {
  position: relative;
  width: min(100%, 64rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #0d1a15;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ggtcc-gallery-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(11, 23, 20, 0.8);
  padding: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
}

.ggtcc-gallery-lightbox__media {
  position: relative;
  width: 100%;
  height: 70vh;
  background: #0d1a15;
}

.ggtcc-gallery-lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ggtcc-gallery-lightbox__info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  color: #dfe7e1;
  font-size: 0.875rem;
}

.ggtcc-gallery-lightbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ggtcc-gallery-lightbox__category {
  color: #d7ba7f;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ggtcc-gallery-lightbox__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ggtcc-gallery-lightbox__nav {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: transparent;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.ggtcc-gallery-lightbox__nav:hover {
  border-color: rgba(215, 186, 127, 0.6);
  color: #fff;
}

.ggtcc-gallery-lightbox__caption {
  margin: 0.75rem 0 0;
  color: #edf2ef;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .ggtcc-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ggtcc-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ggtcc-gallery__shell {
    width: min(calc(100% - 1.2rem), 1200px);
  }

  .ggtcc-gallery__section-title {
    padding-left: 0.8rem;
  }

  .ggtcc-gallery__heading {
    line-height: 1.05;
  }
}

@media (max-width: 640px) {
  .ggtcc-gallery {
    padding: 4rem 0;
  }

  .ggtcc-gallery__media {
    height: 18rem;
  }

  .ggtcc-gallery-lightbox__media {
    height: 60vh;
  }

  .ggtcc-gallery-lightbox__header {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ggtcc-gallery *,
  .ggtcc-gallery-lightbox * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
