/* Tailored to the customized magic page: quiet, readable service notes. */
.customized-details {
  scroll-margin-top: 120px;
  padding: 8rem 0;
  border-top: 1px solid rgba(195, 195, 195, .15);
  font-size: 14px;
  line-height: 1.85;
}

.customized-details section + section { margin-top: 28px; }

.customized-details h2,
.customized-details h3 {
  font-family: 'Catamaran', 'Noto Sans TC', sans-serif;
  font-size: inherit;
  line-height: 1.85;
  letter-spacing: .02em;
  font-weight: 500;
  color: #dedee4;
  margin: 20px 0 8px;
}

.customized-details h2 { font-weight: 700; margin-top: 0; }

.customized-details p,
.customized-details li {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: .02em;
  color: var(--color-light);
}

.customized-details p { margin: 0 0 10px; }
.customized-details ul { padding-left: 1.4em; margin: 0 0 12px; }
.customized-details li + li { margin-top: 4px; }
.customized-details section > :last-child { margin-bottom: 0; }
.customized-details p.customized-details__related { margin-top: 12px; }

.customized-details__link {
  color: #dedee4;
  border-bottom: 1px solid rgba(222, 222, 228, .42);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.customized-details__link:hover,
.customized-details__link:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .82);
  text-decoration: none;
}

.customized-details__disclosure { margin-top: 24px; }

.customized-details__disclosure summary {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: .7em;
  padding: 0 0 3px;
  border-bottom: 1px solid rgba(195, 195, 195, .38);
  color: var(--color-light);
  font: inherit;
  letter-spacing: .02em;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, border-color .2s ease;
}

.customized-details__disclosure summary::-webkit-details-marker { display: none; }

.customized-details__disclosure summary:hover,
.customized-details__disclosure summary:focus-visible {
  color: #dedee4;
  border-color: rgba(222, 222, 228, .75);
}

.customized-details__disclosure summary:focus-visible {
  outline: 1px solid rgba(222, 222, 228, .65);
  outline-offset: 5px;
}

.customized-details__label--open { display: none; }

.customized-details__mark {
  position: relative;
  width: .8em;
  height: .8em;
  flex: 0 0 .8em;
}

.customized-details__mark::before,
.customized-details__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.customized-details__mark::after { transform: translateY(-50%) rotate(90deg); }
.customized-details__disclosure[open] .customized-details__label--closed { display: none; }
.customized-details__disclosure[open] .customized-details__label--open { display: inline; }
.customized-details__disclosure[open] .customized-details__mark::after { transform: translateY(-50%) rotate(0deg); }

.customized-details__content {
  padding-top: 28px;
  animation: customized-details-reveal .24s ease both;
}

@keyframes customized-details-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575.98px) {
  .customized-details {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customized-details__disclosure summary,
  .customized-details__mark::before,
  .customized-details__mark::after { transition: none; }
  .customized-details__content { animation: none; }
}
