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

.fh-page { min-height: 100vh; display: flex; flex-direction: column; }
.fh-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

