/* MagnusBilling Blog | same light premium design system as magnusbilling.net */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light}
html{scroll-behavior:smooth}
body.mb-public-theme.mb-premium-home.mb-blog{
  background:radial-gradient(ellipse 55% 550px at 92% 0,#a5ead022,transparent 76%),#f6faf8!important;
  color:#1a2023!important;font-family:Manrope,Inter,system-ui,-apple-system,'Segoe UI',sans-serif!important;
  min-height:100vh;font-size:15px;line-height:1.7;
}
body.mb-blog *{box-sizing:border-box}
body.mb-blog a{color:#006b4b;text-decoration:none}
body.mb-blog a:hover{text-decoration:underline}
body.mb-blog .shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
body.mb-blog .skip{position:absolute;top:-100px;left:8px;padding:8px 12px;background:#fff;color:#142d23;z-index:100}
body.mb-blog .skip:focus{top:8px}
/* Header is copied from the matching locale of the actual MagnusBilling homepage. */
body.mb-blog .site-header .container{width:min(1180px,calc(100% - 32px));margin:0 auto}
body.mb-blog .site-header .header-inner,body.mb-blog .site-header .brand-side{display:flex;align-items:center}
body.mb-blog .site-header .header-inner{justify-content:space-between}
body.mb-blog .site-header .brand-side{gap:12px;min-width:0}
body.mb-blog .site-header .brand img{display:block}
body.mb-blog .site-header .nav,body.mb-blog .site-header .nav-links,body.mb-blog .site-header .header-actions{display:flex;align-items:center}
body.mb-blog .site-header .nav{gap:12px}
body.mb-blog .site-header .nav-links{gap:1px}
body.mb-blog .site-header .header-actions{gap:8px}
body.mb-blog .site-header .nav-toggle{display:none}
body.mb-blog .site-header .lang-switch select{min-height:38px;padding:0 10px;font-weight:700}
body.mb-blog .site-header .btn{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;font-weight:800}

body.mb-blog .site-header{position:sticky;top:0;z-index:40;background:#ffffffef!important;border-bottom:1px solid #e0e8e3!important;box-shadow:0 8px 28px #124b2811!important;backdrop-filter:blur(20px)}
body.mb-blog .site-header .header-inner{min-height:116px;gap:12px}
body.mb-blog .site-header .brand img{height:72px!important;width:auto!important;max-width:min(285px,37vw)!important;object-fit:contain}
body.mb-blog .site-header .nav-links a{color:#24332f!important;font-size:13px!important;font-weight:800!important;border-radius:999px;padding:11px 13px}
body.mb-blog .site-header .nav-links a:hover,body.mb-blog .site-header .nav-links a.is-active{background:#e7f5eb!important;color:#8e0033!important;text-decoration:none}
body.mb-blog .site-header .lang-switch select{background:#f4f8f5!important;border:1px solid #d5e2d9!important;color:#243c2e!important;box-shadow:none;border-radius:12px}
body.mb-blog .site-header .lang-switch select option{background:#fff;color:#203729}
body.mb-blog .site-header .btn-ghost{background:#fff!important;border:1px solid #d5e1da!important;color:#21352a!important;box-shadow:none!important}
body.mb-blog .site-header .btn-primary{background:linear-gradient(109deg,#a0003e 0%,#760033 47%,#00694b 100%)!important;color:#fff!important;border:1px solid #b2466b66!important;box-shadow:0 13px 27px #82003228!important}
body.mb-blog .site-header .btn-primary:hover{filter:brightness(1.07)}
body.mb-blog .site-header .btn{min-height:45px;padding:0 17px;font-size:13px;border-radius:14px}
body.mb-blog .site-header a.btn:hover{text-decoration:none}
/* Breadcrumb / typography */
body.mb-blog .crumbs{padding-top:25px;padding-bottom:6px;color:#64766e;font-size:13px}
body.mb-blog .crumbs a{color:#006c50;font-weight:700}
body.mb-blog .crumbs span{padding:0 9px;color:#9aafa2}
body.mb-blog h1,body.mb-blog h2,body.mb-blog h3{color:#202a2a!important;letter-spacing:-.04em;text-wrap:pretty}
body.mb-blog h1{font-weight:800;font-size:clamp(32px,4.8vw,57px);line-height:1.11;margin:12px 0 18px;max-width:950px}
body.mb-blog h2{font-weight:800;line-height:1.25}
body.mb-blog .lead{color:#51665d!important;font-size:clamp(16px,1.75vw,19px);line-height:1.65;max-width:790px}
/* Blog hub — light white-to-mint hero that matches the home page. */
body.mb-public-theme.mb-premium-home.mb-blog .hero.shell{
  position:relative;isolation:isolate;overflow:hidden;
  width:min(1180px,calc(100% - 40px));margin:26px auto 27px;
  padding:48px 55px!important;border:1px solid #dfe9e3!important;
  border-radius:27px!important;
  background:radial-gradient(ellipse 63% 440px at 96% 16%,#b3f8d539,transparent 80%),radial-gradient(ellipse 38% 280px at 0 85%,#f0b7c42b,transparent 85%),linear-gradient(140deg,#fff,#f5faf7)!important;
  box-shadow:0 16px 40px #003d2411!important;color:#202a2a!important;
}
body.mb-blog .hero.shell .eyebrow{display:inline-flex;align-items:center;color:#125a3e!important;font-size:12px;letter-spacing:.04em;font-weight:800;text-transform:none;background:#fff;border:1px solid #d7e7df;border-radius:30px;padding:8px 14px}
body.mb-blog .hero.shell .eyebrow::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#10b66f;margin-right:8px}
body.mb-blog .hero.shell .lead{margin:0;color:#536d62!important}
/* Five compact image + summary cards per blog page. */
body.mb-public-theme.mb-premium-home.mb-blog .grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:0 0 44px}
body.mb-public-theme.mb-premium-home.mb-blog .grid>.card{
  display:grid!important;grid-template-columns:minmax(190px,260px) minmax(0,1fr)!important;
  overflow:hidden;padding:0!important;border-radius:23px!important;background:#fff!important;
  border:1px solid #dce9e1!important;box-shadow:0 12px 31px #163c2810!important;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
body.mb-blog .grid>.card:hover{transform:translateY(-2px);border-color:#b1dcc8!important;box-shadow:0 18px 44px #164a2720!important}
body.mb-blog .grid>.card>a{display:block;min-height:205px;height:100%;overflow:hidden}
body.mb-blog .grid>.card>a img{display:block;width:100%;height:100%;min-height:205px;object-fit:cover;object-position:center}
body.mb-blog .card-body{padding:19px 27px 20px;min-width:0}
body.mb-blog .card-body h2{font-size:clamp(20px,2.1vw,25px);line-height:1.25;margin:6px 0 9px}
body.mb-blog .card-body h2 a{color:#202a2a!important;text-decoration:none}
body.mb-blog .card-body h2 a:hover{color:#8f0037!important}
body.mb-blog .card-body .date{color:#73847d;font-size:12px;font-weight:700}
body.mb-blog .card-body p{color:#607267!important;margin:0 0 11px;line-height:1.55;font-size:14px}
body.mb-blog .card-body .more{display:inline-flex;align-items:center;color:#8e0033!important;font-weight:800;font-size:13px}
body.mb-blog .card-body .more:hover{color:#00694b!important}
body.mb-blog .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
body.mb-blog .tag{display:inline-flex;align-items:center;border:1px solid #d0e8d9;background:#ecf8f1;color:#007251!important;border-radius:999px;padding:5px 11px;font-weight:700;font-size:12px;line-height:1.4}
body.mb-blog .tag:hover{background:#e0f3e7;text-decoration:none}
body.mb-blog .pagination{display:flex;justify-content:center;gap:10px;padding:0 0 55px;flex-wrap:wrap}
body.mb-blog .pagination a,body.mb-blog .pagination strong{background:#fff;color:#30443a!important;min-width:42px;padding:9px 15px;border:1px solid #d3e5db;border-radius:12px;text-align:center}
body.mb-blog .pagination strong{background:#8e0033;color:#fff!important;border-color:#8e0033}
/* Full article: same bright premium public sub-page aesthetic. */
body.mb-public-theme.mb-premium-home.mb-blog .story{
  max-width:980px;margin:22px auto 70px;padding:32px clamp(24px,5vw,64px) 42px;
  background:#fff!important;border:1px solid #dce9e1;border-radius:29px;box-shadow:0 16px 43px #153d2516;
}
body.mb-public-theme.mb-premium-home.mb-blog .story>.hero{
  padding:15px 0 8px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;isolation:auto;overflow:visible;
}
body.mb-blog .story .hero .eyebrow{display:inline-flex;padding:0;color:#006e4d!important;background:none!important;letter-spacing:.025em;font-size:12px;font-weight:800;text-transform:none}
body.mb-blog .story h1{font-size:clamp(32px,4.4vw,51px);line-height:1.15;margin:13px 0 14px}
body.mb-blog .story .intro{font-size:clamp(17px,2vw,21px);color:#54685f;line-height:1.6;margin:0}
body.mb-blog .story .cover{width:100%;aspect-ratio:1200/630;object-fit:cover;display:block;border:1px solid #e4eae6;border-radius:20px;margin:25px 0 30px}
body.mb-blog .story-body p,body.mb-blog .story>p{color:#41574c!important;font-size:16px;line-height:1.9;margin:16px 0}
body.mb-blog .story-body a{color:#8e0033}
body.mb-blog .story .btn{display:inline-flex;justify-content:center;align-items:center;min-height:45px;padding:10px 20px;color:#fff!important;background:linear-gradient(109deg,#a0003e,#760033 50%,#00694b)!important;border-radius:14px;font-weight:800}
body.mb-blog .story .btn:hover{text-decoration:none;filter:brightness(1.09)}
body.mb-blog .topic-cloud{margin-top:35px;border-top:1px solid #e3ece6;padding-top:26px}
body.mb-blog .topic-cloud h2,body.mb-blog .related h2{font-size:22px}
body.mb-blog .related{margin:35px 0}
body.mb-blog .related ul{padding-left:23px}
body.mb-blog .related li{margin:10px 0;color:#5c6f65}
body.mb-blog .related a{color:#006c4c!important;font-weight:650}
body.mb-blog .empty{padding:45px 0;color:#53675d}
body.mb-blog .rss{color:#61756b;font-size:13px}
/* Footer copied from the public site, unchanged content and layout. */
body.mb-blog .site-footer-standard{border-top:1px solid #233e35!important;background:#102922!important;color:#c1d5ca!important;padding:30px 0!important}
body.mb-blog .site-footer-standard .footer-standard-inner{width:min(1180px,calc(100% - 40px));margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px}
body.mb-blog .site-footer-standard .footer-standard-logo{justify-self:start;display:flex;align-items:center}
body.mb-blog .site-footer-standard .footer-standard-logo img{height:34px;width:auto;max-width:260px;object-fit:contain}
body.mb-blog .site-footer-standard .footer-contact-buttons{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}
body.mb-blog .site-footer-standard .footer-contact-btn{display:inline-flex;justify-content:center;align-items:center;min-height:34px;border-radius:999px;background:#ffffff0e;color:#e0f0e7!important;padding:0 15px;border:1px solid #ffffff28;font-size:12px;font-weight:800}
body.mb-blog .site-footer-standard .footer-contact-btn:hover{background:#ffffff20;text-decoration:none}
body.mb-blog .site-footer-standard .footer-copy{justify-self:end;white-space:nowrap;font-size:13px;color:#bfd2c7;margin:0}
body.mb-blog a:focus-visible,body.mb-blog button:focus-visible,body.mb-blog select:focus-visible{outline:2px solid #008554;outline-offset:3px}
@media (max-width:1199px){body.mb-blog .site-header .brand img{height:56px!important}}
@media (max-width:820px){
  body.mb-blog .site-header .header-inner{min-height:96px}
  body.mb-blog .site-header .nav{display:none;position:absolute;top:calc(100% + 8px);left:16px;right:16px;flex-direction:column;align-items:stretch;padding:17px;background:#fff!important;border:1px solid #d6e7dd;border-radius:20px;box-shadow:0 18px 40px #102f222c}
  body.mb-blog .site-header .nav.is-open{display:flex!important}
  body.mb-blog .site-header .nav-links,body.mb-blog .site-header .header-actions{display:flex;flex-direction:column;align-items:stretch}
  body.mb-blog .site-header .nav-links a{color:#1f3228!important}
  body.mb-blog .site-header .nav-toggle{display:inline-flex;background:#fff!important;border:1px solid #d6e7dd!important}
  body.mb-blog .site-header .nav-toggle span,body.mb-blog .site-header .nav-toggle span::before,body.mb-blog .site-header .nav-toggle span::after{background:#193d2e!important}
  body.mb-blog .site-header .btn{width:100%}
  body.mb-blog .hero.shell{padding:38px 25px!important}
}
@media (max-width:740px){
  body.mb-public-theme.mb-premium-home.mb-blog .grid>.card{grid-template-columns:1fr!important}
  body.mb-blog .grid>.card>a{min-height:0;height:auto}
  body.mb-blog .grid>.card>a img{min-height:0;aspect-ratio:1200/630;height:auto}
  body.mb-blog .card-body{padding:20px}
  body.mb-blog .site-footer-standard .footer-standard-inner{grid-template-columns:1fr;justify-items:center;text-align:center}
  body.mb-blog .site-footer-standard :is(.footer-standard-logo,.footer-copy){justify-self:center}
  body.mb-blog .story{margin-bottom:45px}
}
@media (max-width:620px){
  body.mb-blog .shell{width:calc(100% - 30px)}
  body.mb-blog .site-header .brand img{height:38px!important;width:auto!important}
  body.mb-blog .site-header .header-inner{min-height:82px}
  body.mb-blog .site-header .lang-switch select{padding:0 25px 0 9px;min-height:35px}
  body.mb-public-theme.mb-premium-home.mb-blog .hero.shell{width:calc(100% - 30px);padding:28px 24px!important}
  body.mb-blog .story h1{font-size:32px}
  body.mb-blog .story-body p{font-size:15px}
  body.mb-public-theme.mb-premium-home.mb-blog .story{padding:22px 22px 30px;margin:17px auto 40px}
}
@media (prefers-reduced-motion:reduce){body.mb-blog *,body.mb-blog *::before,body.mb-blog *::after{transition:none!important;animation:none!important}}

/* Custom list and article content for user-published news */
    body.mb-blog .story .benefit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:22px 0 28px;padding:0;list-style:none}
    body.mb-blog .story .benefit-list li{display:flex;align-items:start;gap:10px;color:#334f40;background:#f0faf4;border:1px solid #d8e9dd;border-radius:14px;padding:13px 16px;font-weight:650;line-height:1.45}
    body.mb-blog .story .benefit-list li::before{content:'✓';font-weight:900;color:#007f52}
    @media(max-width:710px){body.mb-blog .story .benefit-list{grid-template-columns:1fr}}
    