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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

      .rq-nav { gap: .45rem .75rem; }
      .rq-nav a { text-decoration: none; font-size: .9em; }
    

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

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

      .rq-footer { border-top-style: solid; background: transparent; }
    
/* ---- End Dynamic Site Style Profile ---- */

