/* Additions for WordPress. The design itself is in site.css (original site). */

/* Toast shown when a machine is added to the shortlist (the original used the Sonner library). */
.mo-toaster{position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;flex-direction:column;gap:10px;pointer-events:none}
.mo-toast{pointer-events:auto;min-width:280px;max-width:360px;background:#fff;color:#10283f;border:1px solid #dce4ea;border-radius:8px;box-shadow:0 10px 30px rgba(16,52,85,.14);padding:14px 16px;font:500 13px/1.45 "DM Sans",sans-serif;display:flex;gap:10px;align-items:flex-start;animation:mo-toast-in .25s ease-out}
.mo-toast svg{flex:none;color:#16794a;margin-top:1px}
.mo-toast strong{display:block;font-weight:600}
.mo-toast span{display:block;color:#5b6f82;font-weight:400}
@keyframes mo-toast-in{from{transform:translateY(8px)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.mo-toast{animation:none}}
@media (max-width:640px){.mo-toaster{left:16px;right:16px;bottom:16px}.mo-toast{max-width:none}}

/* Insights articles written in WordPress (headings, lists and links inside one section). */
.insight-article-body .mo-article-content>h2:not(:first-child){margin-top:52px}
.insight-article-body .mo-article-content>h3{font-size:20px;margin:32px 0 12px}
.insight-article-body .mo-article-content ul,.insight-article-body .mo-article-content ol{margin:18px 0 0;padding-left:22px;font-size:15px;line-height:1.8;color:rgb(99,119,138)}
.insight-article-body .mo-article-content li strong{color:rgb(28,53,75)}
.insight-article-body .mo-article-content ul{list-style:disc}
.insight-article-body .mo-article-content ol{list-style:decimal}
.insight-article-body .mo-article-content li+li{margin-top:8px}
.insight-article-body .mo-article-content ul+p,.insight-article-body .mo-article-content ol+p{margin-top:20px}
.insight-article-body .mo-article-content a{color:var(--blue,#0b5fa5);text-decoration:underline;text-underline-offset:3px}
.insight-article-body .mo-article-content img{max-width:100%;height:auto;margin:24px 0}
.insights-section .nav-links{display:flex;gap:16px;margin-top:32px;font-weight:600}

/* Keep the sticky header below the WordPress admin bar for logged-in editors. */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}

/* Form status while sending. */
.mo-sending{opacity:.7;pointer-events:none}
.button .animate-spin{animation:mo-spin 1s linear infinite}
@keyframes mo-spin{to{transform:rotate(360deg)}}
