/**
 * Code-Only Professional Profile Page
 * Namespace: nvm-pp-
 *
 * Palette (matches the Elementor kit globals the old template used):
 *   Purple (headings/primary) . #6f4165
 *   Dark purple (body text)  .. #47184f
 *   Muted purple (secondary)  . #766786
 *   Name (dark navy) .......... #1c244b
 *   Orange (CTA) ............. #ce7929  (hover #b86a24)
 *   Border (light purple) .... #c2bbc9
 *   Light background ......... #f9f8fa
 *   WhatsApp green ........... #0cc143
 * Fonts: "Heebo" (titles/labels), "Assistant" (body text).
 * Font sizes were measured on the live Elementor page (name 40px, section
 * titles 28px, service line 24px, specialties 20px, reviews title 32px,
 * related title 41px, detail rows 19px) so the page keeps today's look.
 */

.nvm-pp-page {
    direction: rtl;
    background: #fff;
    font-family: "Assistant", "Rubik", "Alef", "Segoe UI", Arial, sans-serif;
    color: #47184f;
    overflow-x: hidden;
    /* 65px, same offset as the live Elementor page: the band's top 15px
       (its inner padding) slides under the fixed 80px header, so the band
       reads as starting exactly at the header's edge -- including when the
       admin bar shifts the page down for logged-in users. */
    padding-top: 65px;
    padding-bottom: 40px;
}

.nvm-pp-page * {
    box-sizing: border-box;
}

.nvm-pp-page h1,
.nvm-pp-page h2,
.nvm-pp-page p {
    margin: 0;
}

/* Invisible anchor targets: land below the fixed 80px header. */
.nvm-pp-anchor {
    display: block;
    position: relative;
    top: -95px;
    height: 0;
    overflow: hidden;
}

/* --- Top card (hero + descriptions + contact + articles) ----------------- */

.nvm-pp-top-card {
    background: #f9f8fa;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, .5);
    /* Flush against the fixed header, same as the live Elementor page. */
    margin-top: 0;
    padding: 15px;
}

.nvm-pp-top-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* --- Hero ----------------------------------------------------------------- */

.nvm-pp-hero {
    width: 95%;
    position: relative;
}

.nvm-pp-hero-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border: 4px solid #c2bbc9;
    border-radius: 5px;
    padding: 10px;
}

.nvm-pp-seal {
    /* Production places the seal at the card's top-left corner. */
    position: absolute;
    top: 4px;
    left: 4px;
    width: 65px;
    height: 65px;
    z-index: 2;
}

.nvm-pp-seal .nvm-sr-seal-svg {
    width: 65px;
    height: 65px;
    display: block;
}

/* Tooltip (same behavior as the search cards, scoped to this page) */
.nvm-pp-tip {
    cursor: help;
}

.nvm-pp-tip-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    width: 260px;
    background: #47184f;
    color: #fff;
    font-family: "Assistant", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.nvm-pp-tip:hover .nvm-pp-tip-box,
.nvm-pp-tip:focus .nvm-pp-tip-box {
    display: block;
}

/* Fixed ~255x300 photo frame, so a wide logo or a tall portrait can never
   change the hero layout. The image fills the frame without being stretched
   (object-fit: cover crops the overflow); slightly above center keeps faces
   in frame, same as the related-professional cards. */
.nvm-pp-hero-photo {
    flex: 0 0 auto;
    width: 255px;
    max-width: 100%;
}

.nvm-pp-hero-photo img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 6px;
    display: block;
}

/* Logos (see nvm_pp_photo_is_wide()): shown whole, never cropped. */
.nvm-pp-hero-photo img.is-wide {
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.nvm-pp-hero-photo.is-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efeaf0;
    border-radius: 6px;
}

.nvm-pp-hero-photo.is-placeholder .fa {
    font-size: 90px;
    color: #c2bbc9;
}

