.gfxg-gallery {
  --gfxg-columns: 4;
  --gfxg-gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.gfxg-gallery *,
.gfxg-gallery *::before,
.gfxg-gallery *::after {
  box-sizing: border-box;
}

.gfxg-layout-grid {
  display: grid;
  grid-template-columns: repeat(var(--gfxg-columns), minmax(0, 1fr));
  gap: var(--gfxg-gap);
}

.gfxg-layout-masonry {
  column-count: var(--gfxg-columns);
  column-gap: var(--gfxg-gap);
}

.gfxg-layout-masonry .gfxg-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gfxg-gap);
  break-inside: avoid;
}

.gfxg-item {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.gfxg-figure {
  margin: 0;
  overflow: hidden;
  background: #f4f4f4;
}

.gfxg-image-link {
  position: relative;
  display: block;
  text-decoration: none;
  cursor: zoom-in;
}

.gfxg-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gfxg-layout-masonry .gfxg-image {
  height: auto;
  object-fit: initial;
}

.gfxg-item:hover .gfxg-image {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.gfxg-zoom-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(8px);
}

.gfxg-item:hover .gfxg-zoom-badge,
.gfxg-image-link:focus-visible .gfxg-zoom-badge {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gfxg-content {
  padding: 16px 18px 18px;
}

.gfxg-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.gfxg-title a {
  color: inherit;
  text-decoration: none;
}

.gfxg-title a:hover {
  text-decoration: underline;
}

.gfxg-caption {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.gfxg-empty {
  padding: 16px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
}

.gfxg-lightbox-open {
  overflow: hidden !important;
}

.gfxg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gfxg-lightbox.is-open {
  display: flex;
}

.gfxg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(10px);
}

.gfxg-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gfxg-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.gfxg-lightbox__close,
.gfxg-lightbox__nav {
  appearance: none;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gfxg-lightbox__close:hover,
.gfxg-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.04);
}

.gfxg-lightbox__close {
  position: absolute;
  top: -12px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 32px;
  line-height: 1;
  z-index: 4;
}

.gfxg-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 64px;
  border-radius: 999px;
  font-size: 46px;
  line-height: 1;
  z-index: 4;
  transform: translateY(-50%);
}

.gfxg-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.gfxg-lightbox__prev {
  left: 8px;
}

.gfxg-lightbox__next {
  right: 8px;
}

.gfxg-lightbox__meta {
  margin-top: 14px;
  max-width: min(780px, 100%);
  padding: 12px 18px;
  border-radius: 16px;
  text-align: center;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.44);
  backdrop-filter: blur(10px);
}

.gfxg-lightbox__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.gfxg-lightbox__caption {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1024px) {
  .gfxg-gallery {
    --gfxg-columns: min(var(--gfxg-columns), 3);
  }
}

@media (max-width: 780px) {
  .gfxg-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gfxg-layout-masonry {
    column-count: 2;
  }

  .gfxg-lightbox {
    padding: 14px;
  }

  .gfxg-lightbox__image {
    max-height: 74vh;
    border-radius: 14px;
  }

  .gfxg-lightbox__close {
    top: 2px;
    right: 2px;
  }

  .gfxg-lightbox__prev {
    left: 0;
  }

  .gfxg-lightbox__next {
    right: 0;
  }

  .gfxg-lightbox__nav {
    width: 42px;
    height: 56px;
    font-size: 38px;
  }
}

@media (max-width: 520px) {
  .gfxg-layout-grid {
    grid-template-columns: 1fr;
  }

  .gfxg-layout-masonry {
    column-count: 1;
  }

  .gfxg-image {
    height: 240px;
  }

  .gfxg-lightbox__meta {
    width: 100%;
    padding: 10px 12px;
  }
}

/* Responsive logo watermark overlay. Original uploaded images are not modified. */
.gfxg-gallery {
  --gfxg-wm-margin: 4%;
  --gfxg-wm-size: 18%;
  --gfxg-wm-opacity: 0.7;
}

.gfxg-figure,
.gfxg-image-link {
  position: relative;
}

.gfxg-watermark-logo,
.gfxg-lightbox__watermark {
  position: absolute;
  z-index: 3;
  display: block;
  width: var(--gfxg-wm-size);
  height: auto;
  opacity: var(--gfxg-wm-opacity);
  pointer-events: none;
  user-select: none;
}

.gfxg-wm-top-left .gfxg-watermark-logo,
.gfxg-lightbox__dialog.gfxg-wm-top-left .gfxg-lightbox__watermark {
  top: var(--gfxg-wm-margin);
  left: var(--gfxg-wm-margin);
}

