:root {
    --rm-site-accent: #faa324;
    --rm-site-dark: #1f1e1f;
    --rm-selection-bg: rgba(221, 152, 50, 0.24);
    --rm-scrollbar-thumb: rgba(221, 152, 50, 0.82);
    --rm-scrollbar-thumb-hover: #faa324;
    --rm-scrollbar-track: #f6efe3;
    --rm-type-display-xl: clamp(2.4rem, 4.6vw, 3.25rem);
    --rm-type-display-lg: clamp(2.15rem, 3.9vw, 2.8rem);
    --rm-type-h1: clamp(2rem, 3.4vw, 2.55rem);
    --rm-type-h2: clamp(1.875rem, 3vw, 2.2rem);
    --rm-type-h3: clamp(1.25rem, 1.8vw, 1.55rem);
    --rm-type-h4: 1.0625rem;
    --rm-type-h5: 0.98rem;
    --rm-type-body-lg: clamp(1rem, 1.05vw, 1.08rem);
    --rm-type-body: 1rem;
    --rm-type-body-sm: 0.9375rem;
    --rm-type-meta: 0.9rem;
    --rm-type-label: 0.75rem;
    --rm-leading-display: 1.08;
    --rm-leading-heading: 1.22;
    --rm-leading-body: 1.7;
    --rm-leading-dense: 1.5;
    --rm-tracking-tight: -0.02em;
    --rm-tracking-label: 0.12em;
}

html {
    scrollbar-color: var(--rm-scrollbar-thumb) var(--rm-scrollbar-track);
}

::selection {
    background: var(--rm-selection-bg);
}

::-moz-selection {
    background: var(--rm-selection-bg);
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: var(--rm-scrollbar-track);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--rm-scrollbar-thumb-hover), var(--rm-scrollbar-thumb));
    border: 3px solid var(--rm-scrollbar-track);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f6ac3b, var(--rm-scrollbar-thumb-hover));
}

/* Paid Memberships Pro: My Account (.rm-account-wrap), checkout (.rm-checkout-wrap), pass 8 dark rules */

.rm-account-gate {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.rm-account-gate-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rm-account-gate-card h2 {
    margin-top: 0;
    color: #1f1e1f;
    font-weight: 800;
}

.rm-account-gate-card p {
    color: #666;
    margin-bottom: 24px;
    font-size: 16px;
}

.rm-account-gate-btn {
    display: inline-block;
    background: #faa324;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

.rm-account-shell {
    color: #1f1e1f;
}

.rm-account-wrap {
    max-width: 1248px;
    margin: 0 auto;
    padding: 40px 20px 24px;
    color: #1f1e1f;
}

.rm-account-content,
.rm-account-pane[data-pane="orders"],
.rm-account-table-wrap,
.rm-account-table-wrap .pmpro_card,
.rm-account-table-wrap .pmpro_card_content,
.rm-account-table-wrap .pmpro_table {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.rm-account-header {
    margin-bottom: 30px;
}

.rm-account-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #1f1e1f;
}

.rm-account-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.rm-account-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.rm-account-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.rm-account-nav-btn.rm-account-nav-logout {
    margin-left: auto;
    color: #d32f2f;
}

[dir="rtl"] .rm-account-nav-btn.rm-account-nav-logout {
    margin-left: 0;
    margin-right: auto;
}

.rm-account-nav-btn svg,
.rm-account-nav-btn.active svg {
    opacity: 1;
}

.rm-account-pane {
    display: none;
}

.rm-account-pane.active {
    display: block;
}

.rm-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 25px;
    min-width: 0;
}

.rm-account-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    min-width: 0;
}

.rm-account-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.rm-account-card-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f1e1f;
}

.rm-account-edit-btn {
    background: transparent !important;
    border: none;
    color: #faa324;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
}

.rm-account-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rm-account-avatar {
    flex-shrink: 0;
}

.rm-account-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    display: block;
}

.rm-account-user {
    min-width: 0;
    overflow: hidden;
}

.rm-account-profile .rm-account-name {
    font-size: 20px;
    font-weight: 800;
    color: #1f1e1f;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-account-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: #666;
    overflow: hidden;
}

.rm-account-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-account-level {
    font-size: 22px;
    font-weight: 800;
    color: #1f1e1f;
    margin-bottom: 18px;
}

.rm-account-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

[dir="rtl"] .rm-account-actions {
    flex-direction: row-reverse;
}

.rm-account-btn-outline {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(250, 163, 36, 0.55);
    border-radius: 10px;
    color: #faa324;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    background: #fff;
}

.rm-account-btn-text {
    color: #999;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.rm-account-btn-primary {
    display: inline-block;
    background: #faa324;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none !important;
}

.rm-account-no-mem {
    color: #666;
    margin-bottom: 15px;
}

.pmpro_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: none;
}

.pmpro_table thead {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.pmpro_table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

[dir="rtl"] .pmpro_table th,
[dir="rtl"] .rm-modal-body .pmpro_table th,
[dir="rtl"] .rm-modal-body .pmpro_table td {
    text-align: right;
}

.pmpro_table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.pmpro_table tr:last-child td {
    border-bottom: none;
}

.pmpro_table td,
.pmpro_table th.pmpro_table_order-date {
    padding: 14px 16px;
    font-size: 14px;
    color: #1f1e1f;
    vertical-align: middle;
    border: none;
    font-weight: 500;
}

.pmpro_table th.pmpro_table_order-date {
    font-weight: 900 !important;
}

.pmpro_table th.pmpro_table_order-date a {
    display: none !important;
}

.pmpro_tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.pmpro_tag-success {
    background: #ecfdf5;
    color: #059669;
}

.pmpro_tag-warning {
    background: #fffbeb;
    color: #d97706;
}

.pmpro_tag-error {
    background: #fef2f2;
    color: #dc2626;
}

.pmpro_tag-default {
    background: #f3f4f6;
    color: #4b5563;
}

.rm-account-wrap .pmpro_box,
.rm-account-wrap .pmpro_card,
.rm-account-wrap .pmpro_account .pmpro_box,
.rm-account-wrap fieldset {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
    clear: both;
}

.rm-account-wrap .pmpro_box h3,
.rm-account-wrap .pmpro_card_title,
.rm-account-wrap .pmpro_section_title {
    background: transparent;
    padding: 0 0 10px;
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 900;
    border-bottom: 2px solid #f0f0f0;
    color: #1f1e1f;
    display: block;
}

.rm-account-table-wrap .pmpro_section_title {
    padding: 22px 24px 14px;
    margin: 0;
}

.rm-account-wrap .pmpro_actionlinks,
.rm-account-wrap .pmpro_card_actions {
    display: none !important;
}

.rm-account-form-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: 100%;
}

.rm-account-pane[data-pane="profile"] .rm-account-form-wrap {
    padding: 30px 0;
}

.rm-account-pane[data-pane="profile"] .rm-account-form-wrap .pmpro_card_content {
    padding: 0 25px;
}

.rm-account-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: 100%;
    overflow: hidden;
}

.rm-account-table-wrap #pmpro_order_list .pmpro_card_content {
    padding: 0;
}

.rm-account-wrap .pmpro_form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 14px;
    color: #1f1e1f;
}

.rm-account-wrap .pmpro_form input[type="text"],
.rm-account-wrap .pmpro_form input[type="email"],
.rm-account-wrap .pmpro_form input[type="password"],
.rm-account-wrap .pmpro_form textarea,
.rm-account-wrap .pmpro_form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 5px;
    background: #fff;
    display: block;
}

.rm-account-wrap .pmpro_btn,
.rm-account-wrap input[type="submit"],
.rm-account-wrap .pmpro_submit {
    background: #faa324;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 10px;
}

.rm-account-wrap .pmpro_btn-cancel {
    background: transparent !important;
    color: #999 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.pmpro_message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 700;
    border: 1px solid transparent;
}

.pmpro_success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.pmpro_error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.rm-account-empty-orders {
    padding: 15px 25px;
    margin: 0;
    color: #666;
}

.rm-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.rm-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}

.rm-modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 550px;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

.rm-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #999;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

[dir="rtl"] .rm-modal-close {
    right: auto;
    left: 20px;
}

.rm-modal-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.rm-modal-body .pmpro_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.rm-modal-body .pmpro_table th,
.rm-modal-body .pmpro_table td {
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.rm-modal-body .pmpro_table th {
    font-weight: 800;
    color: #1f1e1f;
}

.rm-cancel-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.rm-cancel-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rm-cancel-modal {
    width: min(90vw, 400px);
    max-height: 350px;
    background: #fff;
    border-radius: 14px;
    overflow: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    margin: 0;
    padding: 24px 16px;
}

.rm-cancel-body {
    flex: 1;
    overflow: auto;
    padding: 12px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.rm-cancel-modal-heading {
    margin-top: 0;
    font-size: 22px;
    font-weight: 800;
    color: #1f1e1f;
    margin-bottom: 10px;
}

.rm-cancel-modal-text {
    color: #666;
    margin: 5px 0 20px;
    font-size: 15px;
}

.rm-cancel-action-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
}

.rm-cancel-trigger-inline {
    background: none;
    border: none;
    color: #dc2626;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

.rm-cancel-confirm-wrap {
    text-align: left;
}

[dir="rtl"] .rm-cancel-confirm-wrap {
    text-align: right;
}

.rm-cancel-confirm-title {
    font-size: 20px;
    font-weight: 800;
    color: #1f1e1f;
    margin: 0 0 10px;
}

.rm-cancel-level-name {
    font-weight: 600;
    color: #6b7280;
    font-size: 15px;
}

.rm-cancel-confirm-msg {
    font-size: 15px;
    color: #4b5563;
    margin: 0 0 6px;
    line-height: 1.5;
}

.rm-cancel-confirm-sub {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 24px;
}

.rm-cancel-actions {
    display: flex;
    gap: 10px;
    margin-top: 0;
    flex-wrap: wrap;
}

.rm-cancel-btn-yes,
.rm-cancel-btn-no {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
    border: 1px solid #e5e7eb;
}

.rm-cancel-btn-yes {
    background: #fff;
    color: #dc2626 !important;
}

.rm-cancel-btn-no {
    background: transparent;
    color: #374151;
}

.rm-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    left: auto;
    transform: translateY(-8px);
    background: #fff;
    color: #1f1e1f;
    border: 1px solid #e5e7eb;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    z-index: 9999999;
}

.rm-toast-icon {
    width: 18px;
    height: 18px;
    background: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rm-toast-icon svg {
    width: 10px;
    height: 10px;
    stroke: #fff;
    stroke-width: 3;
}


/* ============================================================
   MEMBERSHIP PAGE — #rm-membership-wrapper
   Rewrite — aligned to remarks.org design language
   ============================================================ */

#rm-membership-wrapper {
    --rm-orange: #faa324;
    --rm-orange-hover: #e89620;
    --rm-dark: #1f1e1f;
    --rm-gray: #f9fafb;
    --rm-section-diff: #f4f4f5;
    --rm-white: #fff;
    --rm-border: #e5e7eb;
    --rm-border-medium: #f3f4f6;
    --rm-text-primary: #1f1e1f;
    --rm-text-secondary: #4b5563;
    --rm-text-muted: #6b7280;
    --rm-mem-sect-pad: 80px;
    --rm-mem-tab-bg: #f9fafb;
    --rm-mem-tab-border: rgba(0,0,0,0.06);
    --rm-card-radius: 14px;
    --rm-card-shadow: 0 4px 20px rgba(0,0,0,0.02);
    --rm-card-shadow-hover: 0 12px 30px rgba(0,0,0,0.06);
    --rm-mem-section-bg: transparent;
    --rm-mem-quote-size: clamp(0.94rem, 1.02vw, 1.02rem);
    --rm-mem-quote-size-mobile: 0.98rem;
    --rm-mem-quote-weight: 650;
    --rm-mem-price-size: clamp(1.05rem, 1.15vw, 1.2rem);
    --rm-mem-plan-name-size: 13px;
    --rm-mem-feature-size: 12.5px;
    --rm-mem-card-gap: 18px;
    --rm-mem-card-pad: 20px 18px 18px;
    color: var(--rm-text-primary);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    font-family: "Arimo", Arial, sans-serif;
    font-size: 16px;
}

#rm-membership-wrapper[dir="rtl"] {
    font-family: "Cairo", sans-serif;
    --rm-mem-price-size: clamp(1.08rem, 1.18vw, 1.22rem);
    --rm-mem-plan-name-size: 13px;
    --rm-mem-feature-size: 13px;
    --rm-mem-quote-size: clamp(0.98rem, 1.08vw, 1.06rem);
    --rm-mem-quote-size-mobile: 1.03rem;
    --rm-mem-quote-size-svt: clamp(0.96rem, 1.04vw, 1.02rem);
    --rm-mem-quote-weight: 700;
    --rm-mem-quote-weight-svt: 700;
}

/* Full-width section backgrounds (footer pattern — no horizontal overflow) */
#rm-membership-wrapper > section {
    position: relative;
    isolation: isolate;
    background: transparent;
}

#rm-membership-wrapper > section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--rm-mem-section-bg, #fff);
    box-shadow: 0 0 0 100vmax var(--rm-mem-section-bg, #fff);
    clip-path: inset(0 -100vmax);
    z-index: -1;
    pointer-events: none;
}

/* Body / html clip — prevents horizontal scrollbar */
body.rm-membership-page,
html:has(body.rm-membership-page) {
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

/* Elementor intermediary containers — must NOT clip so that the
   box-shadow 100vmax bleed on section::before can reach the viewport edge */
body.rm-membership-page .elementor-widget-container,
body.rm-membership-page .elementor-element {
    max-width: 100% !important;
    width: 100%;
    overflow: visible !important;
    box-sizing: border-box;
}

body.rm-membership-page .elementor-section,
body.rm-membership-page .elementor-container,
body.rm-membership-page .e-con {
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
}

body.rm-membership-page .elementor-widget-container > #rm-membership-wrapper {
    max-width: 100%;
    width: 100%;
}

#rm-membership-wrapper .rm-mem-plans,
#rm-membership-wrapper .rm-mem-svt,
#rm-membership-wrapper .rm-mem-comparison,
#rm-membership-wrapper .rm-mem-who-for,
#rm-membership-wrapper .rm-mem-cta,
#rm-membership-wrapper .rm-mem-audience-section {
    max-width: 100%;
}
#rm-membership-wrapper svg {
    max-width: 100%;
    height: auto;
}

/* ---------- Focus/Outline Override - prevent WordPress theme pink ---------- */
#rm-membership-wrapper *:focus {
    outline: none !important;
}

#rm-membership-wrapper button:focus-visible,
#rm-membership-wrapper a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* ---------- Container ---------- */
.rm-mem-container {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 20px;
    box-sizing: border-box;
    min-width: 0;
}

/* ---------- Full-width section backgrounds ---------- */
.rm-mem-plans,
.rm-mem-svt,
.rm-mem-comparison,
.rm-mem-who-for,
.rm-mem-cta,
.rm-mem-audience-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-block: var(--rm-mem-sect-pad);
    box-sizing: border-box;
}

.rm-mem-plans {
    --rm-mem-section-bg: #fff;
    padding-top: 36px;
}

.rm-mem-plans > .rm-mem-container {
    display: flex;
    flex-direction: column;
}

.rm-mem-svt {
    --rm-mem-section-bg: var(--rm-gray);
}

.rm-mem-svt::before {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.rm-mem-comparison {
    --rm-mem-section-bg: #fff;
    scroll-margin-top: 92px;
}

/* ---------- Hero ---------- */
.rm-mem-hero {
    padding-block: 56px 32px;
    text-align: center;
}

.rm-mem-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.rm-mem-hero-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--rm-text-primary);
    margin: 0 0 16px;
}

.rm-mem-hero-lead {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: var(--rm-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ---------- Labels ---------- */
.rm-mem-label,
.rm-mem-label--light,
.rm-mem-label--dark {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rm-orange);
    margin-bottom: 12px;
}

.rm-mem-label--light {
    color: rgba(255,255,255,0.7);
}

.rm-mem-label--dark {
    color: var(--rm-orange);
}

/* ---------- Section Heads ---------- */
.rm-mem-section-head {
    margin-bottom: 32px;
}

.rm-mem-section-head--center {
    text-align: center;
}

.rm-mem-section-head h2 {
    font-size: clamp(1.875rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--rm-text-primary);
    margin: 0 0 12px;
}

.rm-mem-section-head p,
.rm-mem-section-note {
    font-size: 14px;
    color: var(--rm-text-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

.rm-mem-section-head--center p {
    margin-inline: auto;
}

.rm-mem-section-accent {
    width: 64px;
    height: 3px;
    background: var(--rm-orange);
    border-radius: 0;
    margin-bottom: 16px;
}

.rm-mem-section-head--center .rm-mem-section-accent {
    margin-inline: auto;
}

/* ---------- Public Strip ---------- */
.rm-mem-public-strip {
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    flex-wrap: wrap;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rm-mem-public-strip:hover,
.rm-mem-public-strip:focus-within {
    background: #fff;
    border-color: var(--rm-border);
}

.rm-mem-public-strip-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1 1 220px;
}

.rm-mem-public-strip-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--rm-text-secondary);
    line-height: 1.35;
}

.rm-mem-public-strip-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--rm-text-primary);
    line-height: 1.25;
}

.rm-mem-public-strip-note {
    font-size: 12px;
    font-weight: 400;
    color: var(--rm-text-muted);
    line-height: 1.45;
    max-width: 52ch;
}

.rm-mem-public-strip .rm-mem-btn,
.rm-mem-public-strip .rm-mem-btn--mini {
    width: auto;
    min-width: 0;
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--rm-orange);
    color: var(--rm-orange) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rm-mem-public-strip .rm-mem-btn--mini:hover,
.rm-mem-public-strip .rm-mem-btn--mini:focus-visible {
    background: var(--rm-orange);
    border-color: var(--rm-orange);
    color: #fff !important;
    outline: none;
}

.rm-mem-billing-switch {
    display: none;
    width: fit-content;
    margin: 0 auto 28px;
    padding: 4px;
    border: 1px solid var(--rm-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.rm-mem-billing-switch-btn {
    min-width: 112px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--rm-text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.rm-mem-billing-switch-btn:hover,
.rm-mem-billing-switch-btn:focus,
.rm-mem-billing-switch-btn:focus-visible {
    background: var(--rm-gray);
    color: var(--rm-dark);
    outline: none;
}

.rm-mem-billing-switch-btn.is-active,
.rm-mem-billing-switch-btn.is-active:hover,
.rm-mem-billing-switch-btn.is-active:focus,
.rm-mem-billing-switch-btn.is-active:focus-visible {
    background: #1f1e1f;
    color: #fff;
}

/* ---------- Plan Tabs ---------- */
.rm-mem-plan-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    margin-bottom: 32px;
    padding: 4px;
    background: #f5f6f8;
    border: 1px solid #eceef1;
    border-radius: 999px;
    justify-content: center;
    box-shadow: none;
}

.rm-mem-svt-tabs {
    display: none;
}

.rm-mem-plan-tab {
    min-width: 0;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    color: var(--rm-text-secondary);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

.rm-mem-svt-tab {
    display: none;
}

.rm-mem-plan-tab:hover,
.rm-mem-plan-tab:focus,
.rm-mem-plan-tab:focus-visible {
    color: var(--rm-text-primary);
    outline: none;
    background: #fff;
}

.rm-mem-plan-tab.is-active,
.rm-mem-plan-tab.is-active:hover,
.rm-mem-plan-tab.is-active:focus,
.rm-mem-plan-tab.is-active:focus-visible {
    color: #fff;
    background: var(--rm-orange);
}

.rm-mem-plan-panel {
    display: none;
}

.rm-mem-plan-panel.is-active {
    display: block;
}

.rm-mem-svt-panel {
    display: block;
}

.rm-mem-svt-panel.is-active {
    display: block;
}

/* ---------- Cards Grid ---------- */
.rm-mem-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 22px;
    align-items: stretch;
}

.rm-mem-cards-grid--pricing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--rm-mem-card-gap, 18px);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.rm-mem-cards-grid--svt {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--rm-mem-card-gap, 18px);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.rm-mem-cards-grid--svt > .rm-mem-card {
    min-width: 0;
    max-width: 100%;
}

.rm-mem-cards-grid--pricing > .rm-mem-card {
    min-width: 0;
    max-width: 100%;
}

.rm-mem-cards-grid--pricing .rm-mem-card {
    padding: var(--rm-mem-card-pad, 20px 18px 18px);
    border-radius: 14px;
    height: auto;
    min-height: 0;
    border-color: #e8eaed;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.rm-mem-cards-grid--pricing .rm-mem-plan-name {
    font-size: var(--rm-mem-plan-name-size, 13px);
    font-weight: 700;
    line-height: 1.35;
    flex: none;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-card.featured {
    padding-top: 18px;
    border-color: rgba(250, 163, 36, 0.32);
    box-shadow: 0 2px 12px rgba(250, 163, 36, 0.07);
}

.rm-mem-cards-grid--pricing .rm-mem-ribbon--popular {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 2px 8px;
    text-align: start;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7a5510;
    background: #fbf5e8;
    border: 1px solid rgba(250, 163, 36, 0.22);
    border-radius: 5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rm-mem-cards-grid--pricing .rm-mem-card-head {
    margin-bottom: 2px;
    padding-bottom: 0;
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0;
    flex-shrink: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-card-body {
    padding-top: 0;
    min-width: 0;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
}

.rm-mem-cards-grid--pricing .rm-mem-price-row,
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #eef0f2;
    min-height: 0;
    box-sizing: border-box;
}

.rm-mem-cards-grid--pricing .rm-mem-price--quote {
    flex-wrap: wrap;
    align-items: baseline;
    width: 100%;
    min-width: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size) !important;
    font-weight: var(--rm-mem-quote-weight, 650) !important;
    line-height: 1.42 !important;
    color: var(--rm-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Space before feature list when there is no seats row (enterprise / custom) */
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box:has(+ .rm-mem-features-list),
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box:has(+ .rm-mem-excludes-list),
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box:has(+ .rm-mem-rights),
.rm-mem-card--svt .rm-mem-price-box:has(+ .rm-mem-features-list) {
    margin-bottom: 0;
    padding-bottom: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-price-row {
    margin-bottom: 0;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.rm-mem-cards-grid--pricing .rm-mem-price-meta {
    margin-bottom: 2px;
}

.rm-mem-cards-grid--pricing .rm-mem-price-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--rm-text-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rm-mem-cards-grid--pricing .rm-mem-price-box {
    margin-bottom: 0;
    width: 100%;
    min-width: 0;
    flex: none;
}

/* Details zone — seats sit above feature list, not under price */
.rm-mem-cards-grid--pricing .rm-mem-seats {
    margin: 10px 0 6px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    display: block;
    width: auto;
}

.rm-mem-cards-grid--pricing .rm-mem-price-row + .rm-mem-seats,
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box + .rm-mem-seats {
    margin-top: 10px;
    margin-bottom: 6px;
}

.rm-mem-cards-grid--pricing .rm-mem-price-row + .rm-mem-features-list,
.rm-mem-cards-grid--pricing .rm-mem-price-row + .rm-mem-features-list--compact,
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box + .rm-mem-features-list,
.rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box + .rm-mem-excludes-list {
    margin-top: 10px;
    padding-top: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-seats + .rm-mem-features-list,
.rm-mem-cards-grid--pricing .rm-mem-seats + .rm-mem-features-list--compact {
    margin-top: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-billing-seg {
    display: flex;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    padding: 3px;
    gap: 2px;
    flex-shrink: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-seg-btn {
    flex: 1 1 0;
    padding: 7px 8px;
    font-size: 10px;
    min-width: 0;
    justify-content: center;
    text-align: center;
}

.rm-mem-cards-grid--pricing .rm-mem-billing-summary {
    display: none !important;
}

.rm-mem-enterprise-note {
    display: none;
}

.rm-mem-cards-grid--pricing .rm-mem-price-note {
    display: none;
}

/* Arabic pricing — stacked layout matches English */
[dir="rtl"] .rm-mem-cards-grid--pricing .rm-mem-price-row {
    flex-direction: column;
    align-items: stretch;
}

[dir="rtl"] .rm-mem-cards-grid--pricing .rm-mem-billing-seg {
    align-self: stretch;
    width: 100%;
    margin-inline-start: 0 !important;
}

[dir="rtl"] .rm-mem-cards-grid--pricing .rm-mem-price-box {
    width: 100%;
    flex: none;
    min-width: 0;
}

@media (min-width: 641px) {
    .rm-mem-cards-grid--pricing .rm-mem-price-row {
        min-height: 88px;
        align-items: stretch;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box {
        min-height: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card {
        height: 100%;
        min-height: 100%;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-body {
        flex: 1 1 auto;
    }

    .rm-mem-cards-grid--pricing .rm-mem-features-list,
    .rm-mem-cards-grid--pricing .rm-mem-features-list--compact {
        flex: 1 1 auto;
    }
}

@media (min-width: 1200px) {
    .rm-mem-cards-grid--pricing .rm-mem-card {
        height: 100%;
        min-height: 100%;
    }
}

.rm-mem-cards-grid--pricing .rm-mem-price {
    font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem));
    flex-wrap: wrap;
    min-width: 0;
}

.rm-mem-cards-grid--pricing .rm-billing-price,
.rm-mem-cards-grid--pricing .rm-mem-price-amount {
    font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem)) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
}

.rm-mem-cards-grid--pricing .rm-billing-period,
.rm-mem-cards-grid--pricing .rm-mem-price-period {
    font-size: 10px;
    font-weight: 500;
}

.rm-mem-cards-grid--pricing .rm-mem-seats-copy {
    font-size: 12px;
    gap: 4px;
    line-height: 1.5;
}

.rm-mem-cards-grid--pricing .rm-mem-seats-label {
    font-weight: 600;
    color: var(--rm-text-muted);
}

.rm-mem-cards-grid--pricing .rm-mem-seats-value {
    font-weight: 700;
    color: var(--rm-text-primary);
}

.rm-mem-cards-grid--pricing .rm-mem-purpose {
    margin: 0 0 12px;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--rm-text-secondary);
}

.rm-mem-cards-grid--pricing .rm-mem-features-list,
.rm-mem-cards-grid--pricing .rm-mem-features-list--compact {
    gap: 7px;
    flex: 0 1 auto;
    margin: 0 0 12px;
    min-height: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-features-list li,
.rm-mem-cards-grid--pricing .rm-mem-features-list--compact li {
    font-size: var(--rm-mem-feature-size, 12.5px);
    font-weight: 500;
    line-height: 1.5;
    gap: 7px;
    color: var(--rm-text-secondary);
}

.rm-mem-cards-grid--pricing .rm-mem-features-list li svg,
.rm-mem-cards-grid--pricing .rm-mem-features-list--compact li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.rm-mem-cards-grid--pricing .rm-mem-card-footer {
    margin-top: auto;
    padding-top: 16px;
    gap: 10px;
    flex-shrink: 0;
    border-top: 1px solid var(--rm-mem-card-divider, var(--rm-border));
}

.rm-mem-cards-grid--pricing .rm-mem-btn,
.rm-mem-cards-grid--pricing button.rm-mem-btn,
.rm-mem-cards-grid--pricing a.rm-mem-btn {
    padding: 9px 14px;
    font-size: 12px;
    min-height: 40px;
    box-sizing: border-box;
}

#rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-compare-link,
#rm-membership-wrapper .rm-mem-cards-grid--pricing a.rm-mem-compare-link,
#rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-compare-link {
    margin: 0 0 6px !important;
    font-size: 11px;
}

#rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline,
#rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline,
#rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline,
#rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline {
    display: inline-flex !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    color: var(--rm-text-primary) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline {
    background: transparent !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

.rm-mem-cards-grid--single {
    max-width: 520px;
    margin-inline: auto;
}

.rm-mem-plan-panel[data-rm-mem-panel="institutional"] .rm-mem-cards-grid,
.rm-mem-plan-panel[data-rm-mem-panel="custom"] .rm-mem-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
}

/* ---------- Card ---------- */
#rm-membership-wrapper {
    --rm-mem-card-bg: #fff;
    --rm-mem-card-hover-bg: #fff;
}

html[data-rm-theme="dark"] #rm-membership-wrapper {
    --rm-mem-card-bg: var(--rm-dm-card, #1c1c1e);
    --rm-mem-card-hover-bg: var(--rm-dm-card, #1c1c1e);
}

.rm-mem-card {
    background: var(--rm-mem-card-bg);
    border: 1px solid var(--rm-border);
    border-radius: 16px;
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.rm-mem-card:hover,
.rm-mem-card:focus-within {
    background: var(--rm-mem-card-hover-bg);
    border-color: var(--rm-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transform: none;
}

.rm-mem-card.featured {
    background: var(--rm-mem-card-bg);
    border-color: rgba(250, 163, 36, 0.22);
    box-shadow: 0 8px 28px rgba(250, 163, 36, 0.07);
}

.rm-mem-card.featured::before {
    content: none;
}

.rm-mem-card.featured:hover,
.rm-mem-card.featured:focus-within {
    background: var(--rm-mem-card-hover-bg);
    border-color: rgba(250, 163, 36, 0.34);
    box-shadow: 0 12px 32px rgba(250, 163, 36, 0.1);
    transform: none;
}

.rm-mem-card--advisory {
    border-color: var(--rm-border);
    max-width: none;
}

.rm-mem-card--svt {
    padding: var(--rm-mem-card-pad, 20px 18px 18px);
    border-radius: 14px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.rm-mem-card--svt .rm-mem-card-head {
    margin-bottom: 2px;
    padding-bottom: 0;
    border-bottom: none;
    background: transparent;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
}

.rm-mem-card--svt .rm-mem-card-body {
    padding: 0;
    min-width: 0;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
}

.rm-mem-card--svt .rm-mem-price-box {
    margin-bottom: 0;
    padding: 12px 0 0;
    margin-top: 12px;
    border: none;
    border-top: 1px solid #eef0f2;
    min-height: 0;
}

.rm-mem-card--svt .rm-mem-price-box:has(+ .rm-mem-features-list) {
    margin-bottom: 0;
    padding-bottom: 0;
}

.rm-mem-card--svt .rm-mem-price-box + .rm-mem-features-list {
    margin-top: 10px;
    padding-top: 0;
}

.rm-mem-card--svt .rm-mem-plan-name {
    font-size: var(--rm-mem-plan-name-size, 13px);
    font-weight: 700;
    line-height: 1.35;
    width: 100%;
    margin: 0;
}

.rm-mem-card--svt .rm-mem-price--static .rm-mem-price-amount {
    font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem));
    font-weight: 700;
    color: var(--rm-text-primary);
    line-height: 1.25;
}

.rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size);
    font-weight: var(--rm-mem-quote-weight, 650);
    line-height: 1.42;
    color: var(--rm-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rm-mem-card--svt .rm-mem-price-note {
    font-size: 11px;
    color: var(--rm-text-muted);
    margin-top: 3px;
    font-weight: 400;
}

.rm-mem-card--svt .rm-mem-purpose {
    display: none;
}

.rm-mem-card--svt .rm-mem-features-list--compact {
    gap: 7px;
    margin: 0 0 12px;
    flex: 0 1 auto;
}

.rm-mem-card--svt .rm-mem-features-list--compact li {
    font-size: var(--rm-mem-feature-size, 12.5px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--rm-text-secondary);
}

.rm-mem-card--svt .rm-mem-card-footer {
    padding-top: 16px;
    margin-top: auto;
    background: transparent;
    border-top: 1px solid var(--rm-mem-card-divider, var(--rm-border));
    flex-shrink: 0;
    gap: 10px;
}

#rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-compare-link,
#rm-membership-wrapper .rm-mem-cards-grid--svt a.rm-mem-compare-link {
    margin: 0 0 6px !important;
}

.rm-mem-plan-panel[data-rm-mem-panel="institutional"] .rm-mem-card,
.rm-mem-plan-panel[data-rm-mem-panel="custom"] .rm-mem-card {
    background: #fafbfc;
}

.rm-mem-plan-panel[data-rm-mem-panel="institutional"] .rm-mem-card.featured,
.rm-mem-plan-panel[data-rm-mem-panel="custom"] .rm-mem-card.featured {
    background: var(--rm-mem-card-bg);
    border-color: rgba(250, 163, 36, 0.22);
}

.rm-mem-plan-panel[data-rm-mem-panel="institutional"] .rm-mem-advisory-note,
.rm-mem-plan-panel[data-rm-mem-panel="custom"] .rm-mem-advisory-note {
    background: rgba(250, 163, 36, 0.06);
    border-color: rgba(250, 163, 36, 0.14);
    color: var(--rm-text-secondary);
}

.rm-mem-card--compact {
    padding: 24px 20px;
}

/* ---------- Card Head ---------- */
.rm-mem-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.rm-mem-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
}

.rm-mem-plan-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--rm-text-primary);
    margin: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.rm-mem-ribbon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 3px 9px;
    background: #fbf5e8;
    color: #7a5510;
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.03em;
    border-radius: 6px;
    border: 1px solid rgba(250, 163, 36, 0.22);
    line-height: 1.2;
    white-space: nowrap;
}

[dir="rtl"] .rm-mem-ribbon {
    letter-spacing: 0;
    text-transform: none;
    font-size: 11px;
}

/* ---------- Price ---------- */
.rm-mem-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.rm-mem-price-row .rm-mem-price-box {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.rm-mem-price-box {
    margin-bottom: 12px;
}

.rm-mem-price-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.rm-mem-price-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--rm-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.rm-mem-price-badge {
    display: none !important;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(250,163,36,0.1);
    color: var(--rm-orange);
    border-radius: 999px;
}

.rm-mem-price,
.rm-mem-price--static,
.rm-mem-price--quote {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rm-mem-price-amount,
.rm-billing-price {
    font-size: clamp(1.45rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--rm-text-primary);
    line-height: 1.15;
}

.rm-mem-price-period,
.rm-billing-period {
    font-size: 12px;
    color: var(--rm-text-muted);
    font-weight: 500;
}

.rm-mem-price-note {
    font-size: 12px;
    color: var(--rm-text-muted);
    margin: 8px 0 0;
    line-height: 1.5;
}

/* ---------- Billing Segment ---------- */
.rm-mem-billing-seg {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #f8f9fa;
    border: 1px solid var(--rm-border);
    border-radius: 999px;
    padding: 3px;
    margin: 0;
    flex-shrink: 0;
    align-self: flex-start;
}

.rm-mem-seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--rm-text-secondary);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    min-width: 74px;
    justify-content: center;
}

.rm-mem-seg-btn:hover:not(.is-active),
.rm-mem-seg-btn:focus-visible:not(.is-active) {
    color: var(--rm-text-primary);
    background: rgba(0, 0, 0, 0.04);
    outline: none;
}

.rm-mem-seg-btn.is-active,
.rm-mem-seg-btn.is-active:hover,
.rm-mem-seg-btn.is-active:focus,
.rm-mem-seg-btn.is-active:focus-visible {
    background: #1f1e1f;
    color: #fff;
}

.rm-mem-seg-text {
    white-space: nowrap;
}

.rm-mem-seg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.rm-mem-seg-btn.is-active .rm-mem-seg-dot {
    background: #fff;
    opacity: 1;
}

.rm-mem-seg-save {
    display: none !important;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    color: #8a5a00;
    background: rgba(250,163,36,0.14);
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1.2;
    margin-inline-start: 4px;
}

.rm-mem-seg-save--value {
    color: var(--rm-orange);
    background: rgba(250,163,36,0.1);
}

.rm-mem-seg-equiv {
    display: none !important;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: #8a5a00;
    background: rgba(250,163,36,0.12);
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1.2;
    margin-inline-start: 4px;
    white-space: nowrap;
}

.rm-mem-seg-btn.is-active .rm-mem-seg-equiv {
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.rm-mem-seg-btn.is-active .rm-mem-seg-save {
    color: #fff;
    background: rgba(255,255,255,0.22);
}

.rm-mem-billing-summary {
    font-size: 11px;
    font-weight: 400;
    color: var(--rm-text-muted);
    margin: 3px 0 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    line-height: 1.35;
    text-align: start;
}

.rm-mem-billing-summary.is-empty,
.rm-mem-billing-summary[hidden] {
    display: none !important;
    margin: 0;
    padding: 0;
    border: 0;
    min-height: 0;
}

.rm-mem-card--svt .rm-mem-price-amount,
.rm-mem-cards-grid--svt .rm-mem-price-amount,
.rm-mem-cards-grid--svt .rm-billing-price {
    font-size: clamp(1.1rem, 1.2vw, 1.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount,
.rm-mem-cards-grid--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size-svt, var(--rm-mem-quote-size));
    font-weight: var(--rm-mem-quote-weight-svt, var(--rm-mem-quote-weight, 650));
    line-height: 1.42;
    color: var(--rm-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rm-mem-card--svt .rm-mem-price--quote,
.rm-mem-cards-grid--svt .rm-mem-price--quote {
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
}

.rm-mem-card--svt .rm-mem-plan-name {
    font-size: 14px;
    font-weight: 700;
}

.rm-mem-card--svt .rm-mem-price-note {
    font-size: 12px;
}

.rm-billing-toggle {
    display: none;
}

/* ---------- Seats ---------- */
.rm-mem-seats {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    border: none;
    background: transparent;
    width: auto;
    max-width: 100%;
}

.rm-mem-seats-copy {
    display: inline;
    font-size: 12px;
    line-height: 1.4;
}

.rm-mem-seats-label {
    font-weight: 500;
    color: var(--rm-text-muted);
}

.rm-mem-seats-label::after {
    content: " ";
}

.rm-mem-seats-value {
    font-weight: 700;
    color: var(--rm-text-primary);
}

/* ---------- Rights / Purpose / Advisory note ---------- */
.rm-mem-rights {
    font-size: 14px;
    color: var(--rm-text-secondary);
    line-height: 1.55;
    margin: 0 0 14px;
}

.rm-mem-purpose,
.rm-mem-advisory-note {
    font-size: 12px;
    color: var(--rm-text-secondary);
    line-height: 1.5;
    margin: 0 0 10px;
    font-weight: 400;
}

.rm-mem-advisory-note {
    font-size: 12px;
    color: var(--rm-text-secondary);
    font-style: normal;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: rgba(250, 163, 36, 0.08);
    border: 1px solid rgba(250, 163, 36, 0.16);
    border-radius: 8px;
}

.rm-mem-desc {
    font-size: 14px;
    color: var(--rm-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ---------- Features / Excludes Lists ---------- */
.rm-mem-includes-label,
.rm-mem-excludes-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rm-text-muted);
    margin-bottom: 10px;
}

.rm-mem-features-list,
.rm-mem-features-list--compact {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rm-mem-features-list li,
.rm-mem-features-list--compact li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13.5px;
    color: var(--rm-text-secondary);
    line-height: 1.4;
}

.rm-mem-features-list li svg,
.rm-mem-features-list--compact li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    fill: var(--rm-orange);
}

.rm-mem-excludes-list,
.rm-mem-excludes-list--compact {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rm-mem-excludes-list li,
.rm-mem-excludes-list--compact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--rm-type-meta);
    color: var(--rm-text-muted);
    line-height: 1.45;
}

.rm-mem-excludes-list li svg,
.rm-mem-excludes-list--compact li svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    fill: #ccc;
}

/* ---------- Card Footer ---------- */
.rm-mem-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#rm-membership-wrapper .rm-mem-compare-link,
#rm-membership-wrapper a.rm-mem-compare-link,
#rm-membership-wrapper button.rm-mem-compare-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px;
    font-weight: 600;
    font-family: inherit;
    color: var(--rm-text-muted);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.12s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.rm-mem-compare-text {
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
}

.rm-mem-compare-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    flex-shrink: 0;
    border-radius: 0;
    background: transparent;
    color: currentColor;
    transition: color 0.12s ease, transform 0.12s ease;
}

.rm-mem-compare-arrow svg {
    width: 10px;
    height: 10px;
    display: block;
}

#rm-membership-wrapper .rm-mem-compare-link:hover,
#rm-membership-wrapper .rm-mem-compare-link:focus-visible,
#rm-membership-wrapper .rm-mem-compare-link:active {
    color: var(--rm-orange) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

#rm-membership-wrapper .rm-mem-compare-link:hover .rm-mem-compare-arrow,
#rm-membership-wrapper .rm-mem-compare-link:focus-visible .rm-mem-compare-arrow,
#rm-membership-wrapper .rm-mem-compare-link:active .rm-mem-compare-arrow {
    background: transparent;
    color: var(--rm-orange);
    transform: translateY(1px);
}

.rm-mem-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rm-mem-cta-stack .rm-mem-btn {
    width: 100%;
}

/* ---------- Buttons ---------- */
.rm-mem-btn,
button.rm-mem-btn,
a.rm-mem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: center;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.3;
    box-shadow: none;
}

.rm-mem-btn--primary {
    background: var(--rm-orange);
    border-color: var(--rm-orange);
    color: #fff !important;
}

.rm-mem-btn--primary:hover,
.rm-mem-btn--primary:focus,
.rm-mem-btn--primary:focus-visible {
    background: var(--rm-orange-hover);
    border-color: var(--rm-orange-hover);
    color: #fff !important;
    outline: none;
}

.rm-mem-btn--dark {
    background: #1f1e1f;
    border-color: #1f1e1f;
    color: #fff !important;
}

.rm-mem-btn--dark:hover,
.rm-mem-btn--dark:focus,
.rm-mem-btn--dark:focus-visible {
    background: #383738;
    border-color: #383738;
    color: #fff !important;
    outline: none;
}

.rm-mem-btn--request {
    background: #1f1e1f;
    border-color: #1f1e1f;
    color: #fff !important;
}

.rm-mem-btn--request:hover,
.rm-mem-btn--request:focus,
.rm-mem-btn--request:focus-visible {
    background: #383738;
    border-color: #383738;
    color: #fff !important;
    outline: none;
}

.rm-mem-btn--ghost {
    background: #fff;
    color: var(--rm-text-primary) !important;
    border: 1px solid var(--rm-border-medium, #e1e4e8);
}

.rm-mem-btn--ghost:hover,
.rm-mem-btn--ghost:focus,
.rm-mem-btn--ghost:focus-visible {
    color: var(--rm-text-primary) !important;
    border-color: #d1d5db;
    background: #f8f9fa;
    outline: none;
}

.rm-mem-btn--outline {
    background: #fff;
    color: var(--rm-text-primary) !important;
    border: 1px solid #e1e4e8;
    font-weight: 700;
    box-shadow: none;
}

.rm-mem-btn--outline:hover,
.rm-mem-btn--outline:focus,
.rm-mem-btn--outline:focus-visible {
    color: var(--rm-text-primary) !important;
    border-color: #c9cdd3;
    background: #f8f9fa;
    outline: none;
    box-shadow: none;
}

.rm-mem-btn--link,
button.rm-mem-btn--link {
    background: #faf9f7 !important;
    border: 1px solid var(--rm-border) !important;
    color: var(--rm-text-primary) !important;
    padding: 11px 16px;
    font-weight: 700;
    box-shadow: none !important;
}

.rm-mem-btn--link:hover,
.rm-mem-btn--link:focus,
.rm-mem-btn--link:focus-visible {
    color: var(--rm-orange) !important;
    background: rgba(250, 163, 36, 0.08) !important;
    border-color: rgba(250, 163, 36, 0.35) !important;
    outline: none !important;
    text-decoration: none;
    box-shadow: none !important;
}

.rm-mem-btn.current,
span.rm-mem-btn.current {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #e5e7eb !important;
    box-shadow: none !important;
    cursor: default !important;
    pointer-events: none !important;
    transform: none !important;
}

/* Subscribe button variant — orange fill, white text */
.rm-mem-btn--subscribe {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #fff !important;
}

.rm-mem-btn--subscribe:hover,
.rm-mem-btn--subscribe:focus,
.rm-mem-btn--subscribe:focus-visible {
    background: var(--rm-orange-hover) !important;
    border-color: var(--rm-orange-hover) !important;
    color: #fff !important;
}

/* Membership buttons — hover borders match fill (no dark rim) */
#rm-membership-wrapper .rm-mem-btn--primary:hover,
#rm-membership-wrapper .rm-mem-btn--primary:focus-visible {
    border-color: var(--rm-orange-hover) !important;
}

#rm-membership-wrapper .rm-mem-btn--dark:hover,
#rm-membership-wrapper .rm-mem-btn--dark:focus-visible {
    border-color: #383738 !important;
    background: #383738 !important;
    color: #fff !important;
}

