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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* ---- Dynamic Site Style Profile ---- */
:root { --ao-radius: 12px; }
.ao-header, .ao-main, .ao-footer { max-width: 1120px; }
body { font-size: 17px; line-height: 1.72; }
.ao-header, .ao-main, .ao-footer { padding: 1.25rem 1.5rem; }
.ao-main h2 { margin-top: 2.2rem; }
.ao-pager a, .ao-sbody th, .ao-sbody td { border-radius: var(--ao-radius); }

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

      .ao-main h1, .ao-main h2, .ao-main h3 { font-weight: 600; color: color-mix(in srgb, var(--ao-text) 86%, #223); }
    

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

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

