.eb-blog,.eb-article,.eb-widget{font-family:Arial,sans-serif;color:#1D324B;line-height:1.65}.eb-blog *,.eb-article *,.eb-widget *{box-sizing:border-box}.eb-heading{background:#F1F9F4;text-align:center;padding:64px 24px;margin-bottom:40px}.eb-heading h1,.eb-article h1{font-family:Arial,sans-serif;font-size:clamp(32px,4vw,56px);font-weight:700;line-height:1.15;color:#1D324B;text-transform:none;margin:16px 0 24px;overflow-wrap:anywhere}.eb-heading p:first-child{font-size:13px;letter-spacing:2px;font-weight:700;color:#3C765D}.eb-heading p{margin:0}.eb-wrap{max-width:1320px;margin:0 auto;padding:0 24px 64px}.eb-categories,.eb-pagination{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:0 0 36px}.eb-categories a,.eb-pagination a{padding:8px 18px;border:1px solid #B8E2D4;border-radius:32px;color:#1D324B;background:white;text-decoration:none;font-size:16px}.eb-categories a[aria-current],.eb-pagination a[aria-current]{background:#1D324B;color:white;border-color:#1D324B}.eb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.eb-grid.eb-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.eb-grid.eb-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-card{overflow:hidden;border-radius:18px;background:#F1F9F4;border:1px solid #dfebe4;transition:transform .2s,box-shadow .2s}.eb-card>a{display:block;height:100%;color:#1D324B;text-decoration:none;font-size:inherit}.eb-card img,.eb-placeholder{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}.eb-placeholder{background:linear-gradient(135deg,#F1F9F4,#B8E2D4)}.eb-card-text{padding:22px 24px 28px}.eb-card h2,.eb-widget .eb-card h2{font-family:Arial,sans-serif;font-weight:700;font-size:24px;line-height:1.3;margin:10px 0 0;color:#1D324B;text-transform:none;overflow-wrap:anywhere}.eb-card time,.eb-article time{font-size:14px;color:#3C765D}.eb-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px #1d324b12}.eb-card a:focus-visible,.eb-gallery a:focus-visible{outline:3px solid #3C765D;outline-offset:-3px}.eb-pagination{margin:36px 0 0}.eb-article{max-width:1040px;margin:0 auto;padding:48px 24px 72px}.eb-article header{max-width:860px;margin:0 auto 30px}.eb-back{color:#3C765D;font-size:15px;text-decoration:none}.eb-featured img,.eb-featured .eb-placeholder{width:100%;height:auto;max-height:640px;object-fit:cover;border-radius:20px;display:block}.eb-featured{margin-bottom:40px}.eb-body{max-width:800px;margin:0 auto;font-size:18px;line-height:1.8;overflow-wrap:anywhere}.eb-body p{font-size:inherit;line-height:inherit;margin:0 0 1.3em}.eb-body h2,.eb-body h3,.eb-body h4{font-family:Arial,sans-serif;line-height:1.3;color:#1D324B;margin:1.5em 0 .6em}.eb-body h2{font-size:30px}.eb-body h3{font-size:25px}.eb-body a{color:#3C765D;text-decoration:underline}.eb-body img{max-width:100%;height:auto;border-radius:14px}.eb-body blockquote{border-left:4px solid #7FB79C;background:#F1F9F4;padding:20px 28px;margin:28px 0;font-family:Arial,sans-serif}.eb-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:44px}.eb-gallery a{display:block;position:relative;overflow:hidden;border-radius:16px}.eb-gallery img{width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;display:block}.eb-gallery span{position:absolute;bottom:12px;right:12px;border-radius:50%;background:#ffffffd9;color:#1D324B;width:36px;height:36px;text-align:center;font-size:25px;line-height:36px}.eb-widget{max-width:1320px;margin:0 auto;padding:40px 24px}.eb-widget>h2{font-family:Arial,sans-serif;color:#1D324B;font-size:36px;text-align:center;margin:0 0 32px}.eb-more{display:table;margin:30px auto 0;color:#1D324B;background:#B8E2D4;padding:12px 24px;border-radius:8px;text-decoration:none;font-weight:bold}.eb-empty{text-align:center;padding:48px 24px;background:#F1F9F4;border-radius:18px}.eb-lightbox{border:0;padding:0;background:transparent;max-width:none;max-height:none;overflow:visible;color:#1D324B}.eb-lightbox::backdrop{background:#102237d9}.eb-lightbox img{display:block;width:auto;height:auto;max-width:min(80vw,1440px);max-height:88vh;border-radius:10px}.eb-lightbox button{position:absolute;border:0;border-radius:50%;width:44px;height:44px;background:rgba(255,255,255,.3);color:#1D324B;font-size:28px;cursor:pointer}.eb-lightbox button:hover,.eb-lightbox button:focus-visible{background:white}.eb-close{right:12px;top:12px}.eb-prev{left:12px;top:calc(50% - 22px)}.eb-next{right:12px;top:calc(50% - 22px)}
@media(max-width:1000px){.eb-grid.eb-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-grid{gap:20px}.eb-card-text{padding:18px}.eb-card h2,.eb-widget .eb-card h2{font-size:22px}}
@media(max-width:640px){.eb-heading{padding:40px 20px}.eb-grid,.eb-grid.eb-cols-4,.eb-grid.eb-cols-2{grid-template-columns:1fr}.eb-wrap,.eb-article,.eb-widget{padding-left:20px;padding-right:20px}.eb-article{padding-top:30px}.eb-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.eb-body{font-size:17px}.eb-lightbox img{max-width:94vw}.eb-lightbox button{width:40px;height:40px}.eb-categories{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.eb-card{transition:none}.eb-card:hover{transform:none}}
/* The existing ErgoMed theme styles all header and heading elements globally. */
body.ergomed-design .eb-heading{background:#F1F9F4;color:#1D324B}
body.ergomed-design .eb-article>header{background:transparent;color:#1D324B}
body.ergomed-design .eb-heading h1,body.ergomed-design .eb-article h1{font:700 clamp(32px,4vw,56px)/1.15 Arial,sans-serif;color:#1D324B;letter-spacing:normal;text-transform:none;margin:16px 0 24px}
body.ergomed-design .eb-heading p{color:#1D324B;font:400 18px/1.65 Arial,sans-serif}
body.ergomed-design .eb-heading p:first-child{color:#3C765D;font-size:13px;font-weight:700;letter-spacing:2px}
body.ergomed-design .eb-back{color:#3C765D;font-size:15px}
body.ergomed-design .eb-card h2{font:700 24px/1.3 Arial,sans-serif;color:#1D324B;margin:10px 0 0;letter-spacing:normal;text-transform:none}
body.ergomed-design .eb-widget>h2{font:700 36px/1.2 Arial,sans-serif;color:#1D324B}
body.ergomed-design .eb-body h2{font:700 30px/1.3 Arial,sans-serif}
body.ergomed-design .eb-body h3{font:700 25px/1.3 Arial,sans-serif}
body.ergomed-design .eb-body p{font-size:inherit;line-height:inherit}
@media(max-width:1000px){body.ergomed-design .eb-card h2{font-size:22px}}
body.ergomed-design .eb-body h2,body.ergomed-design .eb-body h3,body.ergomed-design .eb-body h4{margin:1.4em 0 .6em}
body.ergomed-design .eb-body p{margin:0 0 1.25em}

/* Same photo viewer as the standalone gallery. */
.eg-gallery-dialog:not([open]){display:none}
.eg-gallery-dialog figure{margin:0}
.eg-gallery-dialog button{position:absolute;display:grid;place-items:center;cursor:pointer}
/* Borderless photo viewer; controls sit on the photograph. */
body.ergomed-design .eg-gallery-card{border:0;background:transparent}
body.ergomed-design .eg-gallery-zoom svg{width:24px;height:24px}
body.ergomed-design dialog.eg-gallery-dialog{margin:auto;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;width:80vw;max-width:1440px;max-height:none;overflow:visible;color:#1D324B}
body.ergomed-design .eg-gallery-dialog::backdrop{background:rgba(15,25,37,.72)}
body.ergomed-design .eg-gallery-dialog figure{margin:0;padding:0;line-height:0}
body.ergomed-design .eg-gallery-dialog figure img{display:block;width:100%;max-width:100%;height:auto;max-height:88dvh;margin:0;object-fit:contain;border-radius:10px}
body.ergomed-design .eg-gallery-dialog button{z-index:2;width:46px;height:46px;padding:0;margin:0;border:0;border-radius:50%;background:rgba(255,255,255,.3);backdrop-filter:blur(4px);color:#1D324B;font:500 28px/1 Arial,Helvetica,sans-serif;box-shadow:none;transition:background-color .15s ease}
body.ergomed-design .eg-gallery-dialog button:hover{background:rgba(255,255,255,.65);color:#1D324B}
body.ergomed-design .eg-gallery-dialog button:focus-visible{outline:3px solid #fff;outline-offset:2px}
body.ergomed-design .eg-gallery-dialog .eg-gallery-close{top:12px;right:12px;bottom:auto;left:auto;transform:none}
body.ergomed-design .eg-gallery-dialog .eg-gallery-prev{top:50%;left:12px;right:auto;bottom:auto;transform:translateY(-50%)}
body.ergomed-design .eg-gallery-dialog .eg-gallery-next{top:50%;right:12px;left:auto;bottom:auto;transform:translateY(-50%)}
@media(max-width:700px){body.ergomed-design .eg-gallery-dialog button{width:40px;height:40px;font-size:25px}body.ergomed-design .eg-gallery-dialog .eg-gallery-close{top:8px;right:8px}body.ergomed-design .eg-gallery-dialog .eg-gallery-prev{left:8px}body.ergomed-design .eg-gallery-dialog .eg-gallery-next{right:8px}}
@media(prefers-reduced-motion:reduce){body.ergomed-design .eg-gallery-dialog button{transition:none}}

/* Article and news index refinements. */
body.ergomed-design .eb-article>header,body.ergomed-design .eb-body{max-width:none;width:100%;margin-left:0;margin-right:0}
body.ergomed-design .eb-back{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;margin:0 0 16px;background:#1D324B;color:#fff;border:0;border-radius:8px;text-decoration:none;font:700 16px/1.4 Arial,sans-serif;transition:background-color .2s,transform .2s}
body.ergomed-design .eb-back:hover{background:#3C765D;color:#fff;transform:translateY(-2px)}
body.ergomed-design .eb-back:focus-visible{outline:3px solid #7FB79C;outline-offset:3px}
body.ergomed-design .eb-gallery .eb-zoom{position:absolute;right:20px;bottom:20px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#F1F9F4;color:#1D324B;line-height:1}
body.ergomed-design .eb-gallery .eb-zoom svg{width:24px;height:24px}
body.ergomed-design .eb-heading{text-align:left;padding:28px 0 60px;background:#F1F9F4;margin:0 0 40px}
.eb-intro-wrap{width:calc(100% - 48px);max-width:1240px;margin:auto}
body.ergomed-design .eb-heading .eb-breadcrumb{display:block;font-size:14px;margin:0 0 40px}
body.ergomed-design .eb-breadcrumb a{color:#1D324B;text-decoration:none}
body.ergomed-design .eb-heading .eb-eyebrow{font:700 13px/1.65 Arial,sans-serif;letter-spacing:1.8px;margin:0 0 16px;color:#1D324B}
body.ergomed-design .eb-heading h1{font:700 clamp(36px,4vw,58px)/1.12 Arial,Helvetica,sans-serif;margin:0 0 22px;letter-spacing:-1.6px;color:#1D324B}
body.ergomed-design .eb-heading .eb-intro-text{max-width:650px;font:400 18px/1.7 Arial,sans-serif;margin:0;color:#1D324B}
@media(max-width:700px){.eb-intro-wrap{width:calc(100% - 36px)}body.ergomed-design .eb-heading{padding-bottom:40px}body.ergomed-design .eb-heading .eb-breadcrumb{margin-bottom:30px}body.ergomed-design .eb-gallery .eb-zoom{right:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){body.ergomed-design .eb-back{transition:none}}
/* Match the article-card container, including older cached heading markup. */
body.ergomed-design .eb-heading{padding-left:max(24px,calc((100% - 1320px)/2 + 24px));padding-right:max(24px,calc((100% - 1320px)/2 + 24px))}
body.ergomed-design .eb-heading .eb-intro-wrap{width:100%;max-width:none;margin:0;padding:0}
@media(max-width:640px){body.ergomed-design .eb-heading{padding-left:20px;padding-right:20px}}