#rm-membership-wrapper .rm-mem-btn--request:hover,
#rm-membership-wrapper .rm-mem-btn--request:focus-visible {
    border-color: #383738 !important;
    background: #383738 !important;
    color: #fff !important;
}

#rm-membership-wrapper .rm-mem-btn--ghost:hover,
#rm-membership-wrapper .rm-mem-btn--ghost:focus-visible {
    border-color: #d1d5db !important;
    background: #f8f9fa !important;
    color: var(--rm-text-primary) !important;
}

#rm-membership-wrapper .rm-mem-btn--outline:hover,
#rm-membership-wrapper .rm-mem-btn--outline:focus-visible {
    border-color: #c9cdd3 !important;
    background: #f8f9fa !important;
    color: var(--rm-text-primary) !important;
    box-shadow: none !important;
}

#rm-membership-wrapper .rm-mem-btn--link:hover,
#rm-membership-wrapper .rm-mem-btn--link:focus-visible {
    border-color: rgba(250, 163, 36, 0.35) !important;
}

#rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:hover,
#rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:focus-visible {
    border-color: var(--rm-orange) !important;
    background: var(--rm-orange) !important;
    color: #fff !important;
}

.rm-mem-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--rm-border-medium, #e1e4e8);
    background: #fff;
    color: var(--rm-text-primary);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.rm-mem-btn-outline:hover {
    border-color: var(--rm-orange);
    color: var(--rm-orange);
}

.rm-mem-btn-outline:focus,
.rm-mem-btn-outline:focus-visible {
    border-color: var(--rm-orange);
    color: var(--rm-orange);
    outline: none;
}

/* ---------- Trust Line / Strip ---------- */
.rm-mem-trust-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 24px auto 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: var(--rm-text-muted);
    width: fit-content;
    max-width: 100%;
    letter-spacing: 0.01em;
}

.rm-mem-trust-strip--logo {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
}

.rm-mem-trust-strip--badge,
.rm-mem-trust-strip--payments {
    gap: 10px;
    padding: 11px 18px;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--rm-text-muted);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    max-width: min(100%, 520px);
}

.rm-mem-trust-strip--payments {
    flex-direction: column;
    gap: 5px;
    padding: 12px 20px;
}

.rm-mem-trust-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rm-mem-trust-methods {
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--rm-text-muted);
    text-align: center;
}

.rm-mem-trust-brand {
    color: #635BFF;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rm-mem-trust-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #9ca3af;
}

.rm-mem-trust-lock svg {
    width: 13px;
    height: 13px;
    display: block;
}

.rm-mem-trust-copy {
    line-height: 1.35;
    white-space: normal;
}

.rm-mem-plans > .rm-mem-container > .rm-mem-trust-strip {
    align-self: center;
}

.rm-mem-trust-line {
    font-size: 12px;
    color: var(--rm-text-muted);
    text-align: center;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rm-mem-trust-line svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ---------- Contact Trigger / Request Link (text-only, not full buttons) ---------- */
.rm-mem-contact-trigger:not(.rm-mem-btn),
.rm-mem-request-link:not(.rm-mem-btn) {
    font-size: 14px;
    font-weight: 600;
    color: var(--rm-orange);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.rm-mem-contact-trigger:not(.rm-mem-btn):hover,
.rm-mem-contact-trigger:not(.rm-mem-btn):focus,
.rm-mem-contact-trigger:not(.rm-mem-btn):focus-visible,
.rm-mem-request-link:not(.rm-mem-btn):hover,
.rm-mem-request-link:not(.rm-mem-btn):focus,
.rm-mem-request-link:not(.rm-mem-btn):focus-visible {
    color: var(--rm-orange-hover);
    text-decoration: underline;
    outline: none;
}

/* ---------- SVT Detail Layout ---------- */
.rm-mem-svt-tabs {
    max-width: 800px;
}

.rm-mem-svt-panels {
    max-width: 1248px;
    margin-inline: auto;
}

.rm-mem-svt-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 28px;
    align-items: center;
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.rm-mem-svt-detail:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.rm-mem-svt-detail-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rm-mem-svt-detail-main h3 {
    font-size: var(--rm-type-body-sm);
    font-weight: 800;
    color: var(--rm-text-primary);
    margin: 0;
    line-height: 1.35;
}

.rm-mem-svt-detail-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding-inline-start: 0;
    border-inline-start: none;
}

.rm-mem-svt-desc {
    font-size: var(--rm-type-body-sm);
    color: var(--rm-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.rm-mem-svt-detail-specs {
    display: block;
    font-size: var(--rm-type-meta);
    color: var(--rm-text-muted);
    line-height: 1.4;
}

.rm-mem-svt-spec {
    display: inline;
    padding: 0;
    border: none;
    background: transparent;
    font-size: inherit;
    font-weight: 600;
    color: inherit;
}

.rm-mem-svt-spec--seats {
    color: var(--rm-text-primary);
    font-weight: 700;
}

.rm-mem-svt-spec + .rm-mem-svt-spec::before {
    content: " · ";
    color: var(--rm-text-muted);
    font-weight: 400;
}

.rm-mem-svt-price-block {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: end;
}

.rm-mem-svt-price {
    font-size: var(--rm-type-body);
    font-weight: 800;
    color: var(--rm-text-primary);
    line-height: 1.2;
}

.rm-mem-svt-price-note {
    font-size: var(--rm-type-meta);
    color: var(--rm-text-muted);
    margin-top: 2px;
}

.rm-mem-svt-detail-aside .rm-mem-btn {
    width: 100%;
    min-width: 0;
    padding: 9px 14px;
    font-size: var(--rm-type-body-sm);
}

.rm-mem-svt-includes {
    margin-top: 16px;
}

/* ---------- Who-For Section ---------- */
.rm-mem-who-for {
    --rm-mem-section-bg: #1f1e1f;
    color: #fff;
}

.rm-mem-who-for::before {
    border-top: 1px solid var(--rm-border);
    border-bottom: 1px solid var(--rm-border);
}

.rm-mem-who-for .rm-mem-section-head h2 {
    color: #fff;
}

.rm-mem-who-for .rm-mem-section-head p,
.rm-mem-who-for .rm-mem-serve-intro {
    color: rgba(255, 255, 255, 0.68);
}

.rm-mem-who-for .rm-mem-label--light {
    color: var(--rm-orange);
}

.rm-mem-who-for-grid {
    max-width: 1120px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rm-mem-who-for-card {
    background: #262526;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.rm-mem-who-for-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.35;
}

.rm-mem-who-for-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rm-mem-who-for-tags li {
    position: relative;
    padding-inline-start: 14px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

.rm-mem-who-for-tags li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rm-orange);
}

.rm-mem-who-for-accordion {
    max-width: 1120px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rm-mem-acc-item {
    background: #262526;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    box-shadow: none;
}

.rm-mem-acc-item:hover {
    background: #2b2a2b;
    border-color: rgba(255, 255, 255, 0.16);
}

.rm-mem-acc-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.rm-mem-acc-item:hover,
.rm-mem-acc-item.is-open {
    transform: none;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.rm-mem-acc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 22px 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: default;
    text-align: start;
    pointer-events: none;
}

.rm-mem-acc-trigger:hover,
.rm-mem-acc-trigger:focus-visible {
    color: #fff;
}

.rm-mem-acc-trigger:focus-visible {
    outline: none;
    background: #2b2a2b;
    border-radius: 12px;
}

.rm-mem-acc-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.15s ease;
}

.rm-mem-acc-item.is-open .rm-mem-acc-panel {
    max-height: 480px;
    opacity: 1;
}

.rm-mem-acc-content {
    padding: 0 22px 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
}

.rm-mem-acc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rm-mem-acc-list li {
    padding: 8px 12px;
    position: relative;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
    padding-inline-start: 12px;
}

.rm-mem-acc-list li::before {
    content: none;
}

/* ---------- Audience Section ---------- */
.rm-mem-audience-section {
    --rm-mem-section-bg: #1f1e1f;
    color: #fff;
    overflow-x: clip;
}

.rm-mem-audience-head {
    text-align: center;
    margin-bottom: 48px;
}

.rm-mem-audience-head h2 {
    font-size: clamp(1.875rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 12px;
}

.rm-mem-audience-head p {
    font-size: clamp(1rem, 1.05vw, 1.08rem);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 600px;
}

.rm-mem-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rm-mem-audience-item {
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s;
}

.rm-mem-audience-item:last-child {
    border-right: none;
}

[dir="rtl"] .rm-mem-audience-item {
    border-right: none;
    border-left: 1px solid rgba(255,255,255,0.08);
}

[dir="rtl"] .rm-mem-audience-item:last-child {
    border-left: none;
}

.rm-mem-audience-item:hover {
    background: rgba(255,255,255,0.03);
}

.rm-mem-audience-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s, transform 0.3s;
}

.rm-mem-audience-item:hover .rm-mem-audience-icon {
    color: #fff;
    transform: scale(1.1);
}

.rm-mem-audience-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm-mem-audience-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ---------- Signal Items ---------- */
.rm-mem-signal-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rm-mem-signal-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rm-orange);
}

.rm-mem-signal-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm-mem-signal-label {
    font-size: 14px;
    color: var(--rm-text-secondary);
}

/* ---------- CTA Section ---------- */
.rm-mem-cta {
    --rm-mem-section-bg: #f4f6f8;
    color: var(--rm-text-primary);
}

.rm-mem-cta::before {
    border-top: 1px solid var(--rm-border);
}

.rm-mem-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    text-align: start;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(17,17,17,0.06);
    max-width: 100%;
    margin-inline: auto;
    transition: box-shadow 0.12s ease, border-color 0.12s ease;
}

.rm-mem-cta-inner:hover {
    box-shadow: 0 8px 24px rgba(17,17,17,0.08);
    border-color: rgba(250, 163, 36, 0.25);
}

.rm-mem-cta-text {
    margin-bottom: 0;
}

.rm-mem-cta-text .rm-mem-label {
    color: var(--rm-orange);
}

.rm-mem-cta-text h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--rm-text-primary);
    margin: 0 0 10px;
}

.rm-mem-cta-text p {
    font-size: 15px;
    color: var(--rm-text-secondary);
    line-height: 1.7;
    margin: 0 0 14px;
    max-width: 680px;
}

.rm-mem-cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--rm-text-secondary);
    justify-content: flex-start;
}

.rm-mem-cta-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-inline-start: 14px;
}

.rm-mem-cta-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rm-orange);
    flex-shrink: 0;
}

.rm-mem-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
    align-self: center;
    justify-content: center;
}

.rm-mem-cta-actions .rm-mem-btn {
    width: 100%;
    min-width: 180px;
}

.rm-mem-cta .rm-mem-btn--ghost {
    background: #faf9f7;
    border: 1px solid var(--rm-border);
    color: var(--rm-text-primary) !important;
}

.rm-mem-cta .rm-mem-btn--ghost:hover,
.rm-mem-cta .rm-mem-btn--ghost:focus-visible {
    border-color: #c9cdd3;
    color: var(--rm-text-primary) !important;
    background: #f4f5f7;
}

.rm-mem-cta .rm-mem-btn--outline {
    background: #fff;
    border: 1px solid #e1e4e8;
    color: var(--rm-text-primary) !important;
    box-shadow: none;
}

.rm-mem-cta .rm-mem-btn--outline:hover,
.rm-mem-cta .rm-mem-btn--outline:focus-visible {
    background: #f8f9fa;
    border-color: #c9cdd3;
    color: var(--rm-text-primary) !important;
    box-shadow: none;
}

.rm-mem-cta .rm-mem-btn--dark:hover,
.rm-mem-cta .rm-mem-btn--dark:focus-visible {
    background: #383738;
    border-color: #383738;
    color: #fff !important;
}

/* ---------- Modal ---------- */
.rm-mem-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rm-mem-modal[hidden] {
    display: none !important;
}

.rm-mem-modal.is-active {
    display: flex;
}

body.rm-mem-modal-open {
    overflow: hidden;
}

.rm-mem-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.rm-mem-modal-dialog {
    position: relative;
    background: #fafbfc;
    border: 1px solid var(--rm-border);
    border-radius: var(--rm-card-radius);
    padding: 36px 32px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
    z-index: 1;
}

.rm-mem-modal-dialog h2 {
    margin: 0 48px 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--rm-text-primary);
    line-height: 1.2;
}

.rm-mem-modal-close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
}

.rm-mem-modal-close.rm-header-popup-close {
    width: 40px;
    height: 40px;
    padding: 8px;
}

.rm-mem-modal-close.rm-header-popup-close svg {
    display: block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}


.rm-mem-modal-lead {
    font-size: 14px;
    color: var(--rm-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.rm-mem-field {
    margin-bottom: 16px;
}

.rm-mem-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--rm-text-primary);
    margin-bottom: 6px;
}

.rm-mem-field input,
.rm-mem-field textarea,
.rm-mem-field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    background: #fff;
    color: var(--rm-text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.rm-mem-field input:hover,
.rm-mem-field textarea:hover,
.rm-mem-field select:hover {
    border-color: #c9cdd3;
}

.rm-mem-field input:focus,
.rm-mem-field input:focus-visible,
.rm-mem-field textarea:focus,
.rm-mem-field textarea:focus-visible,
.rm-mem-field select:focus,
.rm-mem-field select:focus-visible {
    border-color: rgba(250, 163, 36, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(250, 163, 36, 0.12) !important;
    outline: none !important;
}

.rm-mem-field textarea {
    min-height: 100px;
    max-height: none;
    resize: none;
    overflow-y: hidden;
}

.rm-mem-field input:user-invalid:not(:focus):not(:focus-visible),
.rm-mem-field textarea:user-invalid:not(:focus):not(:focus-visible),
.rm-mem-field select:user-invalid:not(:focus):not(:focus-visible),
.rm-mem-field input:invalid:not(:focus):not(:focus-visible),
.rm-mem-field textarea:invalid:not(:focus):not(:focus-visible),
.rm-mem-field select:invalid:not(:focus):not(:focus-visible) {
    border-color: #e1e4e8;
    box-shadow: none;
}

.rm-mem-required {
    color: var(--rm-orange);
}

.rm-mem-optional {
    font-size: 12px;
    color: var(--rm-text-muted);
    font-weight: 400;
}

.rm-mem-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.rm-mem-modal-actions .rm-mem-btn {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.rm-mem-modal-actions .rm-mem-btn--primary:hover,
.rm-mem-modal-actions .rm-mem-btn--primary:focus,
.rm-mem-modal-actions .rm-mem-btn--primary:focus-visible {
    transform: translateY(-1px);
}

.rm-mem-modal-actions .rm-mem-btn--ghost {
    border-color: var(--rm-border);
}

.rm-mem-modal-actions .rm-mem-btn--ghost:hover,
.rm-mem-modal-actions .rm-mem-btn--ghost:focus,
.rm-mem-modal-actions .rm-mem-btn--ghost:focus-visible {
    border-color: var(--rm-orange);
    color: var(--rm-orange) !important;
    transform: none;
}

.rm-mem-modal-note {
    font-size: 12px;
    color: var(--rm-text-muted);
    margin-top: 12px;
    text-align: center;
}

.rm-mem-modal-success {
    text-align: center;
    padding: 24px 0;
}

.rm-mem-modal-success h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--rm-text-primary);
    margin-bottom: 8px;
}

.rm-mem-modal-success p {
    font-size: 14px;
    color: var(--rm-text-secondary);
}

/* ---------- Comparison — Desktop Table ---------- */
.rm-comparison-desktop {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    contain: inline-size;
    background: var(--rm-mem-compare-bg, #fff);
    border: 1px solid var(--rm-border);
    border-radius: var(--rm-card-radius);
    box-shadow: var(--rm-card-shadow);
}

.rm-mem-comparison > .rm-mem-container {
    max-width: 100%;
    overflow-x: clip;
}

.rm-comparison-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
}

.rm-comparison-table,
.rm-comparison-table--wide {
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    background: var(--rm-mem-compare-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}

.rm-comparison-table--wide {
    max-width: none;
}

.rm-comparison-header,
.rm-comparison-row {
    display: grid;
    grid-template-columns: minmax(200px, 1.5fr) repeat(var(--rm-compare-cols, 4), minmax(110px, 1fr));
    align-items: center;
    min-width: 760px;
}

.rm-comparison-header {
    background: var(--rm-mem-compare-surface, #f9fafb);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.rm-comparison-header > div {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rm-text-secondary);
    text-align: center;
}

.rm-comparison-header > div:first-child {
    text-align: start;
    color: var(--rm-text-primary);
}

[dir="rtl"] .rm-comparison-header > div:first-child {
    text-align: end;
}

.rm-comparison-row {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.rm-comparison-row:last-child {
    border-bottom: none;
}

.rm-comparison-row.category {
    background: var(--rm-mem-compare-surface, #f9fafb);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.rm-comparison-row.category .rm-comparison-feature {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--rm-text-primary);
    padding: 12px 16px;
    text-transform: none;
}

.rm-comparison-row.category .rm-comparison-cell {
    padding: 12px 16px;
}

.rm-comparison-feature {
    padding: 12px 16px;
    color: var(--rm-text-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.rm-comparison-cell {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rm-comparison-check {
    color: var(--rm-orange);
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-comparison-check svg {
    width: 18px;
    height: 18px;
    fill: var(--rm-orange);
}

.rm-comparison-cross {
    color: #d1d5db;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-comparison-cross svg {
    width: 16px;
    height: 16px;
    fill: #d1d5db;
}

/* ---------- Comparison — Stacked (Mobile) ---------- */
.rm-comparison-stack {
    display: none;
    gap: 16px;
}

.rm-comparison-stack-category {
    margin-bottom: 0;
    background: var(--rm-mem-compare-bg, #fff);
    border: 1px solid var(--rm-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(17,17,17,0.03);
}

.rm-comparison-stack-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--rm-text-primary);
    margin: 0;
    padding: 14px 16px;
    background: var(--rm-mem-compare-stack-title, #fafafa);
    border-bottom: 1px solid var(--rm-border);
}

.rm-comparison-stack-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rm-comparison-stack-table {
    width: 100%;
    min-width: 100%;
    font-size: 13px;
}

.rm-comparison-stack-head,
.rm-comparison-stack-row {
    display: grid;
    grid-template-columns: minmax(140px, 1.6fr) repeat(var(--rm-compare-cols, 4), minmax(52px, 1fr));
    align-items: center;
}

.rm-comparison-stack-head {
    background: var(--rm-mem-compare-bg, #fff);
    border-bottom: 1px solid var(--rm-border);
}

.rm-comparison-stack-head .rm-comparison-stack-feature,
.rm-comparison-stack-head .rm-comparison-stack-plan {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: var(--rm-text-secondary);
}

.rm-comparison-stack-head .rm-comparison-stack-feature {
    text-align: start;
    color: var(--rm-text-primary);
}

.rm-comparison-stack-row {
    border-bottom: 1px solid var(--rm-border);
}

.rm-comparison-stack-row:last-child {
    border-bottom: 0;
}

.rm-comparison-stack-feature {
    padding: 12px;
    color: var(--rm-text-primary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.rm-comparison-stack-plan {
    padding: 10px 12px;
    font-weight: 600;
    color: var(--rm-text-primary);
    text-align: center;
}

.rm-comparison-stack-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    text-align: center;
}

.rm-comparison-stack-check {
    color: var(--rm-orange);
    font-weight: 700;
}

.rm-comparison-stack-check svg {
    width: 16px;
    height: 16px;
    fill: var(--rm-orange);
}

.rm-comparison-stack-cross {
    color: #ccc;
}

.rm-comparison-stack-cross svg {
    width: 14px;
    height: 14px;
    fill: #ccc;
}

/* ---------- Legacy / Compat Selectors ---------- */
.rm-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.rm-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}

.rm-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    inset-inline-start: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.rm-switch input:checked + .rm-slider {
    background: var(--rm-orange);
}

.rm-switch input:checked + .rm-slider::before {
    transform: translateX(20px);
}

[dir="rtl"] .rm-switch input:checked + .rm-slider::before {
    transform: translateX(-20px);
}

.rm-save-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--rm-orange);
    background: rgba(250,163,36,0.1);
    border-radius: 999px;
}

.rm-mem-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.rm-everything-plus {
    font-size: 13px;
    color: var(--rm-text-muted);
    font-style: italic;
    margin-bottom: 12px;
}

.rm-mem-save-msg {
    font-size: 12px;
    color: var(--rm-orange);
    font-weight: 600;
    margin-top: 4px;
}

/* ============================================================
   RESPONSIVE — Membership
   ============================================================ */

/* Tablet — 2 columns (iPad), equal-height cards + aligned buttons */
@media (min-width: 641px) and (max-width: 1199px) {
    #rm-membership-wrapper {
        --rm-mem-card-gap: 16px;
        --rm-mem-card-pad: 18px 16px 16px;
    }

    #rm-membership-wrapper .rm-mem-container {
        padding-inline: 18px;
    }

    .rm-mem-cards-grid--pricing,
    .rm-mem-cards-grid--svt {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--rm-mem-card-gap, 16px);
        align-items: stretch;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        margin-inline: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        min-height: 92px;
    }

    .rm-mem-cards-grid--pricing .rm-mem-billing-seg {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
    }

    .rm-mem-cards-grid--pricing .rm-mem-seg-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 7px 8px;
        font-size: 10px;
    }

    .rm-mem-plan-tab {
        white-space: normal;
        line-height: 1.25;
        padding: 8px 10px;
        font-size: 12px;
    }

    .rm-mem-cards-grid--pricing > .rm-mem-card,
    .rm-mem-cards-grid--svt > .rm-mem-card {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        height: 100%;
        min-height: 100%;
        padding: 16px 14px 14px;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-body,
    .rm-mem-card--svt .rm-mem-card-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-features-list,
    .rm-mem-cards-grid--pricing .rm-mem-features-list--compact,
    .rm-mem-card--svt .rm-mem-features-list--compact {
        flex: 1 1 auto;
        min-height: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-footer,
    .rm-mem-card--svt .rm-mem-card-footer {
        margin-top: auto !important;
        flex-shrink: 0;
    }

    .rm-mem-card--svt .rm-mem-price-box {
        min-height: 64px;
    }
}

/* Mobile — single column, compact natural heights (no equal-height stretch) */
@media (max-width: 640px) {
    #rm-membership-wrapper {
        --rm-mem-quote-size: var(--rm-mem-quote-size-mobile);
        --rm-mem-card-gap: 14px;
        --rm-mem-card-pad: 16px 16px 14px;
    }

    .rm-mem-cards-grid--pricing,
    .rm-mem-cards-grid--svt {
        grid-template-columns: 1fr;
        gap: var(--rm-mem-card-gap, 14px);
        align-items: start;
        max-width: 100%;
        width: 100%;
        min-width: 0;
        margin-inline: 0;
    }

    .rm-mem-cards-grid--pricing > .rm-mem-card,
    .rm-mem-cards-grid--svt > .rm-mem-card,
    .rm-mem-card--svt {
        display: flex;
        flex-direction: column;
        padding: var(--rm-mem-card-pad, 16px 16px 14px);
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-self: auto;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-body,
    .rm-mem-card--svt .rm-mem-card-body {
        flex: 0 0 auto !important;
        min-height: 0 !important;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-head,
    .rm-mem-card--svt .rm-mem-card-head {
        gap: 5px;
        min-height: 0 !important;
        justify-content: flex-start;
    }

    .rm-mem-cards-grid--pricing .rm-mem-price-row,
    .rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box,
    .rm-mem-card--svt .rm-mem-price-box {
        margin-top: 10px;
        padding-top: 10px;
        min-height: 0 !important;
        border-top: 1px solid var(--rm-mem-card-divider, var(--rm-border));
    }

    .rm-mem-cards-grid--pricing .rm-mem-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 0;
        min-height: 0 !important;
    }

    [dir="rtl"] .rm-mem-cards-grid--pricing .rm-mem-price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .rm-mem-cards-grid--pricing .rm-mem-price-box,
    [dir="rtl"] .rm-mem-cards-grid--pricing .rm-mem-price-box {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-billing-seg,
    [dir="rtl"] .rm-mem-cards-grid--pricing .rm-mem-billing-seg {
        width: 100%;
        align-self: stretch;
        margin-inline-start: 0 !important;
    }

    .rm-mem-cards-grid--pricing .rm-mem-billing-seg .rm-mem-seg-btn {
        flex: 1 1 0;
    }

    .rm-mem-cards-grid--pricing .rm-billing-price,
    .rm-mem-cards-grid--pricing .rm-mem-price-amount {
        font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem)) !important;
        font-weight: 700 !important;
    }

    .rm-mem-cards-grid--pricing .rm-mem-price--quote .rm-mem-price-amount,
    .rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount {
        font-size: var(--rm-mem-quote-size) !important;
        font-weight: var(--rm-mem-quote-weight, 650) !important;
        line-height: 1.45 !important;
        color: var(--rm-text-primary);
    }

    .rm-mem-cards-grid--pricing .rm-mem-price-row + .rm-mem-seats,
    .rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box + .rm-mem-seats {
        margin-top: 10px;
        margin-bottom: 6px;
    }

    .rm-mem-cards-grid--pricing .rm-mem-price-row + .rm-mem-features-list,
    .rm-mem-cards-grid--pricing .rm-mem-price-row + .rm-mem-features-list--compact,
    .rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box + .rm-mem-features-list,
    .rm-mem-card--svt .rm-mem-price-box + .rm-mem-features-list {
        margin-top: 10px;
        padding-top: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-seats + .rm-mem-features-list,
    .rm-mem-cards-grid--pricing .rm-mem-seats + .rm-mem-features-list--compact {
        margin-top: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-body > .rm-mem-price-box:has(+ .rm-mem-features-list),
    .rm-mem-card--svt .rm-mem-price-box:has(+ .rm-mem-features-list) {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-seats {
        min-height: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-features-list,
    .rm-mem-cards-grid--pricing .rm-mem-features-list--compact,
    .rm-mem-card--svt .rm-mem-features-list--compact {
        flex: 0 0 auto !important;
        min-height: 0 !important;
        margin-bottom: 10px;
        gap: 7px;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-footer,
    .rm-mem-card--svt .rm-mem-card-footer {
        margin-top: 0 !important;
        padding-top: 14px;
        gap: 10px;
        border-top: 1px solid var(--rm-mem-card-divider, var(--rm-border));
        flex-shrink: 0;
    }

    #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-compare-link,
    #rm-membership-wrapper .rm-mem-cards-grid--pricing a.rm-mem-compare-link,
    #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-compare-link,
    #rm-membership-wrapper .rm-mem-cards-grid--svt a.rm-mem-compare-link {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        font-size: clamp(7.5px, 2.35vw, 9px) !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        gap: 3px !important;
    }

    #rm-membership-wrapper .rm-mem-compare-text {
        white-space: nowrap !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    #rm-membership-wrapper .rm-mem-compare-arrow {
        flex: 0 0 auto !important;
    }

    #rm-membership-wrapper .rm-mem-compare-link .rm-mem-compare-arrow svg {
        width: 9px;
        height: 9px;
    }

    .rm-mem-section-head {
        margin-bottom: 18px;
    }

    .rm-mem-comparison-stack {
        gap: 12px;
    }

    .rm-comparison-stack-category {
        border-radius: 10px;
    }
}

/* iPad / Tablet */
@media (max-width: 1024px) {
    #rm-membership-wrapper {
        --rm-mem-sect-pad: 56px;
    }

    #rm-membership-wrapper .rm-mem-btn,
    #rm-membership-wrapper button.rm-mem-btn,
    #rm-membership-wrapper a.rm-mem-btn {
        padding: 9px 14px;
        font-size: 12px;
        font-weight: 600;
    }

    .rm-mem-public-strip-label {
        font-size: 12px;
    }

    .rm-mem-public-strip-price {
        font-size: 12px;
        font-weight: 600;
    }

    .rm-mem-public-strip-note {
        font-size: 11px;
    }

    .rm-mem-public-strip .rm-mem-btn,
    .rm-mem-public-strip .rm-mem-btn--mini {
        padding: 6px 12px;
        font-size: 11px;
    }

    .rm-mem-plan-tabs,
    .rm-mem-svt-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        overflow: visible;
        gap: 4px;
    }

    .rm-mem-plan-tab,
    .rm-mem-svt-tab {
        flex: unset;
        min-width: 0;
        padding: 9px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .rm-mem-public-strip {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 14px 18px;
        gap: 12px 16px;
    }

    .rm-mem-public-strip .rm-mem-btn,
    .rm-mem-public-strip .rm-mem-btn--mini {
        width: auto;
        margin-inline-start: auto;
        align-self: center;
    }

    .rm-mem-svt-detail {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 16px;
        gap: 12px;
    }

    .rm-mem-svt-detail-aside {
        min-width: 0;
        padding-inline-start: 0;
        border-inline-start: 0;
        border-top: 1px solid var(--rm-border);
        padding-top: 12px;
    }

    .rm-mem-svt-price-block {
        text-align: start;
    }

    .rm-mem-who-for-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rm-mem-who-for-accordion {
        grid-template-columns: 1fr;
    }

    .rm-mem-acc-item:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .rm-mem-cta-inner {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .rm-mem-cta-actions {
        width: 100%;
        min-width: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .rm-mem-cta-actions .rm-mem-btn {
        flex: 1 1 180px;
        min-width: 0;
    }

    .rm-mem-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .rm-comparison-desktop {
        display: block;
    }

    .rm-comparison-stack {
        display: none !important;
    }

    .rm-comparison-table--wide {
        min-width: 640px;
    }

    .rm-comparison-header > div,
    .rm-comparison-feature,
    .rm-comparison-cell {
        font-size: 12px;
        padding: 10px 8px;
    }

    .rm-mem-audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rm-mem-audience-item:nth-child(3n) {
        border-right: none;
    }

    [dir="rtl"] .rm-mem-audience-item:nth-child(3n) {
        border-left: none;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    #rm-membership-wrapper {
        --rm-mem-sect-pad: 40px;
    }

    .rm-mem-plans {
        padding-top: 24px;
    }

    .rm-mem-section-head {
        margin-bottom: 28px;
    }

    .rm-mem-section-head h2 {
        font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    }

    .rm-mem-hero {
        padding-block: 40px 24px;
    }

    .rm-mem-hero-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    .rm-mem-cards-grid:not(.rm-mem-cards-grid--pricing):not(.rm-mem-cards-grid--svt),
    .rm-mem-cards-grid--single {
        grid-template-columns: 1fr;
        max-width: none;
        margin-inline: 0;
        gap: 16px;
    }

    .rm-mem-plans {
        padding-top: 20px;
    }

    .rm-mem-section-head {
        margin-bottom: 22px;
    }

    .rm-mem-public-strip {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px 10px;
    }

    .rm-mem-public-strip-copy {
        flex: 1 1 180px;
        min-width: 0;
        gap: 2px;
    }

    .rm-mem-public-strip-label {
        font-size: 11px;
    }

    .rm-mem-public-strip-price {
        font-size: 11px;
        font-weight: 600;
    }

    .rm-mem-public-strip-note {
        font-size: 10px;
        max-width: none;
        flex-basis: 100%;
        line-height: 1.4;
    }

    .rm-mem-public-strip .rm-mem-btn,
    .rm-mem-public-strip .rm-mem-btn--mini {
        width: auto;
        margin-inline-start: auto;
        flex-shrink: 0;
        align-self: center;
        padding: 5px 10px;
        font-size: 10px;
        font-weight: 600;
    }

    .rm-mem-plan-tabs,
    .rm-mem-svt-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: none;
        overflow: visible;
        gap: 4px;
        padding: 4px;
    }

    .rm-mem-plan-tab,
    .rm-mem-svt-tab {
        flex: unset;
        scroll-snap-align: unset;
        padding: 8px 10px;
        font-size: 12px;
        min-width: 0;
        white-space: nowrap;
    }

    .rm-mem-card {
        padding: 20px 16px;
    }

    .rm-mem-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .rm-mem-billing-seg {
        align-self: flex-start;
        width: auto;
        max-width: 100%;
        margin-inline-start: 0 !important;
    }

    .rm-mem-seg-btn {
        flex: 0 0 auto;
    }

    .rm-mem-svt-detail {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        gap: 16px;
    }

    .rm-mem-svt-detail-aside {
        padding-inline-start: 0;
        border-inline-start: 0;
        border-top: 1px solid var(--rm-border);
        padding-top: 14px;
    }

    .rm-mem-svt-price-block {
        text-align: start;
    }

    .rm-mem-cta-inner {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        gap: 20px;
    }

    .rm-mem-cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    .rm-mem-cta-actions .rm-mem-btn {
        flex: 1 1 auto;
        width: 100%;
        padding: 9px 14px;
        font-size: 12px;
    }

    #rm-membership-wrapper .rm-mem-card .rm-mem-btn,
    #rm-membership-wrapper .rm-mem-card button.rm-mem-btn,
    #rm-membership-wrapper .rm-mem-card a.rm-mem-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .rm-mem-who-for-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rm-mem-who-for-accordion {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rm-mem-acc-item:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .rm-mem-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rm-mem-audience-item:nth-child(3n) {
        border-right: 1px solid rgba(255,255,255,0.08);
    }

    .rm-mem-audience-item:nth-child(2n) {
        border-right: none;
    }

    [dir="rtl"] .rm-mem-audience-item:nth-child(3n) {
        border-left: 1px solid rgba(255,255,255,0.08);
    }

    [dir="rtl"] .rm-mem-audience-item:nth-child(2n) {
        border-left: none;
    }

    .rm-mem-trust-strip--badge,
    .rm-mem-trust-strip--payments {
        gap: 8px;
        padding: 10px 14px;
        font-size: 11px;
        margin-top: 12px;
    }

    .rm-mem-trust-methods {
        font-size: 10px;
    }

    .rm-mem-trust-lock svg {
        width: 11px;
        height: 11px;
    }
}

/* Small mobile */
@media (max-width: 500px) {
    #rm-membership-wrapper {
        --rm-mem-sect-pad: 32px;
    }

    .rm-mem-container {
        padding-inline: 16px;
    }

    .rm-mem-plan-tabs,
    .rm-mem-svt-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        padding: 4px;
        width: 100%;
    }

    .rm-mem-plan-tab,
    .rm-mem-svt-tab {
        padding: 7px 5px;
        font-size: 10px;
        line-height: 1.2;
        white-space: normal;
        min-width: 0;
    }

    .rm-mem-card {
        padding: 18px 14px;
    }

    .rm-mem-cards-grid--pricing,
    .rm-mem-cards-grid--svt {
        gap: 10px;
    }

    .rm-mem-cards-grid--pricing > .rm-mem-card,
    .rm-mem-cards-grid--svt > .rm-mem-card {
        padding: 14px 12px 12px;
        height: auto !important;
        min-height: 0 !important;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-footer {
        margin-top: 8px !important;
    }

    .rm-mem-cards-grid--pricing .rm-mem-plan-name {
        font-size: 14px;
    }

    .rm-mem-cards-grid--pricing .rm-mem-ribbon--popular {
        font-size: 9px;
        padding: 3px 8px;
    }

    .rm-mem-btn {
        padding: 8px 12px;
        font-size: 11px;
        font-weight: 600;
    }

    .rm-mem-card--svt .rm-mem-price-amount {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
    }

    .rm-mem-public-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .rm-mem-public-strip .rm-mem-btn,
    .rm-mem-public-strip .rm-mem-btn--mini {
        width: fit-content;
        min-width: 0;
        margin-inline-start: 0;
        align-self: flex-start;
        padding: 5px 10px;
        font-size: 10px;
    }

    .rm-mem-price-amount,
    .rm-billing-price {
        font-size: 1.125rem;
    }

    .rm-mem-acc-trigger {
        padding: 14px 16px;
        font-size: var(--rm-type-body-sm);
    }

    .rm-mem-acc-content {
        padding: 0 16px 16px;
    }

    .rm-mem-hero-title {
        font-size: 1.5rem;
    }

    .rm-mem-section-head h2 {
        font-size: 1.35rem;
    }

    .rm-mem-cta-inner {
        padding: 18px 16px;
    }

    .rm-mem-cta-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .rm-mem-audience-grid {
        grid-template-columns: 1fr;
        border-top: none;
        border-bottom: none;
    }

    .rm-mem-audience-item,
    .rm-mem-audience-item:nth-child(2n),
    .rm-mem-audience-item:nth-child(3n) {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 24px 16px;
    }

    [dir="rtl"] .rm-mem-audience-item,
    [dir="rtl"] .rm-mem-audience-item:nth-child(2n),
    [dir="rtl"] .rm-mem-audience-item:nth-child(3n) {
        border-left: none;
    }

    .rm-mem-audience-item:last-child {
        border-bottom: none;
    }

    .rm-mem-trust-strip--badge {
        gap: 6px;
        padding: 7px 12px;
        font-size: 10px;
        margin-top: 16px;
    }
}

/* RTL adjustments */
[dir="rtl"] #rm-membership-wrapper {
    text-align: right;
}

[dir="rtl"] .rm-mem-section-head--center {
    text-align: center;
}

[dir="rtl"] .rm-mem-comparison-feature,
[dir="rtl"] .rm-comparison-header th:first-child,
[dir="rtl"] .rm-comparison-stack-head th:first-child {
    text-align: start;
}

/* Arabic membership — match English typography in pricing cards */
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-plan-name,
[dir="rtl"] #rm-membership-wrapper .rm-mem-card--svt .rm-mem-plan-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-card:not(.rm-mem-card--svt) .rm-billing-price,
[dir="rtl"] #rm-membership-wrapper .rm-mem-card:not(.rm-mem-card--svt) .rm-mem-price-amount {
    font-size: clamp(1.1rem, 1.2vw, 1.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-billing-price,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-price-amount {
    font-size: var(--rm-mem-price-size, clamp(1.08rem, 1.18vw, 1.22rem)) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-features-list li,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-features-list--compact li {
    font-size: var(--rm-mem-feature-size, 13px) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-seats-copy {
    font-size: 12px !important;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-seg-btn {
    min-width: 0;
    padding: 7px 8px;
    font-size: 10px;
    font-weight: 700;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size) !important;
    font-weight: var(--rm-mem-quote-weight, 700) !important;
    line-height: 1.45 !important;
    color: var(--rm-text-primary) !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size-svt) !important;
    font-weight: var(--rm-mem-quote-weight-svt, 700) !important;
    line-height: 1.45 !important;
    color: var(--rm-text-primary) !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-card--svt .rm-mem-features-list--compact li {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-price,
[dir="rtl"] #rm-membership-wrapper .rm-mem-price--static {
    flex-wrap: wrap;
    min-width: 0;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-ribbon,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-ribbon--popular {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 2px 8px !important;
}

/* Arabic contact buttons — match English outline style */
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline {
    display: inline-flex !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    color: var(--rm-text-primary) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline:hover,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline:hover,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline:hover,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline:hover,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline:focus-visible,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline:focus-visible,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline:focus-visible,
[dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline:focus-visible {
    border-color: #c9cdd3 !important;
    background: #f8f9fa !important;
    color: var(--rm-text-primary) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline {
    background: transparent !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline:hover,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline:hover,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline:hover,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline:hover,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-btn--outline:focus-visible,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-btn--outline:focus-visible,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--pricing button.rm-mem-btn--outline:focus-visible,
html[data-rm-theme="dark"] [dir="rtl"] #rm-membership-wrapper .rm-mem-cards-grid--svt button.rm-mem-btn--outline:focus-visible {
    background: var(--rm-dm-surface-2) !important;
    border-color: #4a4d52 !important;
    color: var(--rm-dm-heading) !important;
}



#rm-about-wrapper {
    --rm-orange: #faa324;
    --rm-dark: #1f1e1f;
    --rm-bg-gray: #f9fafb;
    --rm-section-diff: #f4f4f5;
    --rm-border: #e5e7eb;
    --rm-text-main: #1f1e1f;
    --rm-text-muted: #4b5563;
    --rm-font: "Arimo", Arial, sans-serif;
    --sect-pad-desk: 80px;
    --sect-pad-tab: 50px;
    --sect-pad-mob: 40px;
    font-family: var(--rm-font);
    color: var(--rm-text-main);
    line-height: 1.6;
    direction: inherit;
    text-align: start;
}

#rm-about-wrapper[dir="rtl"] {
    font-family: "Cairo", sans-serif;
}

#rm-about-wrapper h1,
#rm-about-wrapper h2,
#rm-about-wrapper h3,
#rm-about-wrapper h4 {
    margin-top: 0;
    font-weight: 800;
    line-height: 1.2;
}

#rm-about-wrapper ul {
    margin: 0;
    padding-inline-start: 20px;
}

.rm-about-container {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 20px;
}

.rm-about-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rm-orange);
    display: block;
    margin-bottom: 12px;
}

#rm-about-wrapper[dir="rtl"] .rm-about-label {
    letter-spacing: 0;
}

.rm-about-label-accent {
    color: var(--rm-orange);
}

.rm-about-centered-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.rm-about-intro,
.rm-about-def,
.rm-about-problem,
.rm-about-vm,
.rm-about-values,
.rm-about-aud,
.rm-about-offer {
    padding: var(--sect-pad-desk) 0;
}

.rm-about-intro {
    background: var(--rm-dark);
    color: #fff;
}

.rm-about-intro-wrap {
    max-width: 900px;
}

.rm-about-intro h1 {
    font-size: 48px;
    color: #fff !important;
    margin-bottom: 25px;
}

.rm-about-intro-text {
    font-size: 19px;
    color: #e5e7eb;
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 300;
}

.rm-about-intro-text p {
    margin: 0 0 1.25em;
}

.rm-about-intro-text p:last-child {
    margin-bottom: 0;
}

.rm-about-intro-sub {
    font-size: 14px;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: inline-block;
}

.rm-about-def {
    background: #fff;
}

.rm-about-def-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 50px;
    align-items: center;
}

.rm-about-def-quote-box {
    margin: 20px 0;
    padding: 30px;
    border-inline-start: 5px solid var(--rm-orange);
    background: var(--rm-bg-gray);
    border-radius: 0 8px 8px 0;
}

#rm-about-wrapper[dir="rtl"] .rm-about-def-quote-box {
    border-radius: 8px 0 0 8px;
}

.rm-about-def-quote-text {
    font-size: 20px;
    font-weight: 400;
    color: #111;
    font-style: italic;
    line-height: 1.6;
}

.rm-about-def-note {
    font-size: 16px;
    color: var(--rm-text-muted);
    margin-top: 20px;
}

.rm-about-lottie-area {
    display: flex;
    justify-content: center;
}

.rm-about-lottie-player {
    width: 100%;
    max-width: 350px;
}

.rm-about-problem {
    background: var(--rm-section-diff);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.rm-about-prob-intro {
    margin-bottom: 40px;
    max-width: 800px;
}

.rm-about-prob-intro p {
    font-size: 18px;
    color: #374151;
    line-height: 1.7;
}

.rm-about-impact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.rm-about-impact-clean {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.rm-about-impact-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    fill: var(--rm-dark);
}

.rm-about-impact-clean h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--rm-dark);
}

.rm-about-prob-mid-text {
    max-width: 900px;
    margin-bottom: 40px;
    padding-inline-start: 20px;
    border-inline-start: 3px solid #d1d5db;
}

.rm-about-prob-mid-text p {
    font-size: 16px;
    color: #4b5563;
    font-style: italic;
}

.rm-about-gap-clean {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-inline-start: 5px solid var(--rm-orange);
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.rm-about-gap-clean h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--rm-dark);
}

