*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Times New Roman", Times, Georgia, serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  color: #053156;
  background: #fff;
  overflow-x: hidden;
  min-width: 0;
}

.doc-content {
  width: 100%;
  max-width: min(900px, 100vw);
  margin: 0 auto;
  padding: 28px 24px;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
  font-family: "Times New Roman", Times, Georgia, serif;
}

.doc-content h1,
.doc-content h2,
.doc-content h3,
.doc-content h4,
.doc-content p,
.doc-content li,
.doc-content strong,
.doc-content .doc-subtitle,
.doc-content a {
  font-family: "Times New Roman", Times, Georgia, serif;
}

.doc-content h1 {
  font-size: 22pt;
  font-weight: bold;
  color: #053156;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.doc-content .doc-subtitle {
  font-size: 16pt;
  font-weight: bold;
  color: #053156;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.doc-content h2 {
  font-size: 16pt;
  font-weight: bold;
  color: #053156;
  margin: 20px 0 8px 0;
  line-height: 1.3;
}

.doc-content h3 {
  font-size: 16pt;
  font-weight: bold;
  color: #053156;
  margin: 16px 0 8px 0;
  line-height: 1.3;
}

.doc-content h4 {
  font-size: 13.5pt;
  font-weight: bold;
  color: #053156;
  margin: 12px 0 4px 0;
  line-height: 1.3;
}

.doc-content p {
  font-size: 12pt;
  color: #053156;
  margin: 0 0 8px 0;
  max-width: 100%;
}

.doc-content p.doc-num {
  margin-left: 0.5in;
  text-indent: -0.25in;
  padding-left: 0.25in;
  padding-right: 0;
}

.doc-content p.doc-sub-bullet {
  margin-left: 1in;
  text-indent: -0.25in;
  padding-left: 0.25in;
  padding-right: 0;
}

.doc-content ul,
.doc-content ol {
  margin: 4px 0 8px 0;
  padding-left: 1.2em;
  padding-right: 0;
  max-width: 100%;
}

.doc-content ul.doc-nested-list {
  margin-top: 4px;
  margin-bottom: 4px;
}

.doc-content li {
  font-size: 12pt;
  color: #053156;
  margin-bottom: 4px;
}

.doc-content li.doc-nested {
  list-style-type: circle;
}

.doc-content strong {
  font-weight: bold;
}

.doc-content a {
  color: #053156;
  word-break: break-all;
}

/* Legacy section/hr layout */
section {
  padding: 0 24px;
  margin: 0;
  max-width: 100%;
  font-family: "Times New Roman", Times, Georgia, serif;
}

hr {
  margin: 0 24px;
}

h1,
h2 {
  color: #053156;
  font-family: "Times New Roman", Times, Georgia, serif;
}

/* Tablet */
@media (max-width: 768px) {
  .doc-content {
    padding: 24px 20px;
  }

  .doc-content h1 {
    font-size: 1.5rem;
  }

  .doc-content .doc-subtitle,
  .doc-content h2,
  .doc-content h3 {
    font-size: 1.15rem;
  }

  .doc-content h4 {
    font-size: 1rem;
  }

  .doc-content p,
  .doc-content li {
    font-size: 1rem;
  }

  section {
    padding: 0 20px;
  }

  hr {
    margin: 0 20px;
  }
}

/* Mobile (iPhone, small phones) */
@media (max-width: 480px) {
  body {
    padding: 0;
  }

  .doc-content {
    padding: 22px 22px;
  }

  .doc-content h1 {
    font-size: 1.35rem;
    margin-bottom: 6px;
  }

  .doc-content .doc-subtitle,
  .doc-content h2,
  .doc-content h3 {
    font-size: 1.05rem;
    margin-top: 16px;
  }

  .doc-content h4 {
    font-size: 0.95rem;
  }

  .doc-content p,
  .doc-content li {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .doc-content p.doc-num,
  .doc-content p.doc-sub-bullet {
    margin-left: 1.1rem;
    padding-left: 0.65rem;
    text-indent: -0.65rem;
  }

  .doc-content p.doc-sub-bullet {
    margin-left: 1.75rem;
  }

  .doc-content ul,
  .doc-content ol {
    padding-left: 1em;
  }

  section {
    padding: 0 18px;
  }

  hr {
    margin: 0 18px;
  }
}
