:root {
  --ld-primary: #2563eb;
  --ld-primary-hover: #1d4ed8;
  --ld-secondary: #1e40af;
  --ld-text: #1e293b;
  --ld-muted: #64748b;
  --ld-bg: #ffffff;
  --ld-border: #e2e8f0;
  --ld-radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ld-text);
  background: var(--ld-bg);
  -webkit-font-smoothing: antialiased;
}

.ld-page { min-height: 100vh; display: flex; flex-direction: column; }
.ld-main { flex: 1; }

.ld-header,
.ld-main,
.ld-footer {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.25rem;
}
@media (min-width: 640px) {
  .ld-header,
  .ld-main,
  .ld-footer { padding: 1.5rem 2rem; }
}

.ld-header {
  border-bottom: 1px solid var(--ld-border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.ld-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.ld-nav a {
  color: var(--ld-primary);
  text-decoration: none;
  font-weight: 500;
}
.ld-nav a:hover { color: var(--ld-primary-hover); text-decoration: underline; }

.ld-breadcrumb {
  font-size: 0.813rem;
  color: var(--ld-muted);
  margin-bottom: 1rem;
}
.ld-breadcrumb a {
  color: var(--ld-primary);
  text-decoration: none;
}
.ld-breadcrumb a:hover { text-decoration: underline; }

.ld-main h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem 0;
}
@media (min-width: 640px) {
  .ld-main h1 { font-size: 1.75rem; }
}

.ld-main h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem 0;
}
@media (min-width: 640px) {
  .ld-main h2 { font-size: 1.25rem; }
}

.ld-main h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
}

.ld-main p { margin: 0 0 1rem 0; }
.ld-intro { margin-bottom: 1.5rem; }

.ld-sbody ul,
.ld-sbody ol {
  margin: 0.75rem 0 1rem 1.25rem;
  padding-left: 1.25rem;
}
.ld-sbody li { margin-bottom: 0.4rem; }

.ld-sbody table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
@media (min-width: 480px) {
  .ld-sbody table { display: table; }
}
.ld-sbody th,
.ld-sbody td {
  border: 1px solid var(--ld-border);
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.ld-sbody th {
  background: var(--ld-border);
  font-weight: 600;
}

.ld-faq { margin-top: 2rem; }
.ld-faq h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ld-text);
}

.ld-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ld-related li {
  margin: 0.5rem 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ld-border);
}
.ld-related li:last-child { border-bottom: none; }
.ld-related a {
  color: var(--ld-primary);
  text-decoration: none;
}
.ld-related a:hover { text-decoration: underline; }

.ld-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ld-border);
  font-size: 0.875rem;
  color: var(--ld-muted);
}
.ld-footer a {
  color: var(--ld-primary);
  text-decoration: none;
}
.ld-footer a:hover { text-decoration: underline; }

.ld-hubinfo {
  color: var(--ld-muted);
  margin-bottom: 1.5rem;
}
.ld-plist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ld-plist li {
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ld-border);
}
.ld-plist li:last-child { border-bottom: none; }
.ld-plist a {
  color: var(--ld-primary);
  text-decoration: none;
  display: block;
}
.ld-plist a:hover { text-decoration: underline; }

.ld-pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.ld-pager a {
  color: var(--ld-primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: var(--ld-bg);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
}
.ld-pager a:hover {
  background: var(--ld-primary);
  color: white;
  border-color: var(--ld-primary);
}
.ld-pginfo {
  color: var(--ld-muted);
  font-size: 0.875rem;
}


/* ---- Dynamic Site Style Profile ---- */
:root { --ld-radius: 4px; }
.ld-header, .ld-main, .ld-footer { max-width: 720px; }
body { font-size: 16px; line-height: 1.62; }
.ld-header, .ld-main, .ld-footer { padding: 1rem 1.25rem; }
.ld-main h2 { margin-top: 1.8rem; }
.ld-pager a, .ld-sbody th, .ld-sbody td { border-radius: var(--ld-radius); }

      .ld-nav a { text-decoration: none; border: 1px solid var(--ld-border); border-radius: 999px; padding: .25rem .65rem; background: #fff; }
    

      .ld-main h1, .ld-main h2, .ld-main h3 { font-family: Georgia, "Times New Roman", serif; }
    

      .ld-header, .ld-footer, .ld-related li, .ld-plist li { border-width: 2px; }
    

      .ld-footer { border-top: 0; opacity: .9; }
    
/* ---- End Dynamic Site Style Profile ---- */