.rm-about-gap-clean p {
    font-size: 16px;
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}

.rm-about-vm {
    background: #fff;
}

.rm-about-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rm-about-vm-card {
    background: #fff;
    padding: 50px 40px;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    height: 100%;
    position: relative;
    top: 0;
}

.rm-about-vm-icon {
    width: 44px;
    height: 44px;
    fill: var(--rm-dark);
    margin-bottom: 25px;
}

.rm-about-vm-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.rm-about-vm-card p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.9;
}

.rm-about-vm-list {
    padding-inline-start: 20px !important;
    margin-top: 15px !important;
}

.rm-about-vm-list li {
    margin-bottom: 10px;
    color: #4b5563;
}

.rm-about-values {
    background: var(--rm-dark);
    color: #fff;
}

.rm-about-values h2 {
    color: #fff !important;
}

.rm-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.rm-about-val-card {
    background: #252525;
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid #333;
}

.rm-about-val-card h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
}

.rm-about-val-card p {
    color: #ccc;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.rm-about-aud {
    background: #fff;
}

.rm-about-aud-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rm-about-aud-card {
    background: var(--rm-bg-gray);
    padding: 35px 25px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rm-about-aud-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    fill: var(--rm-dark);
}

.rm-about-aud-title {
    font-weight: 700;
    color: var(--rm-dark);
    font-size: 17px;
    margin-bottom: 10px;
}

.rm-about-aud-desc {
    font-size: 14px;
    color: #6b7280;
}

.rm-about-offer {
    background: var(--rm-bg-gray);
}

.rm-about-offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rm-about-offer-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-inline-start: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rm-about-offer-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--rm-dark);
    font-weight: 800;
}

.rm-about-offer-desc {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 20px;
    flex-grow: 1;
}

.rm-about-offer-full {
    margin-top: 30px;
}

.rm-about-offer-full-card {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
}

.rm-about-offer-full-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--rm-dark);
    font-weight: 800;
}

.rm-about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.rm-about-offer-full-card .rm-about-tags {
    justify-content: center;
}

.rm-about-tag {
    background: #f3f4f6;
    color: #333;
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

#rm-team-wrapper {
    --orange: #faa324;
    --orange-dim: #fef3dc;
    --dark: #1f1e1f;
    --muted: #6b7280;
    --border: #e5e7eb;
    color: var(--dark);
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    box-sizing: border-box;
    font-family: "Arimo", sans-serif;
}

[dir="rtl"] #rm-team-wrapper {
    font-family: "Cairo", sans-serif;
}

.rm-ourteam-header {
    text-align: center;
    margin-bottom: 36px;
}

.rm-ourteam-header h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.rm-ourteam-title-accent {
    width: 72px;
    height: 4px;
    background: var(--orange);
    border-radius: 999px;
    margin: 0 auto 14px;
}

.rm-ourteam-header p {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
}

.rm-ourteam-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 32px 0 18px;
}

.rm-ourteam-divider-spaced {
    margin-top: 36px;
}

.rm-ourteam-divider::before,
.rm-ourteam-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.rm-ourteam-divider span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    padding: 0 4px;
    white-space: nowrap;
}

#rm-team-wrapper[dir="rtl"] .rm-ourteam-divider span {
    letter-spacing: 0;
}

.rm-ourteam-leadership-row {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.rm-ourteam-leader-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 2px solid var(--orange);
    border-radius: 12px;
    padding: 22px 28px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.rm-ourteam-leader-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--orange-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rm-ourteam-leader-avatar img,
.rm-ourteam-analyst-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-ourteam-leader-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.2;
    color: var(--dark);
}

.rm-ourteam-leader-role,
.rm-ourteam-analyst-role {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.rm-ourteam-leader-role {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.rm-ourteam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 640px;
    margin: 0 auto 44px;
}

.rm-ourteam-analyst-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.rm-ourteam-analyst-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f3f4f6;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.rm-ourteam-analyst-name {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--dark);
}

.rm-ourteam-london {
    text-align: center;
    padding: 28px 24px;
    margin: 0 auto;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    max-width: 640px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.rm-ourteam-london p {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
    line-height: 1.9;
}

.rm-ourteam-london a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
}

:root {
    --accent: #faa324;
    --accent-hover: #e18d1c;
    --dark: #1f1e1f;
    --light: #f8f9fb;
    --muted: #e9e9ef;
    --meta: #7a7a8c;
    --surface: #fff;
    --border-light: #f1f1f5;
    --text-primary: #1f1e1f;
    --text-secondary: #5a5a6c;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(31, 30, 31, 0.06), 0 2px 4px -1px rgba(31, 30, 31, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(31, 30, 31, 0.08), 0 4px 6px -2px rgba(31, 30, 31, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(31, 30, 31, 0.1), 0 10px 10px -5px rgba(31, 30, 31, 0.04);
    --rm-qr-z: 2147483645;
}

.rm-archive-wrap.rm-archive-feed {
    max-width: 1248px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.rm-archive-wrap.rm-archive-alerts.rm-archive-feed {
    gap: 36px;
}

.rm-archive-main {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

.rm-alerts-filters {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-bottom: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 60;
}

.rm-alerts-filters-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 auto;
    align-items: stretch;
}

.rm-alerts-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    justify-content: flex-end;
}

.rm-alerts-filter-field span {
    font-size: 0.76rem;
    font-weight: 800;
    color: #596170;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[dir="rtl"] .rm-alerts-filter-field span {
    letter-spacing: 0;
    text-transform: none;
}

.rm-alerts-select-native {
    position: absolute; 
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rm-alerts-select {
    position: relative;
    z-index: 50;
    min-width: 0;
}

.rm-alerts-select.is-open {
    z-index: 500;
}

.rm-alerts-select-btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    border: 1px solid #d7dce4;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    color: #1f1e1f;
    padding: 0 34px 0 12px;
    text-align: left;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

[dir="rtl"] .rm-alerts-select-btn {
    text-align: right;
    padding: 0 14px 0 42px;
}

.rm-alerts-select-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #737b88;
    border-bottom: 2px solid #737b88;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
}

[dir="rtl"] .rm-alerts-select-btn::after {
    right: auto;
    left: 16px;
}

.rm-alerts-select-btn:hover {
    border-color: rgba(250, 163, 36, 0.95);
    transform: none;
}

.rm-alerts-select.is-open .rm-alerts-select-btn,
.rm-alerts-select-btn:focus {
    outline: none;
    border-color: rgba(250, 163, 36, 0.95);
    box-shadow: none;
    transform: none;
}

.rm-alerts-select.is-open .rm-alerts-select-btn::after {
    transform: translateY(-35%) rotate(225deg);
}

.rm-alerts-select-label.is-placeholder {
    color: #7d8593;
    font-weight: 500;
}

.rm-alerts-select-label {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    line-height: 1.3;
    text-align: start;
}

.rm-alerts-select-label-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

[dir="rtl"] .rm-alerts-select-label {
    line-height: 1.35;
    text-align: start;
}

.rm-alerts-filters,
.rm-alerts-filters-grid,
.rm-alerts-filter-field {
    overflow: visible;
}

.rm-alerts-select-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    min-width: 100%;
    width: max-content;
    max-width: min(420px, calc(100vw - 40px));
    padding: 0;
    background: #ffffff;
    border: 1px solid rgba(31, 30, 31, 0.08);
    border-radius: 16px;
    box-shadow: 0 24px 46px rgba(17, 21, 27, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s ease;
    z-index: 400;
    pointer-events: none;
    overflow: hidden;
}

.rm-alerts-select-panel-scroll {
    padding: 8px;
    max-height: min(320px, 52vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 163, 36, 0.45) transparent;
}

.rm-alerts-select-panel-scroll::-webkit-scrollbar {
    width: 4px;
}

.rm-alerts-select-panel-scroll::-webkit-scrollbar-track {
    background: transparent;
    margin-block: 10px;
}

.rm-alerts-select-panel-scroll::-webkit-scrollbar-thumb {
    background: rgba(250, 163, 36, 0.42);
    border-radius: 999px;
}

.rm-alerts-select-panel.is-drop-up {
    top: auto;
    bottom: calc(100% + 10px);
    transform: translateY(-4px);
}

.rm-alerts-select.is-open .rm-alerts-select-panel.is-drop-up {
    transform: translateY(0);
}

[dir="rtl"] .rm-alerts-select-panel {
    left: auto;
    right: 0;
}

.rm-alerts-select.is-open .rm-alerts-select-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.rm-alerts-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #1f1e1f;
    padding: 11px 12px;
    text-align: left;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

[dir="rtl"] .rm-alerts-select-option {
    text-align: right;
}

.rm-alerts-select-option:hover,
.rm-alerts-select-option:focus {
    outline: none;
    background: #f5f7fa;
    color: #111827;
}

.rm-alerts-select-option.is-active {
    background: linear-gradient(180deg, rgba(250, 163, 36, 0.18) 0%, rgba(250, 163, 36, 0.1) 100%);
    color: #8b5a00;
    font-weight: 700;
}

.rm-alerts-is-loading .rm-archive-main {
    opacity: 0.72;
    transition: opacity 0.18s ease;
}

.rm-alerts-is-loading .rm-alerts-filters {
    pointer-events: none;
}

.rm-archive-card-cat.rm-alert-cat-has-severity,
.rm-archive-feat-cat.rm-alert-cat-has-severity,
.rm-single-badge.rm-alert-cat-has-severity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.rm-alert-cat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--rm-severity-color, #9ca3af);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.rm-alert-cat-severity--limited { --rm-severity-color: #3d9f5f; }
.rm-alert-cat-severity--moderate { --rm-severity-color: #c9a227; }
.rm-alert-cat-severity--noticeable { --rm-severity-color: #d9782f; }
.rm-alert-cat-severity--severe { --rm-severity-color: #c93c3c; }

.rm-alerts-impact-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    background: var(--rm-impact-color, #9ca3af);
}

.rm-alerts-impact-dot--limited { --rm-impact-color: #22c55e; }
.rm-alerts-impact-dot--moderate { --rm-impact-color: #eab308; }
.rm-alerts-impact-dot--noticeable { --rm-impact-color: #fb923c; }
.rm-alerts-impact-dot--severe { --rm-impact-color: #ef4444; }

.rm-alerts-select-option .rm-alerts-impact-dot {
    width: 10px;
    height: 10px;
}

.rm-archive-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    justify-content: flex-start;
}

.rm-archive-card-actions-featured {
    margin-top: 24px;
}

.rm-archive-card-btn {
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(24, 23, 28, 0.04);
    font-family: inherit;
}

.rm-archive-card-btn-quick {
    background: var(--dark);
    color: #fff;
    border: 1.2px solid var(--dark);
    font-weight: 400;
}

.rm-archive-card-btn-full {
    background: #fff;
    color: var(--dark);
    border: 1.2px solid var(--muted);
    font-weight: 400;
}

.rm-archive-card-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.rm-archive-feat-meta-item svg,
.rm-archive-card-date svg,
.featured-alert-meta svg {
    width: 16px;
    height: 16px;
    color: #000;
    opacity: 1;
    flex-shrink: 0;
    display: block;
}

.rm-archive-card-btn-full svg {
    margin-left: 4px;
}

[dir="rtl"] .rm-archive-card-btn-full svg {
    margin-left: 0;
    margin-right: 4px;
    transform: scaleX(-1);
}

.rm-archive-feat {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    margin-bottom: 40px;
}

.rm-archive-feat-img {
    position: relative;
    height: 380px;
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg, #f5f5f7 0%, #e9e9ef 100%);
}

.rm-archive-feat-img img,
.rm-archive-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-archive-feat-img img {
    transition: transform 0.65s ease;
}

.rm-archive-feat:hover .rm-archive-feat-img img {
    transform: scale(1.12);
}

.rm-archive-placeholder {
    width: 100%;
    height: 100%;
}

.rm-archive-placeholder-card {
    background: #eee;
}

.rm-archive-feat-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.813rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 20px rgba(250, 163, 36, 0.35);
}

[dir="rtl"] .rm-archive-feat-badge {
    left: auto;
    right: 24px;
}

.rm-archive-feat-content {
    padding: 36px;
}

.rm-archive-feat-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rm-archive-feat-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--meta);
    font-weight: 500;
}

.rm-archive-feat-cat,
.rm-archive-card-cat {
    background: var(--dark);
    color: #fff;
}

.rm-archive-feat-cat {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.813rem;
    font-weight: 700;
}

.rm-archive-feat-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-transform: none;
}

/* =========================================
   7. ARCHIVE TEMPLATE LAYOUT AND RTL LINKS
   ========================================= */
.rm-archive-feat-title a,
.rm-archive-card-title a,
.rm-archive-alerts .featured-post-link {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.5s ease;
    padding-bottom: 2px;
}

/* Featured (large) post: 3px underline */
.rm-archive-feat-title a {
    background-size: 0 3px;
}

/* Sidebar + grid cards: 2px underline */
.rm-archive-card-title a,
.rm-archive-alerts .featured-post-link {
    background-size: 0 2px;
}

[dir="rtl"] .rm-archive-feat-title a {
    background-position: 100% calc(100% - 2px);
    padding-bottom: 0;
    letter-spacing: 0;
}

[dir="rtl"] .rm-archive-card-title a,
[dir="rtl"] .rm-archive-alerts .featured-post-link {
    background-position: 100% 100%;
    letter-spacing: 0;
}

.rm-archive-feat-excerpt {
    font-size: 1.063rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.rm-archive-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
}

.rm-archive-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 1px 6px rgba(24, 23, 28, 0.04);
    border: 1px solid var(--muted);
    overflow: hidden;
}

.rm-archive-card-img {
    width: 100%;
    height: 310px;
    background: #f4f4f4;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rm-archive-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s ease;
}

.rm-archive-card:hover .rm-archive-card-img img {
    transform: scale(1.12);
}

.rm-archive-card-body {
    flex: 1;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
}

.rm-archive-card-meta {
    font-size: 0.91rem;
    color: var(--meta);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rm-archive-card-cat {
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 0.89rem;
    font-weight: 500;
}

.rm-archive-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    font-size: 0.93rem;
    color: #44475a;
}

.rm-archive-card-title {
    font-size: 1.09rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--dark);
    line-height: 1.5;
    text-transform: none;
}

.rm-archive-card-excerpt {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
}

.rm-archive-sidebar {
    width: 400px;
    flex-shrink: 0;
    position: sticky;
    top: 108px;
    z-index: 1;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rm-archive-sb-card,
.rm-archive-alerts .sidebar-quick-insights,
.rm-archive-alerts .sidebar-featured-alert,
.rm-archive-alerts .premium-section {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.newsletter-section {
    padding: 32px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}

.newsletter-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text-primary);
}

.newsletter-section p {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form label {
    display: none;
}

.newsletter-form input:not([type="submit"]) {
    width: 100%;
    padding: 14px 16px;
    border-radius: 11px;
    border: 1.5px solid var(--muted);
    background: var(--light);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 500;
}

.newsletter-form button,
.newsletter-form input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    text-align: center;
    justify-content: center;
}

.rm-archive-load-more {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 40px;
}

.rm-archive-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    color: var(--text-primary);
    border: 1.5px solid var(--muted);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.rm-archive-load-btn-icon {
    width: 18px;
    height: 18px;
}

[dir="rtl"] .rm-archive-load-btn-icon {
    transform: scaleX(-1);
}

.rm-archive-alerts .sidebar-featured-alert,
.sidebar-merged-context {
    border-top: 5px solid var(--accent) !important;
}

.rm-archive-alerts .featured-alert-header {
    padding: 28px 28px 16px;
    border-bottom: 1px solid var(--border-light);
}

.rm-archive-alerts .featured-alert-title,
.quick-insights-header,
.sidebar-about-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rm-archive-alerts .featured-alert-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
}

.rm-archive-alerts .featured-post-link {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: none;
}

.rm-archive-block-spacer {
    margin-top: 16px;
    margin-bottom: 12px;
}

.rm-archive-alerts .featured-alert-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.875rem;
    color: #000;
    margin-top: 12px;
}

.rm-archive-alerts .featured-alert-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.rm-archive-alerts .featured-alert-body {
    padding: 20px 28px 28px;
}

.rm-archive-alerts .featured-alert-excerpt {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.rm-archive-alerts .featured-alert-btn,
.premium-cta-link {
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark);
    padding-bottom: 2px;
}

.rm-archive-alerts .featured-alert-btn {
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--light);
    border: 1.5px solid var(--muted);
    justify-content: center;
}

.rm-archive-alerts .sidebar-quick-insights {
    padding: 28px;
}

.rm-archive-alerts .premium-section {
    padding: 32px;
}

.quick-insights-header {
    margin-bottom: 20px;
}

.quick-insights-header h3,
.sidebar-about-header h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.quick-insights-header svg,
.sidebar-about-header svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.rm-archive-alerts .quick-insight-item {
    padding: 18px;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 14px;
    border-left: 4px solid var(--accent);
    cursor: default;
}

[dir="rtl"] .rm-archive-alerts .quick-insight-item {
    border-left: none;
    border-right: 4px solid var(--accent);
}

.rm-archive-alerts .quick-insight-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--meta);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rm-archive-alerts .quick-insight-text {
    font-size: 0.938rem;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
}

.rm-archive-alerts .premium-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
}