.nvm-pp-hero-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 420px;
    max-width: 678px;
    min-width: 0;
    font-family: "Heebo", sans-serif;
    color: #6f4165;
}

.nvm-pp-name {
    font-family: "Heebo", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #1c244b;
    text-align: center;
    line-height: 1.2;
}

.nvm-pp-subtitle {
    font-family: "Heebo", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgba(111, 65, 100, .84); /* #6F4164D6 */
    text-align: center;
}

.nvm-pp-service {
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #6f4165;
    text-align: center;
    border-bottom: 1px solid #c2bbc9;
    padding-bottom: 6px;
}

.nvm-pp-meta-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
    font-family: "Heebo", sans-serif;
    font-weight: 500;
}

.nvm-pp-meta-specialties,
.nvm-pp-meta-areas {
    border-bottom: 1px solid #c2bbc9;
    padding-bottom: 6px;
}

.nvm-pp-meta-icon {
    flex: 0 0 auto;
    display: inline-flex;
    margin-top: 2px;
}

.nvm-pp-meta-icon svg {
    height: 18px;
    width: 18px;
    fill: #2fa7af;
}

.nvm-pp-meta-icon-lg svg {
    height: 20px;
    width: 20px;
}

.nvm-pp-meta-text,
.nvm-pp-meta-label {
    font-size: 16px;
    line-height: 1.5;
}

.nvm-pp-meta-text-lg {
    font-size: 17px;
    line-height: 1.35;
}

/* One inline row: home town | עד הבית | שפות (stacks on mobile) */
.nvm-pp-meta-inline-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    font-family: "Heebo", sans-serif;
}

.nvm-pp-meta-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nvm-pp-meta-inline .nvm-pp-meta-text,
.nvm-pp-meta-inline .nvm-pp-meta-label {
    font-size: 16px;
}

.nvm-pp-meta-label {
    font-weight: 700;
}

.nvm-pp-meta-inline .nvm-pp-meta-text {
    font-weight: 500;
}

/* Skip-to-contact (desktop/tablet only; sits at the end of the info column) */
.nvm-pp-page .nvm-pp-skip-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start; /* RTL: right edge of the column */
    gap: 4px;
    font-family: "Assistant", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ce7929;
    text-decoration: none;
}

.nvm-pp-page .nvm-pp-skip-btn:hover {
    color: #b86a24;
}

.nvm-pp-skip-chevron svg {
    height: 13px;
    width: 13px;
    fill: #ce7929;
}

/* Mobile floating jump button (same design the old template injected) */
.nvm-pp-page .nvm-pp-floating-btn {
    display: none;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 9999px;
    background: #ce7929;
    color: #fff;
    font: 600 14px/1.2 "Assistant", sans-serif;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2), 0 6px 6px rgba(0, 0, 0, .15);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    opacity: .97;
    white-space: nowrap;
}

.nvm-pp-page .nvm-pp-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .24), 0 8px 8px rgba(0, 0, 0, .18);
    opacity: 1;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .nvm-pp-floating-btn {
        transition: none;
    }
}

/* --- Main grid: descriptions (right) + offer/contact sidebar (left) ------ */

.nvm-pp-main {
    /* RTL grid: first track (descriptions) sits on the right,
       second track (offer + contact sidebar) on the left. */
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0 24px;
    width: 95%;
}

.nvm-pp-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.nvm-pp-section-title {
    font-family: "Heebo", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #6f4165;
    text-align: start;
    margin: 0 0 8px;
}

.nvm-pp-section-text {
    font-family: "Assistant", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 25px;
    color: #47184f;
    text-align: justify;
}

.nvm-pp-section-text p,
.nvm-pp-section-text div,
.nvm-pp-section-text span {
    font-family: "Assistant", sans-serif !important;
    color: #47184f !important;
    font-size: 19px !important;
    background: none !important;
    margin: 0 0 10px;
}

/* --- Sidebar: offer box + contact reveal ---------------------------------- */