.gfxg-wm-top-right .gfxg-watermark-logo,
.gfxg-lightbox__dialog.gfxg-wm-top-right .gfxg-lightbox__watermark {
  top: var(--gfxg-wm-margin);
  right: var(--gfxg-wm-margin);
}

.gfxg-wm-bottom-left .gfxg-watermark-logo,
.gfxg-lightbox__dialog.gfxg-wm-bottom-left .gfxg-lightbox__watermark {
  bottom: var(--gfxg-wm-margin);
  left: var(--gfxg-wm-margin);
}

.gfxg-wm-bottom-right .gfxg-watermark-logo,
.gfxg-lightbox__dialog.gfxg-wm-bottom-right .gfxg-lightbox__watermark {
  right: var(--gfxg-wm-margin);
  bottom: var(--gfxg-wm-margin);
}

.gfxg-wm-middle-left .gfxg-watermark-logo,
.gfxg-lightbox__dialog.gfxg-wm-middle-left .gfxg-lightbox__watermark {
  top: 50%;
  left: var(--gfxg-wm-margin);
  transform: translateY(-50%);
}

.gfxg-wm-middle-right .gfxg-watermark-logo,
.gfxg-lightbox__dialog.gfxg-wm-middle-right .gfxg-lightbox__watermark {
  top: 50%;
  right: var(--gfxg-wm-margin);
  transform: translateY(-50%);
}

.gfxg-lightbox__media-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 78vh;
}

.gfxg-lightbox__media-wrap .gfxg-lightbox__image {
  max-height: 78vh;
}

.gfxg-lightbox__watermark {
  display: none;
}

.gfxg-lightbox__dialog.gfxg-lightbox-watermark-enabled .gfxg-lightbox__watermark {
  display: block;
}

@media (max-width: 780px) {
  .gfxg-lightbox__media-wrap,
  .gfxg-lightbox__media-wrap .gfxg-lightbox__image {
    max-height: 74vh;
  }
}


/* Creator Hex Gallery Frontend Upload */
.chg-frontend-upload {
    max-width: 860px;
    margin: 32px auto;
    padding: 0 16px;
}

.chg-upload-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
    padding: clamp(22px, 4vw, 38px);
}

.chg-upload-card h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.chg-upload-card p {
    margin: 0 0 22px;
    color: #64748b;
    line-height: 1.65;
}

.chg-upload-form {
    display: grid;
    gap: 20px;
}

.chg-upload-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.chg-upload-field select,
.chg-upload-field input[type="file"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px 12px;
}

.chg-upload-help {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-size: 14px;
    color: #64748b;
}

.chg-upload-actions {
    display: flex;
    justify-content: flex-start;
}

.chg-upload-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    min-height: 50px;
    padding: 12px 24px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.chg-upload-button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.chg-upload-notice {
    padding: 13px 16px;
    border-radius: 14px;
    margin: 0 0 18px;
    font-weight: 600;
}

.chg-upload-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.chg-upload-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.chg-upload-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .chg-frontend-upload {
        margin: 20px auto;
        padding: 0 12px;
    }

    .chg-upload-card {
        border-radius: 18px;
    }

    .chg-upload-button {
        width: 100%;
    }
}


.chg-upload-login-box p {
    margin-bottom: 14px;
}

.chg-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform .2s ease, opacity .2s ease;
}

.chg-login-button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

@media (max-width: 640px) {
    .chg-login-button {
        width: 100%;
    }
}


/* Load More and Pagination */
.gfxg-gallery-wrap {
  width: 100%;
}

.gfxg-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

.gfxg-load-more-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  min-height: 48px;
  padding: 12px 26px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.gfxg-load-more-button:hover {
  transform: translateY(-1px);
  background: #1f2937;
}

.gfxg-load-more-button:disabled {
  cursor: progress;
  opacity: .72;
  transform: none;
}

.gfxg-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}

.gfxg-pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.gfxg-pagination a.page-numbers:hover {
  border-color: rgba(99, 102, 241, 0.45);
  color: #4f46e5;
}

.gfxg-pagination .page-numbers.current {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.gfxg-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}


/* Creator Hex Gallery v1.6.7: cleaner minimal lightbox */
.gfxg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.gfxg-lightbox.is-open {
  display: flex;
}

.gfxg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 10, 0.76);
  backdrop-filter: blur(8px);
}

.gfxg-lightbox__dialog {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: min(1120px, 96vw);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gfxgLightboxIn .22s ease both;
}

@keyframes gfxgLightboxIn {
  from {
    opacity: 0;
    transform: scale(.975);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gfxg-lightbox__media-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 90vh;
}

.gfxg-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  background: rgba(255,255,255,.04);
}

.gfxg-lightbox__close {
  appearance: none;
  position: absolute;
  z-index: 5;
  top: -13px;
  right: -13px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111827;
  font-size: 25px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .18s ease, opacity .18s ease;
  padding: 0;
}