.rm-archive-wrap.rm-archive-feed .rm-archive-card-btn {
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-quick {
    background: var(--dark) !important;
    color: #fff !important;
    border: 1.2px solid var(--dark) !important;
    font-weight: 400 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-full {
    background: #fff !important;
    color: var(--dark) !important;
    border: 1.2px solid var(--muted) !important;
    font-weight: 400 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-btn svg,
.rm-archive-wrap.rm-archive-feed .rm-archive-feat-meta-item svg,
.rm-archive-wrap.rm-archive-feed .rm-archive-card-date svg,
.rm-archive-wrap.rm-archive-feed .featured-alert-meta svg,
.rm-archive-wrap.rm-archive-feed .quick-insights-header svg,
.rm-archive-wrap.rm-archive-feed .sidebar-about-header svg,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-features li svg,
.rm-archive-wrap.rm-archive-feed .upsell-list li svg,
.rm-archive-wrap.rm-archive-feed .premium-cta-link svg,
.rm-archive-wrap.rm-archive-feed .featured-alert-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    flex-shrink: 0 !important;
}

.rm-archive-wrap.rm-archive-feed .quick-insights-header svg,
.rm-archive-wrap.rm-archive-feed .sidebar-about-header svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    color: var(--accent) !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-sidebar-header-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex: 0 0 24px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    color: var(--accent) !important;
    overflow: hidden !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-sidebar-header-text {
    margin: 0 !important;
    font-size: 1.125rem !important;
    line-height: 1.2 !important;
    color: var(--dark) !important;
    font-weight: 800 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-meta-item svg,
.rm-archive-wrap.rm-archive-feed .rm-archive-card-date svg,
.rm-archive-wrap.rm-archive-feed .featured-alert-meta svg {
    color: #000 !important;
    opacity: 1 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-title {
    font-size: 1.875rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.02em !important;
    color: var(--text-primary) !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-title {
    font-size: 1.09rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: var(--dark) !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-title a,
.rm-archive-wrap.rm-archive-feed .rm-archive-card-title a,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-post-link,
.rm-archive-wrap.rm-archive-feed .featured-alert-btn,
.rm-archive-wrap.rm-archive-feed .premium-cta-link,
.rm-archive-wrap.rm-archive-feed .rm-qr-link {
    color: inherit !important;
    text-decoration: none !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-title a,
.rm-archive-wrap.rm-archive-feed .rm-archive-card-title a,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-post-link {
    transition: background-size 0.5s ease !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-excerpt {
    font-size: 1.063rem !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-excerpt {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    color: #444 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-meta-item,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-meta,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-meta span {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-date {
    font-size: 0.93rem !important;
    font-weight: 400 !important;
    color: #44475a !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-card-cat {
    font-size: 0.89rem !important;
    font-weight: 500 !important;
    color: #fff !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-feat-cat {
    font-size: 0.813rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-title,
.rm-archive-wrap.rm-archive-feed .quick-insights-header h3,
.rm-archive-wrap.rm-archive-feed .sidebar-about-header h3,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-section h3,
.rm-archive-wrap.rm-archive-feed .sidebar-upsell-header h3 {
    color: var(--dark) !important;
    font-weight: 800 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-title {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin: 0 0 16px !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-title h3 {
    margin: 0 !important;
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    color: var(--dark) !important;
    font-weight: 800 !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-title svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    color: var(--accent) !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    stroke-width: 2 !important;
}

.rm-archive-wrap.rm-archive-feed .quick-insights-header,
.rm-archive-wrap.rm-archive-feed .sidebar-about-header {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-post-link {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
}

.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-excerpt,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-section p,
.rm-archive-wrap.rm-archive-feed .quick-insight-text,
.rm-archive-wrap.rm-archive-feed .sidebar-about-content p,
.rm-archive-wrap.rm-archive-feed .sidebar-sub-text,
.rm-archive-wrap.rm-archive-feed .rm-archive-meta-note,
.rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-features li,
.rm-archive-wrap.rm-archive-feed .upsell-list li {
    color: var(--text-secondary) !important;
}

.rm-archive-wrap.rm-archive-feed .quick-insight-label,
.rm-archive-wrap.rm-archive-feed .upsell-badge {
    text-transform: uppercase !important;
    font-weight: 800 !important;
}

.rm-archive-wrap.rm-archive-feed .quick-insight-label {
    font-size: 0.75rem !important;
    color: var(--meta) !important;
}

.rm-archive-wrap.rm-archive-feed .quick-insight-text,
.rm-archive-wrap.rm-archive-feed .upsell-list li {
    font-size: 0.938rem !important;
    line-height: 1.6 !important;
}

.rm-archive-alerts .premium-section p,
.rm-archive-meta-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}

.rm-archive-meta-note {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--meta);
}

.rm-archive-alerts .premium-features,
.upsell-list {
    list-style: none;
    padding: 0;
}

.rm-archive-alerts .premium-features {
    margin: 0 0 20px;
}

.rm-archive-alerts .premium-features li,
.upsell-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.rm-archive-alerts .premium-features li {
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rm-archive-alerts .premium-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.sidebar-about-public {
    padding: 32px;
    border-bottom: 1px dashed var(--border-light);
    background: #fff;
}

.sidebar-about-header {
    margin-bottom: 20px;
}

.sidebar-about-header-reset {
    margin-bottom: 0;
}

.sidebar-about-content p {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary) !important;
}

.rm-archive-tight-copy {
    margin-bottom: 20px !important;
}

.sidebar-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.sidebar-sub-text {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
}

.sidebar-upsell-header {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    background: #fff;
}

.sidebar-upsell-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}

.upsell-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-upsell-body {
    padding: 28px;
    background: #fff;
}

.upsell-list {
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rm-archive-upsell-list-compact {
    margin-top: 20px;
    margin-bottom: 0;
}

.upsell-list li {
    align-items: center;
    justify-content: space-between;
    background: var(--light);
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--text-primary);
}

[dir="rtl"] .upsell-list li {
    border-left: none;
    border-right: 4px solid var(--accent);
}

.upsell-list li svg {
    width: 16px;
    height: 16px;
    color: var(--meta);
    opacity: 0.6;
}

.premium-cta-link {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    font-size: 0.95rem;
}

.rm-archive-alerts .premium-cta-link {
    margin-top: 0;
}

.rm-qr-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--rm-qr-z);
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 20px;
    overflow-y: auto;
}

.rm-qr-modal {
    width: min(96vw, 900px);
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: calc(var(--rm-qr-z) + 1);
    display: flex;
    flex-direction: column;
    transform: translateY(-24px);
    opacity: 0;
    overflow: hidden;
}

.rm-qr-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #faa324;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .rm-qr-close {
    right: auto;
    left: 16px;
}

.rm-qr-close svg {
    width: 24px;
    height: 24px;
}

.rm-qr-content {
    padding: 60px 48px 32px;
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.rm-qr-section {
    margin-bottom: 36px;
}

.rm-qr-section:last-of-type {
    margin-bottom: 0;
}

.rm-qr-heading {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--dark);
    line-height: 1.22;
    position: relative;
    display: inline-block;
    margin: 0 0 20px;
    padding-bottom: 8px;
    max-width: 100%;
}

.rm-qr-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: #faa324;
    border-radius: 2px;
}

[dir="rtl"] .rm-qr-heading::after {
    left: auto;
    right: 0;
}

.rm-qr-text {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
    overflow-wrap: anywhere;
}

.rm-qr-text p {
    margin: 0 0 1em;
}

.rm-qr-text p:last-child {
    margin-bottom: 0;
}

.rm-qr-text ul,
.rm-qr-text ol {
    margin: 0 0 1em;
    padding-inline-start: 1.5em;
}

.rm-qr-text li {
    margin-bottom: 8px;
}

[dir="rtl"] .rm-qr-text ul,
[dir="rtl"] .rm-qr-text ol {
    padding-inline-start: 0;
    padding-inline-end: 1.5em;
}

.rm-qr-footer {
    padding: 20px 48px;
    background: #fafbfc;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.rm-archive-quick-foot {
    justify-content: stretch;
}

[dir="rtl"] .rm-archive-quick-foot {
    justify-content: stretch;
}

.rm-archive-quick-nav {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rm-archive-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.rm-archive-quick-action--article {
    background: #ffffff;
    color: #111827 !important;
    border: 1px solid #d8dee8;
    margin-left: auto;
}

[dir="rtl"] .rm-archive-quick-action--article {
    margin-left: 0;
    margin-right: auto;
}

.rm-archive-quick-action svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.rm-archive-quick-action--pdf {
    background: #faa324;
    color: #fff !important;
    border: 1px solid #faa324;
}

.rm-archive-quick-action:hover {
    transform: translateY(-1px);
}

.rm-archive-quick-action--article:hover {
    background: #f8fafc;
    border-color: #111827;
    color: #111827 !important;
}

.rm-archive-quick-action--pdf:hover {
    background: #e89620;
    border-color: #e89620;
    color: #fff !important;
}

.rm-archive-quick-action--article:hover svg,
.rm-archive-quick-action--pdf:hover svg {
    transform: none;
}

[dir="rtl"] .rm-archive-quick-action--article:hover svg,
[dir="rtl"] .rm-archive-quick-action--pdf:hover svg {
    transform: scaleX(-1);
}

[dir="rtl"] .rm-archive-quick-action svg,
[dir="rtl"] .premium-cta-link svg,
[dir="rtl"] .rm-archive-alerts .featured-alert-btn svg {
    transform: scaleX(-1);
}

@media (max-width: 1024px) {
    .rm-archive-quick-foot {
        padding: 10px 12px;
    }

    .rm-archive-quick-nav,
    [dir="rtl"] .rm-archive-quick-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 8px;
    }

    .rm-archive-quick-action {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        min-height: 38px;
        padding: 8px 10px;
        gap: 6px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
        text-align: center;
        white-space: nowrap;
    }

    .rm-archive-quick-action svg {
        width: 15px;
        height: 15px;
    }

    .rm-archive-quick-action--article,
    [dir="rtl"] .rm-archive-quick-action--article {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .rm-archive-quick-action {
        font-size: 11px;
        padding: 8px 8px;
        gap: 5px;
    }

    .rm-archive-quick-action svg {
        width: 14px;
        height: 14px;
    }
}

.rm-pb-intro {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0 40px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: none;
}

.rm-pb-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rm-pb-cta {
    display: inline-block;
    background: none;
    color: var(--accent) !important;
    padding: 0;
    border-radius: 0;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    box-shadow: none;
}

@media (min-width: 1025px) {
    .rm-archive-wrap.rm-archive-feed {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1025px) and (max-width: 1270px) {
    .rm-archive-wrap.rm-archive-feed {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .rm-about-def-layout {
        grid-template-columns: 1.4fr 0.6fr;
        gap: 30px;
    }

    .rm-about-lottie-area .rm-about-lottie-player {
        max-width: 220px !important;
        margin: 0 auto;
    }

    .rm-about-impact-row,
    .rm-about-aud-grid {
        gap: 20px;
    }

    .rm-about-impact-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .rm-about-vm-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .rm-about-vm-card,
    .rm-about-offer-card,
    .rm-about-offer-full-card,
    .rm-about-gap-clean {
        padding: 30px 20px;
    }

    .rm-about-offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .rm-about-aud-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .rm-archive-wrap.rm-archive-feed {
        flex-direction: column;
        gap: 40px;
    }

    .rm-archive-sidebar {
        width: 100%;
        position: static;
    }

    .rm-archive-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .rm-alerts-filters-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .rm-alerts-filter-field span {
        font-size: 0.72rem;
    }

    .rm-alerts-select-btn {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        font-size: 0.8rem;
    }

    .rm-alerts-select-panel {
        width: 100%;
        min-width: 0;
        max-width: min(420px, calc(100vw - 32px));
    }

    .rm-alerts-select-panel-scroll {
        max-height: min(320px, 52vh);
    }

    .rm-archive-feat-title {
        font-size: 1.62rem;
    }

}

@media (max-width: 600px) {
    .rm-alerts-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rm-alerts-select-panel {
        max-width: min(420px, calc(100vw - 32px));
    }

    .rm-alerts-select-panel-scroll {
        max-height: min(280px, 50vh);
    }
}

/* iPad / tablet: post images 400px (768px covers iPad portrait; 769px missed it before) */
@media (min-width: 768px) and (max-width: 1100px) {
    .rm-archive-wrap.rm-archive-feed .rm-archive-feat-img,
    .rm-archive-wrap.rm-archive-feed .rm-archive-card-img {
        height: 400px !important;
        min-height: 400px;
    }

    .rm-archive-wrap.rm-archive-feed .rm-archive-feat-img img,
    .rm-archive-wrap.rm-archive-feed .rm-archive-card-img img {
        height: 100% !important;
        min-height: 400px;
        object-fit: cover;
        object-position: center center;
    }

    .rm-archive-sidebar {
        gap: 24px;
    }

    .rm-archive-alerts .featured-alert-header {
        padding: 24px 24px 14px;
    }

    .rm-archive-alerts .featured-alert-body {
        padding: 18px 24px 24px;
    }

    .rm-archive-alerts .sidebar-quick-insights {
        padding: 24px;
    }

    .sidebar-about-content p,
    .rm-archive-alerts .featured-alert-excerpt {
        line-height: 1.65;
    }
}

@media (max-width: 1100px) {
    .rm-mem-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rm-mem-audience-item:nth-child(3n) {
        border-inline-end: 0;
    }

    .rm-mem-audience-item:nth-child(5n) {
        border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 900px) {
    .rm-mem-hero {
        padding: 40px 0 32px;
    }

    .rm-mem-plans,
    .rm-mem-comparison,
    .rm-mem-audience-section,
    .rm-mem-svt,
    .rm-mem-cta {
        padding: 48px 0;
    }

    .rm-mem-svt-detail {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 18px 16px;
    }

    .rm-mem-svt-detail .rm-mem-btn {
        width: 100%;
    }

    .rm-mem-public-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .rm-mem-public-strip .rm-mem-btn {
        width: fit-content;
        min-width: 0;
        align-self: flex-start;
    }

    .rm-mem-card,
    .rm-mem-card.featured {
        padding: 20px 18px;
    }

    .rm-mem-price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .rm-mem-billing-seg {
        align-self: flex-start;
    }

    .rm-mem-comparison {
        padding: 48px 0;
    }

    .rm-mem-cta-inner {
        padding: 24px 20px;
    }

    .rm-comparison-table {
        overflow: hidden;
        width: 100%;
    }

    .rm-comparison-header > div,
    .rm-comparison-feature,
    .rm-comparison-cell {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 820px) {
    .rm-ourteam-grid,
    .rm-ourteam-leader-card {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .rm-archive-wrap.rm-archive-feed .rm-archive-feat-img,
    .rm-archive-wrap.rm-archive-feed .rm-archive-card-img {
        height: 248px !important;
        min-height: 248px;
    }

    .rm-archive-wrap.rm-archive-feed .rm-archive-feat-img img,
    .rm-archive-wrap.rm-archive-feed .rm-archive-card-img img {
        height: 100% !important;
        min-height: 248px;
        object-fit: cover;
        object-position: center 42%;
    }
}

@media (max-width: 768px) {
    .rm-archive-wrap.rm-archive-feed .rm-archive-feat-title {
        font-size: calc(1.09rem + 1px) !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
        letter-spacing: normal !important;
    }

    .rm-archive-wrap.rm-archive-feed {
        padding: 32px 20px 60px;
    }

    .rm-archive-feat-content {
        padding: 28px;
    }

    .rm-archive-feat-title {
        font-size: calc(1.09rem + 1px);
        font-weight: 600;
        line-height: 1.5;
    }

    .rm-archive-grid {
        grid-template-columns: 1fr;
    }

    .rm-archive-card-body {
        padding: 20px;
    }

    .rm-archive-wrap.rm-archive-feed {
        gap: 28px;
    }

    .rm-archive-sidebar {
        gap: 20px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .rm-archive-sb-card,
    .rm-archive-alerts .sidebar-quick-insights,
    .rm-archive-alerts .sidebar-featured-alert,
    .rm-archive-alerts .premium-section,
    .sidebar-merged-context {
        border-radius: 16px;
    }

    .rm-archive-alerts .featured-alert-header {
        padding: 20px 18px 12px;
    }

    .rm-archive-alerts .featured-alert-body {
        padding: 16px 18px 20px;
    }

    .rm-archive-alerts .sidebar-quick-insights {
        padding: 20px 18px;
    }

    .rm-archive-alerts .featured-alert-excerpt,
    .rm-archive-alerts .quick-insight-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .sidebar-about-content p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .rm-qr-content {
        padding: 48px 24px 24px;
    }

    .rm-qr-footer {
        padding: 16px 24px;
    }

    .rm-qr-heading {
        font-size: 20px;
    }

    .rm-qr-text {
        font-size: 16px;
    }

    .rm-qr-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    [dir="rtl"] .rm-qr-close {
        right: auto;
        left: 12px;
    }

    .rm-account-nav {
        overflow-x: auto;
        padding-bottom: 5px;
        flex-wrap: nowrap;
    }

    .rm-account-nav-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .rm-account-grid {
        grid-template-columns: 1fr;
    }

    .rm-account-table-wrap {
        overflow-x: auto;
    }

    .rm-account-wrap {
        padding: 30px 20px 20px;
    }

    .rm-modal-content {
        padding: 25px;
        margin: 20px;
        width: auto;
    }

    .rm-account-avatar {
        flex-shrink: 0 !important;
    }

    .rm-account-profile {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .pmpro_table td,
    .pmpro_table th.pmpro_table_order-date {
        padding: 10px 12px;
        font-size: 13px;
    }

    .pmpro_table th {
        padding: 10px 12px;
        font-size: 10px;
    }

    .rm-toast {
        top: 12px;
        right: 12px;
        font-size: 13px;
        padding: 10px 14px;
        max-width: calc(100vw - 24px);
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .rm-about-intro,
    .rm-about-def,
    .rm-about-problem,
    .rm-about-vm,
    .rm-about-values,
    .rm-about-aud,
    .rm-about-offer {
        padding: var(--sect-pad-mob) 0;
    }

    .rm-about-intro h1 {
        font-size: 34px;
    }

    .rm-about-def-quote-text {
        font-size: 17px;
    }

    .rm-about-def-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .rm-about-def-layout > div:first-child {
        order: 1;
    }

    .rm-about-lottie-area {
        order: 2;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .rm-about-lottie-player {
        max-width: 180px;
    }

    .rm-about-impact-row,
    .rm-about-vm-grid,
    .rm-about-values-grid,
    .rm-about-aud-grid,
    .rm-about-offer-grid {
        grid-template-columns: 1fr;
    }

    .rm-about-vm-grid {
        gap: 30px;
    }

    .rm-about-vm-card {
        padding: 30px 20px;
    }

    .rm-about-offer-card,
    .rm-about-gap-clean,
    .rm-about-offer-full-card {
        padding: 25px 20px;
    }

    .rm-about-offer-full-card {
        text-align: start;
    }

    .rm-about-offer-full-card .rm-about-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .rm-cancel-modal {
        width: 90vw;
        max-width: 95vw;
        min-width: 70vw;
        max-height: 250px;
        border-radius: 10px;
        padding: 16px 8px;
    }

    #rm-team-wrapper {
        padding: 28px 16px 40px;
    }

    .rm-ourteam-leader-card {
        padding: 18px 16px;
        gap: 16px;
    }

    .rm-ourteam-grid {
        gap: 16px;
    }

    .rm-ourteam-london {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .rm-ourteam-leader-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 14px;
    }

    .rm-ourteam-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 14px;
    }
}

@media (max-width: 360px) {
    .rm-ourteam-header h1 {
        font-size: 26px;
    }
}

.rm-home-text-accent {
    color: var(--rm-orange);
}

.rm-home-team-link-wrap {
    width: 100%;
    text-align: center;
}

/* ===== BOARD OF ADVISERS PAGE ===== */
#rm-advisors-wrapper {
    --rm-orange: #faa324;
    --rm-dark: #1f1e1f;
    --rm-light: #fff;
    --rm-gray: #666;
    --rm-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --rm-font: "Arimo", Arial, sans-serif;
    font-family: var(--rm-font);
    max-width: 1248px;
    margin: 0 auto;
    padding: 72px 20px 84px;
}

.rm-advisors-header {
    text-align: center;
    padding: 0 0 28px;
    max-width: 100%;
    margin: 0 auto;
}

.rm-advisors-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--rm-dark);
    font-weight: 700;
    line-height: 1.2;
}

.rm-advisors-accent {
    height: 4px;
    width: 80px;
    background-color: var(--rm-orange);
    margin: 1.5rem auto 2rem;
}

.rm-advisors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 42px;
    margin: 0 auto;
    padding: 18px 0 0;
    max-width: 100%;
}

.rm-advisors-card {
    text-align: center;
    position: relative;
    width: 200px;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit;
    display: block;
    transition: transform var(--rm-transition) !important;
}

.rm-advisors-profile-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    transition:
        border-radius var(--rm-transition),
        transform var(--rm-transition) !important;
}

/* Profile photo — grayscale until card hover (see effects-styles.css) */
.rm-advisors-profile-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--rm-transition) !important;
}

/* Orange-ring circle arrow — fills orange on hover (effects-styles.css) */
.rm-advisors-arrow {
    position: absolute;
    bottom: 35px;
    right: 18px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid var(--rm-orange) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition:
        transform var(--rm-transition),
        background-color var(--rm-transition),
        border-color var(--rm-transition) !important;
}

[dir="rtl"] .rm-advisors-arrow {
    right: auto;
    left: 18px;
}

.rm-advisors-arrow svg {
    width: 18px;
    height: 18px;
    fill: var(--rm-orange);
    transition: fill var(--rm-transition) !important;
}

[dir="rtl"] .rm-advisors-arrow svg {
    transform: scaleX(-1);
}

.rm-advisors-info h3 {
    margin-bottom: 0.5rem;
    font-size: 18px;
    font-weight: 700;
    color: var(--rm-dark);
    margin-top: 15px;
    transition: color var(--rm-transition) !important;
}

.rm-advisors-info p {
    font-size: 14px;
    color: var(--rm-gray);
    margin: 0;
    line-height: 1.4;
    transition: color var(--rm-transition) !important;
}

#rm-cookie-wrapper,
#rm-terms-wrapper,
#rm-privacy-wrapper {
    --rm-orange: #faa324;
    --rm-orange-dim: #fef3dc;
    --rm-dark: #1f1e1f;
    --rm-muted: #6b7280;
    --rm-border: #e5e7eb;
    --rm-bg: #f9fafb;
    --rm-font: "Arimo", Arial, sans-serif;
    font-family: var(--rm-font);
    color: var(--rm-dark);
    line-height: 1.7;
    max-width: 1248px;
    margin: 0 auto;
    padding: 28px 20px 72px;
}

#rm-cookie-wrapper *,
#rm-terms-wrapper *,
#rm-privacy-wrapper * {
    box-sizing: border-box;
}

.rm-cp-header,
.rm-tc-header,
.rm-pp-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rm-border);
}

.rm-cp-eyebrow,
.rm-tc-eyebrow,
.rm-pp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rm-orange);
    margin-bottom: 16px;
}

.rm-cp-eyebrow::before,
.rm-cp-eyebrow::after,
.rm-tc-eyebrow::before,
.rm-tc-eyebrow::after,
.rm-pp-eyebrow::before,
.rm-pp-eyebrow::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: var(--rm-orange);
    opacity: 0.6;
}

#rm-cookie-wrapper[dir="rtl"] .rm-cp-eyebrow,
#rm-cookie-wrapper[dir="rtl"] .rm-cp-toc-title,
#rm-terms-wrapper[dir="rtl"] .rm-tc-eyebrow,
#rm-privacy-wrapper[dir="rtl"] .rm-pp-eyebrow {
    letter-spacing: 0;
}

.rm-cp-header h1,
.rm-tc-header h1,
.rm-pp-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--rm-dark);
}

.rm-cp-accent,
.rm-tc-accent,
.rm-pp-accent {
    width: 44px;
    height: 3px;
    background: var(--rm-orange);
    border-radius: 2px;
    margin: 0 auto 14px;
}

.rm-cp-meta,
.rm-tc-meta,
.rm-pp-meta {
    font-size: 13px;
    color: var(--rm-muted);
    margin: 0;
}

.rm-cp-section,
.rm-tc-section,
.rm-pp-section {
    margin-bottom: 38px;
    scroll-margin-top: 80px;
}

.rm-cp-section-title,
.rm-tc-section-title,
.rm-pp-section-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--rm-dark);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rm-orange-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rm-cp-section-num,
.rm-tc-section-num,
.rm-pp-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--rm-orange);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.rm-cp-section p,
.rm-tc-section p,
.rm-pp-section p {
    font-size: 14px;
    color: #374151;
    margin: 0 0 10px;
    line-height: 1.8;
}

.rm-cp-section p:last-child,
.rm-tc-section p:last-child,
.rm-pp-section p:last-child {
    margin-bottom: 0;
}

.rm-cp-section ul,
.rm-cp-section ol,
.rm-tc-section ul,
.rm-tc-section ol,
.rm-pp-section ul,
.rm-pp-section ol {
    font-size: 14px;
    color: #374151;
    padding-left: 22px;
    margin: 8px 0 10px;
    line-height: 1.8;
}

[dir="rtl"] .rm-cp-section ul,
[dir="rtl"] .rm-cp-section ol,
[dir="rtl"] .rm-tc-section ul,
[dir="rtl"] .rm-tc-section ol,
[dir="rtl"] .rm-pp-section ul,
[dir="rtl"] .rm-pp-section ol {
    padding-left: 0;
    padding-right: 22px;
}

.rm-cp-section li,
.rm-tc-section li,
.rm-pp-section li {
    margin-bottom: 5px;
}

.rm-cp-contact-box,
.rm-tc-contact-box {
    background: var(--rm-dark);
    color: #fff;
    border-radius: 12px;
    padding: 28px 30px;
    margin-top: 40px;
}

.rm-cp-contact-box h3,
.rm-tc-contact-box h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
}

.rm-cp-contact-box p,
.rm-tc-contact-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 6px;
    line-height: 1.6;
}

.rm-cp-contact-box a,
.rm-tc-contact-box a {
    color: var(--rm-orange);
    text-decoration: none;
}

.rm-cp-footer-note,
.rm-tc-footer-note,
.rm-pp-footer-note {
    text-align: center;
    font-size: 12px;
    color: var(--rm-muted);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--rm-border);
}

.rm-cp-toc {
    background: var(--rm-bg);
    border: 1px solid var(--rm-border);
    border-left: 3px solid var(--rm-orange);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 40px;
}

.rm-cp-toc-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rm-muted);
    margin-bottom: 12px;
}

.rm-cp-toc ol {
    margin: 0;
    padding-left: 18px;
}

[dir="rtl"] .rm-cp-toc ol {
    padding-left: 0;
    padding-right: 18px;
}

#rm-cookie-wrapper[dir="rtl"] .rm-cp-toc {
    border-left: 1px solid var(--rm-border);
    border-right: 3px solid var(--rm-orange);
}

.rm-cp-toc li {
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.rm-cp-toc a {
    color: var(--rm-dark);
    text-decoration: none;
    font-weight: 500;
}

.rm-cp-subsection {
    background: var(--rm-bg);
    border: 1px solid var(--rm-border);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
}

.rm-cp-subsection h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--rm-dark);
    margin: 0 0 8px;
}

.rm-cp-subsection p {
    font-size: 13px;
    color: #374151;
    margin: 0;
    line-height: 1.7;
}

.rm-cp-infobox {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    color: #166534;
    margin: 12px 0;
}

.rm-cp-warnbox {
    background: var(--rm-orange-dim);
    border: 1px solid rgba(250, 163, 36, 0.4);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    color: #92600a;
    margin: 12px 0;
}

.rm-cp-contact-strong {
    color: #fff;
}

.rm-cp-contact-note,
.rm-tc-contact-note {
    margin-top: 15px !important;
    opacity: 0.8;
}

.rm-cp-footer-link {
    color: var(--rm-orange);
    text-decoration: none;
}

.rm-pp-section h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--rm-dark);
    margin: 18px 0 8px;
}

.rm-pp-section h3:first-of-type {
    margin-top: 0;
}

.rm-pp-section strong {
    color: var(--rm-dark);
}
/* =========================================
   10. METHODOLOGY PAGE STYLES
   (aligned with About gap-clean / Contact: flat surfaces, rm-orange accent)
   ========================================= */
.rm-methodology-page {
    --rm-orange: #faa324;
    --rm-dark: #1f1e1f;
    padding: 80px 0 120px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    font-family: "Arimo", sans-serif;
    position: relative;
}

.rm-methodology-container {
    margin: 0 auto !important;
    max-width: 1248px !important;
    padding: 0 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    animation: none !important;
}

[dir="rtl"] .rm-methodology-page {
    font-family: "Cairo", sans-serif;
}

.rm-methodology-header {
    text-align: center;
    margin-bottom: 40px;
    display: block;
}

.rm-methodology-container h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--rm-dark);
    margin: 0 0 16px;
    padding-bottom: 0;
    letter-spacing: -0.02em;
}

.rm-methodology-container h1::after {
    display: none;
}

.rm-methodology-accent {
    width: 72px;
    height: 4px;
    background: var(--rm-orange);
    border-radius: 999px;
    margin: 0 auto 24px;
}

.rm-methodology-container > p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #4b5563;
    text-align: center;
    line-height: 1.75;
}

.rm-methodology-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 56px;
}

.rm-methodology-step:nth-child(3) {
    grid-column: 1 / -1;
}

.rm-methodology-step {
    --rm-step-accent: var(--rm-orange);
    margin-bottom: 0;
    padding: 32px 30px !important;
    background: #fff !important;
    border-radius: 14px !important;
    border: 1px solid #e5e7eb !important;
    border-inline-start: 4px solid var(--rm-orange) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    position: relative !important;
    overflow: visible !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.rm-methodology-step:hover {
    border: 1px solid rgba(250, 163, 36, 0.35) !important;
    border-inline-start: 4px solid var(--rm-orange) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
    transform: translateY(-2px);
}

.rm-methodology-step:nth-child(1),
.rm-methodology-step:nth-child(2),
.rm-methodology-step:nth-child(3),
.rm-methodology-step:nth-child(4),
.rm-methodology-step:nth-child(5) {
    --rm-step-accent: var(--rm-orange);
}

.rm-methodology-step-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-width: 0 !important;
}

.rm-methodology-step-number {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 0 !important;
    margin-inline-end: 2px !important;
    margin-top: 1px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #fff !important;
    background: var(--rm-orange) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.22) !important;
    flex-shrink: 0 !important;
}

.rm-methodology-step-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--rm-dark) !important;
    margin: 4px 0 12px !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -0.02em !important;
    line-height: 1.3 !important;
}

.rm-methodology-step-content {
    padding-left: 0 !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.rm-methodology-step-content p {
    margin: 0 !important;
    font-size: 16px !important;
    color: #4b5563 !important;
}

.rm-methodology-impact-scale {
    margin: 20px 0 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%) !important;
    border: 1px solid #eceff3 !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px 14px !important;
    align-items: stretch !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 24px rgba(15, 23, 42, 0.04) !important;
}

.rm-methodology-scale-item {
    --rm-scale-color: #9ca3af;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: start !important;
    gap: 12px !important;
    padding: 8px 4px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.rm-methodology-scale-item:nth-child(1) {
    --rm-scale-color: #22c55e;
}

.rm-methodology-scale-item:nth-child(2) {
    --rm-scale-color: #eab308;
}

.rm-methodology-scale-item:nth-child(3) {
    --rm-scale-color: #fb923c;
}

.rm-methodology-scale-item:nth-child(4) {
    --rm-scale-color: #ef4444;
}

.rm-methodology-scale-indicator {
    display: block !important;
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    flex-shrink: 0 !important;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3px rgba(15, 23, 42, 0.08),
        0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

.rm-methodology-scale-indicator.green {
    background: linear-gradient(145deg, #4ade80, #16a34a) !important;
}

.rm-methodology-scale-indicator.yellow {
    background: linear-gradient(145deg, #fde047, #eab308) !important;
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 3px rgba(15, 23, 42, 0.08),
        0 2px 6px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

.rm-methodology-scale-indicator.orange {
    background: linear-gradient(145deg, #fdba74, #ea580c) !important;
}

.rm-methodology-scale-indicator.red {
    background: linear-gradient(145deg, #f87171, #dc2626) !important;
}

.rm-methodology-scale-text {
    font-weight: 700 !important;
    color: #1f1e1f !important;
    line-height: 1.45 !important;
    text-align: inherit !important;
    font-size: var(--rm-type-body) !important;
    letter-spacing: -0.01em !important;
    transition: color 0.3s ease !important;
}

.rm-methodology-scale-item:hover .rm-methodology-scale-text {
    color: var(--rm-site-accent) !important;
}

.rm-methodology-footer-text {
    max-width: 800px;
    margin: 12px auto 0;
    padding: 0 0 8px;
    border: none;
    text-align: center;
    font-size: 17px;
    color: #4b5563;
    line-height: 1.75;
}

[dir="rtl"] .rm-methodology-step-title {
    margin-inline: 0;
    text-align: start;
}

[dir="rtl"] .rm-methodology-step-content,
[dir="rtl"] .rm-methodology-step-content p {
    text-align: start;
}

[dir="rtl"] .rm-methodology-scale-item {
    justify-content: flex-start !important;
    text-align: start !important;
}

[dir="rtl"] .rm-methodology-scale-text {
    text-align: start !important;
}

#rm-contact-wrapper {
    --rm-orange: #faa324;
    --rm-dark: #1f1e1f;
    --rm-gray: #f8fafc;
    --rm-text-main: #0f172a;
    --rm-text-muted: #64748b;
    --rm-border: rgba(15, 23, 42, 0.06);
    --rm-contact-surface: #ffffff;
    --rm-contact-alt: #f8fafc;
    --rm-contact-line: rgba(15, 23, 42, 0.06);
    --rm-font: "Arimo", Arial, sans-serif;
    --rm-card-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 4px 20px -4px rgba(15, 23, 42, 0.02);
    font-family: var(--rm-font);
    color: var(--rm-text-main);
    line-height: 1.6;
    max-width: 1248px;
    margin: 0 auto;
    padding: 44px 20px 84px;
    background: #ffffff;
}

#rm-contact-wrapper * {
    box-sizing: border-box;
}

.rm-contact-hero {
    text-align: center;
    margin-bottom: 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.rm-contact-hero h1 {
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 800;
    margin: 0 0 14px;
    background: linear-gradient(135deg, #1f1e1f 0%, #3f3e41 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.rm-contact-hero p {
    font-size: 16px;
    color: var(--rm-text-muted);
    margin: 0 auto;
    max-width: 48ch;
    line-height: 1.75;
}

.rm-contact-accent {
    height: 4px;
    width: 60px;
    background: var(--rm-orange);
    border-radius: 99px;
    margin: 0 auto 16px;
}

.rm-contact-unified {
    display: grid;
    grid-template-columns: minmax(320px, 370px) minmax(0, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--rm-border);
    border-radius: 32px;
    box-shadow: var(--rm-card-shadow);
    overflow: hidden;
}

.rm-contact-sidebar {
    width: auto;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-right: 1px solid var(--rm-contact-line);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

[dir="rtl"] .rm-contact-sidebar {
    border-right: none;
    border-left: 1px solid var(--rm-contact-line);
    text-align: right;
}

.rm-contact-sidebar-inner {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.rm-contact-info-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rm-contact-info-box {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.01);
}

[dir="rtl"] .rm-contact-info-box {
    text-align: right;
    flex-direction: row;
}

.rm-contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(250, 163, 36, 0.08);
    color: var(--rm-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rm-contact-icon svg {
    width: 20px;
    height: 20px;
}

.rm-contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    gap: 6px;
    min-width: 0;
}

[dir="rtl"] .rm-contact-details {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

[dir="rtl"] .rm-contact-info-group,
[dir="rtl"] .rm-contact-sidebar-inner {
    align-items: stretch;
}

[dir="rtl"] .rm-contact-label,
[dir="rtl"] .rm-contact-value,
[dir="rtl"] .rm-contact-value a {
    display: block;
    text-align: right;
    width: 100%;
}

.rm-contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rm-text-muted);
    margin-bottom: 0;
}

.rm-contact-value {
    font-size: 15px;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.6;
}

.rm-contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rm-contact-value a:hover {
    color: var(--rm-orange);
}

.rm-contact-team-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 20px;
    padding: 20px;
    margin-top: 0;
    margin-bottom: 0;
    text-decoration: none !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.01);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

[dir="rtl"] .rm-contact-team-box {
    flex-direction: row;
    padding: 20px;
}

.rm-contact-team-box:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 163, 36, 0.25);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.rm-team-box-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: var(--rm-text-muted);
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.rm-team-box-icon svg {
    width: 19px;
    height: 19px;
}

.rm-contact-team-box:hover .rm-team-box-icon {
    border-color: rgba(250, 163, 36, 0.15);
    color: var(--rm-orange);
    background: rgba(250, 163, 36, 0.03);
}

.rm-team-box-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

[dir="rtl"] .rm-team-box-content {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

[dir="rtl"] .rm-team-box-content h4 {
    text-align: right;
    width: 100%;
}

.rm-team-box-content h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    color: var(--rm-dark);
}

.rm-team-box-content p {
    margin: 0;
    font-size: 12px;
    color: var(--rm-text-muted);
    line-height: 1.6;
    text-align: left;
    max-width: none;
}

[dir="rtl"] .rm-team-box-content p {
    text-align: right;
    align-self: stretch;
    direction: rtl;
    width: 100%;
}

.rm-contact-team-arrow {
    color: var(--rm-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-top: 0;
    align-self: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.rm-contact-team-arrow svg {
    width: 15px;
    height: 15px;
}

[dir="rtl"] .rm-contact-team-arrow {
    margin-left: 0;
    margin-right: auto;
    transform: scaleX(-1);
}

.rm-contact-team-box:hover .rm-contact-team-arrow {
    color: var(--rm-orange);
    transform: translateX(4px);
}

[dir="rtl"] .rm-contact-team-box:hover .rm-contact-team-arrow {
    transform: scaleX(-1) translateX(4px);
}

.rm-demo-card {
    background: linear-gradient(145deg, #181719 0%, #252427 100%);
    color: #ffffff;
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    border-radius: 0 0 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .rm-demo-card {
    text-align: right;
    align-items: flex-end;
}

[dir="rtl"] .rm-demo-card h3,
[dir="rtl"] .rm-demo-card p {
    text-align: right;
    width: 100%;
}

.rm-demo-card h3 {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.rm-demo-card p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    margin: 0;
    line-height: 1.65;
    max-width: 30ch;
}

.rm-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rm-orange);
    color: #ffffff !important;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    width: 100%;
    min-width: 0;
    box-shadow: 0 10px 24px rgba(250, 163, 36, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rm-demo-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.rm-contact-main {
    flex: 1;
    padding: 44px 48px 48px 52px;
    background: transparent;
}

[dir="rtl"] .rm-contact-main {
    padding: 44px 52px 48px 48px;
}

.rm-commitment-banner {
    background: rgba(250, 163, 36, 0.04);
    border: 1px solid rgba(250, 163, 36, 0.1);
    border-left: 4px solid var(--rm-orange);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 2px 8px rgba(250, 163, 36, 0.02);
}

.rm-commitment-banner svg {
    color: var(--rm-orange);
    flex-shrink: 0;
}

[dir="rtl"] .rm-commitment-banner {
    flex-direction: row;
    text-align: right;
    border-left: none;
    border-right: 4px solid var(--rm-orange);
    padding: 14px 20px;
    justify-content: flex-start;
}

[dir="rtl"] .rm-commitment-banner span {
    text-align: right;
    width: 100%;
}

.rm-contact-header {
    margin-bottom: 24px;
}

.rm-contact-header h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: var(--rm-dark);
    letter-spacing: -0.01em;
}

[dir="rtl"] .rm-contact-header h3 {
    text-align: right;
}

#rm-contact-wrapper[dir="rtl"] form {
    align-items: stretch;
    direction: rtl;
}

#rm-contact-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.rm-contact-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rm-contact-label-field {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rm-contact-input,
.rm-contact-textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--rm-dark);
    background: #fafafc;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rm-contact-input:hover,
.rm-contact-textarea:hover {
    border-color: rgba(250, 163, 36, 0.3) !important;
    background: #ffffff;
}

.rm-contact-input:focus,
.rm-contact-textarea:focus {
    border-color: var(--rm-orange) !important;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(250, 163, 36, 0.12) !important;
    outline: none;
}

.rm-contact-input::placeholder,
.rm-contact-textarea::placeholder {
    color: #94a3b8;
}

[dir="rtl"] .rm-contact-input,
[dir="rtl"] .rm-contact-textarea,
[dir="rtl"] .rm-contact-label-field {
    text-align: right;
}

[dir="rtl"] .rm-contact-group {
    align-items: stretch;
}

.rm-contact-textarea {
    min-height: 190px;
    resize: none;
    overflow-y: hidden;
}

.rm-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rm-contact-v2-required {
    color: var(--rm-orange);
    font-weight: 700;
    margin-left: 2px;
}

[dir="rtl"] .rm-contact-v2-required {
    margin-left: 0;
    margin-right: 2px;
}

.rm-contact-group--error .rm-contact-input,
.rm-contact-group--error .rm-contact-textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
    background: #fffdfd;
}

.rm-contact-group--error .rm-contact-label-field {
    color: #ef4444;
}

.rm-contact-submit {
    margin-top: 8px;
    padding: 16px 36px;
    background: var(--rm-dark);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.02em;
    font-weight: 800;
    cursor: pointer;
    width: auto;
    min-width: 230px;
    align-self: flex-start;
    box-shadow: 0 10px 24px rgba(31, 30, 31, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rm-contact-submit:hover {
    background: var(--rm-orange);
    transform: translateY(-2px);
}

[dir="rtl"] .rm-contact-submit {
    align-self: flex-start;
    text-align: center;
}

.rm-processing-hidden {
    visibility: hidden;
}

.rm-toast-joined {
    position: fixed;
    z-index: 9999999;
    top: 24px;
    right: 24px;
    width: auto;
    max-width: 340px;
    background: #fff;
    color: #1f1e1f;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 0;
    transform: translateX(20px);
    font-family: inherit;
}

[dir="rtl"] .rm-toast-joined {
    right: auto;
    left: 24px;
    transform: translateX(-20px);
}

.rm-toast-joined-ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #059669;
}

.rm-toast-joined-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-toast-joined-title {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

.rm-toast-joined-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}

.rm-toast-joined-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    line-height: 0;
    display: flex;
}

[dir="rtl"] .rm-toast-joined-close {
    margin-left: 0;
    margin-right: auto;
}

.rm-checkout-wrap {
    --rm-black: #1f1e1f;
    --rm-accent: #faa324;
    --rm-border: #e7e7ea;
    --rm-muted: #6b7280;
    --rm-soft: #fff9f0;
    --rm-soft-border: #ffe6bf;
    padding: 18px 20px 48px;
}

@media (min-width: 1200px) {
    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class=elementor-page-]) .site-main {
        max-width: 1248px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.rm-checkout-wrap #pmpro_user_fields.pmpro_form_fieldset,
.rm-checkout-wrap #pmpro_billing_address_fields.pmpro_form_fieldset,
.rm-checkout-wrap #pmpro_payment_information_fields.pmpro_form_fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
}

.rm-checkout-wrap #pmpro_form.pmpro_form {
    max-width: 1248px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--rm-black);
}

.rm-checkout-wrap .pmpro_card {
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 18px;
    padding: 24px 22px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(31, 30, 31, 0.06);
}

.rm-checkout-wrap .pmpro_card_title,
.rm-checkout-wrap .pmpro_form_heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--rm-black);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f1f3;
}

.rm-checkout-wrap .pmpro_card_content {
    font-size: 15px;
    line-height: 1.7;
    color: #45464b;
    padding: 0 !important;
}

.rm-checkout-wrap .pmpro_level_name_text {
    margin: 0 0 12px;
}

.rm-checkout-wrap .pmpro_level_name_text strong {
    color: var(--rm-accent);
    font-weight: 700;
}

.rm-checkout-wrap #pmpro_level_cost {
    background: var(--rm-soft);
    border: 1px solid var(--rm-soft-border);
    padding: 15px 18px;
    border-radius: 14px;
    margin-top: 12px;
}

.rm-checkout-wrap #pmpro_level_cost p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--rm-black);
}

.rm-checkout-wrap .pmpro_form_fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rm-checkout-wrap .pmpro_form_field {
    position: relative;
}

.rm-checkout-wrap .pmpro_form_label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 12px;
    color: var(--rm-black);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.rm-checkout-wrap .pmpro_asterisk {
    color: #dc2626;
    margin-left: 6px;
    font-weight: 700;
}

[dir="rtl"] .rm-checkout-wrap .pmpro_asterisk {
    margin-left: 0;
    margin-right: 6px;
}

.rm-checkout-wrap .pmpro_form_input {
    width: 100%;
    height: 50px;
    padding: 12px 14px;
    border: 1.5px solid #e6e6ea !important;
    border-radius: 14px;
    background: #fff;
    color: #232428;
    font-size: 16px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.rm-checkout-wrap textarea.pmpro_form_input {
    height: auto;
    min-height: 120px;
}

.rm-checkout-wrap .pmpro_cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rm-checkout-wrap .pmpro_form_fields-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rm-checkout-wrap .pmpro_form_fields-inline select {
    flex: 1 1 0;
    min-width: 0;
}

.rm-checkout-wrap #pmpro_account_loggedin {
    background: var(--rm-soft);
    border: 1px solid var(--rm-soft-border);
    border-radius: 14px;
    padding: 14px;
    color: var(--rm-black);
    font-weight: 600;
}

.rm-checkout-wrap #pmpro_account_loggedin .rm-user {
    font-weight: 700;
}

.rm-checkout-wrap #pmpro_account_loggedin .rm-logout {
    display: inline-block;
    font-weight: 700;
    color: var(--rm-accent);
    text-decoration: none;
    border-bottom: 2px solid rgba(250, 163, 36, 0.4);
    padding-bottom: 2px;
    margin-left: 8px;
}

[dir="rtl"] .rm-checkout-wrap #pmpro_account_loggedin .rm-logout {
    margin-left: 0;
    margin-right: 8px;
}

