/* Resid Blog UX — styles intentionally scoped to single blog posts. */
body.single-post .elementor-widget-theme-post-title .elementor-heading-title,
body.single-post h1.entry-title {
    font-family: inherit;
    font-size: clamp(1.8rem, 1.55rem + .8vw, 2.35rem);
    line-height: 1.42;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

body.single-post .elementor-widget-theme-post-content :where(h2),
body.single-post .entry-content :where(h2) {
    font-family: inherit;
    font-size: clamp(1.42rem, 1.28rem + .48vw, 1.82rem);
    line-height: 1.58;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-block: 2.55rem .9rem;
    scroll-margin-top: 24px;
}

body.single-post .elementor-widget-theme-post-content :where(h3),
body.single-post .entry-content :where(h3) {
    font-family: inherit;
    font-size: clamp(1.15rem, 1.07rem + .28vw, 1.42rem);
    line-height: 1.65;
    font-weight: 700;
    letter-spacing: -0.006em;
    margin-block: 1.9rem .72rem;
    scroll-margin-top: 24px;
}

body.single-post .elementor-widget-theme-post-content > .elementor-widget-container > :where(h2,h3):first-child,
body.single-post .entry-content > :where(h2,h3):first-child {
    margin-block-start: 0;
}

/* Table of contents */
.elementor-widget-rbu_blog_toc {
    position: sticky;
    top: 24px;
    align-self: flex-start;
    z-index: 2;
    min-width: 0;
}

.rbu-toc {
    --rbu-toc-accent: #4f7dff;
    --rbu-toc-bg: #fff;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: #303238;
    background: var(--rbu-toc-bg);
    border: 1px solid #e6e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.rbu-toc *,
.rbu-toc *::before,
.rbu-toc *::after {
    box-sizing: border-box;
}

.rbu-toc__panel {
    display: block;
    padding: 16px 14px 13px;
}

.rbu-toc__heading {
    margin: 0 4px 9px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f1f3;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: #24262b;
}

.rbu-toc__nav {
    max-height: 390px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #a9abb1 transparent;
}

.rbu-toc__nav::-webkit-scrollbar {
    width: 5px;
}

.rbu-toc__nav::-webkit-scrollbar-track {
    background: transparent;
}

.rbu-toc__nav::-webkit-scrollbar-thumb {
    background: #b4b6bc;
    border-radius: 99px;
}

.rbu-toc__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rbu-toc__item {
    position: relative;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rbu-toc__item::before {
    content: "";
    position: absolute;
    inset-inline-start: 1px;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 99px;
    background: transparent;
}

.rbu-toc__item.is-active::before {
    background: var(--rbu-toc-accent);
}

.rbu-toc .rbu-toc__link {
    display: block;
    width: 100%;
    padding: 7px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #62656d;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.7;
    transition: color .16s ease;
}

.rbu-toc .rbu-toc__item--h3 .rbu-toc__link {
    padding-inline-start: 24px;
    font-size: 12.75px;
    font-weight: 400;
    color: #8a8d95;
}

.rbu-toc .rbu-toc__link:hover,
.rbu-toc .rbu-toc__link:focus-visible {
    color: #24262b;
    background: #f7f8fa;
}

.rbu-toc .rbu-toc__item.is-active > .rbu-toc__link {
    color: #24262b;
    font-weight: 700;
    background: transparent;
}

/* Strong reset because some Elementor themes style every <button> globally. */
.rbu-toc button.rbu-toc__toggle {
    display: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    color: #292b30 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    text-align: start !important;
    text-decoration: none !important;
    cursor: pointer;
}

.rbu-toc button.rbu-toc__toggle:hover,
.rbu-toc button.rbu-toc__toggle:focus,
.rbu-toc button.rbu-toc__toggle:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #292b30 !important;
}

.rbu-toc__toggle svg {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 auto;
    fill: currentColor !important;
    transition: transform .18s ease;
}

/* Download CTA */
.rbu-download-cta {
    --rbu-blue: #4f7dff;
    --rbu-blue-dark: #3e6ff1;
    --rbu-mint: #dcf7f1;
    --rbu-mint-text: #20a887;
    --rbu-text: #4b4b4f;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 28px 0;
    padding: 17px 20px;
    border: 1px solid #ebe9e6;
    border-radius: 18px;
    background: #fff;
    color: var(--rbu-text);
    font-family: inherit;
}

.rbu-download-cta *,
.rbu-download-cta *::before,
.rbu-download-cta *::after {
    box-sizing: border-box;
}

.rbu-download-cta__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 275px);
    align-items: center;
    column-gap: 34px;
    row-gap: 18px;
}