.nvm-pp-side {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    /* RTL: the sidebar sits in the left column, so its right edge
       separates it from the descriptions column. */
    border-right: 2px solid #c2bbc9;
    padding-right: 14px;
    align-self: start;
    min-width: 0;
}

.nvm-pp-offer-box {
    background: #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

.nvm-pp-offer-title {
    font-family: "Heebo", sans-serif;
    font-size: 31px;
    font-weight: 900;
    line-height: 27px;
    letter-spacing: -.8px;
    color: #6f4165;
    text-align: center;
    padding: 11px;
    border-bottom: 1px solid #c2bbc9;
}

.nvm-pp-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 4px 8px;
}

.nvm-pp-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.nvm-pp-price-label {
    font-family: "Heebo", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #6f4165;
}

.nvm-pp-price-amount {
    font-family: "Heebo", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ce7929;
}

/* Reveal button (the orange bar closing the offer box) */
.nvm-pp-show-btn {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #ce7929;
    border: none;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    cursor: pointer;
    margin-top: 4px;
}

.nvm-pp-show-btn:hover {
    background: #b86a24;
}

.nvm-pp-show-btn-icon svg {
    height: 20px;
    width: 20px;
    fill: #47184f;
    display: block;
    margin-top: 3px;
}

.nvm-pp-show-btn-text {
    font-family: "Heebo", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #f9f8fa;
}

.nvm-pp-btn-loader {
    /* Floats over the button's side so showing it never shifts the text.
       (Positioned with margin-top, not translate -- the spin animation
       owns the transform.) */
    display: none;
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -12px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 24px;
    height: 24px;
    animation: nvm-pp-spin 2s linear infinite;
}

@keyframes nvm-pp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Collapsible contact details */
.nvm-pp-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease-out;
}

.nvm-pp-details.visible {
    max-height: 500px;
}

.nvm-pp-detail-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #c2bbc9;
    padding: 8px 2px;
    font-family: "Heebo", sans-serif;
    font-size: 19px;
    color: #6f4165;
}

.nvm-pp-detail-label {
    font-weight: 600;
}

.nvm-pp-detail-value {
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: left;
}

.nvm-pp-page .nvm-pp-detail-value a {
    color: #6f4165;
    text-decoration: none;
}

.nvm-pp-page .nvm-pp-detail-value a:hover {
    color: #ce7929;
    text-decoration: underline;
}

.nvm-pp-page .nvm-pp-whatsapp-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #6f4165;
    text-decoration: none;
    cursor: pointer;
}

.nvm-pp-whatsapp-icon svg {
    height: 31px;
    width: 31px;
    fill: #0cc143;
    display: block;
}

/* --- Articles / videos shortcode wrapper ---------------------------------- */

.nvm-pp-content-shortcode {
    width: 100%;
    margin-right: 30px;
}

/* --- Bottom: reviews + related professionals ------------------------------ */

.nvm-pp-bottom {
    max-width: 970px;
    margin: 35px auto 0;
    display: flex;
    flex-direction: column;
    gap: 39px;
    padding: 0 16px;
}

.nvm-pp-reviews-title {
    font-family: "Heebo", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #6f4165;
}

.nvm-pp-comments {
    max-width: 600px;
    padding-left: 10px;
}

/* Review entries -- markup comes from inc/post-comments.php (shared with the
   AJAX endpoint); these styles used to live only in the Elementor template. */
.nvm-pp-page .nevonim-comment-entry {
    margin-top: 12px;
    border-bottom: solid 1px #d8d1de;
    color: #6f4165;
    font-family: "Heebo", sans-serif;
}

.nvm-pp-page .nevonim-comment-user-info {
    display: flex;
    color: #766786;
    font-family: "Assistant", sans-serif;
    margin-right: 6px;
}

.nvm-pp-page .nevonim-comment-star-rating {
    margin-right: 10px;
    font-size: 21px;
    position: relative;
    top: -5px;
    direction: ltr;
    color: gold;
}

