/* Only replace existing footers while this plugin is active. */
body.nld-active #site-footer,body.nld-active .nsc-footer{display:none!important}
body .nld-footer{box-sizing:border-box;background:#003f32!important;color:#e2ece2!important;border-top:3px solid #a4bc81;margin-top:40px;padding:52px max(24px,calc((100% - 1240px)/2)) 26px;font:inherit;font-size:16px;line-height:1.75;width:100%;clear:both}
.nld-footer *,.nld-articles *{box-sizing:border-box;min-width:0}
body .nld-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:48px}
body .nld-footer h2{font-size:17px!important;font-weight:700;color:#fff!important;margin:0 0 22px!important;line-height:1.4}
body .nld-footer a{color:#e2ece2!important;text-decoration:none!important;overflow-wrap:anywhere}
body .nld-footer a:hover{text-decoration:underline!important;color:#d1e6a7!important}
body .nld-footer p{color:#c4d6c8!important;margin:0 0 18px;font-size:16px;line-height:1.75;max-width:34ch}
body .nld-footer ul{list-style:none;margin:0;padding:0}
body .nld-footer li{margin:0 0 13px;padding:0}
body .nld-footer .nld-brand{display:inline-flex;align-items:center;justify-content:center;width:230px;max-width:100%;min-height:80px;background:#fffdf5;border-radius:14px;padding:12px 20px;margin:0 0 16px;color:#004b35!important;font:900 48px/1 system-ui,sans-serif;letter-spacing:-3px}
body .nld-brand img{display:block;max-width:100%;height:auto;max-height:90px;object-fit:contain}
.nld-dot{color:#ff8038}.nld-ee{color:#5a963c}
body .nld-copyright{border-top:1px solid #ffffff26;padding-top:18px;margin-top:32px;font-size:14px;color:#e2ece2}
body .nld-articles{background:#f8f8f0;padding:40px 0 48px;margin:24px 0 0}
body .nld-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
body .nld-heading h2{font-size:28px!important;line-height:1.3;margin:0!important;color:#20252a!important}
body .nld-all{display:inline-flex;gap:12px;background:#4c7c47;color:white!important;border-radius:12px;padding:13px 22px;text-decoration:none!important;font-weight:700}
body .nld-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
body .nld-card{background:#fff;padding:26px;box-shadow:none;border:0;border-radius:0}
body .nld-card h3{font-size:23px!important;line-height:1.3;margin:16px 0 0!important;font-weight:700}
body .nld-card h3 a{color:#4c7c47!important;text-decoration:none!important;overflow-wrap:anywhere}
body .nld-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#4c7c47;font-size:14px}
body .nld-meta time{border:1px solid #4c7c47;background:#eef2e7;border-radius:24px;padding:5px 9px}
.nld-footer a:focus-visible,.nld-articles a:focus-visible{outline:3px solid #a4bc81;outline-offset:4px}
@media(max-width:900px){body .nld-grid{grid-template-columns:1fr 1fr;gap:30px}body .nld-cards{grid-template-columns:1fr}body .nld-card h3{font-size:22px!important}}
@media(max-width:540px){body .nld-grid{grid-template-columns:1fr;gap:24px}body .nld-footer{padding:32px 20px 24px}body .nld-heading{align-items:flex-start;flex-direction:column;gap:16px}body .nld-heading h2{font-size:24px!important}body .nld-card{padding:22px}body .nld-articles{padding:28px 0}}

/* Compact front page: the catalogue starts directly below the header. */
body.home.nld-active,body.home.nld-active .site-content{background:#f8f8f0!important}
body.home.nld-active .content-area,body.home.nld-active .entry-content,body.home.nld-active article.page{background:transparent!important;box-shadow:none!important}
body .nld-catalog{max-width:1240px;margin:0 auto;padding:18px 0 0}
body .nld-catalog .nld-heading h2{font-size:25px!important}
body .nld-catalog .rtcl-listings{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important}
body .nld-catalog .rtcl-listings>.listing-item{width:auto!important;max-width:100%!important;margin:0!important;border:1px solid #dce5d6;border-radius:12px;overflow:hidden;background:#fff}
body .nld-catalog .rtcl-listings .listing-title a{color:#25392a!important}
body .nld-catalog .rtcl-listings .listing-thumb img{width:100%;aspect-ratio:1.5;object-fit:cover}
@media(max-width:900px){body .nld-catalog .rtcl-listings{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:420px){body .nld-catalog .rtcl-listings{gap:10px!important}body .nld-catalog .nld-heading h2{font-size:21px!important}}
