/* Article presentation, scoped to posts to preserve calculator and admin UI. */
body.single-post .almgd-article-card, body.single-post .almgd-article-card * {box-sizing:border-box;}
body.single-post .almgd-article-card {
  width:100%; max-width:1120px; min-width:0; margin:0 auto 32px;
  padding:clamp(18px,3.5vw,48px); background:#fff;
  border:1px solid #dce5ef; border-top:5px solid #f58220;
  border-radius:24px; box-shadow:0 14px 44px rgba(18,48,79,.09);
  overflow-wrap:anywhere; color:#20364d;
}
body.single-post .almgd-article-card .entry-title {
  color:#143956; font-size:clamp(26px,3vw,40px); line-height:1.55; margin-bottom:16px;
}
body.single-post .almgd-article-card .entry-content {line-height:1.95; font-size:17px; min-width:0;}
body.single-post .almgd-article-card .entry-content p {
  padding:18px 22px; margin-block:16px; border:1px solid #dce5ef;
  border-inline-start:4px solid #f58220; border-radius:14px;
  background:linear-gradient(120deg,#fff,#f6f9fc); color:#243d55;
}
body.single-post .almgd-article-card .entry-content h2,
body.single-post .almgd-article-card .entry-content h3 {
  color:#143956; margin-block:32px 16px; padding-inline-start:14px;
  border-inline-start:5px solid #f58220; line-height:1.6;
}
body.single-post .almgd-article-card .entry-content a:not(:has(img)),
body.single-post .almgd-article-card .entry-content button,
body.single-post .post-navigation a {
  display:inline-block; max-width:100%; padding:9px 17px; margin:4px 2px;
  border:1px solid #194c70; border-radius:10px; background:#194c70;
  color:#fff; text-decoration:none; font:inherit; font-weight:700; line-height:1.6;
  box-shadow:0 4px 12px rgba(20,57,86,.14); transition:background .18s ease,box-shadow .18s ease;
  overflow-wrap:anywhere;
}
body.single-post .almgd-article-card .entry-content a:not(:has(img)):hover,
body.single-post .almgd-article-card .entry-content button:hover,
body.single-post .post-navigation a:hover {background:#12364f;color:#fff;box-shadow:0 6px 18px rgba(20,57,86,.22);}
body.single-post .almgd-article-card a:focus-visible,
body.single-post .almgd-article-card button:focus-visible {outline:3px solid #f58220;outline-offset:3px;}
body.single-post .almgd-article-card img {max-width:100%;height:auto;border-radius:16px;}
body.single-post .almgd-article-card blockquote {margin:24px 0;padding:16px;border-inline-start:4px solid #f58220;background:#fff7ed;border-radius:12px;}
body.single-post .almgd-article-card .wp-block-table {overflow-x:auto;}
@media(max-width:600px){
 body.single-post .almgd-article-card {border-radius:16px;padding:18px 14px;}
 body.single-post .almgd-article-card .entry-content {font-size:16px;}
 body.single-post .almgd-article-card .entry-content p {padding:14px;}
}
@media(prefers-reduced-motion:reduce){body.single-post .almgd-article-card * {transition:none!important;}}
body.single-post #respond {max-width:100%;min-width:0;padding:20px;border:1px solid #dce5ef;border-radius:16px;background:#fff;box-sizing:border-box;}
body.single-post #respond textarea,
body.single-post #respond input:not([type=checkbox]):not([type=submit]) {display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;padding:10px;}
body.single-post #respond input[type=submit] {background:#194c70;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-weight:700;cursor:pointer;}