.nvm-pp-page .nevonim-comment-user-info .fa-comment-o {
    margin-left: 4px;
    margin-top: 2px;
}

.nvm-pp-page .nevonim-comment-date {
    font-size: 13px;
    margin-right: 6px;
}

.nvm-pp-page .nevonim-user-comment {
    margin-top: 12px;
    margin-bottom: 12px;
}

.nvm-pp-page .nevonim-colleague-label {
    display: inline-block;
    font-family: "Heebo", sans-serif;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .75rem;
    font-weight: 500;
    margin-right: 8px;
    vertical-align: middle;
}

.nvm-pp-page .ltr-align {
    text-align: left;
    direction: ltr;
}

.nvm-pp-page .nevonim-comments-no-more-results {
    color: #6f4165;
    margin-top: 12px;
    font-family: "Assistant", sans-serif;
}

.nvm-pp-load-more {
    align-self: flex-start;
    margin-top: 12px;
    font-size: 13px;
    color: #6bb6e8;
    font-weight: 600;
    background: transparent;
    border: 1px solid #6bb6e8;
    border-radius: 3px;
    padding: 6px 14px;
    cursor: pointer;
    font-family: "Assistant", sans-serif;
}

.nvm-pp-load-more:hover {
    color: #f7f9fa;
    background-color: #6bb6e8;
    border-color: #6bb6e8;
}

/* Related professionals */
.nvm-pp-related-title {
    font-family: "Heebo", sans-serif;
    font-size: 41px;
    font-weight: 600;
    line-height: 1.2em;
    color: #6f4165;
    text-align: center;
}

.nvm-pp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.nvm-pp-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7e2ea;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.nvm-pp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.nvm-pp-related-photo {
    width: 100%;
    display: block;
    background: #f9f8fa;
}

.nvm-pp-related-photo img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    /* Slightly above center -- keeps faces in frame for portrait photos
       without showing only the top of the image. */
    object-position: center 30%;
    display: block;
    transition: filter .3s;
}

.nvm-pp-related-card:hover .nvm-pp-related-photo img {
    filter: brightness(105%) saturate(105%);
}

.nvm-pp-related-photo.is-placeholder {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nvm-pp-related-photo.is-placeholder .fa {
    font-size: 60px;
    color: #c2bbc9;
}

/* Text block grows; the button stays pinned to the card bottom, so all four
   cards keep the same row alignment no matter how long the texts are. */
.nvm-pp-related-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px 12px;
    flex: 1 1 auto;
}

.nvm-pp-related-name {
    font-family: "Heebo", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: #181818;
    text-align: center;
}

.nvm-pp-page .nvm-pp-related-name a {
    color: #181818;
    text-decoration: none;
}

.nvm-pp-page .nvm-pp-related-name a:hover {
    color: #6f4165;
}

.nvm-pp-related-services {
    font-family: "Heebo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #6f4165;
    text-align: center;
}

.nvm-pp-related-specialties {
    font-family: "Heebo", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #766786;
    text-align: center;
    /* Long specialty lists are trimmed to keep the cards tidy. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nvm-pp-page .nvm-pp-related-more {
    display: block;
    width: 100%;
    background: #ce7929;
    padding: 9px;
    font-family: "Assistant", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease;
}

.nvm-pp-page .nvm-pp-related-more:hover {
    background: #b86a24;
    color: #fff;
}

.nvm-pp-related-all {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nvm-pp-related-all-label {
    font-family: "Assistant", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #6f4165;
}

.nvm-pp-page .nvm-pp-related-all-chip {
    display: inline-block;
    padding: 5px 18px;
    border: 1.5px solid #6f4165;
    border-radius: 999px;
    font-family: "Assistant", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #6f4165;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.nvm-pp-page .nvm-pp-related-all-chip:hover {
    background: #6f4165;
    color: #fff;
}

/* --- Details-request modal (replaces Elementor popup 2449) ---------------- */

.nvm-pp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease;
    direction: rtl;
}