.rbu-download-cta__content,
.rbu-download-cta__intro {
    min-width: 0;
}

.rbu-download-cta__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rbu-download-cta__title {
    min-width: 0;
    margin: 0 !important;
    font-family: inherit;
    font-size: clamp(1.02rem, .97rem + .2vw, 1.16rem) !important;
    line-height: 1.6 !important;
    font-weight: 750 !important;
    color: #333438;
}

.rbu-download-cta__app-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 9px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
}

.rbu-download-cta__app-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rbu-download-cta__description {
    margin: 5px 0 0 !important;
    max-width: 60ch;
    font-size: 13.5px;
    line-height: 1.8;
    color: #6d6e73;
}

.rbu-download-cta__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 17px;
    margin-top: 11px;
}

.rbu-download-cta__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4e5056;
    font-size: 12.75px;
    line-height: 1.5;
    white-space: nowrap;
}

.rbu-download-cta__meta-icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--rbu-mint-text);
    background: var(--rbu-mint);
}

.rbu-download-cta__meta-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.rbu-download-cta__actions {
    display: grid;
    gap: 8px;
    min-width: 0;
    width: 100%;
    max-width: 275px;
    justify-self: start;
}

.rbu-download-cta__markets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.rbu-action-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 6px 10px;
    border: 1px solid var(--rbu-blue);
    border-radius: 9px;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.rbu-action-btn--market {
    min-height: 50px;
    padding: 5px 10px;
    overflow: hidden;
}

.rbu-action-btn--myket {
    background: var(--rbu-blue);
    color: #fff !important;
}

.rbu-action-btn--bazaar,
.rbu-action-btn--direct {
    background: #fff;
    color: var(--rbu-blue) !important;
}

