/* Scoped Pardi Safety Tudásközpont appearance enhancements */
.psmg,.psmg *{box-sizing:border-box}
.psmg{--psmg-green:#206f4b;--psmg-dark:#153f30;--psmg-line:#dce8e1;--psmg-ink:#172f42;--psmg-gray:#5c7179;color:var(--psmg-ink);font-family:inherit;line-height:1.6}
.psmg-home{width:min(100% - 40px,1200px);margin:55px auto 70px;padding:35px 37px 31px;background:#fff;border:1px solid #dce9e3;border-radius:24px;box-shadow:0 16px 48px rgba(8,50,32,.07);position:relative;overflow:hidden;clear:both}
.psmg-topline{height:5px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#26784e 0%,#2c7854 80%,#e97b2e 100%)}
.psmg-home-intro{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:27px}
.psmg-eyebrow{font-size:.72rem;letter-spacing:.12em;font-weight:800;color:#23734c;display:block;margin-bottom:9px}
.psmg-home h2,.psmg-related h2{font-size:clamp(1.6rem,2.8vw,2.35rem);line-height:1.23;font-weight:800;letter-spacing:-.025em;color:#193e33;margin:0 0 10px}
.psmg-home h2 span{color:#2b8052}.psmg-home-intro p{font-size:1rem;max-width:760px;color:#5d7372;margin:0;line-height:1.7}
.psmg-logo-wrap{width:85px;height:85px;border-radius:20px;background:#0d3123;display:flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;box-shadow:0 8px 22px rgba(0,42,20,.13)}
.psmg .psmg-logo{width:77px;height:77px;object-fit:contain;display:block;mix-blend-mode:screen}
.psmg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.psmg-card{background:#f8fbf9;border:1px solid #dcebe1;border-radius:16px;padding:23px 22px 20px;display:flex;flex-direction:column;min-width:0;min-height:257px;transition:border-color .17s ease,transform .17s ease,box-shadow .17s ease}
.psmg-card:hover{border-color:#9acaac;box-shadow:0 10px 23px rgba(22,84,49,.08);transform:translateY(-2px)}
.psmg-card-category{text-transform:uppercase;font-size:.68rem;letter-spacing:.09em;font-weight:850;color:#397e58}
.psmg-card h3{font-size:clamp(1.03rem,1.3vw,1.19rem);line-height:1.36;font-weight:800;margin:12px 0 11px;color:#193f31;letter-spacing:-.01em}
.psmg-card h3 a{color:inherit!important;text-decoration:none!important}.psmg-card h3 a:hover{color:#1d7e50!important}
.psmg-card p{font-size:.9rem;color:#637774;line-height:1.64;margin:0 0 18px;flex:1}
.psmg-read-more{font-size:.87rem;font-weight:800;color:#1e774e!important;text-decoration:none!important;display:inline-flex;align-items:center;gap:6px;align-self:flex-start}
.psmg-read-more:hover{text-decoration:underline!important}
.psmg-home-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:26px;padding-top:20px;border-top:1px solid var(--psmg-line)}
.psmg-home-footer>span{font-size:.78rem;color:#728679}.psmg-button{display:inline-flex;align-items:center;gap:13px;justify-content:center;background:#1f744b;padding:12px 19px;color:#fff!important;border-radius:10px;font-weight:800;text-decoration:none!important;font-size:.92rem;line-height:1.25}.psmg-button:hover{background:#155d3b}
.psmg-empty{padding:24px;background:#f4faf6;border:1px dashed #bfdac8;border-radius:12px;color:#5b7561}
.psmg-related{width:100%;max-width:980px;margin:42px 0 20px;padding:29px 0 5px;border-top:1px solid #d7e8dc;clear:both}
.psmg-related-header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.psmg-related h2{font-size:clamp(1.45rem,2.1vw,1.8rem);margin:0}
.psmg-all-link{color:#26724b!important;font-weight:750;text-decoration:none!important;white-space:nowrap;font-size:.85rem}.psmg-all-link:hover{text-decoration:underline!important}
.psmg-related .psmg-card{background:#fff;min-height:240px;padding:19px}.psmg-related .psmg-card h3{font-size:1rem}
.psmg-fallback{margin:0 auto;max-width:1250px}.psmg-fallback .psmg-home{max-width:1200px}
/* Hide the default Astra next/previous + comments only on knowledge-center articles. */
body.psmg-hub-article.psmg-hide-navigation nav.post-navigation,
body.psmg-hub-article.psmg-hide-navigation .post-navigation,
body.psmg-hub-article.psmg-hide-navigation .ast-single-post-navigation,
body.psmg-hub-article.psmg-hide-navigation .ast-post-navigation,
body.psmg-hub-article.psmg-hide-navigation .ast-navigation-links,
body.psmg-hub-article.psmg-hide-navigation .ast-single-post .navigation.post-navigation{display:none!important}
body.psmg-hub-article.psmg-hide-comments #comments,
body.psmg-hub-article.psmg-hide-comments .comments-area,
body.psmg-hub-article.psmg-hide-comments .comment-respond,
body.psmg-hub-article.psmg-hide-comments .wp-block-post-comments-form{display:none!important}
@media(max-width:1000px){.psmg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.psmg-home{padding:30px 25px}.psmg-related .psmg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.psmg-home{width:calc(100% - 22px);margin:30px auto;padding:25px 16px 23px;border-radius:16px}.psmg-home-intro{align-items:flex-start;gap:12px}.psmg-logo-wrap{height:59px;width:59px;border-radius:14px}.psmg .psmg-logo{height:54px;width:54px}.psmg-home h2{font-size:1.62rem}.psmg-home-intro p{font-size:.91rem}.psmg-grid,.psmg-related .psmg-grid{grid-template-columns:1fr}.psmg-card,.psmg-related .psmg-card{min-height:0}.psmg-related{margin-top:28px}.psmg-related-header{display:block}.psmg-all-link{display:inline-block;margin-top:10px}.psmg-home-footer>span{display:none}}
@media(prefers-reduced-motion:reduce){.psmg *{transition:none!important}}
