.nm-plma-banner {
    position: fixed;
    top: 200px;
    left: 0;
    z-index: 9999;
    display: block;
    width: 200px;
    max-width: 40vw;
    line-height: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.nm-plma-banner:hover {
    transform: translateX(4px);
}

.nm-plma-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 600;
}

/* A 200px fixed banner would cover content on phones - hide it there. */
@media only screen and (max-width: 768px) {
    .nm-plma-banner { display: none; }
}


/* PLMA meeting-request modal */
.nm-plma-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(15,23,42,0.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.nm-plma-overlay[hidden] { display: none; }
.nm-plma-dialog { position: relative; background: #fff; width: 100%; max-width: 460px; border-radius: 10px; padding: 34px 30px 26px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); max-height: 90vh; overflow: auto; }
.nm-plma-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; color: #64748b; cursor: pointer; padding: 4px; }
.nm-plma-close:hover { color: #0f172a; }
.nm-plma-heading { margin: 0 0 4px; font-size: 22px; color: #1c2b5a; }
.nm-plma-sub { margin: 0 0 18px; color: #64748b; font-size: 14px; }
body.nm-plma-open { overflow: hidden; }
.nm-plma-form label { display: block; margin-bottom: 12px; font-size: 14px; color: #334155; }
.nm-plma-form input[type=text], .nm-plma-form input[type=email], .nm-plma-form input[type=tel], .nm-plma-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 15px; margin-top: 4px; box-sizing: border-box; }
.nm-plma-form textarea { min-height: 90px; }
.nm-plma-form .wpcf7-list-item { margin-left: 0; font-size: 13px; }
.nm-plma-form input[type=submit] { background: #16a34a; color: #fff; border: 0; border-radius: 6px; padding: 12px 26px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.nm-plma-form input[type=submit]:hover { background: #15803d; }


/* Tighten the CF7 form inside the modal: CF7 autop injects <br> and the theme
   pads labels, which together create large gaps between rows. */
.nm-plma-form p { margin: 0; }
.nm-plma-form br { display: none; }
.nm-plma-form label { padding: 0; margin: 0 0 12px; line-height: 1.3; font-weight: 600; }
.nm-plma-form .wpcf7-form-control-wrap { display: block; margin-top: 5px; }
.nm-plma-form input[type=text], .nm-plma-form input[type=email], .nm-plma-form input[type=tel] { padding: 9px 12px; line-height: 1.3; }
.nm-plma-form textarea { padding: 9px 12px; line-height: 1.35; }
.nm-plma-form .wpcf7-list-item { margin: 6px 0 0; }
.nm-plma-form .wpcf7-list-item label { margin: 0; font-weight: 400; }
.nm-plma-form input[type=submit] { margin-top: 12px; }
.nm-plma-form .wpcf7-spinner { margin: 0 8px; }

/* Mobile banner: fixed full-width bottom bar (desktop banner is hidden on phones). */
.nm-plma-banner-mobile { display: none; }
@media only screen and (max-width: 768px) {
    .nm-plma-banner-mobile { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; width: 100%; line-height: 0; box-shadow: 0 -2px 14px rgba(0,0,0,0.28); }
    .nm-plma-banner-mobile img { display: block; width: 100%; height: auto; }
}