.gfxg-lightbox__close:hover,
.gfxg-lightbox__close:focus-visible {
  transform: scale(1.06);
  opacity: .92;
  background: #ffffff;
  color: #111827;
}

.gfxg-lightbox__nav,
.gfxg-lightbox__meta,
.gfxg-lightbox__title,
.gfxg-lightbox__caption {
  display: none !important;
}

.gfxg-lightbox-open {
  overflow: hidden !important;
}

/* Archive page generated by plugin */
.gfxg-archive-page {
  background: #f8fafc;
  color: #0f172a;
}

.gfxg-archive-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.gfxg-archive-hero {
  padding: clamp(54px, 7vw, 92px) 0 34px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(99,102,241,.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.gfxg-archive-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gfxg-archive-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.045em;
  color: #0f172a;
}

.gfxg-archive-description {
  max-width: 760px;
  margin: 16px auto 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.75;
}

.gfxg-archive-gallery-section {
  padding: clamp(36px, 6vw, 72px) 0 clamp(54px, 7vw, 92px);
}

@media (max-width: 640px) {
  .gfxg-lightbox {
    padding: 12px;
  }

  .gfxg-lightbox__image {
    max-width: 94vw;
    max-height: 84vh;
    border-radius: 8px;
  }

  .gfxg-lightbox__close {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 24px;
  }

  .gfxg-archive-wrap {
    width: min(100% - 28px, 1180px);
  }
}


/* Creator Hex Gallery v1.6.8: ultra clean lightbox overrides */
.gfxg-lightbox,
.gfxg-lightbox * {
  box-sizing: border-box;
}

.gfxg-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 46px 22px 22px !important;
}

.gfxg-lightbox.is-open {
  display: flex !important;
}

.gfxg-lightbox__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(3, 7, 6, 0.78) !important;
  backdrop-filter: blur(8px) !important;
}

.gfxg-lightbox.is-closing .gfxg-lightbox__backdrop {
  opacity: .55;
  transition: opacity .2s ease;
}

.gfxg-lightbox__dialog {
  position: relative !important;
  z-index: 2 !important;
  width: auto !important;
  max-width: min(1160px, 96vw) !important;
  max-height: 90vh !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.gfxg-lightbox__media-wrap {
  position: relative !important;
  display: inline-block !important;
  max-width: 100% !important;
  max-height: 86vh !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.gfxg-lightbox__image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 96vw !important;
  max-height: 86vh !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
}

.gfxg-lightbox__close,
.gfxg-lightbox__close:hover,
.gfxg-lightbox__close:focus,
.gfxg-lightbox__close:focus-visible,
.gfxg-lightbox button.gfxg-lightbox__close,
.gfxg-lightbox button.gfxg-lightbox__close:hover,
.gfxg-lightbox button.gfxg-lightbox__close:focus {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  z-index: 10 !important;
  top: -40px !important;
  right: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  cursor: pointer !important;
  text-shadow: none !important;
  opacity: .96 !important;
  transform: none !important;
}

.gfxg-lightbox__close:hover,
.gfxg-lightbox__close:focus-visible {
  opacity: .75 !important;
  color: #ffffff !important;
  transform: none !important;
}

.gfxg-lightbox__nav,
.gfxg-lightbox__meta,
.gfxg-lightbox__title,
.gfxg-lightbox__caption {
  display: none !important;
}

@media (max-width: 640px) {
  .gfxg-lightbox {
    padding: 42px 12px 14px !important;
  }

  .gfxg-lightbox__image {
    max-width: 94vw !important;
    max-height: 82vh !important;
  }

  .gfxg-lightbox__close,
  .gfxg-lightbox button.gfxg-lightbox__close {
    top: -36px !important;
    right: 0 !important;
    font-size: 32px !important;
  }
}


/* Creator Hex Gallery v1.7.0: default single gallery image page */
.gfxg-single-page {
  background: #f8fafc;
  color: #0f172a;
}

.gfxg-single-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.gfxg-single-hero {
  padding: clamp(46px, 6vw, 82px) 0 28px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.gfxg-single-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gfxg-single-hero h1 {
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -.045em;
  color: #0f172a;
}

.gfxg-single-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  padding: 9px 15px;
  text-decoration: none;
  font-weight: 700;
}

.gfxg-single-content-section {
  padding: clamp(34px, 5vw, 66px) 0 clamp(54px, 7vw, 92px);
}

.gfxg-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 28px;
  align-items: start;
}

.gfxg-single-media,
.gfxg-single-details {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(15,23,42,.07);
}

.gfxg-single-media {
  padding: 16px;
}

.gfxg-single-image-link {
  display: block;
  text-decoration: none;
}