.rbu-action-btn__market-logo {
    width: 100%;
    height: 36px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rbu-action-btn__market-logo .rbu-action-btn__image {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 34px !important;
    object-fit: contain;
}

.rbu-action-btn__logo {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.rbu-action-btn__logo .rbu-action-btn__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rbu-action-btn__text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.rbu-market-mark,
.rbu-action-btn__fallback-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: currentColor;
}

.rbu-market-mark svg,
.rbu-action-btn__fallback-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.rbu-action-btn--myket .rbu-market-mark { color: #fff; }
.rbu-action-btn--bazaar .rbu-market-mark { color: var(--rbu-blue); }

@media (hover: hover) and (pointer: fine) {
    .rbu-action-btn:hover { transform: translateY(-1px); }
    .rbu-action-btn--myket:hover {
        background: var(--rbu-blue-dark);
        border-color: var(--rbu-blue-dark);
    }
    .rbu-action-btn--bazaar:hover,
    .rbu-action-btn--direct:hover { background: #f4f7ff; }
}

@media (max-width: 900px) and (min-width: 768px) {
    .rbu-download-cta__layout {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
        column-gap: 24px;
        row-gap: 14px;
    }

    .rbu-action-btn__market-logo {
        height: 32px;
    }

    .rbu-action-btn__market-logo .rbu-action-btn__image {
        max-height: 30px !important;
    }
}

@media (max-width: 767px) {
    body.single-post .elementor-widget-theme-post-title .elementor-heading-title,
    body.single-post h1.entry-title {
        letter-spacing: 0;
    }

    body.single-post .elementor-widget-theme-post-content :where(h2),
    body.single-post .entry-content :where(h2) {
        margin-block-start: 2.2rem;
    }

    body.single-post .elementor-widget-theme-post-content :where(h3),
    body.single-post .entry-content :where(h3) {
        margin-block-start: 1.65rem;
    }

    .elementor-widget-rbu_blog_toc {
        position: static;
        top: auto !important;
    }

    .rbu-toc {
        border-radius: 12px;
    }

    .rbu-toc button.rbu-toc__toggle {
        display: flex !important;
    }

    .rbu-toc__heading {
        display: none;
    }

    .rbu-toc__panel {
        display: none;
        padding: 0 11px 11px;
        border-top: 1px solid #efeff2;
    }

    .rbu-toc.is-mobile-open .rbu-toc__panel {
        display: block;
    }

    .rbu-toc.is-mobile-open .rbu-toc__toggle svg {
        transform: rotate(180deg);
    }

    .rbu-toc__nav {
        max-height: 320px;
        padding-top: 7px;
    }

    .rbu-download-cta {
        margin: 24px 0;
        padding: 15px;
        border-radius: 15px;
    }

    .rbu-download-cta__layout {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .rbu-download-cta__actions {
        max-width: none;
        justify-self: stretch;
    }

    .rbu-download-cta__title-row {
        gap: 8px;
    }

    .rbu-download-cta__app-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 8px;
    }

    .rbu-download-cta__description {
        font-size: 13px;
    }

    .rbu-download-cta__meta {
        gap: 9px 13px;
        margin-top: 10px;
    }

    .rbu-download-cta__meta-item {
        font-size: 12px;
    }

    .rbu-download-cta__meta-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .rbu-download-cta__actions {
        gap: 7px;
    }

    .rbu-download-cta__markets {
        gap: 7px;
    }

    .rbu-action-btn--market,
    .rbu-action-btn--direct {
        min-height: 46px;
    }

    .rbu-action-btn__market-logo {
        height: 32px;
    }

    .rbu-action-btn__market-logo .rbu-action-btn__image {
        max-height: 30px !important;
    }
}

@media (max-width: 420px) {
    .rbu-download-cta__markets {
        grid-template-columns: 1fr;
    }

    .rbu-action-btn__market-logo .rbu-action-btn__image {
        max-width: 190px !important;
    }
}


/* Blog Comments */
.rbu-comments {
    --rbu-comments-accent: #4f7dff;
    --rbu-comments-accent-soft: #eef3ff;
    --rbu-comments-form-bg: #faf9f7;
    --rbu-comments-text: #2f3136;
    --rbu-comments-muted: #777a82;
    --rbu-comments-border: #e7e7e9;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 40px 0 24px;
    color: var(--rbu-comments-text);
    font-family: inherit;
}

.rbu-comments *,
.rbu-comments *::before,
.rbu-comments *::after {
    box-sizing: border-box;
}

.rbu-comments [hidden] {
    display: none !important;
}


/* Section heading — visible label only; intentionally not h1-h6. */
.rbu-comments__heading-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.rbu-comments__title {
    margin: 0 !important;
    font-family: inherit !important;
    font-size: clamp(1.28rem, 1.18rem + .28vw, 1.52rem) !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
    color: #25272c;
}

.rbu-comments__count {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--rbu-comments-accent-soft);
    color: var(--rbu-comments-accent);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
}

/* Composer */
.rbu-comments__composer {
    width: 100%;
    min-width: 0;
    margin-bottom: 22px;
    padding: 16px;
    border: 0;
    border-radius: 14px;
    background: var(--rbu-comments-form-bg);
}

.rbu-comments__composer-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.rbu-comments__form-title {
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 15.5px !important;
    line-height: 1.6 !important;
    font-weight: 750 !important;
    color: #303238;
}

.rbu-comments__composer-head > span {
    color: #85888f;
    font-size: 11.5px;
    line-height: 1.6;
}


.rbu-comments__form,
.rbu-comments__field {
    min-width: 0;
}

.rbu-comments__form {
    margin: 0;
}

.rbu-comments__field {
    display: block;
    margin: 0;
    color: #5d6067;
    font-size: 12px;
    font-weight: 600;
}

.rbu-comments__field > span:not(.screen-reader-text) {
    display: block;
    margin-bottom: 5px;
}

.rbu-comments .rbu-comments__field input,
.rbu-comments .rbu-comments__field textarea {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid #dfe1e5 !important;
    border-radius: 10px !important;
    outline: 0;
    box-shadow: none !important;
    background: #fff !important;
    color: #313339 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.rbu-comments .rbu-comments__field input::placeholder,
.rbu-comments .rbu-comments__field textarea::placeholder {
    color: #9a9ca2;
    opacity: 1;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: solid !important;
}

/* Prevent theme/browser writing-assistance decoration from leaking into the comment field. */
.rbu-comments .rbu-comments__field textarea {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.rbu-comments .rbu-comments__field input {
    height: 43px !important;
    padding: 8px 11px !important;
}

.rbu-comments .rbu-comments__field input[name="email"] {
    direction: ltr;
    text-align: left;
}

.rbu-comments .rbu-comments__field textarea {
    height: 116px !important;
    min-height: 116px !important;
    max-height: 260px !important;
    padding: 10px 12px !important;
    resize: vertical;
}

.rbu-comments .rbu-comments__field input:focus,
.rbu-comments .rbu-comments__field textarea:focus {
    border-color: var(--rbu-comments-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rbu-comments-accent) 11%, transparent) !important;
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
    .rbu-comments .rbu-comments__field input:focus,
    .rbu-comments .rbu-comments__field textarea:focus {
        box-shadow: 0 0 0 3px rgba(79, 125, 255, .11) !important;
    }
}

.rbu-comments__identity-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.rbu-comments__cookies {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    max-width: 100%;
    margin-top: 10px;
    color: #74777e;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.7;
    cursor: pointer;
}

.rbu-comments__cookies input {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px;
    margin: 3px 0 0 !important;
    accent-color: var(--rbu-comments-accent);
}

.rbu-comments__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 11px;
}

.rbu-comments__privacy {
    margin: 0 !important;
    color: #878a91;
    font-size: 11.5px;
    line-height: 1.6;
}

.rbu-comments button.rbu-comments__submit,
.rbu-comments button.rbu-comments__more,
.rbu-comments button.rbu-comment__reply,
.rbu-comments button[data-rbu-reply-cancel] {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}

/* Keep the primary action at the natural RTL start (right), not stranded at left. */
.rbu-comments button.rbu-comments__submit {
    order: -1;
    min-width: 124px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 17px !important;
    border: 1px solid var(--rbu-comments-accent) !important;
    border-radius: 9px !important;
    background: var(--rbu-comments-accent) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    transition: transform .16s ease, opacity .16s ease, background-color .16s ease;
}

.rbu-comments button.rbu-comments__submit:disabled,
.rbu-comments button.rbu-comments__more:disabled {
    cursor: wait;
    opacity: .68;
}

.rbu-comments__submit-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rbu-comment-spin .7s linear infinite;
}

.rbu-comments__submit.is-loading .rbu-comments__submit-spinner {
    display: inline-block;
}

@keyframes rbu-comment-spin {
    to { transform: rotate(360deg); }
}

.rbu-comments__notice {
    position: relative;
    margin-top: 10px;
    padding: 9px 36px 9px 11px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.7;
}

.rbu-comments__notice::before {
    position: absolute;
    inset-inline-start: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
}

.rbu-comments__notice.is-success {
    background: #eaf8f3;
    color: #157a62;
}

.rbu-comments__notice.is-success::before {
    content: "✓";
}

.rbu-comments__notice.is-error {
    background: #fff0f0;
    color: #b23b3b;
}

.rbu-comments__notice.is-error::before {
    content: "!";
}

.rbu-comments__reply-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--rbu-comments-accent-soft);
    color: #555a66;
    font-size: 11.5px;
}