.rm-checkout-wrap .pmpro_message {
    background: var(--rm-soft);
    border: 1px solid var(--rm-soft-border);
    color: var(--rm-black);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.rm-checkout-wrap .pmpro_message_error,
.rm-checkout-wrap .pmpro_error {
    background: #fff5f5;
    border-color: #ffd2d2;
    color: #b42318;
}

.rm-checkout-wrap .pmpro_card_actions {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f1f3;
    text-align: center;
    color: var(--rm-muted);
    font-weight: 700;
}

.rm-checkout-wrap .pmpro_card_actions a {
    color: var(--rm-accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(250, 163, 36, 0.35);
}

.rm-checkout-wrap .pmpro_form_submit {
    margin-top: 14px;
    text-align: center;
}

.rm-checkout-wrap .pmpro_btn-submit-checkout {
    width: auto !important;
    min-width: 260px;
    max-width: 100%;
    background: var(--rm-black) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    padding: 13px 20px;
    border-radius: 16px;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(31, 30, 31, 0.1);
}

.rm-checkout-wrap #pmpro_processing_message {
    margin-top: 10px;
    font-size: 13px;
    color: var(--rm-muted);
}

[dir="rtl"] .rm-checkout-wrap .pmpro_form_label,
[dir="rtl"] .rm-checkout-wrap .pmpro_card_title,
[dir="rtl"] .rm-checkout-wrap .pmpro_form_heading,
[dir="rtl"] .rm-checkout-wrap .pmpro_card_content,
[dir="rtl"] .rm-checkout-wrap .pmpro_message {
    text-align: right !important;
}

@media (max-width: 1024px) {
    #rm-advisors-wrapper {
        padding: 64px 20px 76px;
    }

    .rm-advisors-grid {
        gap: 30px;
        justify-content: center;
    }

    #rm-contact-wrapper {
        max-width: 100%;
        padding: 28px 20px 64px;
    }

    .rm-contact-unified {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 28px;
    }

    .rm-contact-main {
        order: 1;
        padding: 36px 32px 40px;
    }

    .rm-contact-sidebar {
        order: 2;
        border-right: 0;
        border-top: 1px solid var(--rm-contact-line);
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    }

    .rm-contact-sidebar-inner {
        padding: 36px 32px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .rm-contact-info-group {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .rm-contact-team-box {
        grid-column: span 1;
        margin: 0;
        height: 100%;
    }

    .rm-demo-card {
        grid-column: span 1;
        margin: 0;
        height: 100%;
        border-radius: 20px;
    }

    [dir="rtl"] .rm-contact-sidebar {
        border-left: 0;
    }

    [dir="rtl"] .rm-contact-main {
        padding: 36px 32px 40px;
    }

    #rm-contact-wrapper form {
        padding: 0;
    }

    .rm-contact-label-field {
        font-size: 10px;
        letter-spacing: 0.05em;
    }

    .rm-methodology-page {
        padding: 80px 0 96px;
    }

    .rm-methodology-container {
        max-width: 1248px !important;
        padding: 0 20px !important;
    }

    .rm-methodology-step {
        padding: 26px 28px !important;
    }

    .rm-advisors-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .rm-methodology-steps {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .rm-methodology-step:nth-child(3) {
        grid-column: auto !important;
    }

    .rm-checkout-wrap .pmpro_cols-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rm-checkout-wrap .pmpro_card {
        padding: 18px 16px;
    }
}

@media (max-width: 820px) {
    .rm-contact-hero {
        margin-bottom: 28px;
    }

    .rm-contact-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .rm-methodology-page {
        padding: 56px 0 88px !important;
    }

    .rm-methodology-container {
        max-width: 100% !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
    }

    .rm-methodology-container h1 {
        font-size: 32px !important;
    }

    .rm-methodology-container > p,
    .rm-methodology-footer-text {
        font-size: 16px !important;
        margin-bottom: 24px !important;
    }

    .rm-methodology-steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .rm-methodology-step:nth-child(3) {
        grid-column: auto !important;
    }

    /* Stack badge above title on mobile so impact scale gets full card width */
    .rm-methodology-step {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 26px 22px !important;
        gap: 12px !important;
    }

    .rm-methodology-step-number {
        position: static !important;
        width: 36px !important;
        height: 36px !important;
        margin-bottom: 4px !important;
        margin-inline-end: 0 !important;
        margin-inline-start: 0 !important;
        font-size: 15px !important;
    }

    .rm-methodology-step-title {
        font-size: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .rm-methodology-step-content {
        gap: 16px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rm-methodology-step-content p {
        font-size: 15px !important;
        margin-bottom: 0 !important;
    }

    .rm-methodology-impact-scale {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 18px !important;
        gap: 12px !important;
    }

    .rm-methodology-scale-text {
        font-size: 14px !important;
    }

    .rm-methodology-scale-item {
        width: auto !important;
        justify-content: flex-start !important;
    }

    [dir="rtl"] .rm-methodology-scale-item {
        justify-content: flex-start !important;
    }

    .rm-methodology-scale-indicator {
        width: 16px !important;
        height: 16px !important;
    }

    .rm-toast-joined {
        top: auto;
        bottom: 24px;
        right: 20px;
        left: 20px;
        max-width: none;
        width: auto;
        justify-content: center;
        transform: translateY(20px);
    }

    [dir="rtl"] .rm-toast-joined {
        transform: translateY(20px);
    }
}

@media (max-width: 767px) {
    #rm-advisors-wrapper {
        padding: 48px 20px 56px;
    }

    .rm-advisors-header {
        padding: 0 0 20px;
    }

    .rm-advisors-header h2 {
        font-size: 2rem;
    }

    .rm-advisors-grid {
        gap: 30px;
        padding: 0;
        justify-content: center;
    }

    .rm-advisors-card {
        width: calc(50% - 15px);
        max-width: 168px;
        flex: 0 1 calc(50% - 15px);
    }

    .rm-advisors-profile-wrap {
        width: 120px;
        height: 120px;
    }

    /* Board page — smaller arrow circle on phone */
    .rm-advisors-arrow {
        bottom: 22px;
        right: 14px;
        width: 24px;
        height: 24px;
    }

    [dir="rtl"] .rm-advisors-arrow {
        right: auto;
        left: 14px;
    }

    .rm-advisors-arrow svg {
        width: 13px;
        height: 13px;
    }

    .rm-advisors-info h3 {
        font-size: 16px;
    }

    .rm-advisors-info p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .rm-mem-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rm-mem-audience-item,
    .rm-mem-audience-item:nth-child(3n),
    .rm-mem-audience-item:nth-child(5n) {
        border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rm-mem-audience-item:nth-child(2n) {
        border-inline-end: 0;
    }

    .rm-mem-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .rm-mem-modal-dialog {
        width: 100%;
        max-height: 88vh;
        border-radius: 14px 14px 0 0;
        padding: 24px 18px 18px;
    }

    .rm-mem-modal-actions {
        flex-direction: column;
    }

    .rm-mem-modal-actions .rm-mem-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .rm-mem-audience-grid {
        grid-template-columns: 1fr;
    }

    .rm-mem-audience-item,
    .rm-mem-audience-item:nth-child(2n),
    .rm-mem-audience-item:nth-child(3n) {
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rm-mem-audience-item:last-child {
        border-bottom: 0;
    }

    .rm-mem-card,
    .rm-mem-card.featured {
        padding: 18px 16px;
    }

    .rm-mem-plan-name {
        font-size: 17px;
    }

    #rm-membership-wrapper .rm-mem-card .rm-mem-plan-name {
        font-size: 14px !important;
    }

    .rm-mem-cta-list {
        flex-direction: column;
        gap: 6px;
    }

    .rm-save-badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .rm-mem-price,
    .rm-mem-price--static {
        font-size: clamp(1.45rem, 4vw, 1.65rem);
    }

    .rm-mem-seg-btn {
        padding: 7px 8px;
        font-size: 11px;
    }

    .rm-mem-desc {
        margin-bottom: 24px;
    }

    .rm-mem-features-list {
        margin-bottom: 24px;
    }

    .rm-mem-comparison {
        padding: 44px 0;
    }

    .rm-mem-comparison .rm-mem-section-head {
        padding: 0 20px;
    }

    #rm-cookie-wrapper,
    #rm-terms-wrapper,
    #rm-privacy-wrapper {
        padding: 20px 20px 52px;
    }

    .rm-cp-toc {
        padding: 16px 18px;
    }

    .rm-cp-contact-box,
    .rm-tc-contact-box {
        padding: 22px 20px;
    }

    #rm-contact-wrapper {
        padding: 16px 20px 40px;
    }

    .rm-contact-hero h1 {
        font-size: 30px;
    }

    .rm-contact-unified {
        gap: 0;
        border-radius: 20px;
    }

    .rm-contact-sidebar-inner {
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .rm-contact-info-group {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .rm-contact-team-box {
        grid-column: auto;
        padding: 16px;
        align-items: flex-start;
    }

    [dir="rtl"] .rm-contact-team-box {
        padding: 16px;
    }

    .rm-contact-main {
        padding: 30px 20px 24px;
    }

    [dir="rtl"] .rm-contact-main {
        padding: 30px 20px 24px;
    }

    #rm-contact-wrapper form {
        padding: 0;
        border-radius: 0;
        gap: 16px;
    }

    .rm-contact-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rm-contact-input,
    .rm-contact-textarea {
        font-size: 16px;
        padding: 14px 16px;
    }

    .rm-contact-submit {
        width: 100%;
        min-width: 0;
        align-self: stretch;
    }

    [dir="rtl"] .rm-contact-submit {
        align-self: stretch;
    }

    .rm-demo-card {
        grid-column: auto;
        padding: 24px 20px;
        border-radius: 20px;
    }

    .rm-contact-label-field {
        font-size: 9px;
        letter-spacing: 0.05em;
    }

    /* Impact scale stays 4-column (homepage pattern) — do not collapse to 1fr here */

    .rm-checkout-wrap {
        padding: 14px 20px 40px;
    }

    .rm-checkout-wrap .pmpro_form_submit {
        text-align: stretch;
    }

    .rm-checkout-wrap .pmpro_btn-submit-checkout {
        width: 100% !important;
        min-width: 0;
    }
}

/* =========================================
   TYPOGRAPHY SYSTEM OVERRIDES
   ========================================= */
.rm-account-wrap,
#rm-membership-wrapper,
#rm-about-wrapper,
#rm-team-wrapper,
#rm-cookie-wrapper,
#rm-terms-wrapper,
#rm-privacy-wrapper,
.rm-methodology-page,
#rm-contact-wrapper,
#rm-consulting-wrapper,
#rm-trainings-wrapper {
    font-size: var(--rm-type-body);
    line-height: var(--rm-leading-body);
}

/* Page hero titles — methodology h1 excluded (uses its own responsive sizing below) */
.rm-account-header h1,
.rm-cp-header h1,
.rm-tc-header h1,
.rm-pp-header h1,
.rm-contact-hero h1 {
    font-size: var(--rm-type-display-lg) !important;
    line-height: var(--rm-leading-display) !important;
    letter-spacing: var(--rm-tracking-tight) !important;
}

.rm-mem-hero h1,
.rm-about-intro h1,
.rm-ourteam-header h1,
.rm-advisors-header h2 {
    font-size: var(--rm-type-h2) !important;
    font-weight: 700 !important;
    line-height: var(--rm-leading-heading) !important;
    letter-spacing: var(--rm-tracking-tight) !important;
}

.rm-mem-comparison h2,
.rm-about-values h2 {
    font-size: var(--rm-type-h2);
    font-weight: 700;
    line-height: var(--rm-leading-heading);
    letter-spacing: var(--rm-tracking-tight);
}

.rm-account-gate-card h2,
.rm-account-level,
.rm-contact-header h3,
.rm-about-vm-card h3,
.rm-about-offer-card h3,
.rm-about-offer-full-card h3,
.rm-methodology-step-title,
.rm-mem-plan-name {
    font-size: var(--rm-type-h3) !important;
    font-weight: 700 !important;
    line-height: var(--rm-leading-heading) !important;
    letter-spacing: -0.015em;
}

.rm-account-card-head h3,
.rm-about-impact-clean h4,
.rm-about-val-card h4,
.rm-about-aud-title,
.rm-pp-section h3,
.rm-cp-section-title,
.rm-tc-section-title,
.rm-pp-section-title,
.rm-cp-contact-box h3,
.rm-tc-contact-box h3,
.rm-team-box-content h4,
.rm-demo-card h3,
.rm-advisors-info h3 {
    font-size: var(--rm-type-h4) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.rm-account-gate-card p,
.rm-account-header p,
.rm-mem-hero p,
.rm-about-intro-text,
.rm-about-prob-intro p,
.rm-contact-hero p,
.rm-methodology-container > p,
.rm-methodology-footer-text {
    font-size: var(--rm-type-body-lg) !important;
    line-height: var(--rm-leading-body) !important;
}

.rm-account-card,
.rm-account-meta,
.rm-account-btn-text,
.rm-account-edit-btn,
.rm-mem-desc,
.rm-mem-features-list li,
.rm-comparison-feature,
.rm-about-def-note,
.rm-about-gap-clean p,
.rm-about-vm-card p,
.rm-about-val-card p,
.rm-about-offer-desc,
.rm-cp-section p,
.rm-tc-section p,
.rm-pp-section p,
.rm-cp-section ul,
.rm-cp-section ol,
.rm-tc-section ul,
.rm-tc-section ol,
.rm-pp-section ul,
.rm-pp-section ol,
.rm-contact-value,
.rm-demo-card p,
.rm-commitment-banner,
.rm-contact-input,
.rm-contact-textarea,
.rm-contact-submit,
.rm-methodology-step-content,
.rm-methodology-step-content p,
.rm-advisors-info p {
    font-size: var(--rm-type-body) !important;
    line-height: var(--rm-leading-body) !important;
}

.rm-account-nav-btn,
.rm-mem-toggle-wrap,
.rm-mem-btn,
.rm-comparison-header > div,
.rm-about-def-quote-text,
.rm-contact-label-field,
.rm-contact-value a {
    font-size: var(--rm-type-body-sm) !important;
}

.rm-about-label,
.rm-ourteam-divider span,
.rm-cp-toc-title,
.rm-contact-label,
.rm-cp-section-num,
.rm-tc-section-num,
.rm-pp-section-num {
    font-size: var(--rm-type-label) !important;
    letter-spacing: var(--rm-tracking-label) !important;
}

#rm-membership-wrapper .rm-mem-card .rm-mem-plan-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

#rm-membership-wrapper .rm-mem-card:not(.rm-mem-card--svt) .rm-mem-price-amount,
#rm-membership-wrapper .rm-mem-card:not(.rm-mem-card--svt) .rm-billing-price {
    font-size: clamp(1.45rem, 2vw, 1.75rem) !important;
    line-height: 1.15 !important;
}

#rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-billing-price,
#rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-price-amount {
    font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem)) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

#rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size) !important;
    font-weight: var(--rm-mem-quote-weight, 650) !important;
    line-height: 1.42 !important;
    color: var(--rm-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

#rm-membership-wrapper .rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount,
#rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size-svt, var(--rm-mem-quote-size)) !important;
    font-weight: var(--rm-mem-quote-weight-svt, var(--rm-mem-quote-weight, 650)) !important;
    line-height: 1.42 !important;
    color: var(--rm-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

#rm-membership-wrapper[dir="rtl"] .rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount,
#rm-membership-wrapper[dir="rtl"] .rm-mem-cards-grid--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size-svt) !important;
    font-weight: var(--rm-mem-quote-weight-svt, 700) !important;
    color: var(--rm-text-primary) !important;
}

#rm-membership-wrapper .rm-mem-card--svt .rm-mem-price-amount,
#rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-price-amount,
#rm-membership-wrapper .rm-mem-cards-grid--svt .rm-billing-price {
    font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem)) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

#rm-membership-wrapper .rm-mem-card .rm-mem-purpose,
#rm-membership-wrapper .rm-mem-card .rm-mem-features-list li,
#rm-membership-wrapper .rm-mem-card .rm-mem-features-list--compact li {
    font-size: var(--rm-mem-feature-size, 12.5px) !important;
    line-height: 1.5 !important;
}

#rm-about-wrapper[dir="rtl"] .rm-about-label,
#rm-team-wrapper[dir="rtl"] .rm-ourteam-divider span,
#rm-cookie-wrapper[dir="rtl"] .rm-cp-toc-title,
#rm-contact-wrapper[dir="rtl"] .rm-contact-label {
    letter-spacing: 0 !important;
}

.rm-cp-meta,
.rm-tc-meta,
.rm-pp-meta,
.rm-cp-footer-note,
.rm-tc-footer-note,
.rm-pp-footer-note,
.rm-about-intro-sub,
.rm-about-aud-desc,
.rm-team-box-content p {
    font-size: var(--rm-type-meta) !important;
    line-height: var(--rm-leading-dense) !important;
}

.rm-account-profile .rm-account-name,
.rm-contact-header h3,
.rm-comparison-row.category .rm-comparison-feature {
    letter-spacing: -0.015em;
}

/* Methodology step badges — keep readable at 16px across breakpoints */
.rm-methodology-step-number {
    font-size: 1rem !important;
}

@media (max-width: 767px) {
    .rm-account-header p,
    .rm-mem-hero p,
    .rm-about-intro-text,
    .rm-contact-hero p,
    .rm-methodology-container > p,
    .rm-methodology-footer-text,
    .rm-cp-section p,
    .rm-tc-section p,
    .rm-pp-section p,
    .rm-contact-value,
    .rm-demo-card p,
    .rm-methodology-step-content,
    .rm-methodology-step-content p {
        font-size: var(--rm-type-body-sm) !important;
    }

    .rm-account-card-head h3,
    .rm-about-impact-clean h4,
    .rm-about-val-card h4,
    .rm-about-aud-title,
    .rm-pp-section h3,
    .rm-cp-section-title,
    .rm-tc-section-title,
    .rm-pp-section-title,
    .rm-cp-contact-box h3,
    .rm-tc-contact-box h3,
    .rm-team-box-content h4,
    .rm-demo-card h3,
    .rm-advisors-info h3 {
        font-size: var(--rm-type-h5) !important;
    }
}

/* ===== CONSULTING PAGE STYLES ===== */
#rm-consulting-wrapper,
#rm-trainings-wrapper {
    margin-block-start: 0 !important;
}

#rm-consulting-wrapper {
    --rm-cons-accent: var(--rm-site-accent, #faa324);
    --rm-cons-dark: #1F1E1F;
    --rm-cons-light: #FFFFFF;
    --rm-cons-gray: #F4F6F8;
    --rm-cons-border: #E5E7EB;
    --rm-cons-text: #111111;
    --rm-cons-muted: #5d5d5d;
    --rm-cons-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
    --rm-page-hero-pad-top: 48px;
    --rm-page-hero-pad-bottom: 40px;
    --rm-page-sect-pad: 64px;
    --rm-page-sect-pad-tab: 44px;
    --rm-page-sect-pad-mob: 32px;
    color: var(--rm-cons-text);
    background: var(--rm-cons-light);
    font-family: 'Arimo', Arial, sans-serif;
    width: 100%;
    line-height: 1.6;
    direction: inherit;
    text-align: start;
    position: relative;
    overflow-x: hidden;
}

#rm-consulting-wrapper[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

#rm-consulting-wrapper a {
    color: inherit;
    text-decoration: none !important;
}

/* Full-width section backgrounds (footer pattern — no layout overflow) */
#rm-consulting-wrapper > section,
#rm-trainings-wrapper > section {
    position: relative;
    isolation: isolate;
}

#rm-consulting-wrapper > section::before,
#rm-trainings-wrapper > section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

.rm-cons-container {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .rm-cons-hero .rm-cons-container,
    .rm-train-hero .rm-train-container {
        padding-inline: 0;
    }
}

.rm-cons-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--rm-cons-accent);
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rm-cons-section-title {
    margin: 18px 0 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    font-weight: 720;
    color: var(--rm-cons-text);
}

.rm-cons-copy {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--rm-cons-muted);
}

.rm-cons-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.rm-cons-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid rgba(31, 30, 31, 0.96);
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    background: var(--rm-cons-dark);
    color: #fff !important;
}

.rm-cons-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

#rm-consulting-wrapper[dir="rtl"] .rm-cons-btn svg {
    transform: scaleX(-1);
}

.rm-cons-btn:hover,
.rm-cons-btn:focus-visible {
    transform: translateY(-2px);
    background: var(--rm-cons-dark);
    color: #fff !important;
    border-color: rgba(31, 30, 31, 0.96);
}

.rm-cons-btn:hover svg,
.rm-cons-btn:focus-visible svg {
    transform: translateX(4px);
}

#rm-consulting-wrapper[dir="rtl"] .rm-cons-btn:hover svg,
#rm-consulting-wrapper[dir="rtl"] .rm-cons-btn:focus-visible svg {
    transform: scaleX(-1) translateX(4px);
}

.rm-cons-btn--dark,
.rm-cons-btn--accent {
    background: var(--rm-cons-dark);
    color: #fff !important;
    border-color: rgba(31, 30, 31, 0.96);
}

/* Request consultation — orange hover, site style (no glow) */
.rm-cons-hero .rm-cons-btn--dark:hover,
.rm-cons-hero .rm-cons-btn--dark:focus-visible,
.rm-cons-cta .rm-cons-btn--accent:hover,
.rm-cons-cta .rm-cons-btn--accent:focus-visible {
    background: var(--rm-cons-accent);
    border-color: var(--rm-cons-accent);
    color: #fff !important;
}

.rm-cons-btn--ghost {
    background: #fff;
    color: var(--rm-cons-dark) !important;
    border-color: rgba(31, 30, 31, 0.18);
}

/* Contact us — stays light, no orange */
.rm-cons-btn--ghost:hover,
.rm-cons-btn--ghost:focus-visible {
    transform: translateY(-2px);
    background: #fff;
    color: var(--rm-cons-dark) !important;
    border-color: rgba(31, 30, 31, 0.4);
}

.rm-cons-hero {
    padding: var(--rm-page-hero-pad-top) 0 var(--rm-page-hero-pad-bottom) !important;
    background: var(--rm-cons-light);
    border-bottom: 0;
}

.rm-cons-hero::before {
    background: linear-gradient(180deg, #fff 0%, #f7f8f9 64%, #fff 100%);
    border-bottom: 1px solid var(--rm-cons-border);
}

.rm-cons-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 36px);
    align-items: center;
    min-width: 0;
}

.rm-cons-hero-copy {
    margin-top: 14px;
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.rm-cons-title {
    margin: 18px 0 0;
    font-size: clamp(34px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 760;
    color: var(--rm-cons-text);
}

.rm-cons-lead {
    margin: 24px 0 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.82;
    color: var(--rm-cons-muted);
}

.rm-cons-support {
    margin: 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.78;
    color: #6a6a6a;
}

.rm-cons-visual {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-cons-visual::before,
.rm-cons-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    z-index: 0;
    filter: blur(2px);
}

.rm-cons-visual::before {
    width: 420px;
    height: 420px;
    inset-inline-start: -48px;
    top: -14%;
    background: radial-gradient(circle, rgba(250, 163, 36, 0.34) 0%, rgba(250, 163, 36, 0.16) 34%, rgba(250, 163, 36, 0.05) 60%, rgba(250, 163, 36, 0) 82%);
    filter: blur(0);
}

.rm-cons-visual::after {
    width: 360px;
    height: 360px;
    inset-inline-end: -40px;
    bottom: -14%;
    background: radial-gradient(circle, rgba(250, 163, 36, 0.26) 0%, rgba(250, 163, 36, 0.11) 38%, rgba(17, 17, 17, 0.04) 56%, rgba(17, 17, 17, 0) 78%);
}

.rm-cons-hero-image {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    height: auto;
    max-width: 100%;
    max-height: min(420px, 42vw);
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 12px;
    box-shadow:
        16px 24px 52px -26px rgba(10, 10, 14, 0.3),
        -10px 16px 36px -22px rgba(250, 163, 36, 0.2);
    animation: rm-cons-hero-float 6s ease-in-out infinite;
}

#rm-consulting-wrapper[dir="rtl"] .rm-cons-hero-image {
    box-shadow:
        -16px 24px 52px -26px rgba(10, 10, 14, 0.3),
        10px 16px 36px -22px rgba(250, 163, 36, 0.2);
}

@keyframes rm-cons-hero-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -18px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-cons-hero-image {
        animation: none;
    }
}

.rm-cons-section {
    padding: var(--rm-page-sect-pad) 0;
}

.rm-cons-section--muted {
    background: #fff;
    border-bottom: 0;
}

.rm-cons-section--muted::before {
    background: #fff;
    border-bottom: 1px solid var(--rm-cons-border);
}

.rm-cons-section + .rm-cons-section {
    border-top: 0;
}

.rm-cons-section + .rm-cons-section::before {
    border-top: 1px solid var(--rm-cons-border);
}

.rm-cons-section::before {
    background: #fff;
}

.rm-cons-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: stretch;
}

.rm-cons-section--muted .rm-cons-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 1248px;
    margin: 0 auto;
}

.rm-cons-split > div:first-child {
    display: flex;
    flex-direction: column;
}

.rm-cons-quote {
    margin-top: 28px;
    padding: 24px 24px 20px;
    border-top: 0;
    border-inline-start: 3px solid var(--rm-cons-accent);
    background: var(--rm-cons-gray);
    border-radius: 0 12px 12px 0;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.58;
    font-weight: 520;
    font-style: italic;
    color: var(--rm-cons-text);
}

#rm-consulting-wrapper[dir="rtl"] .rm-cons-quote {
    border-radius: 8px 0 0 8px;
}

.rm-cons-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 14px;
    align-items: stretch;
    margin-top: 20px;
}

.rm-cons-list-card {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 12px;
    align-items: start;
    padding: 4px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
    position: relative;
}

.rm-cons-list-card:hover {
    transform: none;
    border-color: transparent;
}

.rm-cons-list-card:last-child {
    grid-column: auto;
}

.rm-cons-list-icon {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--rm-cons-accent);
    color: var(--rm-cons-accent);
    margin-top: 7px;
}

.rm-cons-list-icon svg {
    display: none;
}

.rm-cons-list-card p {
    margin: 0;
    color: var(--rm-cons-text);
    font-size: clamp(16px, 1.45vw, 18px);
    line-height: 1.5;
    font-weight: 560;
}

.rm-cons-list-card p strong {
    font-weight: 760;
}

.rm-cons-focus-head {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.rm-cons-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.rm-cons-service-item {
    border: 1px solid var(--rm-cons-border);
    background: #fff;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding: 26px 28px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.rm-cons-service-item:last-child {
    grid-column: 1 / -1;
}

.rm-cons-service-item:last-child .rm-cons-service-number,
.rm-cons-service-item:last-child .rm-cons-service-content {
    justify-self: start;
    text-align: start;
}

.rm-cons-service-item:last-child .rm-cons-service-content {
    max-width: none;
}

.rm-cons-service-item:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 163, 36, 0.34);
}

.rm-cons-service-number {
    color: rgba(17, 17, 17, 0.22);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    padding-top: 0;
}

.rm-cons-service-content {
    display: grid;
    gap: 10px;
}

.rm-cons-service-content h3 {
    margin: 0;
    color: var(--rm-cons-text);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.rm-cons-service-content p {
    margin: 0;
    color: var(--rm-cons-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 760px;
}

.rm-cons-clients {
    padding: var(--rm-page-sect-pad) 0;
    background: transparent;
    color: #fff;
}

.rm-cons-clients::before {
    background: var(--rm-cons-dark);
}

.rm-cons-clients-head {
    text-align: center;
    margin-bottom: 54px;
}

.rm-cons-clients-head h2 {
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.14;
    font-weight: 800;
}

.rm-cons-clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-cons-client {
    position: relative;
    padding: 38px 24px;
    text-align: center;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-cons-client:last-child {
    border-inline-end: 0;
}

.rm-cons-client::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--rm-cons-accent);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.rm-cons-client:hover::after {
    width: 64%;
}

.rm-cons-client-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.84);
    transition: 0.4s;
}

.rm-cons-client:hover .rm-cons-client-icon {
    color: #fff;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.rm-cons-client-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm-cons-client h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.rm-cons-client p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    line-height: 1.65;
}

.rm-cons-cta {
    padding-block: var(--rm-page-sect-pad) 48px;
    background: transparent;
    border-top: 0;
}

.rm-cons-cta::before {
    background: var(--rm-cons-gray);
    border-top: 1px solid var(--rm-cons-border);
}

.rm-cons-cta-inner {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 38px 40px;
    background: #fff;
    border: 1px solid var(--rm-cons-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.04);
}

.rm-cons-cta-text h2 {
    margin: 0;
    color: var(--rm-cons-text);
    font-size: clamp(24px, 2.7vw, 34px);
    line-height: 1.16;
    font-weight: 800;
}

.rm-cons-cta-text p {
    margin: 12px 0 0;
    max-width: 760px;
    color: var(--rm-cons-muted);
    font-size: 15px;
    line-height: 1.72;
}

@media (max-width: 1024px) {
    #rm-consulting-wrapper,
    #rm-trainings-wrapper {
        --rm-page-hero-pad-top: 36px;
        --rm-page-hero-pad-bottom: 32px;
        --rm-page-sect-pad: 44px;
    }

    .rm-cons-cta,
    .rm-train-cta {
        padding-block: var(--rm-page-sect-pad) 36px;
    }

    .rm-cons-hero-image,
    .rm-train-hero-image {
        animation: none;
        transform: none;
    }

    .rm-cons-visual::before,
    .rm-cons-visual::after,
    .rm-train-visual::before,
    .rm-train-visual::after {
        display: none;
    }
}

@media (max-width: 1120px) {
    .rm-cons-clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rm-cons-client:nth-child(3n) {
        border-inline-end: 0;
    }
}

@media (max-width: 920px) {
    .rm-cons-hero {
        padding: var(--rm-page-hero-pad-top) 0 var(--rm-page-hero-pad-bottom) !important;
    }

    .rm-cons-section,
    .rm-cons-clients {
        padding: var(--rm-page-sect-pad) 0;
    }

    .rm-cons-split,
    .rm-cons-cta-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rm-cons-section--muted .rm-cons-split {
        max-width: 100%;
    }

    .rm-cons-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .rm-cons-btn {
        min-height: 44px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .rm-cons-list-card:last-child {
        grid-column: auto;
    }

    .rm-cons-service-grid {
        grid-template-columns: 1fr;
    }

    .rm-cons-service-item {
        gap: 12px;
        padding: 22px 22px;
    }

    .rm-cons-service-item:last-child {
        grid-column: auto;
    }

    .rm-cons-clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rm-cons-client,
    .rm-cons-client:nth-child(3n) {
        border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rm-cons-client:nth-child(2n) {
        border-inline-end: 0;
    }
}

@media (max-width: 640px) {
    #rm-consulting-wrapper,
    #rm-trainings-wrapper {
        --rm-page-hero-pad-top: 28px;
        --rm-page-hero-pad-bottom: 24px;
        --rm-page-sect-pad: 32px;
        --rm-page-sect-pad-mob: 32px;
    }

    .rm-cons-title {
        font-size: clamp(30px, 9vw, 42px);
    }

    .rm-cons-section-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .rm-cons-btns {
        flex-direction: row;
    }

    .rm-cons-btn {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 12px;
    }

    .rm-cons-hero {
        padding: var(--rm-page-hero-pad-top) 0 var(--rm-page-hero-pad-bottom) !important;
    }

    .rm-cons-section,
    .rm-cons-clients {
        padding: var(--rm-page-sect-pad-mob) 0;
    }

    .rm-cons-cta {
        padding-block: var(--rm-page-sect-pad-mob) 32px;
    }

    .rm-cons-cta-inner {
        padding: 20px 18px;
        gap: 16px;
    }

    .rm-cons-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .rm-cons-list-card p {
        font-size: 14px;
        line-height: 1.42;
    }

    .rm-cons-clients-grid {
        grid-template-columns: 1fr;
    }

    .rm-cons-service-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rm-cons-service-number {
        font-size: 22px;
    }

    .rm-cons-client,
    .rm-cons-client:nth-child(2n),
    .rm-cons-client:nth-child(3n) {
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rm-cons-client:last-child {
        border-bottom: 0;
    }
}

/* ===== TRAININGS PAGE STYLES ===== */
#rm-trainings-wrapper {
    --rm-train-accent: var(--rm-site-accent, #faa324);
    --rm-train-dark: #1F1E1F;
    --rm-train-light: #FFFFFF;
    --rm-train-gray: #F4F6F8;
    --rm-train-border: #E5E7EB;
    --rm-train-text: #111111;
    --rm-train-muted: #5d5d5d;
    --rm-train-muted-light: rgba(255, 255, 255, 0.72);
    --rm-train-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
    --rm-page-hero-pad-top: 48px;
    --rm-page-hero-pad-bottom: 40px;
    --rm-page-sect-pad: 64px;
    --rm-page-sect-pad-tab: 44px;
    --rm-page-sect-pad-mob: 32px;
    color: var(--rm-train-text);
    background: var(--rm-train-light);
    font-family: 'Arimo', Arial, sans-serif;
    width: 100%;
    line-height: 1.6;
    direction: inherit;
    text-align: start;
    position: relative;
    overflow-x: hidden;
}

#rm-trainings-wrapper[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

#rm-trainings-wrapper a {
    color: inherit;
    text-decoration: none !important;
}

.rm-train-container {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.rm-train-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--rm-train-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rm-train-kicker--dark {
    background: none;
}

.rm-train-hero {
    padding: var(--rm-page-hero-pad-top) 0 var(--rm-page-hero-pad-bottom) !important;
    background: var(--rm-train-light);
    border-bottom: 0;
}

.rm-train-hero::before {
    background: linear-gradient(180deg, #fff 0%, #f7f8f9 64%, #fff 100%);
    border-bottom: 1px solid var(--rm-train-border);
}

.rm-train-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 36px);
    align-items: center;
    min-width: 0;
}

.rm-train-title {
    margin: 18px 0 0;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 760;
    color: var(--rm-train-text);
}

.rm-train-lead {
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.82;
    color: var(--rm-train-muted);
}

.rm-train-support {
    margin: 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.78;
    color: #6a6a6a;
}

.rm-train-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.rm-train-hero-copy {
    margin-top: 14px;
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.rm-train-visual {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-train-visual::before,
.rm-train-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    z-index: 0;
    filter: blur(2px);
}

.rm-train-visual::before {
    width: 420px;
    height: 420px;
    inset-inline-start: -48px;
    top: -14%;
    background: radial-gradient(circle, rgba(250, 163, 36, 0.34) 0%, rgba(250, 163, 36, 0.16) 34%, rgba(250, 163, 36, 0.05) 60%, rgba(250, 163, 36, 0) 82%);
    filter: blur(0);
}

.rm-train-visual::after {
    width: 360px;
    height: 360px;
    inset-inline-end: -40px;
    bottom: -14%;
    background: radial-gradient(circle, rgba(250, 163, 36, 0.26) 0%, rgba(250, 163, 36, 0.11) 38%, rgba(17, 17, 17, 0.04) 56%, rgba(17, 17, 17, 0) 78%);
}

.rm-train-hero-image {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    height: auto;
    max-width: 100%;
    max-height: min(420px, 42vw);
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 12px;
    box-shadow:
        16px 24px 52px -26px rgba(10, 10, 14, 0.3),
        -10px 16px 36px -22px rgba(250, 163, 36, 0.2);
    animation: rm-train-hero-float 6s ease-in-out infinite;
}

#rm-trainings-wrapper[dir="rtl"] .rm-train-hero-image {
    box-shadow:
        -16px 24px 52px -26px rgba(10, 10, 14, 0.3),
        10px 16px 36px -22px rgba(250, 163, 36, 0.2);
}

@keyframes rm-train-hero-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -18px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-train-hero-image {
        animation: none;
    }
}

.rm-train-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid rgba(31, 30, 31, 0.96);
    font-size: 14px;
    font-weight: 720;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    background: var(--rm-train-dark);
    color: #fff !important;
}

.rm-train-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

#rm-trainings-wrapper[dir="rtl"] .rm-train-btn svg {
    transform: scaleX(-1);
}

.rm-train-btn--accent {
    background: var(--rm-train-dark);
    color: #fff !important;
    border-color: rgba(31, 30, 31, 0.96);
}

.rm-train-btn:hover,
.rm-train-btn:focus-visible {
    transform: translateY(-2px);
    background: var(--rm-train-dark);
    color: #fff !important;
    border-color: rgba(31, 30, 31, 0.96);
}

.rm-train-btn:hover svg,
.rm-train-btn:focus-visible svg {
    transform: translateX(4px);
}

#rm-trainings-wrapper[dir="rtl"] .rm-train-btn:hover svg,
#rm-trainings-wrapper[dir="rtl"] .rm-train-btn:focus-visible svg {
    transform: scaleX(-1) translateX(4px);
}

/* Request training proposal — orange hover, site style (no glow) */
.rm-train-hero .rm-train-btn--accent:hover,
.rm-train-hero .rm-train-btn--accent:focus-visible,
.rm-train-cta .rm-train-btn--accent:hover,
.rm-train-cta .rm-train-btn--accent:focus-visible {
    background: var(--rm-train-accent);
    border-color: var(--rm-train-accent);
    color: #fff !important;
}

.rm-train-section {
    padding: var(--rm-page-sect-pad) 0;
    background: #fff;
}

.rm-train-section::before {
    background: #fff;
}

.rm-train-section + .rm-train-section {
    border-top: 0;
}

.rm-train-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1248px;
    margin: 0 auto;
}

.rm-train-split > div:first-child {
    display: flex;
    flex-direction: column;
}

.rm-train-section-title {
    margin: 18px 0 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--rm-train-text);
}

.rm-train-section-copy {
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--rm-train-muted);
}

.rm-train-quote {
    margin-top: auto;
    padding: 30px;
    border-top: 0;
    border-inline-start: 5px solid var(--rm-train-accent);
    border-radius: 0 8px 8px 0;
    background: var(--rm-train-gray);
    box-shadow: none;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 520;
    font-style: italic;
    color: var(--rm-train-text);
}

#rm-trainings-wrapper[dir="rtl"] .rm-train-quote {
    border-radius: 8px 0 0 8px;
}

.rm-train-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
    margin-top: 8px;
}

.rm-train-check {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 12px;
    align-items: start;
    padding: 3px 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
    position: relative;
}

.rm-train-check:hover {
    transform: none;
    border-color: transparent;
}

.rm-train-check-icon {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--rm-train-accent);
    color: var(--rm-train-accent);
    margin-top: 7px;
}

.rm-train-check-icon svg {
    display: none;
}

.rm-train-check p {
    margin: 0;
    color: var(--rm-train-text);
    font-size: clamp(16px, 1.45vw, 18px);
    line-height: 1.5;
    font-weight: 560;
}

.rm-train-check p strong {
    font-weight: 760;
}

.rm-train-method {
    padding: 88px 0;
    background: transparent;
    color: var(--rm-train-text);
    border-top: 0;
    border-bottom: 0;
}

.rm-train-method::before {
    background: #f4f4f5;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.rm-train-method-head {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.rm-train-method-head .rm-train-section-title {
    color: var(--rm-train-text);
}

.rm-train-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.rm-train-method-card {
    border: 1px solid var(--rm-train-border);
    background: #fff;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding: 26px 28px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.rm-train-method-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 163, 36, 0.34);
}

