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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

      .ma-nav a { text-decoration: none; border: 0; padding: 0; }
    

      .ma-main h1, .ma-main h2, .ma-main h3 { letter-spacing: 0; font-weight: 650; }
    

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

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

