/* test/daegwan.html — 섹션 밝은 배경 · 어두운 전경 (가시성 우선) */

.right.sub-page #daegwan {
  color: var(--ti-text);
}

.right.sub-page #daegwan p,
.right.sub-page #daegwan .dg-facility-list > li,
.right.sub-page #daegwan .dg-facility-list__sub li {
  text-align: justify;
  text-justify: inter-word;
}

.dg-photo {
  margin: 0 0 24px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  line-height: 0;
  border: 1px solid var(--ti-border);
  background: var(--ti-surface);
}

.dg-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.dg-form-wrap {
  margin: 0 0 28px;
  padding: 20px;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  border-radius: 0;
  color: var(--ti-text);
  text-align: center;
}

.dg-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 14px 20px;
  border-radius: 0;
  border: 1px solid #9a7b1a;
  background: var(--ti-surface-alt);
  color: var(--ti-text-strong);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.dg-form-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--ti-accent);
  background: #e8e8e8;
  color: var(--ti-text-strong);
}

.dg-form-link:focus-visible {
  outline: 2px solid var(--ti-accent);
  outline-offset: 3px;
}

.dg-form-link::after {
  content: "↗";
  font-size: 1rem;
  opacity: 0.9;
}

.dg-form-link[hidden] {
  display: none !important;
}

.dg-form-wrap .dg-form-note {
  margin: 0;
  color: var(--ti-text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.dg-steps {
  margin: 0 0 28px;
  padding: 16px 18px;
  background: var(--ti-surface);
  border-radius: 0;
  border: 1px solid var(--ti-border);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ti-text);
}

.dg-steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ti-text-strong);
  font-size: 1rem;
}

.dg-steps-intro {
  margin: 8px 0 0;
  color: var(--ti-text-secondary);
  font-size: 0.9rem;
  text-align: justify;
  text-justify: inter-word;
}

.proc-infographic {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px clamp(8px, 2.5vw, 12px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1040px) {
  .proc-infographic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .proc-infographic {
    gap: 10px 8px;
  }
}

.proc-infographic__step {
  display: block;
  min-width: 0;
}

.proc-infographic__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 10px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  min-height: 118px;
  padding: 14px 6px 6px;
  background: var(--ti-surface-alt);
  border: 1px solid var(--ti-border);
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: var(--ti-text);
}

.proc-infographic__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ti-text-strong);
  background: var(--ti-surface);
  border: 1px solid #9a7b1a;
  box-shadow: none;
}

.proc-infographic__text {
  font-size: clamp(0.76rem, 2.4vw, 0.82rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ti-text);
  text-align: center;
}

.dg-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--ti-text-strong);
}

.dg-fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
}

.dg-fee-table td {
  padding: 12px 14px;
  border: 0;
  color: var(--ti-text);
  vertical-align: middle;
}

.dg-fee-table tbody tr + tr td {
  border-top: 1px solid var(--ti-border);
}

.dg-fee-table__period {
  text-align: left;
}

.dg-fee-table__price {
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}

.dg-fee-table__note {
  text-align: right;
  color: var(--ti-text-secondary);
  font-size: 0.88rem;
  white-space: nowrap;
}

/* theater-page-body.css 목록 리셋보다 우선 — #daegwan 스코프 */
.right.sub-page #daegwan .dg-facility-list {
  display: block;
  margin: 0;
  padding: 16px 18px;
  color: var(--ti-text);
  font-size: 0.92rem;
  background: var(--ti-surface);
  border: 1px solid var(--ti-border);
  list-style: none;
}

.right.sub-page #daegwan .dg-facility-list > li {
  position: relative;
  display: block;
  margin: 0 0 14px;
  padding: 0 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ti-text);
  line-height: 1.6;
}

.right.sub-page #daegwan .dg-facility-list > li:last-child {
  margin-bottom: 0;
}

.right.sub-page #daegwan .dg-facility-list > li::before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ti-accent);
}

.right.sub-page #daegwan .dg-facility-list__sub {
  display: block;
  margin: 8px 0 0 0.2rem;
  padding: 0;
  list-style: none;
}

.right.sub-page #daegwan .dg-facility-list__sub li {
  position: relative;
  display: block;
  margin: 0 0 6px;
  padding: 0 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ti-text-secondary);
  line-height: 1.6;
}

.right.sub-page #daegwan .dg-facility-list__sub li:last-child {
  margin-bottom: 0;
}

.right.sub-page #daegwan .dg-facility-list__sub li::before {
  display: block;
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--ti-accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.dg-contact {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--ti-text);
}

.dg-contact a {
  color: var(--ti-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dg-contact a:hover {
  color: var(--ti-accent-hover);
}