.rm-train-method-number {
    color: rgba(17, 17, 17, 0.22);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    padding-top: 0;
}

.rm-train-method-content {
    display: grid;
    gap: 10px;
}

.rm-train-method-content h3 {
    margin: 0;
    color: var(--rm-train-text);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.rm-train-method-content h3 strong {
    font-weight: 780;
}

.rm-train-audience {
    padding: 86px 0;
    background: transparent;
    color: #fff;
    border-top: 0;
}

.rm-train-audience::before {
    background: var(--rm-train-dark);
    border-top: 1px solid var(--rm-train-border);
}

.rm-train-audience-head {
    text-align: center;
    margin-bottom: 54px;
}

.rm-train-audience-head h2 {
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.14;
    font-weight: 800;
}

.rm-train-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rm-train-audience-item {
    position: relative;
    padding: 38px 24px;
    text-align: center;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s ease;
}

.rm-train-audience-item:last-child {
    border-inline-end: 0;
}

.rm-train-audience-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--rm-train-accent);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.rm-train-audience-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rm-train-audience-item:hover::after {
    width: 64%;
}

.rm-train-audience-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.84);
    transition: 0.4s;
}

.rm-train-audience-item:hover .rm-train-audience-icon {
    color: #fff;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.rm-train-audience-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rm-train-audience-title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.rm-train-audience-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 13px;
    line-height: 1.65;
}

.rm-train-cta {
    padding-block: var(--rm-page-sect-pad) 48px;
    background: transparent;
    border-top: 0;
}

.rm-train-cta::before {
    background: var(--rm-train-gray);
    border-top: 1px solid var(--rm-train-border);
}

.rm-train-cta-inner {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--rm-train-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.04);
}

.rm-train-cta-text h2 {
    margin: 0;
    color: var(--rm-train-text);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.16;
    font-weight: 800;
}

.rm-train-cta-text p {
    margin: 12px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.72;
}

@media (max-width: 1120px) {
    .rm-train-split {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .rm-train-method-head {
        max-width: 100%;
    }

    .rm-train-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rm-train-method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rm-train-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rm-train-audience-item:nth-child(3n) {
        border-inline-end: 0;
    }
}

@media (max-width: 920px) {
    .rm-train-hero {
        padding: var(--rm-page-hero-pad-top) 0 var(--rm-page-hero-pad-bottom) !important;
    }

    .rm-train-section,
    .rm-train-method,
    .rm-train-audience {
        padding: var(--rm-page-sect-pad) 0;
    }

    .rm-train-split,
    .rm-train-cta-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rm-train-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rm-train-btn {
        min-height: 44px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .rm-train-audience-item,
    .rm-train-audience-item:nth-child(3n) {
        border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rm-train-audience-item:nth-child(2n) {
        border-inline-end: 0;
    }
}

@media (max-width: 640px) {
    .rm-train-title {
        font-size: clamp(30px, 9vw, 42px);
    }

    .rm-train-section-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .rm-train-actions {
        flex-direction: row;
    }

    .rm-train-btn {
        min-height: 40px;
        padding: 9px 14px;
        font-size: 12px;
    }

    .rm-train-hero {
        padding: var(--rm-page-hero-pad-top) 0 var(--rm-page-hero-pad-bottom) !important;
    }

    .rm-train-section,
    .rm-train-method,
    .rm-train-audience {
        padding: var(--rm-page-sect-pad-mob) 0;
    }

    .rm-train-cta {
        padding-block: var(--rm-page-sect-pad-mob) 32px;
    }

    .rm-train-cta-inner {
        padding: 20px 18px;
        gap: 16px;
    }

    .rm-train-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .rm-train-check p {
        font-size: 14px;
        line-height: 1.42;
    }

    .rm-train-check {
        grid-template-columns: 16px 1fr;
        gap: 9px;
        padding: 4px 0;
        min-height: 0;
    }

    .rm-train-check-icon {
        width: 12px;
        height: 12px;
        margin-top: 6px;
    }

    .rm-train-method-grid,
    .rm-train-audience-grid {
        grid-template-columns: 1fr;
    }

    .rm-train-method-card {
        gap: 12px;
        padding: 22px 22px;
    }

    .rm-train-method-number {
        font-size: 22px;
    }

    .rm-train-method-content h3 {
        font-size: clamp(18px, 4.8vw, 20px);
    }

    .rm-train-cta-inner {
        padding: 18px 18px;
        gap: 18px;
    }

    .rm-train-audience-item,
    .rm-train-audience-item:nth-child(2n),
    .rm-train-audience-item:nth-child(3n) {
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rm-train-audience-item:last-child {
        border-bottom: 0;
    }
}

/* Consulting / Trainings hero — must stay after base .rm-train-hero-grid rules */
/* Desktop: text | image. Mobile + iPad: image first, then full-width headline + copy + CTA */
@media (min-width: 1025px) {
    #rm-consulting-wrapper .rm-cons-hero-grid,
    #rm-trainings-wrapper .rm-train-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(20px, 2.5vw, 36px);
        align-items: center;
    }
}

@media (max-width: 1024px) {
    #rm-consulting-wrapper .rm-cons-hero::before,
    #rm-trainings-wrapper .rm-train-hero::before {
        border-bottom: 0;
    }

    #rm-consulting-wrapper .rm-cons-hero-grid,
    #rm-trainings-wrapper .rm-train-hero-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row;
        gap: 32px;
        align-items: start;
    }

    #rm-consulting-wrapper .rm-cons-hero-grid > *,
    #rm-trainings-wrapper .rm-train-hero-grid > * {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
    }

    #rm-consulting-wrapper .rm-cons-hero-grid > div:first-child,
    #rm-trainings-wrapper .rm-train-hero-grid > div:first-child {
        order: 2;
    }

    #rm-consulting-wrapper .rm-cons-visual,
    #rm-trainings-wrapper .rm-train-visual {
        order: 1;
        width: 100%;
        align-self: stretch;
        min-height: 0;
        margin: 0;
        padding: 0;
        background: none;
        border: none;
        display: block;
        overflow: hidden;
        border-radius: 12px;
    }

    #rm-consulting-wrapper .rm-cons-visual::before,
    #rm-consulting-wrapper .rm-cons-visual::after,
    #rm-trainings-wrapper .rm-train-visual::before,
    #rm-trainings-wrapper .rm-train-visual::after {
        display: none;
    }

    #rm-consulting-wrapper .rm-cons-hero-image,
    #rm-trainings-wrapper .rm-train-hero-image {
        width: 100%;
        max-width: none;
        margin: 0;
        display: block;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
        box-shadow: 0 14px 36px -16px rgba(10, 10, 14, 0.14);
        animation: none;
        transform: none;
    }

    #rm-consulting-wrapper[dir="rtl"] .rm-cons-hero-image,
    #rm-trainings-wrapper[dir="rtl"] .rm-train-hero-image {
        box-shadow: 0 14px 36px -16px rgba(10, 10, 14, 0.14);
    }

    #rm-consulting-wrapper .rm-cons-hero-copy,
    #rm-trainings-wrapper .rm-train-hero-copy {
        margin-top: 12px;
        gap: 14px;
        max-width: none;
    }

    #rm-consulting-wrapper .rm-cons-title,
    #rm-trainings-wrapper .rm-train-title {
        margin-top: 12px;
        font-size: clamp(34px, 5vw, 48px);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    #rm-consulting-wrapper .rm-cons-lead,
    #rm-trainings-wrapper .rm-train-lead {
        margin-top: 16px;
        font-size: clamp(16px, 2.1vw, 18px);
        line-height: 1.75;
        max-width: none;
    }

    #rm-consulting-wrapper .rm-cons-support,
    #rm-trainings-wrapper .rm-train-support {
        font-size: clamp(15px, 1.9vw, 16px);
        line-height: 1.72;
        max-width: none;
    }

    #rm-consulting-wrapper .rm-cons-kicker,
    #rm-trainings-wrapper .rm-train-kicker {
        font-size: 12px;
    }

    #rm-consulting-wrapper .rm-cons-btns,
    #rm-trainings-wrapper .rm-train-actions {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    #rm-consulting-wrapper .rm-cons-hero-grid,
    #rm-trainings-wrapper .rm-train-hero-grid {
        gap: 24px;
    }

    #rm-consulting-wrapper .rm-cons-visual,
    #rm-trainings-wrapper .rm-train-visual {
        width: 100%;
        border-radius: 12px;
    }

    #rm-consulting-wrapper .rm-cons-hero-image,
    #rm-trainings-wrapper .rm-train-hero-image {
        width: 100%;
        max-width: none;
        height: clamp(220px, 58vw, 300px);
        min-height: 220px;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    #rm-consulting-wrapper .rm-cons-title,
    #rm-trainings-wrapper .rm-train-title {
        font-size: clamp(32px, 8.5vw, 42px);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #rm-consulting-wrapper .rm-cons-visual,
    #rm-trainings-wrapper .rm-train-visual {
        min-height: 390px;
        border-radius: 12px;
    }

    #rm-consulting-wrapper .rm-cons-hero-image,
    #rm-trainings-wrapper .rm-train-hero-image {
        width: 100%;
        max-width: none;
        height: 390px;
        min-height: 390px;
        max-height: 390px;
        object-fit: cover;
        object-position: center;
    }

    #rm-consulting-wrapper .rm-cons-title,
    #rm-trainings-wrapper .rm-train-title {
        font-size: clamp(38px, 4.8vw, 52px);
    }
}

@media (min-width: 1025px) {
    #rm-consulting-wrapper .rm-cons-hero-image,
    #rm-trainings-wrapper .rm-train-hero-image {
        border-radius: 12px;
    }

    #rm-consulting-wrapper .rm-cons-visual,
    #rm-trainings-wrapper .rm-train-visual {
        overflow: visible;
    }
}

/* Dark theme — monitoring.remarks.org surfaces + Remarks orange (#faa324) */

html[data-rm-theme="dark"] {
    --rm-dm-bg: #101010;
    --rm-dm-fg: #f1f1f1;
    --rm-dm-heading: #ffffff;
    --rm-dm-card: #171717;
    --rm-dm-surface: #1d1d1d;
    --rm-dm-surface-2: #242424;
    --rm-dm-border: #303030;
    --rm-dm-line: #383838;
    --rm-dm-muted: #c8c8c8;
    --rm-dm-muted-soft: #9f9f9f;
    --rm-dm-band: #1a1a1a;
    --rm-dm-raised: #171717;

    /* Remarks brand orange — unchanged */
    --rm-orange: #faa324;
    --rm-accent: #dd9832;
    --rm-accent-2: #faa324;
    --rm-site-accent: #faa324;

    /* Legacy tokens: "dark" = light text on dark UI */
    --rm-dark: #ededed;
    --rm-site-dark: #ffffff;
    --rm-text: #ededed;
    --rm-light: #101010;
    --rm-white: #171717;
    --rm-bg: #101010;
    --rm-bg-gray: #1d1d1d;
    --rm-border: #303030;
    --rm-gray: #c8c8c8;
    --rm-text-primary: #f1f1f1;
    --rm-text-secondary: #c8c8c8;
    --rm-text-light: #9f9f9f;
    --dark: #ededed;
    --light: #242424;
    --surface: #171717;

    --rm-selection-bg: rgba(250, 163, 36, 0.22);
    --rm-scrollbar-thumb: rgba(250, 163, 36, 0.72);
    --rm-scrollbar-thumb-hover: #faa324;
    --rm-scrollbar-track: #1d1d1d;
    --rm-dm-glow: none;

    color-scheme: dark;
}

html[data-rm-theme="dark"],
html[data-rm-theme="dark"] body {
    background-color: var(--rm-dm-bg);
    background-image: none;
    color: var(--rm-dm-fg);
}

/*
 * Dark theme = color swap only (backgrounds, text, borders, icons).
 * Layout, motion, and hover behavior come from the light-theme stylesheets.
 * Do not add extra box-shadows, transforms, or hover effects here.
 */

html[data-rm-theme="dark"] ::selection {
    background: var(--rm-selection-bg);
}

html[data-rm-theme="dark"] ::-moz-selection {
    background: var(--rm-selection-bg);
}

/* Force readable text on dark (override hardcoded dark grays) */
html[data-rm-theme="dark"] body,
html[data-rm-theme="dark"] .elementor-widget-container,
html[data-rm-theme="dark"] .e-con {
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] h1,
html[data-rm-theme="dark"] h2,
html[data-rm-theme="dark"] h3,
html[data-rm-theme="dark"] h4,
html[data-rm-theme="dark"] h5,
html[data-rm-theme="dark"] h6 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] p,
html[data-rm-theme="dark"] li,
html[data-rm-theme="dark"] label,
html[data-rm-theme="dark"] span:not(.rm-home-stat-num):not(.rm-home-method-num) {
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] .rm-home-serve,
html[data-rm-theme="dark"] .rm-home-serve *,
html[data-rm-theme="dark"] .rm-home-method,
html[data-rm-theme="dark"] .rm-home-method-intro h2,
html[data-rm-theme="dark"] .rm-home-method-intro p,
html[data-rm-theme="dark"] .rm-home-method-title,
html[data-rm-theme="dark"] .rm-home-method-desc,
html[data-rm-theme="dark"] .rm-home-scale-title,
html[data-rm-theme="dark"] .rm-home-scale-labels,
html[data-rm-theme="dark"] .rm-home-scale-labels span,
html[data-rm-theme="dark"] .rm-footer footer,
html[data-rm-theme="dark"] .rm-footer footer * {
    color: inherit;
}

/* Theme toggle */
#rm-header-scope .rm-theme-toggle {
    --rm-toggle-travel: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 54px;
    height: 30px;
    padding: 3px;
    margin: 0;
    border: 1px solid rgba(31, 30, 31, 0.1);
    border-radius: 999px;
    background: linear-gradient(180deg, #eef0f3 0%, #e4e7ec 100%);
    color: #5f6672;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(31, 30, 31, 0.05);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

#rm-header-scope .rm-theme-toggle-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    box-shadow: 0 2px 8px rgba(31, 30, 31, 0.14), 0 1px 2px rgba(31, 30, 31, 0.08);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

#rm-header-scope .rm-theme-toggle-thumb svg {
    position: absolute;
    width: 13px;
    height: 13px;
    display: block;
    transition: opacity 0.24s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

#rm-header-scope .rm-theme-toggle .rm-theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #5c6370;
}

#rm-header-scope .rm-theme-toggle .rm-theme-icon-sun {
    opacity: 0;
    transform: rotate(-40deg) scale(0.65);
    color: #dd9832;
}

#rm-header-scope .rm-theme-toggle:hover {
    border-color: rgba(250, 163, 36, 0.38);
    background: linear-gradient(180deg, #f3f0ea 0%, #ebe4d8 100%);
}

#rm-header-scope .rm-theme-toggle:hover .rm-theme-toggle-thumb {
    box-shadow: 0 3px 10px rgba(31, 30, 31, 0.16);
}

