/* Scoped layout for /terms */
.tv-terms {
  font-family: "Open Sans", "Zen Kaku Gothic New", sans-serif;
  color: #00033d;
  background-color: #f6f6f6;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  padding-top: 0;
  padding-bottom: 6rem;
  letter-spacing: 0.025em;
  min-height: 80vh;
}

.tv-terms .terms-hero {
  padding: 1em 0 2rem;
  margin-bottom: 4rem;
}

.tv-terms .hero-content {
  display: flex;
  flex-direction: column;
}

.tv-terms .hero-title {
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 300 !important;
  color: #00033d;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.tv-privacy .hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
}

.tv-terms .hero-subtitle-wrapper {
  margin-top: 0.5rem;
}

.tv-terms .hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding-right: 1rem;
}

.tv-terms .hero-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 3, 61, 0.1);
  margin-top: 1rem;
}

/* Document Styling */
.tv-terms .terms-box {
  background-color: #fff;
  border: 1px solid rgba(0, 3, 61, 0.05);
}

.tv-terms .terms-intro,
.tv-terms .terms-content {
  font-size: 18px;
  line-height: 1.4;
  color: #1f2a4f;
}

.tv-terms .terms-heading {
  font-size: 24px;
  color: #1245f6;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tv-terms .terms-heading .blue-square {
  font-size: 1rem;
  line-height: 1;
  margin-right: 0.5rem;
  color: #1245f6;
}

.tv-terms .terms-intro p,
.tv-terms .terms-content p,
.tv-terms .terms-content li {
  font-size: 18px;
}

.tv-terms .terms-content p {
  margin-bottom: 1rem;
}

.tv-terms .terms-content p:last-child {
  margin-bottom: 0;
}

.tv-terms .terms-content ul {
  padding-left: 0;
}

.tv-terms .terms-content ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.tv-terms .terms-content ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #1f2a4f;
}

/* Override list style for items starting with (number) */
.tv-terms .terms-content ul li[class*="(1)"]::before,
.tv-terms .terms-content ul li:has(span.num-list) {
    /* If we use strict list structures later, handle marker here. */
}

/* If text starts with (1), we can just remove the dot */
.tv-terms .terms-content ul.no-dots li {
  padding-left: 0;
}
.tv-terms .terms-content ul.no-dots li::before {
  display: none;
}

.tv-terms .terms-supplementary {
  font-size: 18px;
  color: #1f2a4f;
}

.tv-terms .terms-revision-date {
  font-size: 18px;
  color: #1f2a4f;
}

/* Placeholder box */
.tv-terms .terms-placeholder {
  background-color: #f8fbff;
  border-color: #cce0ff !important;
}

@media (max-width: 991.98px) {
  .tv-terms .terms-hero {
    padding: 4rem 0 2rem;
  }
}