/* Admission ticket solutions page — v20260730h */

[id] {
  scroll-margin-top: 110px;
}

.adm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem 0 1rem;
}
.adm-hero__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}
.adm-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.25;
}
.adm-hero__lead {
  margin: 0 0 0.65rem;
  color: var(--text-muted, #64748b);
  line-height: 1.7;
  max-width: 38rem;
}
.adm-hero__sub {
  margin: 0;
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
  max-width: 38rem;
}
.adm-hero__media {
  margin: 0;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}
.adm-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

.adm-type-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.5rem 0 1.5rem;
}
.adm-type-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 132px;
  padding: 1rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.adm-type-card:hover,
.adm-type-card:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
  outline: none;
}
.adm-type-card__num {
  font-size: 0.72rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.04em;
}
.adm-type-card h2 {
  margin: 0;
  font-size: 1.05rem;
}
.adm-type-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.adm-cat {
  padding-block: 1.75rem;
}
.adm-cat__head {
  margin-bottom: 1.25rem;
}
.adm-cat__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}
.adm-cat__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}
.adm-cat__head p {
  margin: 0;
  color: #64748b;
  max-width: 42rem;
  line-height: 1.6;
}

.ticket-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}
.ticket-image img,
.ticket-image picture {
  display: block;
  max-width: 100%;
}
.ticket-image img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.ticket-image--wide img { max-height: 210px; }
.ticket-image--ultra-wide img { max-height: 180px; }
.ticket-image--vertical {
  min-height: 200px;
}
.ticket-image--vertical img {
  width: auto;
  max-width: 100%;
  max-height: 280px;
  margin-inline: auto;
}
.ticket-image--wristband img,
.ticket-image--roll img {
  max-height: 260px;
}

/* Color-horizontal gallery inside shared adm-product media column */
.ticket-horizontal-case__zoom {
  all: unset;
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.ticket-color-horizontal-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ticket-color-horizontal-gallery__item {
  margin: 0;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.ticket-color-horizontal-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 155px;
  object-fit: contain;
}
.ticket-color-horizontal-gallery__item:first-child img {
  max-height: 140px;
}
.ticket-image-zoom {
  display: block;
  width: fit-content;
  min-height: 34px;
  margin: 8px 0 0 auto;
  padding: 6px 12px;
  border: 1px solid #d8e0ea;
  border-radius: 999px;
  background: #ffffff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.ticket-image-zoom:hover,
.ticket-image-zoom:focus-visible {
  border-color: #4f46e5;
  color: #4f46e5;
  outline: none;
}

/* Shared product detail card (2단 / 가로형 / 기타 공통) */
.adm-product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: start;
  padding: 18px;
  margin: 1.35rem 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.adm-product--flip {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}
.adm-product--flip .adm-product__media { order: 2; }
.adm-product--flip .adm-product__body { order: 1; }

.adm-product__badge {
  display: inline-flex;
  margin-bottom: 0.5rem;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.adm-product__body h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}
.adm-product__lead {
  margin: 0 0 0.85rem;
  color: #64748b;
  line-height: 1.65;
}
.adm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}
.adm-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
}
.adm-features {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}
.adm-features li { margin: 0.2rem 0; }
.adm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.adm-actions .btn { min-height: 44px; }

/* Production portfolio — distinct from product cards */
.production-gallery-section {
  background: #f4f7fb;
  border-top: 1px solid #e4eaf3;
  padding: 96px 0;
}
.production-gallery-section .adm-cat__head {
  max-width: 720px;
}
.production-gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.production-gallery-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dfe7f2;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
}
.production-gallery-section .gallery-media {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}
.production-gallery-section .gallery-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.production-gallery-cta {
  margin-top: 1.5rem;
  justify-content: center;
}

.adm-flow {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid #e2e8f0;
}
.adm-flow h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.adm-flow > p {
  margin: 0 0 1.1rem;
  color: #64748b;
}
.adm-flow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.adm-flow__card {
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.adm-flow__card strong {
  display: block;
  margin-bottom: 0.35rem;
}
.adm-flow__card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}

body.ticket-lightbox-open { overflow: hidden; }
.ticket-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.72);
}
.ticket-lightbox[hidden] { display: none !important; }
.ticket-lightbox__dialog {
  position: relative;
  width: min(94vw, 1180px);
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ticket-lightbox__img-wrap {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.75rem;
}
.ticket-lightbox__img-wrap img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.ticket-lightbox__caption {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}
.ticket-lightbox__close,
.ticket-lightbox__nav {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.ticket-lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
}
.ticket-lightbox__nav-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 980px) {
  .adm-hero { grid-template-columns: 1fr; }
  .adm-type-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-product,
  .adm-product--flip {
    grid-template-columns: 1fr;
  }
  .adm-product--flip .adm-product__media,
  .adm-product--flip .adm-product__body { order: initial; }
  .adm-product--flip .adm-product__body { order: 1; }
  .adm-product--flip .adm-product__media { order: 2; }
  .adm-flow__grid { grid-template-columns: 1fr; }
  .production-gallery-section { padding: 72px 0; }
}
@media (max-width: 768px) {
  .ticket-color-horizontal-gallery {
    gap: 14px;
  }
  .ticket-color-horizontal-gallery__item {
    padding: 8px;
  }
  .ticket-color-horizontal-gallery__item img,
  .ticket-color-horizontal-gallery__item:first-child img {
    max-height: 180px;
  }
  .ticket-image-zoom {
    margin-left: 0;
    margin-right: auto;
  }
}
@media (max-width: 560px) {
  .adm-type-nav { grid-template-columns: 1fr; }
  .ticket-image--vertical { min-height: 200px; }
  .ticket-image--vertical img { max-height: 240px; }
  .production-gallery-section { padding: 56px 0; }
  .production-gallery-section .gallery-media {
    margin-top: 28px;
    padding: 10px;
  }
}