.rbu-comments button[data-rbu-reply-cancel] {
    flex: 0 0 auto;
    padding: 2px 4px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--rbu-comments-accent) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
}

.rbu-comments__hp {
    position: absolute !important;
    inset-inline-start: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Comment list: editorial/divider treatment instead of a stack of heavy cards. */
.rbu-comments__list-wrap,
.rbu-comments__list,
.rbu-comment,
.rbu-comment__body {
    min-width: 0;
    max-width: 100%;
}

.rbu-comments__list,
.rbu-comment-children {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rbu-comments__list:not([hidden]) {
    border-top: 1px solid var(--rbu-comments-border);
}

.rbu-comment {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--rbu-comments-border);
}

.rbu-comments__list > .rbu-comment:last-child {
    border-bottom: 0;
}

.rbu-comment__body {
    padding: 17px 4px 16px;
}

.rbu-comment__header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rbu-comment__avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: block;
}

.rbu-comment__avatar-img,
.rbu-comment__avatar-fallback {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rbu-comment__avatar-img {
    object-fit: cover;
}

.rbu-comment__avatar-fallback {
    background: #edf7f4;
    color: #1f9378;
    font-size: 13.5px;
    font-weight: 800;
}

.rbu-comment__identity {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
    gap: 3px 8px;
}

.rbu-comment__author {
    max-width: 100%;
    overflow: hidden;
    color: #303238;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rbu-comment__date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9699a0;
    font-size: 11.5px;
    line-height: 1.5;
    white-space: nowrap;
}

.rbu-comment__date::before {
    content: "";
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: #c4c6cb;
}

.rbu-comment__content {
    margin-top: 7px;
    padding-inline-start: 48px;
    color: #52555c;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* When avatars are disabled, do not leave the old 48px alignment gap behind. */
.rbu-comments[data-show-avatar="0"] .rbu-comment__content,
.rbu-comments[data-show-avatar="0"] .rbu-comment__actions {
    padding-inline-start: 0;
}

.rbu-comment__content > :first-child {
    margin-top: 0 !important;
}

.rbu-comment__content > :last-child {
    margin-bottom: 0 !important;
}

.rbu-comment__actions {
    margin-top: 6px;
    padding-inline-start: 48px;
}

.rbu-comments button.rbu-comment__reply {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--rbu-comments-accent-soft) !important;
    color: var(--rbu-comments-accent) !important;
    font-size: 11.5px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
}

/* Replies get one subtle rail. Deeper WordPress nesting no longer keeps moving inward. */
.rbu-comment-children {
    margin-inline-start: 24px !important;
    padding-inline-start: 13px !important;
    border-inline-start: 2px solid #edf0f6;
}

.rbu-comment-children > .rbu-comment {
    border-bottom-color: #efeff1;
}

.rbu-comment-children .rbu-comment-children {
    margin-inline-start: 0 !important;
    padding-inline-start: 0 !important;
    border-inline-start: 0;
}

.rbu-comments__empty {
    padding: 22px 8px 10px;
    text-align: center;
    color: #85878d;
    font-size: 12.5px;
    line-height: 1.8;
}

.rbu-comments__empty strong,
.rbu-comments__empty span {
    display: block;
}

.rbu-comments__empty strong {
    margin-bottom: 2px;
    color: #565960;
    font-size: 13.5px;
}

.rbu-comments__more-wrap {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.rbu-comments button.rbu-comments__more {
    min-height: 40px;
    padding: 7px 16px !important;
    border: 1px solid #d9ddea !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--rbu-comments-accent) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.rbu-comments__closed,
.rbu-comments__login,
.rbu-comments__editor-note {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f7f7;
    color: #696c73;
    font-size: 12.5px;
    line-height: 1.8;
}

.rbu-comments__login a {
    color: var(--rbu-comments-accent);
    font-weight: 700;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .rbu-comments button.rbu-comments__submit:hover {
        transform: translateY(-1px);
        opacity: .94;
    }

    .rbu-comments button.rbu-comments__more:hover {
        background: #f6f8ff !important;
    }

    .rbu-comments button.rbu-comment__reply:hover {
        background: color-mix(in srgb, var(--rbu-comments-accent) 12%, #fff) !important;
    }

    .rbu-comments button[data-rbu-reply-cancel]:hover {
        text-decoration: underline !important;
    }
}

@media (max-width: 767px) {
    .rbu-comments {
        margin-top: 32px;
    }


    .rbu-comments__heading-row {
        margin-bottom: 12px;
    }

    .rbu-comments__composer {
        margin-bottom: 18px;
        padding: 13px;
        border-radius: 12px;
    }

    .rbu-comments__composer-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        margin-bottom: 9px;
    }

    .rbu-comments__identity-fields {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .rbu-comments .rbu-comments__field input,
    .rbu-comments .rbu-comments__field textarea {
        font-size: 16px !important; /* Prevent iOS input zoom. */
    }

    .rbu-comments .rbu-comments__field textarea {
        height: 110px !important;
        min-height: 110px !important;
    }

    .rbu-comments__form-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .rbu-comments button.rbu-comments__submit {
        order: 0;
        width: 100% !important;
        min-width: 0;
        min-height: 44px;
    }

    .rbu-comments__privacy {
        text-align: center;
    }

    .rbu-comment__body {
        padding: 15px 1px 14px;
    }

    .rbu-comment__avatar,
    .rbu-comment__avatar-img,
    .rbu-comment__avatar-fallback {
        width: 36px;
        height: 36px;
    }

    .rbu-comment__avatar {
        flex-basis: 36px;
    }

    .rbu-comment__content,
    .rbu-comment__actions,
    .rbu-comments[data-show-avatar="1"] .rbu-comment__content,
    .rbu-comments[data-show-avatar="1"] .rbu-comment__actions {
        padding-inline-start: 0;
    }

    .rbu-comment__content {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.85;
    }

    .rbu-comment-children {
        margin-inline-start: 11px !important;
        padding-inline-start: 9px !important;
    }
}

@media (max-width: 480px) {

    .rbu-comments__title {
        font-size: 1.22rem !important;
    }

    .rbu-comments__count {
        min-width: 24px;
        height: 24px;
        padding-inline: 7px;
        font-size: 11px;
    }

    .rbu-comments__composer {
        padding: 12px;
    }

    .rbu-comments__form-title {
        font-size: 15px !important;
    }

    .rbu-comment__header {
        gap: 8px;
    }

    .rbu-comment__identity {
        gap: 2px 6px;
    }

    .rbu-comment__author {
        font-size: 13px;
    }

    .rbu-comment__date {
        font-size: 11px;
    }

    .rbu-comment-children {
        margin-inline-start: 7px !important;
        padding-inline-start: 7px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rbu-toc__link,
    .rbu-toc__toggle svg,
    .rbu-action-btn,
    .rbu-comments__field input,
    .rbu-comments__field textarea,
    .rbu-comments__submit,
    .rbu-categories__link,
    .rbu-categories__chevron {
        transition: none;
    }

    .rbu-comments__submit-spinner {
        animation: none;
    }
}

/* Blog Categories — compact sidebar list inspired by the supplied reference. */
.rbu-categories {
    --rbu-categories-accent: #4f7dff;
    --rbu-categories-count: #44474f;
    --rbu-categories-divider: #e8e9ec;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-family: inherit;
    color: #34363c;
}

.rbu-categories *,
.rbu-categories *::before,
.rbu-categories *::after {
    box-sizing: border-box;
}

.rbu-categories__label {
    margin: 0 0 8px;
    padding-inline: 2px;
    color: #2e3036;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.rbu-categories__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--rbu-categories-divider);
}

.rbu-categories__item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--rbu-categories-divider);
}

.rbu-categories .rbu-categories__link {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 10px;
    color: var(--rbu-categories-accent) !important;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.65;
    text-decoration: none !important;
    background: transparent;
    transition: color .16s ease, background-color .16s ease;
}

.rbu-categories__main {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}

.rbu-categories__chevron {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: grid;
    place-items: center;
    color: var(--rbu-categories-accent);
    transition: transform .16s ease;
}

.rbu-categories__chevron svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.rbu-categories__name {
    min-width: 0;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.rbu-categories__count {
    flex: 0 0 auto;
    color: var(--rbu-categories-count);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    direction: rtl;
    white-space: nowrap;
}

.rbu-categories__empty {
    padding: 12px 2px;
    color: #888b92;
    font-size: 12.5px;
    line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
    .rbu-categories .rbu-categories__link:hover,
    .rbu-categories .rbu-categories__link:focus-visible {
        color: #315fe0 !important;
        background: transparent !important;
    }

    .rbu-categories .rbu-categories__link:hover .rbu-categories__chevron,
    .rbu-categories .rbu-categories__link:focus-visible .rbu-categories__chevron {
        transform: translateX(-2px);
    }
}

@media (max-width: 767px) {
    .rbu-categories .rbu-categories__link {
        min-height: 56px;
        gap: 12px;
        padding: 12px 9px;
        font-size: 13.5px;
    }

    .rbu-categories__count {
        font-size: 11.5px;
    }
}

@media (max-width: 420px) {
    .rbu-categories .rbu-categories__link {
        min-height: 54px;
        padding: 11px 8px;
        font-size: 13px;
    }

    .rbu-categories__main {
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rbu-categories .rbu-categories__link,
    .rbu-categories__chevron {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
 * Focus Feature — merged from the former standalone Focus Feature plugin.
 * Same Elementor widget name is preserved so existing instances migrate in place.
 * -------------------------------------------------------------------------- */
.elementor-widget-focus_feature_section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* --------------------------------------------------------------------------
 * Focus Feature 1.7.3
 * Matched to Figma node 9073:738 (1440 × 752 reference frame).
 * Existing Elementor content/media controls remain intact.
 * -------------------------------------------------------------------------- */
.elementor-widget-focus_feature_section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.rbu-focus-feature {
    --rbu-focus-accent: #50BA98;
    --rbu-focus-text: #1D1E22;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 31px 0 46px;
    overflow: hidden !important;
    color: var(--rbu-focus-text);
    background: #F6F4F2;
    font-family: inherit;
}

.rbu-focus-feature *,
.rbu-focus-feature *::before,
.rbu-focus-feature *::after {
    box-sizing: border-box;
}

.rbu-focus-feature__layout {
    --rbu-focus-content-width: 46%;
    --rbu-focus-gap: 52px;
    display: grid;
    grid-template-columns: minmax(0, var(--rbu-focus-content-width)) minmax(0, 1fr);
    gap: var(--rbu-focus-gap);
    align-items: center;
    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
    direction: ltr;
}

.rbu-focus-feature__layout.has-no-media {
    display: block;
    max-width: 664px;
}

.rbu-focus-feature__inner {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    direction: rtl;
    text-align: right;
}

.rbu-focus-feature__layout.has-no-media .rbu-focus-feature__inner {
    max-width: 664px;
    margin-inline: auto;
}

.rbu-focus-feature__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    color: var(--rbu-focus-accent);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

.rbu-focus-feature__title {
    margin: 0 0 24px !important;
    padding: 0 !important;
    color: var(--rbu-focus-text) !important;
    font-family: inherit !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 70px !important;
    letter-spacing: 0 !important;
    text-align: right !important;
    overflow-wrap: anywhere;
}

.rbu-focus-feature__description {
    margin: -8px 0 24px;
    color: #62646A;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-align: right;
    overflow-wrap: anywhere;
}

.rbu-focus-feature__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
    list-style: none !important;
    text-align: right;
}

.rbu-focus-feature__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 8px !important;
    gap: 8px;
    color: var(--rbu-focus-text) !important;
    background: transparent !important;
    border: 0 !important;
    list-style: none !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
}

.rbu-focus-feature__bullet {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 999px;
    background: var(--rbu-focus-accent);
}

.rbu-focus-feature__bullet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.rbu-focus-feature__item-text {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.rbu-focus-feature__bottom-text-wrap,
.rbu-focus-feature__cta-wrap {
    width: 100%;
    margin: 24px 0 0;
}

.rbu-focus-feature .rbu-focus-feature__bottom-text,
.rbu-focus-feature .rbu-focus-feature__cta {
    display: flex;
    width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 16px !important;
    color: var(--rbu-focus-accent) !important;
    background: #fff !important;
    border: 1px solid var(--rbu-focus-accent) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    text-align: center !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.rbu-focus-feature .rbu-focus-feature__cta {
    transition: background-color .16s ease, color .16s ease;
}

@media (hover: hover) and (pointer: fine) {
    .rbu-focus-feature .rbu-focus-feature__cta:hover {
        color: #3DA989 !important;
        background: #fff !important;
    }
}

.rbu-focus-feature .rbu-focus-feature__cta:focus-visible {
    outline: 2px solid var(--rbu-focus-accent);
    outline-offset: 3px;
}

.rbu-focus-feature__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.rbu-focus-feature__media img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(100%, 668px) !important;
    max-height: 675px !important;
    object-fit: contain;
    border: 0 !important;
    box-shadow: none !important;
}

.rbu-focus-feature__layout.is-media-left .rbu-focus-feature__inner {
    grid-column: 2;
    grid-row: 1;
}

.rbu-focus-feature__layout.is-media-left .rbu-focus-feature__media {
    grid-column: 1;
    grid-row: 1;
}

/* Exact desktop geometry from the 1440px Figma frame. This intentionally
 * overrides stale layout values saved by earlier plugin versions. */
@media (min-width: 1200px) {
    .rbu-focus-feature__layout:not(.has-no-media) {
        grid-template-columns: minmax(0, 664px) minmax(0, 668px) !important;
        gap: 0 !important;
        justify-content: start;
        padding-left: 87px;
        padding-right: 21px;
    }

    .rbu-focus-feature__layout:not(.has-no-media).is-media-left {
        grid-template-columns: minmax(0, 668px) minmax(0, 664px) !important;
        padding-left: 21px;
        padding-right: 87px;
    }
}

/* Tablet: keep the section compact and avoid a cramped two-column list. */
@media (max-width: 1024px) {
    .rbu-focus-feature {
        padding: 34px 24px 38px;
    }

    .rbu-focus-feature__layout,
    .rbu-focus-feature__layout.is-media-left {
        display: flex;
        flex-direction: column;
        gap: 32px !important;
        max-width: 760px;
    }

    .rbu-focus-feature__inner,
    .rbu-focus-feature__media,
    .rbu-focus-feature__layout.is-media-left .rbu-focus-feature__inner,
    .rbu-focus-feature__layout.is-media-left .rbu-focus-feature__media {
        width: 100%;
        max-width: 100%;
        grid-column: auto;
        grid-row: auto;
    }

    .rbu-focus-feature__inner {
        order: 1;
    }

    .rbu-focus-feature__media {
        order: 2;
    }

    .rbu-focus-feature__layout.is-mobile-media-before .rbu-focus-feature__media {
        order: 1;
    }

    .rbu-focus-feature__layout.is-mobile-media-before .rbu-focus-feature__inner {
        order: 2;
    }

    .rbu-focus-feature__title {
        font-size: 34px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .rbu-focus-feature__item {
        font-size: 15px !important;
        line-height: 25px !important;
    }

    .rbu-focus-feature__media img {
        max-width: min(100%, 620px) !important;
        max-height: none !important;
    }
}

@media (max-width: 767px) {
    .rbu-focus-feature {
        padding: 28px 16px 32px;
    }

    .rbu-focus-feature__layout,
    .rbu-focus-feature__layout.is-media-left {
        gap: 26px !important;
    }

    .rbu-focus-feature__title {
        font-size: clamp(27px, 8vw, 32px) !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }

    .rbu-focus-feature__description {
        margin: -4px 0 18px;
        font-size: 14px;
    }

    .rbu-focus-feature__item {
        align-items: flex-start;
        padding: 7px 0 !important;
        gap: 8px;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.9 !important;
    }

    .rbu-focus-feature__bullet {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
        margin-top: 4px;
    }

    .rbu-focus-feature__bottom-text-wrap,
    .rbu-focus-feature__cta-wrap {
        margin-top: 20px;
    }

    .rbu-focus-feature .rbu-focus-feature__bottom-text,
    .rbu-focus-feature .rbu-focus-feature__cta {
        min-height: 54px;
        padding: 12px 14px !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .rbu-focus-feature__media img {
        max-width: min(100%, 500px) !important;
    }
}

@media (max-width: 420px) {
    .rbu-focus-feature__title {
        font-size: 27px !important;
    }

    .rbu-focus-feature__item {
        font-size: 13px !important;
    }

    .rbu-focus-feature .rbu-focus-feature__bottom-text,
    .rbu-focus-feature .rbu-focus-feature__cta {
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rbu-focus-feature .rbu-focus-feature__cta {
        transition: none;
    }
}
