/* Scoped styling for the AG article body, compatible with most WordPress themes. */
.ag-content { max-width: 100%; line-height: 1.75; }
.ag-content h2 { margin-top: 2.4em; padding-top: .65em; border-top: 1px solid #e6ebf0; scroll-margin-top: 100px; }
.ag-content h3 { margin-top: 1.8em; scroll-margin-top: 100px; }
.ag-content img { max-width: 100%; height: auto; display: block; margin: 2em auto .5em; border-radius: 10px; }
.ag-content p:has(> em) { line-height: 1.5; font-size: .9em; color: #596783; }
.ag-content .toc { border: 1px solid #d8e4ee; background: #f5f8fc; border-radius: 14px; padding: 1.25em 1.5em; margin: 2em 0; }
.ag-content .toc h2 { border: 0; margin: 0 0 .5em; padding: 0; font-size: 1.1em; }
.ag-content .toc a { display: block; margin: .45em 0; }
.ag-content table { border-collapse: collapse; font-size: .91em; width: 100%; margin: 1.6em 0; }
.ag-content table th, .ag-content table td { border: 1px solid #d8e4ee; padding: .75em; text-align: left; vertical-align: top; }
.ag-content table th { background: #eff5f7; }
.ag-content ul, .ag-content ol { padding-left: 1.5em; }
.ag-content pre { max-width: 100%; overflow-x: auto; }
@media (max-width: 767px) {
  .ag-content .content-table { display: block; overflow-x: auto; }
  .ag-content .toc { padding: 1em; }
}