#rm-header-scope .rm-theme-toggle:focus-visible {
    outline: 2px solid rgba(250, 163, 36, 0.55);
    outline-offset: 2px;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-theme-toggle {
    background: linear-gradient(180deg, #2a2a2a 0%, #1e1e1e 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-theme-toggle:hover {
    border-color: rgba(250, 163, 36, 0.45);
    background: linear-gradient(180deg, #313131 0%, #242424 100%);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-theme-toggle-thumb {
    transform: translateX(var(--rm-toggle-travel));
    background: linear-gradient(180deg, #f6ac3b 0%, #dd9832 100%);
    box-shadow: 0 2px 10px rgba(250, 163, 36, 0.34), 0 1px 3px rgba(0, 0, 0, 0.22);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-main[dir="rtl"] .rm-theme-toggle-thumb,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-mobile-menu[dir="rtl"] .rm-theme-toggle-thumb {
    transform: translateX(calc(var(--rm-toggle-travel) * -1));
}

html[data-rm-theme="dark"] #rm-header-scope .rm-theme-toggle:hover .rm-theme-toggle-thumb {
    box-shadow: 0 3px 12px rgba(250, 163, 36, 0.42);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-theme-toggle .rm-theme-icon-moon {
    opacity: 0;
    transform: rotate(40deg) scale(0.65);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-theme-toggle .rm-theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #ffffff;
}

/* Header */
html[data-rm-theme="dark"] #rm-header-scope {
    --rm-accent: #dd9832;
    --rm-accent-2: #faa324;
    --rm-text: #ededed;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-wrap {
    background: #1f1e1f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--rm-dm-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-nav a,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-parent-label {
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-nav a:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-parent-label:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-nav .is-current > a {
    color: var(--rm-orange);
    text-decoration-color: var(--rm-orange);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-lang a,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-langbtn {
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-lang a span,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-langbtn span {
    color: inherit;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-lang a:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-lang a:hover span {
    color: var(--rm-orange) !important;
    background: transparent;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub-btn {
    color: #0b0c0f;
    background: var(--rm-orange);
    border-color: var(--rm-orange);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub-btn:hover {
    background: #e89620;
    border-color: #e89620;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-main[dir="rtl"] .rm-header-sep--lang-toggle {
    background: var(--rm-dm-line);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-burger {
    background: var(--rm-orange);
    color: #fff;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-drop {
    background: var(--rm-dm-surface);
    border-color: var(--rm-dm-border);
    box-shadow: none;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-drop a {
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-drop a:hover {
    color: var(--rm-orange);
    background: var(--rm-dm-surface-2);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-menu-gate-icon {
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-menu-gate-hint {
    color: var(--rm-dm-muted);
    opacity: 0.85;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-drop a.rm-menu-gated:hover .rm-menu-gate-icon,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub a.rm-menu-gated:hover .rm-menu-gate-icon {
    color: var(--rm-orange);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-btn {
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-mobile-menu {
    background: var(--rm-dm-bg);
    border-color: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-mm-parent,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub a {
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub a:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-mm-item:hover .rm-header-mm-parent-row,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-mm-item.open .rm-header-mm-parent-row,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-mm-item:hover > .rm-header-mm-parent--link {
    color: var(--rm-orange);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-mobile-auth {
    border-color: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-mobile-auth-btn {
    background: #1F1E1F;
    border-color: #1F1E1F;
    color: #fff !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-mobile-auth-btn:hover {
    background: var(--rm-orange);
    border-color: var(--rm-orange);
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-dropdown-panel {
    background: var(--rm-dm-surface);
    border-color: var(--rm-dm-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-dropdown-label {
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-mm-sep {
    background: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-mobile-auth-logout {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-mobile-auth-logout:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-mobile-auth-logout:focus-visible {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-item {
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-item:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-item:focus-visible {
    background: var(--rm-dm-surface-2);
    color: var(--rm-orange);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-item--logout:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-item--logout:focus-visible {
    background: var(--rm-dm-surface-2);
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-divider {
    background: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-sbtn {
    background: var(--rm-dm-surface);
    border-color: var(--rm-dm-border);
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-menu-backdrop {
    background: rgba(11, 12, 15, 0.55);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-box {
    background: var(--rm-dm-surface);
    border-color: var(--rm-dm-border);
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-title {
    color: var(--rm-dm-heading);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-desc {
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-input {
    background: var(--rm-dm-surface-2);
    border-color: var(--rm-dm-border);
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-submit {
    background: var(--rm-orange);
    color: #0b0c0f;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-remember label {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-remember label:hover {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-remember input[type="checkbox"] {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-remember input[type="checkbox"]:checked {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-footer {
    border-top-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-link-row span {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-link-row a {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-pop-link-row a:hover {
    color: #e89620 !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-langbtn,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-sbtn {
    color: var(--rm-dm-muted);
    border-color: var(--rm-dm-line);
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-sbtn:hover {
    color: var(--rm-orange);
    border-color: var(--rm-orange);
}

/* Footer */
html[data-rm-theme="dark"] .rm-footer footer {
    --primary: var(--rm-orange);
    --text: var(--rm-dm-fg);
    --bg: var(--rm-dm-bg);
    --border: var(--rm-dm-border);
    --muted: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] .rm-footer footer::before {
    background: var(--rm-dm-bg);
    border-top-color: var(--rm-dm-border);
}

html[data-rm-theme="dark"] .rm-footer-links a:hover {
    color: var(--rm-orange);
}

/* ========== Homepage (#rm-home-wrapper) ========== */
html[data-rm-theme="dark"] #rm-home-wrapper {
    --rm-orange: #faa324;
    /* Keep --rm-dark as charcoal for serve/method bands (do not map to white) */
    --rm-dark: #1f1e1f;
    --rm-light: var(--rm-dm-bg);
    --rm-gray: var(--rm-dm-surface);
    --rm-border: var(--rm-dm-border);
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-hero {
    background: var(--rm-dm-bg) !important;
    border-bottom-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-hero-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-hero-sub {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-text-accent {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-btn {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stats {
    background: var(--rm-dm-surface) !important;
    border-bottom-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stats-head h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stats-head p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-link {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-link:hover {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stat-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stat-num {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stat-label {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-serve {
    background: var(--rm-dm-band) !important;
    border-top: 1px solid var(--rm-dm-border);
    border-bottom: 1px solid var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-services {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-services-header h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-services-header p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-visual,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-visual {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-body h3,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-body h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-body p,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-body p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-btn {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: transparent !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-btn:hover {
    background: #e89620 !important;
}

/* Methodology section + 5 cards + scale (hero tabs) */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method {
    background: var(--rm-dm-band) !important;
    border-top-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-intro h2,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-title,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-scale-title,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-scale-labels,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-scale-labels span {
    color: #ffffff !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-intro p,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-desc {
    color: rgba(255, 255, 255, 0.65) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-num {
    color: rgba(255, 255, 255, 0.12) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-scale-wrap {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-cta .rm-home-link,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-scale-wrap .rm-home-link {
    color: #ffffff !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-cta .rm-home-link:hover,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-scale-wrap .rm-home-link:hover {
    color: var(--rm-orange) !important;
}

/* Advisors / team grid — raised band (maps light #fff section) */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-advisors {
    background: var(--rm-dm-raised) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-team-head h2 {
    color: var(--rm-dm-heading);
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-member-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-member-info h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-member-info p {
    color: var(--rm-dm-muted) !important;
}

/* ========== All Remarks wrappers ========== */
html[data-rm-theme="dark"] #rm-membership-wrapper,
html[data-rm-theme="dark"] [id^="rm-"],
html[data-rm-theme="dark"] [class^="rm-"],
html[data-rm-theme="dark"] [class*=" rm-"] {
    --rm-orange: #faa324;
    --rm-dark: #ededed;
    --rm-accent: #dd9832;
}

html[data-rm-theme="dark"] #rm-membership-wrapper {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-account-gate-card,
html[data-rm-theme="dark"] .rm-mem-card,
html[data-rm-theme="dark"] .rm-mem-plan,
html[data-rm-theme="dark"] .rm-cons-card,
html[data-rm-theme="dark"] .rm-train-card,
html[data-rm-theme="dark"] .rm-contact-card,
html[data-rm-theme="dark"] .rm-archive-card,
html[data-rm-theme="dark"] .rm-single-card,
html[data-rm-theme="dark"] .rm-team-card,
html[data-rm-theme="dark"] .rm-method-card,
html[data-rm-theme="dark"] .rm-about-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] [style*="color:#555"],
html[data-rm-theme="dark"] [style*="color: #555"],
html[data-rm-theme="dark"] [style*="color:#666"],
html[data-rm-theme="dark"] [style*="color:#333"],
html[data-rm-theme="dark"] [style*="color:#111"] {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] [style*="background:#fff"],
html[data-rm-theme="dark"] [style*="background: #fff"],
html[data-rm-theme="dark"] [style*="background:#ffffff"],
html[data-rm-theme="dark"] [style*="background: #ffffff"],
html[data-rm-theme="dark"] [style*="background: #F9FAFB"],
html[data-rm-theme="dark"] [style*="background:#f8f9fa"] {
    background: var(--rm-dm-card) !important;
}

html[data-rm-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-rm-theme="dark"] select,
html[data-rm-theme="dark"] textarea {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-mem-btn-dark,
html[data-rm-theme="dark"] .rm-cons-btn--dark,
html[data-rm-theme="dark"] .rm-btn-dark,
html[data-rm-theme="dark"] [class*="btn-dark"] {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-mem-btn:not(.rm-mem-btn-dark):not(.rm-mem-btn--dark):not(.rm-mem-btn--ghost):not(.rm-mem-btn--link):not(.rm-mem-btn--mini):not(.rm-mem-btn--outline):not(.rm-mem-btn--request):not(.current),
html[data-rm-theme="dark"] .rm-cons-btn:not(.rm-cons-btn--dark):not(.rm-cons-btn--ghost),
html[data-rm-theme="dark"] .rm-train-btn:not(.rm-train-btn--ghost),
html[data-rm-theme="dark"] .rm-demo-btn,
html[data-rm-theme="dark"] .rm-archive-load-btn {
    background: var(--rm-orange) !important;
    color: #1f1e1f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-mem-hero,
html[data-rm-theme="dark"] .rm-cons-hero,
html[data-rm-theme="dark"] .rm-train-hero,
html[data-rm-theme="dark"] .rm-contact-wrap,
html[data-rm-theme="dark"] .rm-single-wrap,
html[data-rm-theme="dark"] .rm-archive-wrap,
html[data-rm-theme="dark"] .rm-about-hero,
html[data-rm-theme="dark"] .rm-method-hero,
html[data-rm-theme="dark"] .rm-team-hero,
html[data-rm-theme="dark"] .rm-advisors-hero,
html[data-rm-theme="dark"] section.rm-mem-section,
html[data-rm-theme="dark"] .rm-cons-section,
html[data-rm-theme="dark"] .rm-train-section {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-mem-section:nth-child(even),
html[data-rm-theme="dark"] .rm-cons-band,
html[data-rm-theme="dark"] .rm-train-band,
html[data-rm-theme="dark"] .rm-bg-gray,
html[data-rm-theme="dark"] [class*="bg-gray"] {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] table,
html[data-rm-theme="dark"] .rm-archive-table {
    background: var(--rm-dm-card);
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] th {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] td {
    border-color: var(--rm-dm-line) !important;
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-cookie-banner {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-cookie-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-cookie-btn-accept {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] .pmpro,
html[data-rm-theme="dark"] #pmpro_levels,
html[data-rm-theme="dark"] .pmpro_form {
    background: var(--rm-dm-card) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .pmpro_btn {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] .rm-preloader-bg {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-sidebar-box {
    background: var(--rm-dm-surface) !important;
    border: 1px solid var(--rm-dm-border);
}

html[data-rm-theme="dark"] .rm-sidebar-box .sb-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-sidebar-box .tnp-email {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-meth-panel,
html[data-rm-theme="dark"] .rm-scale-panel {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

/* Page wrappers (main-styles) */
html[data-rm-theme="dark"] #rm-about-wrapper,
html[data-rm-theme="dark"] #rm-team-wrapper,
html[data-rm-theme="dark"] #rm-advisors-wrapper,
html[data-rm-theme="dark"] #rm-membership-wrapper,
html[data-rm-theme="dark"] #rm-consulting-wrapper,
html[data-rm-theme="dark"] #rm-trainings-wrapper,
html[data-rm-theme="dark"] #rm-contact-wrapper,
html[data-rm-theme="dark"] #rm-cookie-wrapper,
html[data-rm-theme="dark"] #rm-terms-wrapper,
html[data-rm-theme="dark"] #rm-privacy-wrapper {
    --orange: #faa324;
    --rm-orange: #faa324;
    --dark: #ededed;
    --muted: #a8a9ad;
    --border: #202327;
    --rm-bg: #0b0c0f;
    --surface: #121417;
    --light: #1d1d1d;
    color: var(--rm-dm-fg);
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper h1,
html[data-rm-theme="dark"] #rm-about-wrapper h2,
html[data-rm-theme="dark"] #rm-about-wrapper h3,
html[data-rm-theme="dark"] #rm-team-wrapper h1,
html[data-rm-theme="dark"] #rm-team-wrapper h2,
html[data-rm-theme="dark"] #rm-advisors-wrapper h1,
html[data-rm-theme="dark"] #rm-advisors-wrapper h2,
html[data-rm-theme="dark"] #rm-consulting-wrapper h1,
html[data-rm-theme="dark"] #rm-consulting-wrapper h2,
html[data-rm-theme="dark"] #rm-trainings-wrapper h1,
html[data-rm-theme="dark"] #rm-trainings-wrapper h2,
html[data-rm-theme="dark"] #rm-contact-wrapper h1,
html[data-rm-theme="dark"] #rm-contact-wrapper h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper p,
html[data-rm-theme="dark"] #rm-team-wrapper p,
html[data-rm-theme="dark"] #rm-advisors-wrapper p,
html[data-rm-theme="dark"] #rm-consulting-wrapper p,
html[data-rm-theme="dark"] #rm-trainings-wrapper p,
html[data-rm-theme="dark"] #rm-contact-wrapper p,
html[data-rm-theme="dark"] #rm-cookie-wrapper p,
html[data-rm-theme="dark"] #rm-terms-wrapper p,
html[data-rm-theme="dark"] #rm-privacy-wrapper p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-team-wrapper {
    --orange-dim: rgba(250, 163, 36, 0.12);
}

html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-hero,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-hero,
html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-hero-inner,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-hero-inner {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-cookie-wrapper,
html[data-rm-theme="dark"] #rm-terms-wrapper,
html[data-rm-theme="dark"] #rm-privacy-wrapper {
    --rm-orange-dim: rgba(250, 163, 36, 0.15);
}

html[data-rm-theme="dark"] #rm-cookie-wrapper .rm-cp-toc,
html[data-rm-theme="dark"] #rm-terms-wrapper .rm-tc-sidebar,
html[data-rm-theme="dark"] #rm-privacy-wrapper .rm-pp-sidebar {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def-quote-box,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-leader-card,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-card,
html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-card,
html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-panel,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-card,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-panel,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-card,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-form-box,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-comparison,
html[data-rm-theme="dark"] .rm-account-card,
html[data-rm-theme="dark"] .rm-account-grid .rm-account-card,
html[data-rm-theme="dark"] .rm-modal-content,
html[data-rm-theme="dark"] .rm-cancel-modal {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-divider::before,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-divider::after {
    background: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap,
html[data-rm-theme="dark"] .rm-archive-main,
html[data-rm-theme="dark"] .rm-archive-feat,
html[data-rm-theme="dark"] .rm-archive-card,
html[data-rm-theme="dark"] .rm-single-wrap,
html[data-rm-theme="dark"] .rm-single-content,
html[data-rm-theme="dark"] .rm-single-sidebar {
    background: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] .rm-archive-card,
html[data-rm-theme="dark"] .rm-archive-feat-body,
html[data-rm-theme="dark"] .rm-archive-filter-bar,
html[data-rm-theme="dark"] .rm-archive-filters {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-archive-card h2,
html[data-rm-theme="dark"] .rm-archive-card h3,
html[data-rm-theme="dark"] .rm-archive-feat-title,
html[data-rm-theme="dark"] .rm-single-content h1,
html[data-rm-theme="dark"] .rm-single-content h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-card p,
html[data-rm-theme="dark"] .rm-archive-card-date,
html[data-rm-theme="dark"] .rm-single-content p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-load-btn,
html[data-rm-theme="dark"] .rm-archive-card-btn {
    border-color: var(--rm-dm-line) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-archive-card-btn-full,
html[data-rm-theme="dark"] .rm-archive-load-btn:hover {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-mem-plan-name,
html[data-rm-theme="dark"] .rm-mem-price,
html[data-rm-theme="dark"] .rm-account-header h1,
html[data-rm-theme="dark"] .rm-account-card-head h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-mem-desc,
html[data-rm-theme="dark"] .rm-mem-features-list li,
html[data-rm-theme="dark"] .rm-account-meta,
html[data-rm-theme="dark"] .rm-account-header p {
    color: var(--rm-dm-muted) !important;
}

#rm-header-scope .rm-theme-toggle--mobile {
    display: none;
}

@media (max-width: 1061px) {
    #rm-header-scope .rm-side .rm-theme-toggle:not(.rm-theme-toggle--mobile) {
        display: none;
    }

    #rm-header-scope .rm-theme-toggle--mobile {
        display: inline-flex;
        margin: 0;
    }
}

/* ========== Site-wide: Elementor + WP theme shells ========== */
html[data-rm-theme="dark"] body,
html[data-rm-theme="dark"] #page,
html[data-rm-theme="dark"] .site,
html[data-rm-theme="dark"] #content,
html[data-rm-theme="dark"] .site-content,
html[data-rm-theme="dark"] .content-area,
html[data-rm-theme="dark"] .site-main,
html[data-rm-theme="dark"] main,
html[data-rm-theme="dark"] article,
html[data-rm-theme="dark"] .page-content,
html[data-rm-theme="dark"] .entry-content,
html[data-rm-theme="dark"] .elementor-page,
html[data-rm-theme="dark"] .elementor {
    background-color: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] .elementor-section,
html[data-rm-theme="dark"] .elementor-top-section,
html[data-rm-theme="dark"] .e-con,
html[data-rm-theme="dark"] .e-con-boxed,
html[data-rm-theme="dark"] .e-con-full,
html[data-rm-theme="dark"] .e-flexbox,
html[data-rm-theme="dark"] .elementor-column,
html[data-rm-theme="dark"] .elementor-widget-wrap {
    --e-con-background-color: var(--rm-dm-bg) !important;
    --background-color: var(--rm-dm-bg) !important;
    background-color: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .elementor-section.elementor-section-boxed > .elementor-container {
    background-color: transparent !important;
}

html[data-rm-theme="dark"] .elementor-widget-heading .elementor-heading-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .elementor-widget-text-editor,
html[data-rm-theme="dark"] .elementor-widget-text-editor p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .elementor-widget-icon-box .elementor-icon-box-title,
html[data-rm-theme="dark"] .elementor-widget-icon-box .elementor-icon-box-description {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] [class*="has-white-background"],
html[data-rm-theme="dark"] [class*="has-background"][class*="white"] {
    background-color: var(--rm-dm-card) !important;
}

html[data-rm-theme="dark"] div[style*="background-color: #fff"],
html[data-rm-theme="dark"] div[style*="background-color:#fff"],
html[data-rm-theme="dark"] div[style*="background-color: #ffffff"],
html[data-rm-theme="dark"] div[style*="background-color:#ffffff"],
html[data-rm-theme="dark"] div[style*="background-color: rgb(255, 255, 255)"],
html[data-rm-theme="dark"] section[style*="background-color: #fff"],
html[data-rm-theme="dark"] section[style*="background-color:#ffffff"] {
    background-color: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-team-wrapper {
    background-color: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-leader-card,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-analyst-card,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-london {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-header h1,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-leader-name,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-analyst-name {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-header p,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-leader-role,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-analyst-role,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-divider span,
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-london p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .white,
html[data-rm-theme="dark"] .bg-white {
    background-color: var(--rm-dm-card) !important;
}

/* =============================================================================
   PAGE-BY-PAGE DARK THEME (Remarks components only — light theme untouched)
   ============================================================================= */

/* --- Remarks Alerts / Briefs / Archive feed --- */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-alerts-filter-field span {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] .rm-alerts-select-btn {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html[data-rm-theme="dark"] .rm-alerts-select-btn::after {
    border-color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-alerts-select-label.is-placeholder {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-alerts-select-panel {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-alerts-select-panel-scroll {
    scrollbar-color: rgba(240, 160, 48, 0.38) transparent;
}

html[data-rm-theme="dark"] .rm-alerts-select-panel-scroll::-webkit-scrollbar-thumb {
    background: rgba(240, 160, 48, 0.38);
}

html[data-rm-theme="dark"] .rm-alerts-select-option {
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-alerts-select-option:hover,
html[data-rm-theme="dark"] .rm-alerts-select-option.is-selected {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-archive-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-archive-card-img {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] .rm-archive-card-title,
html[data-rm-theme="dark"] .rm-archive-card-title a {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-card-excerpt,
html[data-rm-theme="dark"] .rm-archive-card-date,
html[data-rm-theme="dark"] .rm-archive-card-meta {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-feat,
html[data-rm-theme="dark"] .rm-archive-feat-body {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-archive-sidebar,
html[data-rm-theme="dark"] .rm-archive-sb-card,
html[data-rm-theme="dark"] .rm-archive-alerts .sidebar-quick-insights,
html[data-rm-theme="dark"] .rm-archive-alerts .sidebar-featured-alert,
html[data-rm-theme="dark"] .sidebar-merged-context,
html[data-rm-theme="dark"] .newsletter-section {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-archive-sidebar-header-text,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .rm-archive-sidebar-header-text,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .quick-insights-header h3,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .sidebar-about-header h3,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .sidebar-upsell-header h3,
html[data-rm-theme="dark"] .newsletter-section h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-tight-copy,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .quick-insight-text,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .sidebar-about-content p,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .rm-archive-meta-note,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .upsell-list li,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .rm-archive-alerts .premium-section p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-archive-sidebar .quick-insight-label {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] .sidebar-divider {
    background: var(--rm-dm-line) !important;
}

/* --- Quick Read popup --- */
html[data-rm-theme="dark"] .rm-qr-overlay {
    background: rgba(11, 12, 15, 0.78) !important;
}

html[data-rm-theme="dark"] .rm-qr-modal {
    background: var(--rm-dm-surface) !important;
    border: 1px solid var(--rm-dm-border);
    box-shadow: none !important;
    border: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-qr-heading {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-qr-text,
html[data-rm-theme="dark"] .rm-qr-text p,
html[data-rm-theme="dark"] .rm-qr-text li {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-qr-footer {
    background: var(--rm-dm-card) !important;
    border-top-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-muted) !important;
}

/* --- Single post --- */
html[data-rm-theme="dark"] .rm-single-wrap {
    color: var(--rm-dm-fg) !important;
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-single-title,
html[data-rm-theme="dark"] .rm-single-content h1,
html[data-rm-theme="dark"] .rm-single-content h2,
html[data-rm-theme="dark"] .rm-single-content h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-meta,
html[data-rm-theme="dark"] .rm-single-meta span,
html[data-rm-theme="dark"] .rm-single-breadcrumb,
html[data-rm-theme="dark"] .rm-single-breadcrumb a {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-content,
html[data-rm-theme="dark"] .rm-single-content p,
html[data-rm-theme="dark"] .rm-single-excerpt {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-sidebar-card,
html[data-rm-theme="dark"] .rm-single-sidebar-card-brief {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-single-sidebar-head h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-sidebar-copy,
html[data-rm-theme="dark"] .rm-single-sidebar-list li {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-sidebar-meta span {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-modal {
    background: var(--rm-dm-surface) !important;
    border: 1px solid var(--rm-dm-border);
}

html[data-rm-theme="dark"] .rm-single-ov {
    background: rgba(11, 12, 15, 0.78) !important;
}

/* --- Membership --- */
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-hero,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plans,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-comparison {
    --rm-mem-section-bg: var(--rm-dm-bg);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta {
    --rm-mem-section-bg: var(--rm-dm-surface);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-hero {
    border-bottom-color: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt::before,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta::before {
    border-color: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn:not(.is-active) .rm-mem-seg-save {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-save {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.16) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-equiv {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-billing-seg {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn:hover:not(.is-active) {
    color: var(--rm-dm-heading) !important;
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-audience-head h2,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-audience-item h3 {
    color: #fff !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-audience-head p {
    color: rgba(255, 255, 255, 0.72) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-advisory-note {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-more-note {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:focus-visible,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:active {
    color: var(--rm-orange) !important;
    background: transparent !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-arrow {
    color: currentColor !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:hover .rm-mem-compare-arrow,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:focus-visible .rm-mem-compare-arrow,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:active .rm-mem-compare-arrow {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-who-for {
    --rm-mem-section-bg: #141414;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-who-for::before {
    border-color: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-audience-section {
    --rm-mem-section-bg: var(--rm-dm-band);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-audience-section::before {
    border-top: 1px solid var(--rm-dm-border);
    border-bottom: 1px solid var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-who-for-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-who-for-card-title {
    color: var(--rm-dm-heading);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-who-for-tags li {
    color: var(--rm-dm-muted);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-acc-item {
    border: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transition: border-color 0.12s ease, background-color 0.12s ease;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-acc-item.is-open {
    border: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-acc-list li {
    border: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-price-badge {
    background: rgba(250, 163, 36, 0.2) !important;
    color: #f5d9a8 !important;
    border-color: rgba(250, 163, 36, 0.45) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-public-strip {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] .rm-mem-modal-dialog {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-mem-modal-dialog h2,
html[data-rm-theme="dark"] .rm-mem-field label {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-mem-modal-lead,
html[data-rm-theme="dark"] .rm-mem-modal-note {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-mem-field input,
html[data-rm-theme="dark"] .rm-mem-field select,
html[data-rm-theme="dark"] .rm-mem-field textarea {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal-close.rm-header-popup-close {
    background: #FAA324 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal-close.rm-header-popup-close:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal-close.rm-header-popup-close:focus,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal-close.rm-header-popup-close:focus-visible {
    background: #d68516 !important;
    color: #fff !important;
}

html[data-rm-theme="dark"] .rm-mem-modal-success {
    background: rgba(250, 163, 36, 0.12) !important;
    border-color: rgba(250, 163, 36, 0.3) !important;
    color: #f0b35a !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-hero-title,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-section-head h2,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta-text h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-hero-lead,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-serve-intro,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta-text p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-detail,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta-inner,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-public-strip {
    background: var(--rm-dm-card) !important;
    border: 1px solid var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta-inner:hover {
    border-color: rgba(250, 163, 36, 0.28) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini {
    background: transparent !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:focus-visible {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-strip {
    background: transparent !important;
    border: none !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-strip--badge,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-strip--payments {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-strip--badge .rm-mem-trust-brand,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-strip--payments .rm-mem-trust-brand {
    color: #8b83ff !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-methods {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--request:not(.current) {
    background: var(--rm-dm-surface-2) !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--request:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--request:not(.current):focus-visible {
    background: #2e2e30 !important;
    border-color: #4a4d52 !important;
    color: #fff !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible {
    background: #454545 !important;
    border-color: #454545 !important;
    color: #f5f5f5 !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:not(.current):focus-visible {
    background: #dd9832 !important;
    border-color: #dd9832 !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--link:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--link:not(.current):focus-visible {
    background: rgba(250, 163, 36, 0.1) !important;
    border-color: rgba(250, 163, 36, 0.35) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):focus-visible {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current) {
    background: #2c2c2e !important;
    border-color: #3d3d40 !important;
    color: #f0f0f0 !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--outline:not(.current) {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--outline:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--outline:not(.current):focus-visible {
    background: var(--rm-dm-surface-2) !important;
    border-color: #4a4d52 !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-panel[data-rm-mem-panel="institutional"] .rm-mem-card,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-panel[data-rm-mem-panel="custom"] .rm-mem-card {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-panel[data-rm-mem-panel="institutional"] .rm-mem-card.featured,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-panel[data-rm-mem-panel="custom"] .rm-mem-card.featured {
    background: var(--rm-dm-card) !important;
    border-color: rgba(250, 163, 36, 0.28) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-lock {
    color: rgba(255, 255, 255, 0.45) !important;
}

html[data-rm-theme="dark"] .rm-mem-modal-dialog {
    background: var(--rm-dm-surface) !important;
    border: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:not(.current) {
    background: transparent !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:not(.current):focus-visible {
    background: var(--rm-dm-surface-2) !important;
    border-color: #4a4d52 !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-field input:invalid:not(:focus):not(:focus-visible),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-field textarea:invalid:not(:focus):not(:focus-visible),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-field select:invalid:not(:focus):not(:focus-visible) {
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-required {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper {
    --rm-mem-tab-bg: var(--rm-dm-surface);
    --rm-mem-tab-border: var(--rm-dm-border);
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-tabs,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-tabs {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-tab,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-tab {
    background: var(--rm-dm-surface) !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-tab.is-active,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-tab.is-active {
    background: var(--rm-orange) !important;
    color: #1f1e1f !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-tab:hover:not(.is-active),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-tab:focus:not(.is-active),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-tab:focus-visible:not(.is-active),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-tab:hover:not(.is-active),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-tab:focus:not(.is-active),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-tab:focus-visible:not(.is-active) {
    color: var(--rm-orange) !important;
    background: rgba(250, 163, 36, 0.12) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn:hover:not(.is-active),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn:focus-visible:not(.is-active) {
    color: var(--rm-orange) !important;
    background: rgba(250, 163, 36, 0.1) !important;
    border-color: rgba(250, 163, 36, 0.25) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper a.rm-mem-btn--ghost:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper a.rm-mem-btn--ghost:focus-visible,
html[data-rm-theme="dark"] #rm-membership-wrapper button.rm-mem-btn--ghost:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper button.rm-mem-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-category {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-title {
    background: var(--rm-mem-compare-stack-title, var(--rm-dm-surface-2)) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-head {
    background: var(--rm-mem-compare-bg, var(--rm-dm-card)) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-desktop,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-table,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-table--wide {
    background: var(--rm-mem-compare-bg, var(--rm-dm-card)) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-header,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-row.category {
    background: var(--rm-mem-compare-surface, var(--rm-dm-surface-2)) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-head,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-row {
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-row .rm-comparison-stack-feature,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-head .rm-comparison-stack-feature {
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-stack-head .rm-comparison-stack-plan {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn.is-active {
    background: #525256 !important;
    color: #fff !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card-footer {
    border-top-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn:not(.rm-mem-btn--primary):not(.rm-mem-btn--link):not(.rm-mem-btn--ghost):not(.rm-mem-btn--dark):not(.rm-mem-btn--mini):not(.rm-mem-btn--outline):not(.rm-mem-btn--request):not(.current) {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:not(.current) {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-acc-item:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-acc-item:focus-within {
    background: #2b2a2b !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--dark:not(.current) {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--dark:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--dark:not(.current):focus-visible {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--subscribe {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--subscribe:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--subscribe:focus-visible {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-ribbon {
    background: rgba(250, 163, 36, 0.1) !important;
    color: #e8c88a !important;
    border: 1px solid rgba(250, 163, 36, 0.28) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-ribbon--popular {
    background: rgba(250, 163, 36, 0.1) !important;
    color: #e8c88a !important;
    border: none !important;
    border-bottom: 1px solid rgba(250, 163, 36, 0.22) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card {
    background: var(--rm-mem-card-bg) !important;
    border: 1px solid var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card.featured {
    background: var(--rm-mem-card-bg) !important;
    border-color: rgba(250, 163, 36, 0.28) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card:focus-within {
    background: var(--rm-mem-card-hover-bg) !important;
    border-color: var(--rm-dm-border) !important;
}
    box-shadow: none !important;
    transform: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card.featured:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card.featured:focus-within {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
    transform: none !important;
}

html[data-rm-theme="dark"] .rm-mem-comparison {
    background: var(--rm-dm-surface) !important;
    border-top-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-comparison-table {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-comparison-header {
    background: var(--rm-dm-surface-2) !important;
    border-bottom-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-comparison-header > div,
html[data-rm-theme="dark"] .rm-comparison-feature {
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-comparison-row {
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-comparison-check,
html[data-rm-theme="dark"] .rm-comparison-cross {
    background: transparent !important;
}

html[data-rm-theme="dark"] .rm-comparison-row.category {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-comparison-row.category .rm-comparison-feature {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-detail-main h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-desc {
    color: var(--rm-dm-muted) !important;
    border-bottom-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-spec,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-spec--seats {
    background: transparent !important;
    border: none !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-spec--seats {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-price {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-price-note {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-svt-detail-aside {
    border-inline-start-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-name {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-price,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-price--static {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-price-label {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-billing-summary {
    color: var(--rm-dm-muted) !important;
    background: transparent !important;
    border: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cards-grid--pricing .rm-mem-price-note {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seats {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: block !important;
    width: auto !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seats-copy {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: inline !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seats-label {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seats-value {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-purpose {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-features-list--compact li {
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-features-list--compact li::before {
    content: none !important;
    display: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-rights {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-cta-list li {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn.current {
    background: var(--rm-dm-surface) !important;
    color: var(--rm-dm-muted) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:hover:not(.current),
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:focus-visible:not(.current) {
    background: #dd9832 !important;
    border-color: #dd9832 !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-line {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-trust-line svg {
    fill: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-slider {
    background-color: var(--rm-dm-line) !important;
}

/* --- Our Story (#rm-about-wrapper) --- */
html[data-rm-theme="dark"] #rm-about-wrapper {
    background: var(--rm-dm-bg) !important;
    --rm-section-diff: var(--rm-dm-surface);
    --rm-bg-gray: var(--rm-dm-surface);
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-intro {
    background: var(--rm-dm-band) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-intro h1 {
    color: #ffffff !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-intro .rm-about-intro-text {
    color: #e5e7eb !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-intro .rm-about-intro-sub {
    color: #9ca3af !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def {
    background: var(--rm-dm-raised) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-problem {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-impact-clean {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-impact-clean h4,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-impact-icon {
    color: var(--rm-dm-heading) !important;
    fill: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-prob-intro p,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-prob-mid-text p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-prob-mid-text {
    border-inline-start-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    border-inline-start-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-icon {
    fill: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-card h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-card p,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-list li {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud-icon {
    fill: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card {
    border-inline-start: 4px solid transparent !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-tags {
    border-top-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-tag {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-muted) !important;
    border-color: var(--rm-dm-border) !important;
}

/* --- Methodology --- */
html[data-rm-theme="dark"] .rm-methodology-page {
    background: var(--rm-dm-bg) !important;
    --rm-dark: #ededed;
}

html[data-rm-theme="dark"] .rm-methodology-container h1 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-methodology-container > p,
html[data-rm-theme="dark"] .rm-methodology-step-content,
html[data-rm-theme="dark"] .rm-methodology-step-content p,
html[data-rm-theme="dark"] .rm-methodology-footer-text {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-methodology-step {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    border-inline-start-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-methodology-step-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-methodology-step-number {
    color: var(--rm-orange) !important;
    background: rgba(250, 163, 36, 0.12) !important;
}

html[data-rm-theme="dark"] .rm-methodology-impact-scale {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-methodology-scale-item {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-methodology-scale-text {
    color: var(--rm-dm-muted) !important;
}

/* --- Contact --- */
html[data-rm-theme="dark"] #rm-contact-wrapper {
    --rm-contact-surface: var(--rm-dm-card);
    --rm-contact-alt: var(--rm-dm-surface);
    --rm-contact-line: var(--rm-dm-border);
    background: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-hero h1 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-hero p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-unified {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-sidebar {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-info-box,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-label,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-label-field {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-value,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-value a {
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-input,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-textarea {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-header h3 {
    color: var(--rm-dm-heading) !important;
}

/* --- Consulting & Trainings --- */
html[data-rm-theme="dark"] #rm-consulting-wrapper,
html[data-rm-theme="dark"] #rm-trainings-wrapper {
    --rm-cons-light: var(--rm-dm-bg);
    --rm-cons-gray: var(--rm-dm-surface);
    --rm-cons-text: var(--rm-dm-heading);
    --rm-cons-muted: var(--rm-dm-muted);
    --rm-cons-border: var(--rm-dm-border);
    /* Band/button surface (not light text — used on ::before backgrounds) */
    --rm-cons-dark: var(--rm-dm-band);
    background: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg);
}

html[data-rm-theme="dark"] #rm-consulting-wrapper > section::before,
html[data-rm-theme="dark"] #rm-trainings-wrapper > section::before,
html[data-rm-theme="dark"] .rm-cons-hero::before,
html[data-rm-theme="dark"] .rm-train-hero::before {
    background: var(--rm-dm-bg) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-cons-section--muted,
html[data-rm-theme="dark"] .rm-train-section--muted {
    background: transparent !important;
}

html[data-rm-theme="dark"] .rm-cons-section--muted::before,
html[data-rm-theme="dark"] .rm-train-section--muted::before {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-cons-section::before,
html[data-rm-theme="dark"] .rm-train-section::before {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-cons-title,
html[data-rm-theme="dark"] .rm-train-title,
html[data-rm-theme="dark"] .rm-cons-section-title,
html[data-rm-theme="dark"] .rm-train-section-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-cons-lead,
html[data-rm-theme="dark"] .rm-cons-copy,
html[data-rm-theme="dark"] .rm-cons-support,
html[data-rm-theme="dark"] .rm-train-lead,
html[data-rm-theme="dark"] .rm-train-copy {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-cons-quote,
html[data-rm-theme="dark"] .rm-train-quote {
    background: var(--rm-dm-card) !important;
    border-inline-start-color: var(--rm-orange) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-cons-service-item,
html[data-rm-theme="dark"] .rm-train-service-item,
html[data-rm-theme="dark"] .rm-cons-focus-card,
html[data-rm-theme="dark"] .rm-train-focus-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-cons-list-card p,
html[data-rm-theme="dark"] .rm-train-list-card p,
html[data-rm-theme="dark"] .rm-cons-service-item p,
html[data-rm-theme="dark"] .rm-train-service-item p {
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-cons-cta::before,
html[data-rm-theme="dark"] .rm-train-cta::before {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-cons-cta-text h2,
html[data-rm-theme="dark"] .rm-train-cta-text h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-cons-cta-text p,
html[data-rm-theme="dark"] .rm-train-cta-text p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-cons-btn--ghost,
html[data-rm-theme="dark"] .rm-train-btn--ghost {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-cons-btn--dark,
html[data-rm-theme="dark"] .rm-cons-btn--accent,
html[data-rm-theme="dark"] .rm-train-btn--dark,
html[data-rm-theme="dark"] .rm-train-btn--accent {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

/* Board of Advisors grid — photo-only cards (match light theme) */
html[data-rm-theme="dark"] #rm-advisors-wrapper .rm-advisors-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-advisors-wrapper .rm-advisors-card h3,
html[data-rm-theme="dark"] #rm-advisors-wrapper .rm-advisors-card p {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-advisors-wrapper .rm-advisors-card p {
    color: var(--rm-dm-muted) !important;
}

/* Archive / alerts sidebar — beat feed !important rules */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-title,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-title h3,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .quick-insights-header h3,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .sidebar-about-header h3,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-section h3,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .sidebar-upsell-header h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-alert-excerpt,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-section p,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .quick-insight-text,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .sidebar-about-content p,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-meta-note,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-features li,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .upsell-list li,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-post-link {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .quick-insight-label,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .upsell-badge {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-date {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-feat-content {
    background: var(--rm-dm-card) !important;
}

html[data-rm-theme="dark"] .rm-archive-feat-img {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] .rm-archive-feat-title,
html[data-rm-theme="dark"] .rm-archive-feat-title a {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-feat-excerpt,
html[data-rm-theme="dark"] .rm-archive-feat-meta,
html[data-rm-theme="dark"] .rm-archive-feat-meta-item {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-alerts .premium-section {
    background: transparent !important;
}

html[data-rm-theme="dark"] .featured-alert-body,
html[data-rm-theme="dark"] .sidebar-quick-insights {
    background: transparent !important;
}

/* Single post extras */
html[data-rm-theme="dark"] .rm-single-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-date {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-sbtn {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-single-sbtn:hover {
    background: rgba(250, 163, 36, 0.12) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-single-pdf a {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-fg) !important;
}

/* Briefs archive gradient footer area */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-load-wrap,
html[data-rm-theme="dark"] .rm-archive-pagination {
    background: transparent !important;
    color: var(--rm-dm-muted) !important;
}

/* Cookie / legal wrappers */
html[data-rm-theme="dark"] #rm-cookie-wrapper .rm-cp-content,
html[data-rm-theme="dark"] #rm-terms-wrapper .rm-tc-content,
html[data-rm-theme="dark"] #rm-privacy-wrapper .rm-pp-content {
    background: var(--rm-dm-bg) !important;
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-cookie-wrapper h1,
html[data-rm-theme="dark"] #rm-terms-wrapper h1,
html[data-rm-theme="dark"] #rm-privacy-wrapper h1,
html[data-rm-theme="dark"] #rm-cookie-wrapper h2,
html[data-rm-theme="dark"] #rm-terms-wrapper h2,
html[data-rm-theme="dark"] #rm-privacy-wrapper h2 {
    color: var(--rm-dm-heading) !important;
}

/* =============================================================================
   Dark theme pass 2 — archives, membership, CTAs, profiles, about
   ============================================================================= */

/* Archive feed: remap local :root tokens (fixes category pills & buttons) */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed {
    --accent: #faa324;
    --accent-hover: #e89620;
    --dark: #ededed;
    --light: #1d1d1d;
    --muted: #2c3238;
    --meta: #838995;
    --surface: #121417;
    --border-light: #202327;
    --text-primary: #ededed;
    --text-secondary: #a8a9ad;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(31, 30, 31, 0.06), 0 2px 4px -1px rgba(31, 30, 31, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(31, 30, 31, 0.08), 0 4px 6px -2px rgba(31, 30, 31, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(31, 30, 31, 0.1), 0 10px 10px -5px rgba(31, 30, 31, 0.04);
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-cat,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-feat-cat {
    background: #1f1e1f !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}

html[data-rm-theme="dark"] .rm-alert-cat-dot {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

html[data-rm-theme="dark"] .rm-alert-cat-severity--limited { --rm-severity-color: #4ade80; }
html[data-rm-theme="dark"] .rm-alert-cat-severity--moderate { --rm-severity-color: #facc15; }
html[data-rm-theme="dark"] .rm-alert-cat-severity--noticeable { --rm-severity-color: #fb923c; }
html[data-rm-theme="dark"] .rm-alert-cat-severity--severe { --rm-severity-color: #f87171; }

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-feat-title,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-feat-title a,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-title,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-title a {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .featured-post-link {
    color: var(--rm-dm-heading) !important;
    font-weight: 700 !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-quick {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-full {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-full:hover,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-full:focus {
    background: rgba(250, 163, 36, 0.14) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
    box-shadow: 0 2px 10px rgba(250, 163, 36, 0.12) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-feat-meta-item svg,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-date svg,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .featured-alert-meta svg {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .featured-alert-meta,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .featured-alert-meta span {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .quick-insight-item,
html[data-rm-theme="dark"] .rm-single-archive-sidebar.rm-archive-alerts .quick-insight-item {
    background: var(--rm-dm-surface) !important;
    border-left-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] [dir="rtl"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .quick-insight-item,
html[data-rm-theme="dark"] [dir="rtl"] .rm-single-archive-sidebar.rm-archive-alerts .quick-insight-item {
    border-right-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .premium-section,
html[data-rm-theme="dark"] .rm-single-archive-sidebar.rm-archive-alerts .premium-section {
    background: var(--rm-dm-surface) !important;
    border: 1px solid var(--rm-dm-border) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-alerts .sidebar-quick-insights,
html[data-rm-theme="dark"] .rm-single-archive-sidebar.rm-archive-alerts .sidebar-quick-insights {
    background: var(--rm-dm-card) !important;
    border: 1px solid var(--rm-dm-border) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .featured-alert-btn {
    background: var(--rm-dm-surface) !important;
    border: 1.5px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .featured-alert-btn:hover {
    color: var(--rm-orange) !important;
}

/* Premium / explore links — match light: underline + arrow, no boxed hover */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .premium-cta-link,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .premium-cta-link {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.14) !important;
    color: var(--rm-dm-heading) !important;
    padding-bottom: 2px !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .premium-cta-link:hover,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .premium-cta-link:hover {
    background: transparent !important;
    border: none !important;
    border-bottom-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .upsell-list li span {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .upsell-list li svg {
    color: var(--rm-dm-muted-soft) !important;
    stroke: currentColor !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .sidebar-upsell-body,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .sidebar-about-public {
    background: transparent !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-load-btn {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

/* Quick Read popup footer actions */
html[data-rm-theme="dark"] .rm-archive-quick-action--article {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-archive-quick-action--article:hover {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-archive-quick-action--pdf {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

/* Consulting / Training request boxes */
html[data-rm-theme="dark"] .rm-cons-cta-inner,
html[data-rm-theme="dark"] .rm-train-cta-inner {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

/* Membership — free plan + comparison table */
html[data-rm-theme="dark"] #rm-membership-wrapper {
    --rm-white: #121417;
    --rm-bg-gray: #14171a;
    --rm-border: #202327;
    --rm-text-primary: #ededed;
    --rm-text-secondary: #a8a9ad;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-pricing,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-comparison {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card:not(.featured) {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-comparison h2 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-table {
    background: var(--rm-dm-card) !important;
}

html[data-rm-theme="dark"] .rm-comparison-row.category {
    background: var(--rm-dm-surface-2) !important;
    border-top-color: var(--rm-dm-border) !important;
    border-bottom-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-comparison-row.category .rm-comparison-feature {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-comparison-feature {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-check svg {
    fill: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-cross svg {
    fill: #a3a3a3 !important;
}

/* Our Story — Our definition contrast */
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def h2,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def > .rm-container > .rm-about-def-layout > div:first-child p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def-quote-box {
    background: var(--rm-dm-surface-2) !important;
    border-inline-start-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def-quote-text {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def-note {
    color: var(--rm-dm-muted) !important;
}

/* Board member single profile (inline styles in shortcode) */
html[data-rm-theme="dark"] .rm-member-profile {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-card {
    background: var(--rm-dm-card) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-aside {
    background: var(--rm-dm-surface) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-name {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-info {
    background: var(--rm-dm-card) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .info-title {
    color: var(--rm-dm-heading) !important;
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-bio,
html[data-rm-theme="dark"] .rm-member-profile .member-bio p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .expertise-item {
    background: rgba(250, 163, 36, 0.12) !important;
    color: var(--rm-dm-heading) !important;
    border-color: rgba(250, 163, 36, 0.35) !important;
}

/* Do not paint advisor listing cards as boxes */
html[data-rm-theme="dark"] .rm-advisors-grid .rm-advisors-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* =============================================================================
   Dark theme pass 3 — no glows, briefs sidebar, QR footer, single alerts
   ============================================================================= */

/* Flat backgrounds only (match light: no site-wide gradients/shadows) */
html[data-rm-theme="dark"] #page,
html[data-rm-theme="dark"] .site,
html[data-rm-theme="dark"] .elementor-section,
html[data-rm-theme="dark"] .e-con {
    background-image: none !important;
}

html[data-rm-theme="dark"] .rm-archive-card,
html[data-rm-theme="dark"] .rm-archive-feat,
html[data-rm-theme="dark"] .rm-mem-card,
html[data-rm-theme="dark"] .rm-home-stat-card,
html[data-rm-theme="dark"] .rm-home-method-card,
html[data-rm-theme="dark"] .rm-cons-cta-inner,
html[data-rm-theme="dark"] .rm-train-cta-inner,
html[data-rm-theme="dark"] .rm-member-profile .member-card {
    box-shadow: none !important;
}

/* Public Briefs sidebar — inner panels (#fff / pink tint) */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-briefs .sidebar-about-public,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-briefs .sidebar-upsell-header,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-briefs .sidebar-upsell-body,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-about-public,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-upsell-header,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-upsell-body,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-upsell {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-briefs .sidebar-divider,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-divider {
    background: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-upsell-header h3,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-about-header h3 {
    color: var(--rm-dm-heading) !important;
}

/* Quick Read — footer bar + buttons (main-styles loads after @import) */
html[data-rm-theme="dark"] .rm-qr-modal {
    background: var(--rm-dm-surface) !important;
    box-shadow: none !important;
    border: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-content {
    background: var(--rm-dm-surface) !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-footer,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-qr-footer {
    background: var(--rm-dm-card) !important;
    border-top-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--article,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-archive-quick-action--article,
html[data-rm-theme="dark"] .rm-qr-modal a.rm-archive-quick-action--article {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--article:hover,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-archive-quick-action--article:hover {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--pdf,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-archive-quick-action--pdf {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-heading {
    color: var(--rm-dm-heading) !important;
}

/* Single post — alerts category badge + What happened / What does it mean boxes */
html[data-rm-theme="dark"] .rm-single-wrap {
    --rm-single-card: #1a1e22;
    --rm-single-bdr: #202327;
    --rm-single-bdr2: #262b30;
    --rm-single-ink: #ededed;
    --rm-single-muted: #a8a9ad;
}

html[data-rm-theme="dark"] .rm-single-badge {
    background: #1f1e1f !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}

html[data-rm-theme="dark"] .rm-single-section {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-single-section:hover,
html[data-rm-theme="dark"] .rm-single-section:active {
    background: var(--rm-dm-card) !important;
    border-color: rgba(250, 163, 36, 0.45) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28) !important;
}

html[data-rm-theme="dark"] .rm-single-section-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-section-preview,
html[data-rm-theme="dark"] .rm-single-section-preview p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-wrap .rm-single-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Dark cascade fixes (load after bundled dark theme rules above) */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-about-public,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-upsell-header,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed.rm-archive-briefs .sidebar-upsell-body {
    background: #121417 !important;
    border-color: #202327 !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-footer {
    background: #121417 !important;
    border-top-color: #202327 !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--article {
    background: #1a1e22 !important;
    color: #ededed !important;
    border-color: #202327 !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--article:hover,
html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--article:hover {
    background: #14171a !important;
    border-color: #faa324 !important;
    color: #faa324 !important;
}

/* Lottie decorations — invert black artwork on dark backgrounds */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-visual lottie-player {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-lottie-player {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-visual {
    background: #1a1e22 !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row {
    background: #121417 !important;
    border-color: #202327 !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-body p {
    color: #a8a9ad !important;
}

/* =============================================================================
   Dark theme pass 4 — polish (toggle done above), QR modal, pages, buttons
   ============================================================================= */

/* Archive Quick Read modal (rm-single-modal, not rm-qr-modal) */
html[data-rm-theme="dark"] .rm-single-modal .rm-single-body,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-qr-heading {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot,
html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-foot {
    background: var(--rm-dm-card) !important;
    border-top: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--article {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--article:hover {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--pdf {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--pdf:hover {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-single-btn {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot [type="button"]:hover,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot [type="button"]:focus,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot [type="button"]:active,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot button:hover,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot button:focus,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot button:active,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot .rm-single-btn:hover,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot .rm-single-btn:focus,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-foot .rm-single-btn:active {
    background-color: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #0b0c0f !important;
}

/* Single post page — no boxed band behind title + image only */
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-head,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-featured {
    background: transparent !important;
}

html[data-rm-theme="dark"] .rm-single-wrap .rm-single-title {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-sbtn {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-sbtn:hover {
    background: rgba(250, 163, 36, 0.12) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-single-sbtn--pdf {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] .rm-single-sbtn--pdf:hover {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #0b0c0f !important;
}

/* Site-wide orange buttons — keep dark text on hover */
html[data-rm-theme="dark"] .rm-mem-btn:not(.rm-mem-btn--link):not(.rm-mem-btn--ghost):not(.rm-mem-btn--dark):not(.rm-mem-btn--mini):not(.rm-mem-btn--outline):not(.rm-mem-btn--request):hover,
html[data-rm-theme="dark"] .rm-cons-btn--dark:hover,
html[data-rm-theme="dark"] .rm-cons-btn--accent:hover,
html[data-rm-theme="dark"] .rm-train-btn--dark:hover,
html[data-rm-theme="dark"] .rm-train-btn--accent:hover,
html[data-rm-theme="dark"] .rm-home-btn:hover,
html[data-rm-theme="dark"] .rm-archive-quick-action--pdf:hover,
html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--pdf:hover {
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] .rm-mem-btn.current {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-muted-soft) !important;
    border: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-name,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-price,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-features-list li {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-plan-name {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-price {
    color: var(--rm-dm-heading) !important;
}

/* Contact — gradient hero title + submit + team box */
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-hero h1 {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: var(--rm-dm-heading) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-submit {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border: 1px solid var(--rm-orange) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-submit:hover {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-team-box-icon {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-team-box-icon svg {
    stroke: currentColor;
    color: inherit;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-form-box {
    background: var(--rm-dm-card) !important;
}

/* Trainings — “Our approach combines” method grid */
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method::before {
    background: var(--rm-dm-surface) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-head .rm-train-section-title,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-content h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-number {
    color: rgba(250, 163, 36, 0.88) !important;
}

/* Our Story — What we offer */
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card h3,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-desc,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card p {
    color: var(--rm-dm-muted) !important;
}

/* Methodology */
html[data-rm-theme="dark"] .rm-methodology-page {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-methodology-container h1 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-methodology-container > p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-methodology-step {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    border-inline-start-color: var(--rm-orange) !important;
}

/* Meet our team */
html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-header h1 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-team-wrapper .rm-ourteam-header p {
    color: var(--rm-dm-muted) !important;
}

/* Board member profile */
html[data-rm-theme="dark"] .rm-member-profile {
    background: transparent !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-card {
    border: 1px solid var(--rm-dm-border) !important;
    border-radius: 20px !important;
    overflow: hidden;
}

html[data-rm-theme="dark"] .rm-member-profile .member-aside {
    background: var(--rm-dm-surface) !important;
    border-inline-end: 1px solid var(--rm-dm-line);
}

html[data-rm-theme="dark"] .rm-member-profile .member-info {
    background: var(--rm-dm-card) !important;
}

/* Header mobile drawer */
html[data-rm-theme="dark"] #rm-header-scope .rm-header-langblock {
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--rm-dm-border);
    margin-top: 8px;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-langbtn {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-langbtn:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-langbtn:hover span {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-sbtn {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-muted) !important;
}

/* =============================================================================
   Dark theme pass 5 — colors only (match light hover/shadow; no extra effects)
   ============================================================================= */

/* effects-styles.js hovers: recolor only */
html[data-rm-theme="dark"] .upsell-list li:hover,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .upsell-list li:hover {
    background: rgba(250, 163, 36, 0.08) !important;
}

html[data-rm-theme="dark"] .rm-archive-alerts .quick-insight-item:hover {
    background: var(--rm-dm-surface) !important;
    transform: none !important;
}

/* Method cards: light hover shadow reads too heavy on dark — soften only */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

/* Do not stack extra border/shadow on top of light hover rules */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .premium-cta-link:hover,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .premium-cta-link:hover {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--rm-orange) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .featured-alert-btn:hover {
    color: var(--rm-orange) !important;
}

/* =============================================================================
   Dark theme pass 6 — hover parity, bands, modal text, membership, contact
   ============================================================================= */

html[data-rm-theme="dark"] #rm-trainings-wrapper {
    --rm-train-dark: #1a1e22;
}

/* Match homepage “Who we serve” band */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-serve,
html[data-rm-theme="dark"] .rm-cons-clients::before,
html[data-rm-theme="dark"] .rm-train-audience::before {
    background: var(--rm-dm-band) !important;
    border-top: 1px solid var(--rm-dm-border);
    border-bottom: 1px solid var(--rm-dm-border);
}

html[data-rm-theme="dark"] .rm-cons-clients,
html[data-rm-theme="dark"] .rm-train-audience {
    color: #fff;
}

html[data-rm-theme="dark"] .rm-cons-clients-head h2,
html[data-rm-theme="dark"] .rm-train-audience-head h2,
html[data-rm-theme="dark"] .rm-cons-client h3,
html[data-rm-theme="dark"] .rm-train-audience-title {
    color: #fff !important;
}

html[data-rm-theme="dark"] .rm-cons-client p,
html[data-rm-theme="dark"] .rm-train-audience-desc {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Membership — “Everything in Free, plus:” */
html[data-rm-theme="dark"] .rm-everything-plus {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-features-list li {
    color: var(--rm-dm-fg) !important;
}

/* Quick Read / single-post modal body — bright white copy */
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec p,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec li,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec span,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text p,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text li {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-single-modal .rm-single-mh,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-heading {
    color: #ffffff !important;
}

/* Premium / explore links — keep underline (border-bottom) + arrow on hover */
html[data-rm-theme="dark"] .rm-archive-alerts .premium-cta-link:hover,
html[data-rm-theme="dark"] .premium-cta-link:hover,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .premium-cta-link:hover,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .premium-cta-link:hover {
    color: var(--rm-orange) !important;
    border: none !important;
    border-bottom: 2px solid var(--rm-orange) !important;
    background: transparent !important;
}

/* Our Story — restore light-style hovers (dark surfaces) */
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean:hover {
    border-color: var(--rm-dm-border) !important;
    border-inline-start-color: var(--rm-orange) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud-card:hover {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-orange) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32) !important;
    transform: translateY(-5px) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud-card:hover .rm-about-aud-icon {
    fill: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card:hover {
    border-inline-start-color: var(--rm-orange) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-5px) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card:hover h3,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card:hover h3 {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card:hover {
    border-color: var(--rm-dm-border) !important;
    border-top-color: var(--rm-orange) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-5px) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-card:hover {
    border-color: var(--rm-orange) !important;
    box-shadow: 0 15px 30px rgba(250, 163, 36, 0.12) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-card:hover h3 {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-val-card:hover {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-orange) !important;
    transform: translateY(-5px) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-val-card:hover h4 {
    color: var(--rm-orange) !important;
}

/* Methodology steps */
html[data-rm-theme="dark"] .rm-methodology-step:hover {
    border: 1px solid rgba(250, 163, 36, 0.35) !important;
    border-inline-start: 4px solid var(--rm-orange) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32) !important;
    transform: translateY(-2px);
}

/* Membership cards */
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-card:focus-within {
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
    transform: none !important;
    background: var(--rm-dm-card) !important;
}

/* Contact — icon boxes: email/address orange; team card-style */
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-icon {
    background: rgba(250, 163, 36, 0.12) !important;
    border: 1px solid rgba(250, 163, 36, 0.22) !important;
    color: var(--rm-orange) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-info-box:hover .rm-contact-icon {
    background: rgba(250, 163, 36, 0.18) !important;
    border-color: rgba(250, 163, 36, 0.32) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-team-box-icon {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--rm-dm-muted-soft) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover .rm-team-box-icon,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible .rm-team-box-icon {
    background: rgba(250, 163, 36, 0.12) !important;
    border-color: rgba(250, 163, 36, 0.35) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible {
    border-color: rgba(250, 163, 36, 0.4) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28) !important;
    transform: translateY(-3px) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-arrow {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover .rm-contact-team-arrow,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible .rm-contact-team-arrow {
    color: var(--rm-orange) !important;
}

/* Board member profile */
html[data-rm-theme="dark"] .rm-member-profile .member-role {
    color: #1f1e1f !important;
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-aside {
    border-inline-end-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-member-profile .member-photo {
    border-color: var(--rm-dm-border) !important;
}

/* =============================================================================
   Dark theme pass 7 — detail copy, premium badge, breadcrumbs (colors only)
   ============================================================================= */

/* Quick Read + single-post detail — never dark gray on dark surfaces */
html[data-rm-theme="dark"] .rm-qr-overlay .rm-qr-text,
html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-text,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-qr-text p,
html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-text p,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-qr-text li,
html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-text li,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-qr-text span,
html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-text span,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-body,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec p,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec li,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-msec span,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text p,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text li,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-text span,
html[data-rm-theme="dark"] .rm-single-modal p,
html[data-rm-theme="dark"] .rm-single-modal li,
html[data-rm-theme="dark"] .rm-single-modal span:not(.rm-single-badge) {
    color: #ededed !important;
}

html[data-rm-theme="dark"] .rm-qr-overlay .rm-qr-heading,
html[data-rm-theme="dark"] .rm-qr-modal .rm-qr-heading,
html[data-rm-theme="dark"] .rm-single-modal .rm-single-mh,
html[data-rm-theme="dark"] .rm-single-modal .rm-qr-heading {
    color: #ffffff !important;
}

/* Full article / alert body on page */
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content p,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content li,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content blockquote,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content td,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content th,
html[data-rm-theme="dark"] .single-post .entry-content,
html[data-rm-theme="dark"] .single-post .entry-content p,
html[data-rm-theme="dark"] .single-post .entry-content li {
    color: #ededed !important;
}

html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content h1,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content h2,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content h3,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content h4,
html[data-rm-theme="dark"] .single-post .entry-content h1,
html[data-rm-theme="dark"] .single-post .entry-content h2,
html[data-rm-theme="dark"] .single-post .entry-content h3 {
    color: #ffffff !important;
}

html[data-rm-theme="dark"] .rm-single-wrap .rm-single-content a,
html[data-rm-theme="dark"] .single-post .entry-content a {
    color: var(--rm-orange) !important;
}

/* Public Briefs — Premium pill (professional, not flat gray text) */
html[data-rm-theme="dark"] .upsell-badge,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .upsell-badge,
html[data-rm-theme="dark"] .rm-single-archive-sidebar .upsell-badge {
    background: rgba(250, 163, 36, 0.14) !important;
    color: #faa324 !important;
    border: 1px solid rgba(250, 163, 36, 0.45) !important;
    box-shadow: none !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
}

/* =============================================================================
   Dark theme pass 8 — archive Details hover, header user, PMPro / My Account
   ============================================================================= */

/* Details button — override effects-styles cream hover on dark cards */
html[data-rm-theme="dark"] .rm-archive-card-btn-full:hover,
html[data-rm-theme="dark"] .rm-archive-card-btn-full:focus {
    background: rgba(250, 163, 36, 0.14) !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

/* Logged-in header — name must read white, not global muted span */
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-btn,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-btn .rm-user-name,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-btn:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-btn:focus,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-menu.open .rm-header-user-btn {
    color: #ffffff !important;
}

html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-btn:hover .rm-user-name,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-user-menu.open .rm-header-user-btn .rm-user-name {
    color: var(--rm-orange) !important;
}

/* My Account shell */
html[data-rm-theme="dark"] .rm-account-shell,
html[data-rm-theme="dark"] .rm-account-wrap {
    background: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-name,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-level,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-header h1,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-card-head h3,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_card_title,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_section_title,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_box h3 {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-header p,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-meta,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-meta span,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-no-mem,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-empty-orders,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_card_content,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_card_content p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav {
    border-bottom-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn:hover,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn:focus {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn.active {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    box-shadow: 0 4px 14px rgba(250, 163, 36, 0.25) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn.rm-account-nav-logout {
    color: #f87171 !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn.rm-account-nav-logout:hover,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-nav-btn.rm-account-nav-logout:focus {
    background: rgba(248, 113, 113, 0.12) !important;
    color: #fca5a5 !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-card,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_card,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_box,
html[data-rm-theme="dark"] .rm-account-wrap fieldset {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-card-head {
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-edit-btn {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-btn-outline {
    background: transparent !important;
    border-color: rgba(250, 163, 36, 0.45) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-btn-text {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-avatar img {
    border-color: var(--rm-dm-border) !important;
}

/* PMPro forms — labels & inputs */
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form label,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_label,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_field label {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="text"],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="email"],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="password"],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="tel"],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="url"],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form textarea,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form select,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_input {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="text"]:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="email"]:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="password"]:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="tel"]:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[type="url"]:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form textarea:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form select:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_input:hover {
    border-color: rgba(250, 163, 36, 0.45) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input::placeholder,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_input::placeholder {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn-cancel {
    background: transparent !important;
    color: var(--rm-dm-muted) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn,
html[data-rm-theme="dark"] .rm-account-wrap input[type="submit"],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_submit {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    box-shadow: 0 4px 14px rgba(250, 163, 36, 0.22) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn:hover,
html[data-rm-theme="dark"] .rm-account-wrap input[type="submit"]:hover,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_submit:hover {
    background: #e89620 !important;
    color: #0b0c0f !important;
}

/* Orders table — keep light-theme colors in dark mode (see end of file for no-hover rules) */

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_tag-success {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #86efac !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_tag-warning {
    background: rgba(250, 163, 36, 0.15) !important;
    color: #faa324 !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_tag-error {
    background: rgba(248, 113, 113, 0.15) !important;
    color: #fca5a5 !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_success {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #86efac !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_error {
    background: rgba(248, 113, 113, 0.12) !important;
    color: #fca5a5 !important;
    border-color: rgba(248, 113, 113, 0.35) !important;
}

/* Standalone PMPro pages (checkout, levels, login) */
html[data-rm-theme="dark"] #pmpro_form,
html[data-rm-theme="dark"] .pmpro_form,
html[data-rm-theme="dark"] .pmpro #pmpro_login {
    background: var(--rm-dm-card) !important;
    color: var(--rm-dm-fg) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .pmpro_card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .pmpro_card_title,
html[data-rm-theme="dark"] .pmpro_form_heading {
    color: var(--rm-dm-heading) !important;
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .pmpro_card_content,
html[data-rm-theme="dark"] .pmpro_card_content p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .pmpro_form_label,
html[data-rm-theme="dark"] .pmpro_form_field label {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .pmpro_form_input,
html[data-rm-theme="dark"] .pmpro_form input[type="text"],
html[data-rm-theme="dark"] .pmpro_form input[type="email"],
html[data-rm-theme="dark"] .pmpro_form input[type="password"] {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .pmpro_form_input:hover,
html[data-rm-theme="dark"] .pmpro_form input[type="text"]:hover,
html[data-rm-theme="dark"] .pmpro_form input[type="email"]:hover,
html[data-rm-theme="dark"] .pmpro_form input[type="password"]:hover {
    border-color: rgba(250, 163, 36, 0.45) !important;
}

html[data-rm-theme="dark"] #pmpro_level_cost {
    background: rgba(250, 163, 36, 0.1) !important;
    border-color: rgba(250, 163, 36, 0.35) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .pmpro_level_name_text strong {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .pmpro_message.pmpro_success {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #86efac !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
}

html[data-rm-theme="dark"] .pmpro_message.pmpro_error {
    background: rgba(248, 113, 113, 0.12) !important;
    color: #fca5a5 !important;
    border-color: rgba(248, 113, 113, 0.35) !important;
}

html[data-rm-theme="dark"] .pmpro #pmpro_login #wp-submit {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #0b0c0f !important;
}

html[data-rm-theme="dark"] .pmpro #pmpro_login .login-remember label {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .pmpro #pmpro_login .login-remember input[type="checkbox"] {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
}

/* Checkout shortcode wrapper (php/checkout.php → .rm-checkout-wrap) */
html[data-rm-theme="dark"] .rm-checkout-wrap {
    background: var(--rm-dm-bg) !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card_title,
html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_form_heading {
    color: var(--rm-dm-heading) !important;
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card_content,
html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card_content p,
html[data-rm-theme="dark"] .rm-checkout-wrap #pmpro_level_cost p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_form_label {
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_form_input {
    background: var(--rm-dm-surface-2) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_form_input:hover {
    border-color: rgba(250, 163, 36, 0.45) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap #pmpro_level_cost {
    background: rgba(250, 163, 36, 0.1) !important;
    border-color: rgba(250, 163, 36, 0.35) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_level_name_text strong {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_btn-submit-checkout {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_btn-submit-checkout:hover,
html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_btn-submit-checkout:focus {
    background: #e89620 !important;
    border-color: #e89620 !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_message {
    background: rgba(250, 163, 36, 0.1) !important;
    color: var(--rm-dm-fg) !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_message_error,
html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_error {
    background: rgba(248, 113, 113, 0.12) !important;
    color: #fca5a5 !important;
    border-color: rgba(248, 113, 113, 0.35) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card_actions,
html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card_actions a {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_card_actions a:hover {
    color: var(--rm-orange) !important;
}

/* =============================================================================
   Dark theme pass 9 — My Account panes (profile/password/orders) + breadcrumbs
   ============================================================================= */

/* Dark panels: edit profile, password, order history */
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-form-wrap,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-table-wrap {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
    box-shadow: none !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-pane[data-pane="profile"] .rm-account-form-wrap {
    padding: 25px !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_section,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_section_content {
    background: transparent !important;
    color: inherit !important;
}

/* Inner card: no second white box inside form-wrap */
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-form-wrap .pmpro_card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-form-wrap .pmpro_card_content {
    padding: 0 !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_heading,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_legend h2,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_fieldset .pmpro_form_heading {
    color: var(--rm-dm-heading) !important;
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_fieldset {
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_hint {
    color: var(--rm-dm-muted-soft) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form input[readonly],
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_input[readonly] {
    opacity: 0.85;
    cursor: not-allowed;
}

/* Cancel ≠ primary submit */
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn.pmpro_btn-cancel,
html[data-rm-theme="dark"] .rm-account-wrap button.pmpro_btn-cancel {
    background: transparent !important;
    color: var(--rm-dm-muted) !important;
    border: 1px solid var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn.pmpro_btn-cancel:hover,
html[data-rm-theme="dark"] .rm-account-wrap button.pmpro_btn-cancel:hover {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn-submit-update-profile,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_submit .pmpro_btn:not(.pmpro_btn-cancel) {
    background: var(--rm-orange) !important;
    color: #0b0c0f !important;
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-empty-orders {
    color: var(--rm-dm-muted) !important;
    padding: 24px !important;
}

/* Dark hover parity: targeted fixes only. */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stat-card:hover,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-card:hover {
    border-color: rgba(250, 163, 36, 0.34) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method-card:hover {
    background: var(--rm-dm-card) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-service-item:hover,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-card:hover {
    border-color: rgba(250, 163, 36, 0.34) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-impact-clean:hover {
    border-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-impact-clean:hover .rm-about-impact-icon {
    fill: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-cancel-btn-no:hover {
    border-color: rgba(250, 163, 36, 0.45) !important;
}

html[data-rm-theme="dark"] .rm-cancel-btn-yes:hover {
    border-color: rgba(248, 113, 113, 0.45) !important;
}

html[data-rm-theme="dark"] .newsletter-form input:not([type="submit"]):hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-newsletter .tnp-field input[type="email"]:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-pop-input:hover,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-input:hover,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-textarea:hover {
    border-color: rgba(250, 163, 36, 0.45) !important;
}

/* Dark page corrections after targeted hover pass. */
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-values {
    background: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-val-card {
    background: #252525 !important;
    border-color: #333 !important;
}

html[data-rm-theme="dark"] .rm-demo-card {
    background: var(--rm-dm-card) !important;
    border: 1px solid var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-methodology-step-number {
    background: rgba(250, 163, 36, 0.14) !important;
    border: 1px solid rgba(250, 163, 36, 0.36) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] .rm-methodology-scale-item {
    background: transparent !important;
    border-color: transparent !important;
}

html[data-rm-theme="dark"] .rm-methodology-scale-item:hover .rm-methodology-scale-text {
    color: var(--rm-dm-muted) !important;
}

/* Dark theme palette unification and button readability. */
html[data-rm-theme="dark"] #page,
html[data-rm-theme="dark"] .site,
html[data-rm-theme="dark"] #content,
html[data-rm-theme="dark"] .site-content,
html[data-rm-theme="dark"] #rm-home-wrapper,
html[data-rm-theme="dark"] #rm-about-wrapper,
html[data-rm-theme="dark"] #rm-membership-wrapper,
html[data-rm-theme="dark"] #rm-consulting-wrapper,
html[data-rm-theme="dark"] #rm-trainings-wrapper,
html[data-rm-theme="dark"] #rm-contact-wrapper,
html[data-rm-theme="dark"] #rm-team-wrapper,
html[data-rm-theme="dark"] #rm-advisors-wrapper,
html[data-rm-theme="dark"] .rm-methodology-page {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] .rm-home-stats,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-advisors,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-def,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-comparison {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-serve,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-intro,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-problem,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-values,
html[data-rm-theme="dark"] .rm-cons-clients::before,
html[data-rm-theme="dark"] .rm-train-audience::before,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method::before {
    background: var(--rm-dm-band) !important;
}

html[data-rm-theme="dark"] .rm-home-stat-card,
html[data-rm-theme="dark"] .rm-home-service-card,
html[data-rm-theme="dark"] .rm-home-method-card,
html[data-rm-theme="dark"] .rm-home-scale-wrap,
html[data-rm-theme="dark"] .rm-mem-card:not(.featured),
html[data-rm-theme="dark"] .rm-comparison-table,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-impact-clean,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-vm-card,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-aud-card,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card,
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card,
html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-service-item,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-card,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-card,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-form-box,
html[data-rm-theme="dark"] .rm-methodology-step,
html[data-rm-theme="dark"] .rm-methodology-impact-scale {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] p,
html[data-rm-theme="dark"] li,
html[data-rm-theme="dark"] label,
html[data-rm-theme="dark"] .rm-mem-desc,
html[data-rm-theme="dark"] .rm-mem-features-list li,
html[data-rm-theme="dark"] .rm-about-gap-clean p,
html[data-rm-theme="dark"] .rm-about-vm-card p,
html[data-rm-theme="dark"] .rm-about-val-card p,
html[data-rm-theme="dark"] .rm-about-offer-desc,
html[data-rm-theme="dark"] .rm-contact-value,
html[data-rm-theme="dark"] .rm-methodology-step-content,
html[data-rm-theme="dark"] .rm-methodology-step-content p {
    color: var(--rm-dm-muted) !important;
}

html[data-rm-theme="dark"] h1,
html[data-rm-theme="dark"] h2,
html[data-rm-theme="dark"] h3,
html[data-rm-theme="dark"] h4,
html[data-rm-theme="dark"] h5,
html[data-rm-theme="dark"] h6,
html[data-rm-theme="dark"] .rm-mem-plan-name,
html[data-rm-theme="dark"] .rm-mem-price,
html[data-rm-theme="dark"] .rm-contact-title,
html[data-rm-theme="dark"] .rm-methodology-step-title {
    color: var(--rm-dm-heading) !important;
}

/* My Account tabs — must win over all dark-theme rules (CSS only, no JS) */
.rm-account-tabs .rm-account-content > .rm-account-pane:not(.active) {
    display: none !important;
}

.rm-account-tabs .rm-account-content > .rm-account-pane.active {
    display: block !important;
}

/* Dark theme — consulting & training numbered cards (same orange) */
html[data-rm-theme="dark"] #rm-consulting-wrapper .rm-cons-service-number,
html[data-rm-theme="dark"] #rm-trainings-wrapper .rm-train-method-number {
    color: #faa324 !important;
}

/* My Account — Current membership actions (dark mode hovers) */
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-actions .rm-account-btn-outline:hover,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-actions .rm-account-btn-outline:focus-visible {
    background: rgba(250, 163, 36, 0.16) !important;
    border-color: #faa324 !important;
    color: #faa324 !important;
}

html[data-rm-theme="dark"] .rm-account-wrap .rm-account-actions .rm-account-btn-text:hover,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-actions .rm-account-btn-text:focus-visible,
html[data-rm-theme="dark"] .rm-account-wrap .rm-account-actions .rm-account-btn-text:active {
    background: rgba(248, 113, 113, 0.14) !important;
    border-color: rgba(248, 113, 113, 0.35) !important;
    color: #fca5a5 !important;
}

/* Order History — dark theme (matches account cards; overrides global th/td/table) */
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_section,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_section_content,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_card,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_card_content,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap #pmpro_order_list {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_section_title {
    color: var(--rm-dm-heading) !important;
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table {
    background: transparent !important;
    color: var(--rm-dm-fg) !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table thead {
    background-color: var(--rm-dm-surface-2) !important;
    border-bottom: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table thead th {
    color: var(--rm-dm-muted-soft) !important;
    background: transparent !important;
    border-color: transparent !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table td,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table tbody tr th {
    color: var(--rm-dm-fg) !important;
    background: transparent !important;
    border-bottom: 1px solid var(--rm-dm-line) !important;
    border-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table tbody tr {
    border-bottom-color: var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_table th,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_table td,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_table tbody tr,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_table tbody tr th,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .rm-account-table-wrap .pmpro_table span {
    color: inherit !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_tag-success {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_tag-warning {
    background: rgba(250, 163, 36, 0.18) !important;
    color: #fcd34d !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_tag-error {
    background: rgba(248, 113, 113, 0.18) !important;
    color: #fca5a5 !important;
}

html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_tag-default {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-muted) !important;
}

/* Order History — light theme + both: no row hover */
.rm-account-pane[data-pane="orders"] .pmpro_table thead,
.rm-account-table-wrap .pmpro_table thead {
    background-color: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.rm-account-pane[data-pane="orders"] .pmpro_table th,
.rm-account-table-wrap .pmpro_table th {
    color: #6b7280 !important;
    background: transparent !important;
}

.rm-account-pane[data-pane="orders"] .pmpro_table td,
.rm-account-pane[data-pane="orders"] .pmpro_table tbody tr th,
.rm-account-table-wrap .pmpro_table td,
.rm-account-table-wrap .pmpro_table tbody tr th {
    color: #1f1e1f !important;
    background: transparent !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.rm-account-pane[data-pane="orders"] .pmpro_table th,
.rm-account-pane[data-pane="orders"] .pmpro_table td,
.rm-account-pane[data-pane="orders"] .pmpro_table tbody tr,
.rm-account-table-wrap .pmpro_table th,
.rm-account-table-wrap .pmpro_table td,
.rm-account-table-wrap .pmpro_table tbody tr {
    cursor: default;
}

.rm-account-pane[data-pane="orders"] .pmpro_table th a,
.rm-account-pane[data-pane="orders"] .pmpro_table td a,
.rm-account-table-wrap .pmpro_table th a,
.rm-account-table-wrap .pmpro_table td a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit !important;
}

.rm-account-pane[data-pane="orders"] .pmpro_table tbody tr:hover,
.rm-account-pane[data-pane="orders"] .pmpro_table tbody tr:hover th,
.rm-account-pane[data-pane="orders"] .pmpro_table tbody tr:hover td,
.rm-account-table-wrap .pmpro_table tbody tr:hover,
.rm-account-table-wrap .pmpro_table tbody tr:hover th,
.rm-account-table-wrap .pmpro_table tbody tr:hover td,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table tbody tr:hover,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table tbody tr:hover th,
html[data-rm-theme="dark"] .rm-account-pane[data-pane="orders"] .pmpro_table tbody tr:hover td {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--rm-dm-fg) !important;
}

/* Membership — restore light check icons; fix dark visibility */
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-features-list li svg,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-everything-plus svg {
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    margin-top: 2px;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    fill: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-check,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-comparison-cross {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Dark theme — site buttons (primary vs outline) */
html[data-rm-theme="dark"] .rm-mem-btn-dark,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub-btn,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-btn,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-btn,
html[data-rm-theme="dark"] .rm-cons-btn--dark,
html[data-rm-theme="dark"] .rm-cons-btn--accent,
html[data-rm-theme="dark"] .rm-train-btn--dark,
html[data-rm-theme="dark"] .rm-train-btn--accent,
html[data-rm-theme="dark"] .rm-demo-btn,
html[data-rm-theme="dark"] .rm-contact-submit,
html[data-rm-theme="dark"] .rm-checkout-wrap .pmpro_btn-submit-checkout,
html[data-rm-theme="dark"] .pmpro #pmpro_login #wp-submit,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_btn-submit-update-profile,
html[data-rm-theme="dark"] .rm-account-wrap .pmpro_form_submit .pmpro_btn:not(.pmpro_btn-cancel),
html[data-rm-theme="dark"] .rm-cookie-btn-accept,
html[data-rm-theme="dark"] .pmpro_btn:not(.pmpro_btn-cancel) {
    background: var(--rm-orange) !important;
    border: 1px solid var(--rm-orange) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-mem-btn-dark:hover,
html[data-rm-theme="dark"] #rm-header-scope .rm-header-sub-btn:hover,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-btn:hover,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-btn:hover,
html[data-rm-theme="dark"] .rm-cons-btn--dark:hover,
html[data-rm-theme="dark"] .rm-cons-btn--accent:hover,
html[data-rm-theme="dark"] .rm-train-btn--dark:hover,
html[data-rm-theme="dark"] .rm-train-btn--accent:hover,
html[data-rm-theme="dark"] .rm-demo-btn:hover,
html[data-rm-theme="dark"] .rm-contact-submit:hover {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #ffffff !important;
}

html[data-rm-theme="dark"] .rm-mem-btn.current {
    background: var(--rm-dm-surface-2) !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-muted) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] .rm-cons-btn--ghost,
html[data-rm-theme="dark"] .rm-train-btn--ghost {
    background: transparent !important;
    color: var(--rm-dm-heading) !important;
    border: 1px solid var(--rm-dm-line) !important;
}

html[data-rm-theme="dark"] .rm-cons-btn--ghost:hover,
html[data-rm-theme="dark"] .rm-train-btn--ghost:hover {
    background: var(--rm-dm-surface-2) !important;
    color: var(--rm-dm-heading) !important;
    border-color: var(--rm-dm-muted) !important;
}

/* Homepage — neutral charcoal bands (not blue-black) */
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-serve,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-method {
    background: #1f1e1f !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-hero,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stats,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-services,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-advisors {
    background: var(--rm-dm-bg) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-stat-card,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-card,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row {
    background: var(--rm-dm-card) !important;
    border-color: var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-row-visual,
html[data-rm-theme="dark"] #rm-home-wrapper .rm-home-service-visual {
    background: var(--rm-dm-surface) !important;
}

/* Membership — preserve soft/outline buttons in dark mode */
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:not(.current) {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--primary:not(.current):focus-visible {
    background: #e89410 !important;
    border-color: #e89410 !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--ghost:not(.current) {
    background: transparent !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):focus-visible {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--link,
html[data-rm-theme="dark"] #rm-membership-wrapper button.rm-mem-btn--link {
    background: var(--rm-dm-surface-2) !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--link:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-btn--link:focus-visible,
html[data-rm-theme="dark"] #rm-membership-wrapper button.rm-mem-btn--link:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper button.rm-mem-btn--link:focus-visible {
    color: var(--rm-orange) !important;
    background: rgba(250, 163, 36, 0.1) !important;
    border-color: var(--rm-orange) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:focus-visible,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-compare-link:active {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-equiv {
    color: #f5d9a8 !important;
    background: rgba(250, 163, 36, 0.18) !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-equiv {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
}

/* Membership page — final interaction rules */
body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.current) {
    background: #1f1e1f !important;
    border-color: #1f1e1f !important;
    color: #fff !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible {
    background: #383738 !important;
    border-color: #383738 !important;
    color: #fff !important;
    box-shadow: none !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):focus-visible,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):focus-visible,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):focus-visible {
    background: #d48a1b !important;
    border-color: #d48a1b !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.3) !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:not(.current) {
    background: #fff !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:not(.current):focus-visible {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #fff !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.current) {
    background: #343434 !important;
    border-color: #4a4a4a !important;
    color: #f5f5f5 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible {
    background: #4a4a4a !important;
    border-color: #666 !important;
    color: #f5f5f5 !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):focus-visible {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #1f1e1f !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.26) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:not(.current) {
    background: transparent !important;
    border-color: var(--rm-orange) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--mini:not(.current):focus-visible {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn {
    min-width: 0;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 6px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    transition: all 0.2s ease;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-cta-stack {
    gap: 10px;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.current) {
    background: #1f1e1f !important;
    border-color: #1f1e1f !important;
    color: #fff !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible {
    background: #faa324 !important;
    border-color: #faa324 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.3) !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current) {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):focus-visible {
    background: #d48a1b !important;
    border-color: #d48a1b !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.3) !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--ghost:not(.current) {
    background: #fff !important;
    border-color: #e1e4e8 !important;
    color: #1f1e1f !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--ghost:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--ghost:not(.current):focus-visible,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--ghost:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--ghost:not(.current):focus-visible {
    background: rgba(250, 163, 36, 0.08) !important;
    border-color: #faa324 !important;
    color: #faa324 !important;
    box-shadow: none !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 18px;
    padding: 16px 18px;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip-copy {
    gap: 6px;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip-price {
    font-size: 0.95rem;
    font-weight: 700;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip-note {
    max-width: 56ch;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current) {
    width: auto;
    min-width: clamp(140px, 20vw, 190px);
    min-height: 40px;
    padding: 10px 16px;
    justify-self: end;
    align-self: center;
    border-radius: 6px;
    white-space: normal;
    text-align: center;
    background: #fff !important;
    border-color: #e1e4e8 !important;
    color: #1f1e1f !important;
    box-shadow: none !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current):hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current):focus-visible {
    background: #faa324 !important;
    border-color: #faa324 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.3) !important;
}

@media (max-width: 640px) {
    body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }

    body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip-copy,
    body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip-note {
        max-width: none;
    }

    body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current) {
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.current) {
    background: #2a2d31 !important;
    border-color: #3a3f45 !important;
    color: #f5f5f5 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--dark:not(.rm-mem-btn--subscribe):not(.current):focus-visible {
    background: #faa324 !important;
    border-color: #faa324 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.26) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current) {
    background: #faa324 !important;
    border-color: #faa324 !important;
    color: #1f1e1f !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--subscribe:not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--subscribe:not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--subscribe:not(.current):focus-visible {
    background: #e89620 !important;
    border-color: #e89620 !important;
    color: #1f1e1f !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.26) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--ghost:not(.current) {
    background: transparent !important;
    border-color: #4a4a4a !important;
    color: #f5f5f5 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--ghost:not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--ghost:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper a.rm-mem-btn--ghost:not(.current):focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--ghost:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper button.rm-mem-btn--ghost:not(.current):focus-visible {
    background: rgba(250, 163, 36, 0.12) !important;
    border-color: #faa324 !important;
    color: #faa324 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current) {
    background: transparent !important;
    border-color: #4a4a4a !important;
    color: #f5f5f5 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-public-strip .rm-mem-btn--public:not(.current):focus-visible {
    background: #faa324 !important;
    border-color: #faa324 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(250, 163, 36, 0.26) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-plan-tab.is-active,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-svt-tab.is-active {
    background: var(--rm-orange) !important;
    color: #1f1e1f !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-acc-item {
    background: #262526 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-acc-item:hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-acc-item:focus-within {
    background: #2b2a2b !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-trust-strip--badge .rm-mem-trust-brand {
    color: #8b83ff !important;
}

/* Bottom CTA — Contact Us must stay light/outline, not dark fill */
body.rm-membership-page #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cta a.rm-mem-btn--outline {
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    color: var(--rm-text-primary) !important;
    box-shadow: none !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:focus-visible,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cta a.rm-mem-btn--outline:hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cta a.rm-mem-btn--outline:focus-visible {
    background: #f8f9fa !important;
    border-color: #c9cdd3 !important;
    color: var(--rm-text-primary) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-cta a.rm-mem-btn--outline {
    background: transparent !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-cta .rm-mem-btn--outline:focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-cta a.rm-mem-btn--outline:hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-cta a.rm-mem-btn--outline:focus-visible {
    background: var(--rm-dm-surface-2) !important;
    border-color: #4a4d52 !important;
    color: var(--rm-dm-heading) !important;
}

/* Modal fields — focus ring (light + dark), including required name/email */
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field input:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field textarea:hover,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field select:hover {
    border-color: #4a4d52 !important;
}

html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field input:focus,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field input:focus-visible,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field textarea:focus,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field textarea:focus-visible,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field select:focus,
html[data-rm-theme="dark"] #rm-membership-wrapper .rm-mem-modal .rm-mem-field select:focus-visible {
    border-color: rgba(250, 163, 36, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(250, 163, 36, 0.18) !important;
    outline: none !important;
}

/* Light theme only — Request Access + Contact Us */
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--request:not(.current) {
    background: #1f1e1f !important;
    border-color: #1f1e1f !important;
    color: #fff !important;
    box-shadow: none !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--request:not(.current):hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--request:not(.current):focus-visible {
    background: #383738 !important;
    border-color: #383738 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(31, 30, 31, 0.18) !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--outline:not(.current) {
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    color: var(--rm-text-primary) !important;
    box-shadow: none !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--outline:not(.current):hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--outline:not(.current):focus-visible {
    background: #f8f9fa !important;
    border-color: #c9cdd3 !important;
    color: var(--rm-text-primary) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--request:not(.current) {
    background: var(--rm-dm-surface-2) !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--request:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--request:not(.current):focus-visible {
    background: #2e2e30 !important;
    border-color: #4a4d52 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--outline:not(.current) {
    background: transparent !important;
    border: 1px solid var(--rm-dm-border) !important;
    color: var(--rm-dm-heading) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--outline:not(.current):hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-btn--outline:not(.current):focus-visible {
    background: var(--rm-dm-surface-2) !important;
    border-color: #4a4d52 !important;
    color: var(--rm-dm-heading) !important;
}

/* Light theme — Monthly / Yearly dark active pill */
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-billing-seg {
    background: #f5f6f8 !important;
    border-color: #eceef1 !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn:not(.is-active) {
    color: #666 !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn:hover:not(.is-active),
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn:focus-visible:not(.is-active) {
    color: #1f1e1f !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active:hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active:focus,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active:focus-visible {
    background: #1f1e1f !important;
    color: #fff !important;
    box-shadow: none !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-dot {
    background: #fff !important;
    opacity: 0.9 !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-text,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-equiv,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-save {
    color: #fff !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-equiv,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-save {
    background: rgba(255, 255, 255, 0.16) !important;
}

/* Light theme — Most Popular ribbon + featured card */
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-ribbon--popular {
    background: #fbf5e8 !important;
    border: none !important;
    border-bottom: 1px solid rgba(250, 163, 36, 0.2) !important;
    color: #7a5510 !important;
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    text-transform: none !important;
    box-shadow: none !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-ribbon:not(.rm-mem-ribbon--popular) {
    background: #fbf5e8 !important;
    border: 1px solid rgba(250, 163, 36, 0.22) !important;
    color: #7a5510 !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-card.featured {
    border-color: rgba(250, 163, 36, 0.24) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-card.featured:hover,
html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-card.featured:focus-within {
    border-color: rgba(250, 163, 36, 0.34) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

/* Dark theme — Most Popular ribbon */
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-ribbon--popular {
    background: rgba(250, 163, 36, 0.1) !important;
    border: none !important;
    border-bottom: 1px solid rgba(250, 163, 36, 0.22) !important;
    color: #e8c88a !important;
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    text-transform: none !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-ribbon:not(.rm-mem-ribbon--popular) {
    background: rgba(250, 163, 36, 0.1) !important;
    border: 1px solid rgba(250, 163, 36, 0.28) !important;
    color: #e8c88a !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-card.featured {
    border-color: rgba(250, 163, 36, 0.3) !important;
    background: var(--rm-mem-card-bg) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-card.featured:hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-card.featured:focus-within {
    border-color: rgba(250, 163, 36, 0.4) !important;
    box-shadow: none !important;
}

/* Desktop — equal-height pricing + SVT rows */
@media (min-width: 1200px) {
    .rm-mem-cards-grid--pricing > .rm-mem-card,
    .rm-mem-cards-grid--svt > .rm-mem-card {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        height: 100%;
        min-height: 100%;
        min-width: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-body,
    .rm-mem-card--svt .rm-mem-card-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-features-list,
    .rm-mem-cards-grid--pricing .rm-mem-features-list--compact,
    .rm-mem-card--svt .rm-mem-features-list--compact {
        flex: 1 1 auto;
        min-height: 0;
    }

    .rm-mem-cards-grid--pricing .rm-mem-card-footer,
    .rm-mem-card--svt .rm-mem-card-footer {
        margin-top: auto !important;
        flex-shrink: 0;
    }

    .rm-mem-card--svt .rm-mem-price-box {
        min-height: 64px;
    }
}

/* SVT — match main pricing typography */
body.rm-membership-page #rm-membership-wrapper .rm-mem-card--svt .rm-mem-price-amount,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-price-amount,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-billing-price {
    font-size: var(--rm-mem-price-size, clamp(1.05rem, 1.15vw, 1.2rem)) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount,
body.rm-membership-page #rm-membership-wrapper .rm-mem-cards-grid--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size-svt, var(--rm-mem-quote-size)) !important;
    font-weight: var(--rm-mem-quote-weight-svt, var(--rm-mem-quote-weight, 650)) !important;
    line-height: 1.42 !important;
    color: var(--rm-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.rm-membership-page #rm-membership-wrapper[dir="rtl"] .rm-mem-card--svt .rm-mem-price--quote .rm-mem-price-amount,
body.rm-membership-page #rm-membership-wrapper[dir="rtl"] .rm-mem-cards-grid--svt .rm-mem-price--quote .rm-mem-price-amount {
    font-size: var(--rm-mem-quote-size-svt) !important;
    font-weight: var(--rm-mem-quote-weight-svt, 700) !important;
    line-height: 1.45 !important;
    color: var(--rm-text-primary) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-card--svt .rm-mem-card-head,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-card--svt .rm-mem-card-footer {
    background: transparent !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-card--svt .rm-mem-price-box {
    border: none !important;
}

html:not([data-rm-theme="dark"]) body.rm-membership-page #rm-membership-wrapper .rm-mem-billing-summary {
    color: var(--rm-text-muted) !important;
    background: transparent !important;
    border: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-billing-summary {
    color: var(--rm-dm-muted) !important;
    background: transparent !important;
    border: none !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-billing-seg {
    background: #141414 !important;
    border: 1px solid var(--rm-dm-border) !important;
    padding: 3px !important;
    gap: 2px !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn:not(.is-active) {
    color: var(--rm-dm-muted-soft) !important;
    background: transparent !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn:hover:not(.is-active),
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn:focus-visible:not(.is-active) {
    color: var(--rm-dm-heading) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active:hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active:focus,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active:focus-visible {
    background: #4a4a4f !important;
    color: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-dot {
    background: #fff !important;
    opacity: 0.9 !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-text,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-equiv,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-save {
    color: #fff !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-equiv,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-seg-btn.is-active .rm-mem-seg-save {
    background: rgba(255, 255, 255, 0.14) !important;
}

/* Full comparison link — orange text on hover / click */
body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:hover,
body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:focus-visible,
body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:active {
    color: var(--rm-orange) !important;
}

body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:hover .rm-mem-compare-arrow,
body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:focus-visible .rm-mem-compare-arrow,
body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:active .rm-mem-compare-arrow {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:focus {
    color: rgba(255, 255, 255, 0.55) !important;
    background: transparent !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:hover,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:focus-visible,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:active {
    color: var(--rm-orange) !important;
    background: transparent !important;
}

html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:hover .rm-mem-compare-arrow,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:focus-visible .rm-mem-compare-arrow,
html[data-rm-theme="dark"] body.rm-membership-page #rm-membership-wrapper .rm-mem-compare-link:active .rm-mem-compare-arrow {
    color: var(--rm-orange) !important;
}

/* =============================================================================
   Dark theme parity fixes — scoped (does NOT change membership layout/buttons)
   ============================================================================= */

/* Footer — match light charcoal band */
html[data-rm-theme="dark"] .rm-footer footer {
    --bg: #1f1e1f !important;
    --border: #333 !important;
}

html[data-rm-theme="dark"] .rm-footer footer::before {
    background: linear-gradient(180deg, #232223 0%, #1f1e1f 100%) !important;
    border-top-color: #333 !important;
}

/* Accent borders after palette unification */
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean {
    border-inline-start-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card {
    border-inline-start: 4px solid transparent !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-full-card {
    border: 1px solid var(--rm-dm-border) !important;
    border-top: 1px solid var(--rm-dm-border) !important;
}

html[data-rm-theme="dark"] .rm-methodology-step {
    border-inline-start-color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-gap-clean:hover {
    border-color: var(--rm-dm-border) !important;
    border-inline-start-color: var(--rm-orange) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Methodology step numbers — solid orange like light */
html[data-rm-theme="dark"] .rm-methodology-step-number {
    background: var(--rm-orange) !important;
    border: none !important;
    color: #ffffff !important;
}

/* Alerts — Quick Read / card quick buttons (charcoal, visible border) */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-quick {
    background: #1f1e1f !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-quick:hover,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-btn-quick:focus {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #ffffff !important;
}

html[data-rm-theme="dark"] .rm-archive-quick-action--article,
html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--article,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-archive-quick-action--article,
html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--article {
    background: #1f1e1f !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-rm-theme="dark"] .rm-archive-quick-action--article:hover,
html[data-rm-theme="dark"] .rm-archive-quick-action--article:focus,
html[data-rm-theme="dark"] .rm-qr-modal .rm-archive-quick-action--article:hover,
html[data-rm-theme="dark"] .rm-qr-overlay .rm-archive-quick-action--article:hover,
html[data-rm-theme="dark"] .rm-single-modal .rm-archive-quick-action--article:hover {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #ffffff !important;
}

/* Contact — submit charcoal; icons split email vs team */
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-submit {
    background: #1f1e1f !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-submit:hover {
    background: var(--rm-orange) !important;
    border-color: var(--rm-orange) !important;
    color: #ffffff !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-icon {
    background: rgba(250, 163, 36, 0.12) !important;
    border: 1px solid rgba(250, 163, 36, 0.22) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-info-box:hover .rm-contact-icon {
    background: rgba(250, 163, 36, 0.18) !important;
    border-color: rgba(250, 163, 36, 0.32) !important;
    color: var(--rm-orange) !important;
}

/* Meet our team — neutral icon at rest; orange card + icon + arrow on hover (dark) */
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box {
    background: var(--rm-dm-surface-2) !important;
    border: 1px solid var(--rm-dm-border) !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible {
    border-color: rgba(250, 163, 36, 0.45) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-3px) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-team-box-icon {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #a8a9ad !important;
    box-shadow: none !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-team-box-icon svg {
    stroke: currentColor !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover .rm-team-box-icon,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible .rm-team-box-icon {
    background: rgba(250, 163, 36, 0.14) !important;
    border-color: rgba(250, 163, 36, 0.4) !important;
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover .rm-team-box-content h4,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible .rm-team-box-content h4 {
    color: var(--rm-orange) !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-arrow {
    color: #a8a9ad !important;
}

html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:hover .rm-contact-team-arrow,
html[data-rm-theme="dark"] #rm-contact-wrapper .rm-contact-team-box:focus-visible .rm-contact-team-arrow {
    color: var(--rm-orange) !important;
}

/* Board member profile — no orange ring on photo */
html[data-rm-theme="dark"] .rm-member-profile .member-photo,
html[data-rm-theme="dark"] .rm-member-profile .rm-advisors-profile-img {
    border: none !important;
}

/* Category badges — charcoal pills (archive + single, dark) */
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-card-cat,
html[data-rm-theme="dark"] .rm-archive-wrap.rm-archive-feed .rm-archive-feat-cat,
html[data-rm-theme="dark"] .rm-single-wrap .rm-single-badge {
    background: #1f1e1f !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
}

/* Our Story — What We Offer: no left accent at rest (orange on hover only) */
html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card {
    border-inline-start: 4px solid transparent !important;
}

html[data-rm-theme="dark"] #rm-about-wrapper .rm-about-offer-card:hover {
    border-inline-start-color: var(--rm-orange) !important;
}