.nvm-pp-modal.is-open {
    display: flex;
}

.nvm-pp-modal.show {
    opacity: 1;
}

.nvm-pp-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 15px;
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    transform: scale(.7);
    transition: transform .3s ease;
    text-align: center;
}

.nvm-pp-modal.show .nvm-pp-modal-dialog {
    transform: scale(1);
}

.nvm-pp-modal-close {
    position: absolute;
    top: 10px;
    left: 14px;
    background: none;
    border: none;
    color: #6f4165;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.nvm-pp-modal-title {
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #6f4165;
}

.nvm-pp-modal-name {
    font-family: "Heebo", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #6f4165;
    margin-top: 4px;
}

.nvm-pp-modal-greeting {
    font-family: "Assistant", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #47184f;
    margin-top: 14px;
}

.nvm-pp-modal-note {
    font-family: "Assistant", sans-serif;
    font-size: 14px;
    color: #47184f;
    margin-top: 8px;
    line-height: 1.5;
}

.nvm-pp-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.nvm-pp-modal-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c2bbc9;
    border-radius: 5px;
    font-family: "Assistant", sans-serif;
    font-size: 15px;
    color: #47184f;
    background: #fff;
}

.nvm-pp-modal-form input:focus {
    outline: none;
    border-color: #6f4165;
}

.nvm-pp-modal-submit {
    position: relative; /* anchors the loading spinner */
    width: 100%;
    background: #ce7929;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-family: "Assistant", sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.nvm-pp-modal-submit:disabled {
    opacity: .75;
    cursor: default;
}

.nvm-pp-modal-submit:hover {
    background: #b86a24;
}

.nvm-pp-modal-error {
    display: none;
    color: #c0392b;
    font-family: "Assistant", sans-serif;
    font-size: 14px;
}

.nvm-pp-modal-error.is-visible {
    display: block;
}

.nvm-pp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Contact info popup (shown after a successful reveal) ----------------- */

.nvm-pp-contact-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s ease;
    direction: rtl;
}

.nvm-pp-contact-popup.show {
    opacity: 1;
}

.nvm-pp-contact-popup-content {
    background: #fff;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    transform: scale(.7);
    transition: transform .3s ease;
}

.nvm-pp-contact-popup.show .nvm-pp-contact-popup-content {
    transform: scale(1);
}

.nvm-pp-contact-popup-header {
    background: #6f4165;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.nvm-pp-contact-popup-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    font-family: "Heebo", sans-serif;
    color: #fff;
}

.nvm-pp-contact-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.nvm-pp-contact-popup-body {
    padding: 30px 20px;
}

.nvm-pp-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all .3s ease;
}

.nvm-pp-contact-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.nvm-pp-contact-item-icon {
    font-size: 20px;
    margin-left: 15px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nvm-pp-contact-item-icon i {
    color: #6f4165;
}

.nvm-pp-contact-item-icon .fa-whatsapp {
    color: #25d366;
}

.nvm-pp-contact-item-details {
    flex: 1;
}

.nvm-pp-contact-item-details strong {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-size: 14px;
}

.nvm-pp-contact-link {
    color: #1c244b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color .3s ease;
}

.nvm-pp-contact-link:hover {
    color: #ce7929;
    text-decoration: underline;
}

.nvm-pp-contact-link.nvm-pp-whatsapp {
    color: #25d366;
}

.nvm-pp-contact-link.nvm-pp-whatsapp:hover {
    color: #128c7e;
}

.nvm-pp-contact-popup-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.nvm-pp-contact-popup-close-btn {
    background: #ce7929;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    font-family: "Assistant", sans-serif;
}

.nvm-pp-contact-popup-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    background: #b86a24;
}

