:root {
  --rpmx-bg: #0b1220;
  --rpmx-soft: #f6f8fb;
  --rpmx-card: #ffffff;
  --rpmx-text: #162236;
  --rpmx-muted: #5f6f85;
  --rpmx-line: rgba(22,34,54,.12);
  --rpmx-brand: #ff5a3c;
  --rpmx-success: #0a8a61;
  --rpmx-danger: #8f2e2e;
  --rpmx-radius: 24px;
  --rpmx-shadow: 0 20px 48px rgba(11,18,32,.1);
}
body.rpmx-single-job-listing { background:#fff; }
.rpmx-shell { width:min(1280px, calc(100% - 32px)); margin:0 auto; }
.rpmx-kicker { display:inline-block; margin-bottom:10px; font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--rpmx-brand); }
.rpmx-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:999px; padding:14px 20px; font-weight:700; line-height:1; transition:.2s ease; text-decoration:none !important; border:1px solid transparent; }
.rpmx-btn--solid { background:var(--rpmx-brand); color:#fff; }
.rpmx-btn--ghost { background:#fff; color:var(--rpmx-text); border-color:var(--rpmx-line); }
.rpmx-btn--block { width:100%; margin-top:14px; }
.rpmx-badge { display:inline-flex; align-items:center; border-radius:999px; padding:8px 11px; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; background:rgba(22,34,54,.84); color:#fff; }
.rpmx-badge--open { background:rgba(10,138,97,.95); }
.rpmx-badge--closed { background:rgba(143,46,46,.92); }
.rpmx-badge--unknown { background:rgba(95,111,133,.84); }
.rpmx-badge--live { background:rgba(255,90,60,.92); }
.rpmx-pill, .rpmx-pill--dark { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:999px; font-size:.88rem; font-weight:700; text-decoration:none !important; border:1px solid var(--rpmx-line); background:#fff; color:var(--rpmx-text); }
.rpmx-pill--dark { background:rgba(15,26,49,.8); color:#fff; border-color:transparent; }
.rpmx-rating-pill, .rpmx-stat-pill { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:999px; background:#fff; border:1px solid var(--rpmx-line); color:var(--rpmx-text); font-weight:700; }
.rpmx-stars { color:#ffb547; display:inline-flex; gap:2px; }
.rpmx-single { color:var(--rpmx-text); }
.rpmx-single-hero { padding:24px 0 32px; background:linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%); }
.rpmx-single-hero__gallery { display:grid; grid-template-columns:2fr 1fr 1fr; grid-auto-rows:170px; gap:12px; margin-bottom:22px; }
.rpmx-single-hero__gallery.is-single { grid-template-columns:1fr; grid-auto-rows:minmax(340px, 52vh); }
.rpmx-single-hero__image { border-radius:26px; overflow:hidden; display:block; box-shadow:var(--rpmx-shadow); background:#e9eef6; }
.rpmx-single-hero__image.is-main { grid-row:span 2; min-height:352px; }
.rpmx-single-hero__image img { width:100%; height:100%; object-fit:cover; display:block; }
.rpmx-single-hero__image--placeholder { display:grid; place-items:center; font-size:3rem; color:#9aa8bc; }
.rpmx-single-hero__content { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(300px, .8fr); gap:20px; align-items:start; }
.rpmx-single-hero__main, .rpmx-single-hero__side { background:#fff; border-radius:28px; box-shadow:var(--rpmx-shadow); padding:28px; }
.rpmx-single-hero__logo { width:72px; height:72px; object-fit:cover; border-radius:20px; border:3px solid #fff; box-shadow:0 10px 24px rgba(11,18,32,.08); margin-bottom:14px; }
.rpmx-single-hero__eyebrow { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.rpmx-single-hero__main h1 { margin:0 0 14px; font-size:clamp(2rem, 3vw, 3.5rem); line-height:1.02; letter-spacing:-.03em; }
.rpmx-single-hero__stats { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.rpmx-single-hero__summary { font-size:1.03rem; line-height:1.8; color:var(--rpmx-muted); margin:0 0 20px; }
.rpmx-single-hero__actions { display:flex; flex-wrap:wrap; gap:12px; }
.rpmx-info-card h2 { margin:0 0 16px; font-size:1.1rem; }
.rpmx-info-card > div { display:flex; gap:12px; align-items:flex-start; padding:12px 0; border-top:1px solid var(--rpmx-line); }
.rpmx-info-card > div:first-of-type { border-top:none; padding-top:0; }
.rpmx-info-card i { width:18px; color:var(--rpmx-brand); margin-top:3px; }
.rpmx-info-card a { color:var(--rpmx-text); }
.rpmx-single-main { padding:26px 0 80px; }
.rpmx-single-main__grid { display:grid; grid-template-columns:minmax(320px, .82fr) minmax(0, 1.18fr); gap:24px; align-items:start; }
.rpmx-single-aside { position:sticky; top:24px; display:flex; flex-direction:column; gap:16px; }
.rpmx-aside-block, .rpmx-content-block, .rpmx-live-menu { background:#fff; border:1px solid var(--rpmx-line); border-radius:28px; box-shadow:0 14px 36px rgba(11,18,32,.06); padding:24px; }
.rpmx-aside-block h3 { margin:0 0 16px; font-size:1.08rem; }
.rpmx-single-map { min-height:320px; border-radius:20px; overflow:hidden; background:#eef2f8; }
.rpmx-map-empty { min-height:320px; display:grid; place-items:center; color:var(--rpmx-muted); }
.rpmx-contact-list { display:flex; flex-direction:column; gap:12px; }
.rpmx-contact-list div { display:flex; gap:10px; align-items:flex-start; }
.rpmx-contact-list i { width:18px; color:var(--rpmx-brand); margin-top:4px; }
.rpmx-content-block + .rpmx-content-block, .rpmx-live-menu + .rpmx-content-block { margin-top:18px; }
.rpmx-section-heading { margin-bottom:20px; }
.rpmx-section-heading h2 { margin:0 0 8px; font-size:clamp(1.5rem, 2vw, 2.2rem); letter-spacing:-.03em; }
.rpmx-section-heading p { margin:0; color:var(--rpmx-muted); line-height:1.7; }
.rpmx-section-heading--split { display:flex; justify-content:space-between; align-items:end; gap:18px; }
.rpmx-section-heading--tight { margin-bottom:18px; }
.rpmx-quick-facts { display:flex; flex-direction:column; gap:18px; }
.rpmx-fact-group strong { display:block; margin-bottom:10px; }
.rpmx-pill-row { display:flex; flex-wrap:wrap; gap:10px; }
.rpmx-richtext { color:var(--rpmx-text); line-height:1.8; }
.rpmx-richtext p:last-child { margin-bottom:0; }
.rpmx-live-status { display:flex; flex-wrap:wrap; gap:10px; }
.rpmx-live-menu__chips { display:flex; gap:10px; flex-wrap:wrap; margin:-4px 0 18px; }
.rpmx-pill--menu { background:#fff5f2; border-color:rgba(255,90,60,.14); color:var(--rpmx-brand); }
.rpmx-live-menu__rail-wrap { position:relative; }
.rpmx-live-menu__rail { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:4px; }
.rpmx-live-menu__rail::-webkit-scrollbar { display:none; }
.rpmx-rail-nav { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:42px; height:42px; border:none; border-radius:999px; background:#10203c; color:#fff; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 12px 28px rgba(11,18,32,.18); }
.rpmx-rail-nav--prev { left:-12px; }
.rpmx-rail-nav--next { right:-12px; }
.rpmx-product-card { flex:0 0 min(330px, 84vw); scroll-snap-align:start; display:grid; grid-template-columns:1fr; gap:0; border:1px solid var(--rpmx-line); border-radius:24px; overflow:hidden; background:#fff; box-shadow:0 14px 36px rgba(11,18,32,.06); }
.rpmx-product-card.is-out { opacity:.72; }
.rpmx-product-card__media { position:relative; background:#eef2f8; min-height:220px; }
.rpmx-product-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.rpmx-product-card__placeholder { width:100%; height:100%; display:grid; place-items:center; font-size:1.5rem; color:#95a3b8; }
.rpmx-product-card__body { padding:18px; min-width:0; }
.rpmx-product-card__top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:8px; }
.rpmx-product-card__top h3 { margin:0; font-size:1rem; line-height:1.25; }
.rpmx-product-card__top strong { white-space:nowrap; }
.rpmx-product-card__body p { margin:0 0 12px; color:var(--rpmx-muted); line-height:1.6; min-height:3.2em; }
.rpmx-product-card__availability { position:absolute; left:14px; top:14px; display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; backdrop-filter: blur(8px); }
.rpmx-product-card__availability.in-stock { background:rgba(10,138,97,.88); color:#fff; }
.rpmx-product-card__availability.out-stock { background:rgba(143,46,46,.88); color:#fff; }
.rpmx-product-card__footer { display:flex; flex-wrap:wrap; gap:8px; }
.rpmx-product-chip { display:inline-flex; align-items:center; padding:8px 12px; border-radius:999px; background:#f6f8fb; color:var(--rpmx-text); font-size:.78rem; font-weight:700; }
.rpmx-stock { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; font-size:.8rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.rpmx-stock.in-stock { background:rgba(10,138,97,.12); color:var(--rpmx-success); }
.rpmx-stock.out-stock { background:rgba(143,46,46,.1); color:var(--rpmx-danger); }
.rpmx-inline-note { margin-top:16px; padding:14px 16px; border-radius:18px; background:#f7f9fc; color:var(--rpmx-muted); }

.rpmx-content-block--reviews .listing-total-reviews,
.rpmx-content-block--reviews .listing-comment,
.rpmx-content-block--reviews .comments-area { width:100%; max-width:100%; }
.rpmx-content-block--reviews .listing-total-reviews { margin-bottom:18px; }
.rpmx-content-block--reviews .comment-respond,
.rpmx-content-block--reviews .review-form,
.rpmx-content-block--reviews .listing-total-reviews,
.rpmx-content-block--reviews .comment-list > li { background:#fff; border:1px solid var(--rpmx-line); border-radius:20px; padding:18px; }
.rpmx-content-block--reviews textarea,
.rpmx-content-block--reviews input[type="text"],
.rpmx-content-block--reviews input[type="email"] { width:100%; max-width:100%; }

.rpmx-hours-block .single_listing-open-hours, .rpmx-hours-block .single_listing-block { padding:0 !important; border:none !important; box-shadow:none !important; background:transparent !important; }
.rpmx-hours-block .title { margin-bottom:14px !important; }
.rpmx-card-grid { display:grid; gap:18px; }
.rpmx-card-grid--2 { grid-template-columns:repeat(2, minmax(0,1fr)); }
.rpmx-card { background:#fff; border:1px solid var(--rpmx-line); border-radius:22px; overflow:hidden; box-shadow:0 14px 36px rgba(11,18,32,.04); }
.rpmx-card__media { display:block; position:relative; aspect-ratio:16/10; background:#eef2f8; }
.rpmx-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.rpmx-card__badges { position:absolute; left:12px; right:12px; top:12px; display:flex; flex-wrap:wrap; gap:8px; }
.rpmx-card__body { padding:18px; }
.rpmx-card__eyebrow { font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--rpmx-brand); margin-bottom:8px; }
.rpmx-card__title { margin:0 0 8px; font-size:1.12rem; line-height:1.25; }
.rpmx-card__title a { color:var(--rpmx-text); text-decoration:none; }
.rpmx-card__summary { margin:0 0 14px; color:var(--rpmx-muted); line-height:1.7; }
.rpmx-card__meta { display:flex; flex-direction:column; gap:8px; font-size:.92rem; color:var(--rpmx-muted); margin-bottom:14px; }
.rpmx-card__actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.rpmx-div-icon-wrap { background:none; border:none; }
.rpmx-map-pin { width:34px; height:34px; display:grid; place-items:center; border-radius:999px; background:#10203c; color:#fff; border:3px solid #fff; box-shadow:0 10px 20px rgba(11,18,32,.22); }
@media (max-width: 1199px) {
  .rpmx-single-hero__content, .rpmx-single-main__grid, .rpmx-card-grid--2 { grid-template-columns:1fr; }
  .rpmx-single-aside { position:static; }
}
@media (max-width: 767px) {
  .rpmx-shell { width:min(100% - 24px, 100%); }
  .rpmx-single-hero__gallery { grid-template-columns:1fr; grid-auto-rows:160px; }
  .rpmx-single-hero__image.is-main { grid-row:span 1; min-height:300px; }
  .rpmx-single-hero__main, .rpmx-single-hero__side, .rpmx-aside-block, .rpmx-content-block, .rpmx-live-menu { padding:20px; border-radius:22px; }
  .rpmx-single-hero__main h1 { font-size:2rem; }
  .rpmx-rail-nav { display:none; }
  .rpmx-live-menu__rail { gap:14px; }
  .rpmx-product-card { flex-basis:84vw; }
  .rpmx-product-card__media { min-height:180px; max-height:220px; overflow:hidden; }
  .rpmx-product-card__body { padding:16px; }
  .rpmx-section-heading--split { flex-direction:column; align-items:flex-start; }
}

.rpmx-hours-list{display:flex;flex-direction:column;gap:12px}
.rpmx-hours-list__today,.rpmx-hours-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rpmx-line)}
.rpmx-hours-list__today{padding-top:0}
.rpmx-hours-row:last-child{border-bottom:none;padding-bottom:0}
.rpmx-hours-list__status{font-weight:800;color:var(--rpmx-muted)}
.rpmx-hours-list__status.is-open{color:var(--rpmx-success)}
.rpmx-hours-list__status.is-closed{color:var(--rpmx-danger)}
.rpmx-richtext p,.rpmx-richtext li{font-size:1rem}
@media (max-width: 767px) {
  .rpmx-single-hero__eyebrow a:nth-child(n+5){display:none}
  .rpmx-single-hero__summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .rpmx-single-hero__side{padding:16px}
  .rpmx-single-aside .rpmx-aside-block:last-child{display:none}
  .rpmx-single-aside .rpmx-aside-block{padding:18px}
  .rpmx-single-map,.rpmx-map-empty{min-height:220px}
  .rpmx-single-main{padding:18px 0 56px}
  .rpmx-pill-row a:nth-child(n+7){display:none}
  .rpmx-live-menu .rpmx-section-heading p,.rpmx-content-block .rpmx-section-heading p{display:none}
  .rpmx-product-card__body p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .rpmx-card__summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:auto}
  .rpmx-card__meta span:first-child{display:none}
}


.rpmx-single,
.rpmx-single * { box-sizing: border-box; }
.rpmx-single-main__grid > *,
.rpmx-single-content,
.rpmx-single-content > *,
.rpmx-single-hero__content > * { min-width: 0; }
.rpmx-single-hero__gallery-wrap { position: relative; }
.rpmx-single-hero__gallery-ui { display:none; }
.rpmx-richtext,
.rpmx-richtext * { max-width:100%; }
.rpmx-richtext iframe,
.rpmx-richtext img,
.rpmx-richtext video,
.rpmx-richtext embed,
.rpmx-richtext object,
.rpmx-richtext figure,
.rpmx-richtext .wp-caption,
.rpmx-richtext .gallery { max-width:100% !important; height:auto !important; }
.rpmx-card__media,
.rpmx-content-block,
.rpmx-live-menu,
.rpmx-aside-block,
.rpmx-single-hero__main,
.rpmx-single-hero__side { overflow:hidden; }

@media (max-width: 767px) {
  body.rpmx-single-job-listing { overflow-x:hidden; }
  .rpmx-single-hero { padding: 16px 0 22px; }
  .rpmx-single-hero__gallery-wrap.has-slider { margin-bottom: 18px; }
  .rpmx-single-hero__gallery {
    display:flex;
    gap:12px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding-bottom:4px;
    scrollbar-width:none;
    grid-template-columns:none;
    grid-auto-rows:auto;
  }
  .rpmx-single-hero__gallery::-webkit-scrollbar { display:none; }
  .rpmx-single-hero__gallery.is-single { display:block; }
  .rpmx-single-hero__image,
  .rpmx-single-hero__image.is-main {
    flex: 0 0 86%;
    width: 86%;
    min-height: 220px;
    max-height: 260px;
    scroll-snap-align:start;
    border-radius:20px;
  }
  .rpmx-single-hero__gallery.is-single .rpmx-single-hero__image,
  .rpmx-single-hero__gallery.is-single .rpmx-single-hero__image.is-main {
    width: 100%;
    max-height: 280px;
  }
  .rpmx-single-hero__gallery-ui {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:10px;
  }
  .rpmx-gallery-nav {
    width:38px;
    height:38px;
    border:none;
    border-radius:999px;
    background:#10203c;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 24px rgba(11,18,32,.12);
  }
  .rpmx-gallery-dots {
    display:flex;
    flex:1;
    justify-content:center;
    align-items:center;
    gap:8px;
  }
  .rpmx-gallery-dot {
    width:9px;
    height:9px;
    border:none;
    border-radius:999px;
    background:rgba(16,32,60,.22);
    padding:0;
  }
  .rpmx-gallery-dot.is-active { background:var(--rpmx-brand); width:24px; }
  .rpmx-single-hero__actions {
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }
  .rpmx-single-hero__actions .rpmx-btn {
    width:100%;
    padding:13px 16px;
    min-width:0;
  }
  .rpmx-single-main__grid { gap:16px; }
  .rpmx-single-content .rpmx-content-block,
  .rpmx-single-content .rpmx-live-menu,
  .rpmx-single-aside .rpmx-aside-block { overflow:visible; }
  .rpmx-product-card__media { min-height:160px; max-height:200px; overflow:hidden; }
  .rpmx-card-grid--2 { grid-template-columns:1fr; }
  .rpmx-card__media { aspect-ratio: 16 / 9; }
}


/* v2.6 single map popup */
.rpmx-single-map-popup{font-weight:800;font-size:1rem;line-height:1.2;color:var(--rpmx-text);min-width:150px;white-space:normal;}
.leaflet-popup-content .rpmx-single-map-popup{margin:0;}
