:root {
  --hx-primary: #2563eb;
  --hx-primary-hover: #1d4ed8;
  --hx-secondary: #1e40af;
  --hx-text: #1e293b;
  --hx-muted: #64748b;
  --hx-bg: #ffffff;
  --hx-border: #e2e8f0;
  --hx-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(--hx-text);
  background: var(--hx-bg);
  -webkit-font-smoothing: antialiased;
}

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

/* Resist host/theme bleed on shared CMS installs. */
body[class*="-page"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body[class*="-page"] > [class$="-header"],
body[class*="-page"] > [class$="-main"],
body[class*="-page"] > [class$="-footer"] {
  display: block !important;
  float: none !important;
  clear: both !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* ---- Dynamic Site Style Profile ---- */
:root { --hx-radius: 4px; }
.hx-header, .hx-main, .hx-footer { max-width: 980px; }
body { font-size: 15px; line-height: 1.5; }
.hx-header, .hx-main, .hx-footer { padding: 0.7rem 1rem; }
.hx-main h2 { margin-top: 1.4rem; }
.hx-pager a, .hx-sbody th, .hx-sbody td { border-radius: var(--hx-radius); }

      .hx-nav a { text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
      .hx-nav a:hover { border-bottom-color: var(--hx-primary); }
    

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

      .hx-header, .hx-footer, .hx-related li, .hx-plist li { border-width: 1px; }
    

      .hx-footer { border: 1px solid var(--hx-border); border-radius: var(--hx-radius); padding: .9rem 1rem; margin-bottom: 1rem; }
    
/* ---- End Dynamic Site Style Profile ---- */