/* --- Button state overrides ------------------------------------------------
   The parent theme (hello-elementor theme.css) paints ANY <button> with
   background #c36 (pink-red) + white text on :hover/:focus. A clicked button
   keeps :focus, so buttons "turned red" after clicking. Every button on this
   page gets its own colors restored for hover/focus/active. */

.nvm-pp-show-btn:focus,
.nvm-pp-show-btn:active {
    background: #ce7929;
    color: inherit;
    outline: none;
}

.nvm-pp-show-btn:hover {
    background: #b86a24;
}

.nvm-pp-modal-submit:focus,
.nvm-pp-modal-submit:active {
    background: #ce7929;
    color: #fff;
    outline: none;
}

.nvm-pp-modal-submit:hover {
    background: #b86a24;
    color: #fff;
}

.nvm-pp-modal-close:hover,
.nvm-pp-modal-close:focus,
.nvm-pp-modal-close:active {
    background: none;
    color: #47184f;
    outline: none;
}

.nvm-pp-load-more:focus,
.nvm-pp-load-more:active {
    background: transparent;
    color: #6bb6e8;
    outline: none;
}

.nvm-pp-load-more:hover {
    color: #f7f9fa;
    background-color: #6bb6e8;
}

.nvm-pp-contact-popup-close:hover,
.nvm-pp-contact-popup-close:focus,
.nvm-pp-contact-popup-close:active {
    background: none;
    color: #fff;
    outline: none;
}

.nvm-pp-contact-popup-close-btn:focus,
.nvm-pp-contact-popup-close-btn:active {
    background: #ce7929;
    color: #fff;
    outline: none;
}

.nvm-pp-contact-popup-close-btn:hover {
    background: #b86a24;
    color: #fff;
}

/* Articles/videos carousel arrows (shared shortcode) on this page */
.nvm-pp-page .nvm-prof-content-carousel-btn:focus,
.nvm-pp-page .nvm-prof-content-carousel-btn:active {
    background: #fff;
    color: inherit;
    border-color: #ddd;
    outline: none;
}

.nvm-pp-page .nvm-prof-content-carousel-btn:hover {
    background: #ce7929;
    color: #fff;
    border-color: #ce7929;
}

/* Keyboard users still get a visible focus ring. */
.nvm-pp-page button:focus-visible,
.nvm-pp-contact-popup button:focus-visible {
    outline: 2px solid #6f4165;
    outline-offset: 2px;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 1024px) {
    .nvm-pp-main {
        padding: 0 5%;
        width: 100%;
    }

    .nvm-pp-related-title {
        font-size: 45px;
    }

    .nvm-pp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
    }

    .nvm-pp-related-photo img,
    .nvm-pp-related-photo.is-placeholder {
        height: 190px;
    }

    .nvm-pp-related-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .nvm-pp-hero-photo,
    .nvm-pp-hero-photo img {
        width: 100%;
    }

    .nvm-pp-page .nvm-pp-skip-btn {
        display: none;
    }

    .nvm-pp-page .nvm-pp-floating-btn {
        display: inline-flex;
    }

    .nvm-pp-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nvm-pp-side {
        border-right: none;
        padding-right: 0;
    }

    .nvm-pp-show-btn {
        flex-direction: column;
        gap: 7px;
    }

    .nvm-pp-bottom {
        margin-top: 15%;
        gap: 20px;
    }

    .nvm-pp-related-title {
        font-size: 28px;
        line-height: 1.1em;
    }

    .nvm-pp-related-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .nvm-pp-related-card {
        width: 100%;
        max-width: 280px;
    }

    .nvm-pp-related-photo img,
    .nvm-pp-related-photo.is-placeholder {
        /* Taller on mobile: the card is wide there, and a short strip
           crops portrait photos too aggressively. */
        height: 260px;
    }
}

@media (max-width: 360px) {
    .nvm-pp-floating-btn {
        right: 14px;
        bottom: 14px;
        padding: 10px 14px;
        font-size: 13px;
    }
}