.gfxg-single-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: contain;
  background: #f1f5f9;
}

.gfxg-single-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f1f5f9;
  color: #64748b;
  text-align: center;
  padding: 28px;
}

.gfxg-single-details {
  padding: clamp(24px, 3vw, 34px);
  position: sticky;
  top: 24px;
}

.gfxg-single-details h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.18;
  color: #0f172a;
}

.gfxg-single-description {
  color: #475569;
  line-height: 1.75;
  font-size: 16px;
}

.gfxg-single-description p {
  margin: 0 0 16px;
}

.gfxg-single-meta-row {
  border-top: 1px solid rgba(15,23,42,.08);
  padding-top: 18px;
  margin-top: 18px;
}

.gfxg-single-meta-row strong {
  display: block;
  color: #0f172a;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gfxg-single-meta-row a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 700;
}

.gfxg-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gfxg-single-tags a {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 13px;
}

.gfxg-single-actions {
  margin-top: 24px;
}

.gfxg-single-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 800;
}

.gfxg-single-button:hover {
  background: #1e293b;
}

@media (max-width: 900px) {
  .gfxg-single-layout {
    grid-template-columns: 1fr;
  }

  .gfxg-single-details {
    position: static;
  }
}

@media (max-width: 640px) {
  .gfxg-single-wrap {
    width: min(100% - 28px, 1180px);
  }

  .gfxg-single-media,
  .gfxg-single-details {
    border-radius: 18px;
  }

  .gfxg-single-media {
    padding: 10px;
  }

  .gfxg-single-image {
    border-radius: 12px;
  }
}


/* Creator Hex Gallery v1.7.3: lightbox fade-only, no movement animation */
.gfxg-lightbox {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .18s ease !important;
}

.gfxg-lightbox.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.gfxg-lightbox.is-closing {
  opacity: 0 !important;
  pointer-events: none !important;
}

.gfxg-lightbox__dialog,
.gfxg-lightbox__image {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}


/* Creator Hex Gallery v1.7.4: prevent previous image flash before clicked image is ready */
.gfxg-lightbox:not(.is-open) .gfxg-lightbox__image {
  visibility: hidden !important;
}

.gfxg-lightbox.is-open .gfxg-lightbox__image {
  visibility: visible !important;
}


/* Creator Hex Gallery v1.7.5: prevent page layout shift when lightbox opens */
html {
  scrollbar-gutter: stable;
}

html.gfxg-lightbox-open,
body.gfxg-lightbox-open {
  overflow: hidden !important;
}

body.gfxg-lightbox-open {
  box-sizing: border-box;
}


/* Creator Hex Gallery v1.7.7: remove plus/zoom hover icon, keep simple hand cursor and subtle image zoom */
.gfxg-image-link,
.gfxg-lightbox-link {
  cursor: pointer !important;
}

.gfxg-zoom-badge {
  display: none !important;
}

.gfxg-figure {
  overflow: hidden;
}

.gfxg-image-link .gfxg-image {
  transition: transform .28s ease, filter .28s ease !important;
  will-change: transform;
}

.gfxg-image-link:hover .gfxg-image,
.gfxg-image-link:focus-visible .gfxg-image {
  transform: scale(1.035);
  filter: saturate(1.03);
}


/* Creator Hex Gallery v1.7.8: true desktop lightbox center fix */
.gfxg-lightbox {
  width: 100vw !important;
  height: 100vh !important;
  padding: 44px 22px 22px !important;
  align-items: center !important;
  justify-content: center !important;
  place-items: center !important;
}

.gfxg-lightbox.is-open,
.gfxg-lightbox.is-closing {
  display: grid !important;
}

.gfxg-lightbox:not(.is-open):not(.is-closing) {
  display: none !important;
}

.gfxg-lightbox__dialog {
  width: fit-content !important;
  max-width: calc(100vw - 44px) !important;
  max-height: calc(100vh - 66px) !important;
  margin: auto !important;
  inset: auto !important;
  align-self: center !important;
  justify-self: center !important;
  display: block !important;
  text-align: center !important;
}

.gfxg-lightbox__media-wrap {
  width: fit-content !important;
  max-width: calc(100vw - 44px) !important;
  max-height: calc(100vh - 66px) !important;
  margin: 0 auto !important;
  display: block !important;
}

.gfxg-lightbox__image {
  max-width: calc(100vw - 44px) !important;
  max-height: calc(100vh - 66px) !important;
  margin: 0 auto !important;
  display: block !important;
  object-fit: contain !important;
}

@media (min-width: 781px) {
  .gfxg-lightbox__dialog,
  .gfxg-lightbox__media-wrap,
  .gfxg-lightbox__image {
    transform: translateX(0) !important;
    left: auto !important;
    right: auto !important;
  }
}
