/*
Theme Name: Russell Hammond
Description: Custom theme
Author: Luno Limited
Author URI: https://madebyluno.co.uk/
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ─── Design Tokens (mapped to Avada Global Options) ───── */
/* These reference Avada's --awb-color variables so changing
   colours in Avada → Global Options automatically updates
   every shortcode component below.

   Avada palette:
   --awb-color1: #ffffff  (white / card surfaces)
   --awb-color2: #fff9f6  (soft peach / highlight surfaces)
   --awb-color3: #f6ede7  (tan / page background)
   --awb-color4: #400718  (deep burgundy / primary text & headings)
   --awb-color5: #24030c  (darker burgundy / accent & hover)
   --awb-color6: #5d061f  (mid burgundy / links hover)
   --awb-color7: #86777b  (muted grey / secondary text)
   --awb-color8: #000000  (black / high contrast)
*/

:root {
    /* Semantic aliases — change these if the mapping ever drifts */
    --rh-primary: var(--awb-color4);
    /* #400718 deep burgundy */
    --rh-primary-hover: var(--awb-color6);
    /* #5d061f mid burgundy */
    --rh-primary-dark: var(--awb-color5);
    /* #24030c darkest */
    --rh-body: var(--awb-color4);
    /* body text colour */
    --rh-body-soft: var(--awb-color7);
    /* secondary / muted text */
    --rh-surface: var(--awb-color2);
    /* soft peach cards */
    --rh-surface-hover: var(--awb-color3);
    /* slightly darker surface */
    --rh-border: hsla(0, 8%, 86%, 1);
    /* soft warm border — no Avada var */
    --rh-border-light: hsla(0, 8%, 88%, 1);
    /* lighter border variant */
    --rh-strong: var(--awb-color8);
    /* bold/strong emphasis */
    --rh-white: var(--awb-color1);
    /* white */
    --rh-font-body: var(--awb-typography1-font-family, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
}
.centered {
    text-align: center;
    margin: auto;
}
.vf_professional_widget {
    margin: 30px auto;
}
/* ─── Key Takeaways Component ───────────────────────────── */
.rh-takeaways {
    background: var(--rh-surface);
    border: 1px solid var(--rh-border);
    border-radius: 12px;
    margin: 2em 0;
    overflow: hidden;
    font-family: var(--rh-font-body);
}

.rh-takeaways__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}

.rh-takeaways__header:hover {
    background: var(--rh-surface-hover);
}

/* Remove default marker */
.rh-takeaways__header::-webkit-details-marker,
.rh-takeaways__header::marker {
    display: none;
    content: '';
}

.rh-takeaways__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--rh-primary);
}

/* Toggle text: "▸ Show" / "▸ Hide" */
.rh-takeaways__toggle {
    font-size: 13px;
    font-weight: 500;
    color: var(--rh-primary);
}

.rh-takeaways__toggle::before {
    content: '▸ Show';
}

.rh-takeaways[open] .rh-takeaways__toggle::before {
    content: '▸ Hide';
}

/* Content area */
.rh-takeaways__content {
    padding: 0 28px 24px 28px;
}

.rh-takeaways__content ol,
.rh-takeaways__content ul {
    margin: 0;
    padding-left: 24px;
}

.rh-takeaways__content li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

.rh-takeaways__content li strong {
    color: var(--rh-strong);
    font-weight: 700;
}

.rh-takeaways__content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

.rh-takeaways__content p:last-child {
    margin-bottom: 0;
}

/* ─── Pull Quote ─── */
.rh-pull-quote {
    margin: 32px 0;
    padding: 20px 28px !important;
    border-left: 4px solid var(--rh-primary) !important;
    background: #fff9f600 !important;
    border-radius: 0 8px 8px 0;
}

.rh-pull-quote p {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--rh-primary);
    font-style: italic;
}

/* ─── Checklist ─── */
.rh-checklist {
    margin: 32px 0;
    padding: 28px;
    background: var(--rh-surface);
    border: 1px solid var(--rh-border);
    border-radius: 12px;
}

.rh-checklist__content h3,
.rh-checklist__content h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--rh-primary);
}

.rh-checklist__content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rh-checklist__content ul li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

.rh-checklist__content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--rh-primary);
    font-weight: 700;
    font-size: 16px;
}

.rh-checklist__content ol {
    margin: 0;
    padding-left: 24px;
}

.rh-checklist__content ol li {
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

.rh-checklist__content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

.rh-checklist__content p:last-child {
    margin-bottom: 0;
}

.rh-checklist__content strong {
    color: var(--rh-strong);
    font-weight: 700;
}

/* ─── FAQ Accordion ─── */
.rh-faq {
    margin: 40px 0;
}

.rh-faq__title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--rh-primary);
}

.rh-faq__item {
    border: 1px solid var(--rh-border);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.rh-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--rh-body);
    cursor: pointer;
    list-style: none;
    background: var(--rh-surface);
    transition: background 0.2s ease;
}

.rh-faq__question:hover {
    background: var(--rh-surface-hover);
}

.rh-faq__question::-webkit-details-marker {
    display: none;
}

.rh-faq__icon::before {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--rh-primary);
    transition: transform 0.2s ease;
    display: inline-block;
}

.rh-faq__item[open] .rh-faq__icon::before {
    content: '−';
}

.rh-faq__answer {
    padding: 13px 20px 13px 20px;
}

.rh-faq__answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

/* ─── Author Bio – Shared Styles ───────────────────────── */
.rh-author {
    font-family: var(--rh-font-body);
}

.rh-author__cta-btn {
    text-decoration: none !important;
}

.rh-author__photo-wrap {
    position: relative;
    flex-shrink: 0;
}

.rh-author__photo {
    border-radius: 50%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.rh-author__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--rh-primary);
    margin: 0 0 4px 0 !important;
    line-height: 1.3;
}

.rh-author__credentials {
    font-size: 13px;
    font-weight: 500;
    color: var(--rh-body-soft);
    letter-spacing: 0.02em;
}

.rh-author__title {
    font-size: 13px;
    font-weight: 400;
    color: var(--rh-body-soft);
    margin: 0 0 8px 0 !important;
    line-height: 1.4;
}

/* ─── Author Bio – Full (Lead Gen) ─────────────────────── */
.rh-author--full {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 0;
    padding: 30px 20px;
}

.rh-author--full .rh-author__bio p {
    font-size: 16px;
}

.rh-author--full .rh-author__photo-wrap {
    width: 96px;
    height: 96px;
}

.rh-author--full .rh-author__photo {
    width: 96px;
    height: 96px;
}

.rh-author--full .rh-author__badge {
    position: absolute;
    bottom: -2px;
    right: -6px;
    background: var(--rh-primary);
    color: var(--rh-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
}

.rh-author--full .rh-author__bio {
    margin: 8px 0 12px 0;
}

.rh-author--full .rh-author__bio p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rh-body);
}

.rh-author--full .rh-author__link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--rh-primary);
    text-decoration: none;
}

.rh-author--full .rh-author__link:hover {
    color: var(--rh-primary-hover);
    text-decoration: underline;
}

/* ─── Author Bio – Sidebar (Standard Blog) ────────────── */
.rh-author--sidebar {
    text-align: center;
    padding: 28px 20px;
    background: var(--rh-surface);
    border: 1px solid var(--rh-border);
    border-radius: 12px;
}

.rh-author--sidebar .rh-author__photo-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px auto;
}

.rh-author--sidebar .rh-author__photo {
    width: 80px;
    height: 80px;
}

.rh-author--sidebar .rh-author__name {
    font-size: 16px;
}

.rh-author--sidebar .rh-author__title {
    margin-bottom: 16px;
}

.rh-author--sidebar .rh-author__cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--rh-primary);
    color: var(--rh-white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 6px;
    width: 100%;
}

.rh-author--sidebar .rh-author__cta-btn:hover {
    background: var(--rh-primary-hover);
}

.rh-author--sidebar .rh-author__info {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 3px;
}

/* ─── Author Bio – Inline Byline (Article Headers) ───── */
.rh-author--inline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
}

.rh-author--inline .rh-author__photo-wrap {
    width: 48px;
    height: 48px;
}

.rh-author--inline .rh-author__photo {
    width: 48px;
    height: 48px;
}

.rh-author--inline .rh-author__name {
    font-size: 15px;
    margin: 0 !important;
}

.rh-author--inline .rh-author__subtitle {
    font-size: 13px;
    font-weight: 400;
    color: var(--rh-body-soft);
    margin: 0 !important;
    line-height: 1.4;
}

/* Accreditation badges*/
.rh-author__badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.rh-credentials__badge {
    margin: auto;
}

img.rh-author__badge-img.cii-badge,
img.rh-credentials__badge.cii-badge {
    width: 40%;
}

img.rh-author__badge-img.cisi-badge,
img.rh-credentials__badge.cisi-badge {
    width: 88%;
}

/* ─── Table Styling ─────────────────────────────────────── */
/* Apply CSS class "rh-table-wrap" to any Avada container
   holding a table — all <table> elements inside are
   automatically styled to match the brand. */
.rh-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    -webkit-overflow-scrolling: touch;
}

.rh-table-wrap table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.6;
    font-family: var(--rh-font-body);
    border: 1px solid var(--rh-border);
    border-radius: 8px;
    overflow: hidden;
}

.rh-table-wrap thead th {
    background: var(--rh-primary);
    color: var(--rh-white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: none;
}

.rh-table-wrap tbody td {
    padding: 12px 16px;
    color: var(--rh-body);
    border-bottom: 1px solid var(--rh-border);
    vertical-align: top;
    font-weight: 400;
}

.rh-table-wrap tbody tr:last-child td {
    border-bottom: none;
}

/* Zebra stripes */
.rh-table-wrap tbody tr:nth-child(even) td {
    background: var(--rh-surface-hover);
}

.rh-table-wrap tbody tr:hover td {
    background: var(--rh-surface-hover);
}
/* No Zebra stripes */
.rh-table-wrap.rh-table-no-zebra tbody tr:nth-child(even) td {
    background: inherit;
}

.rh-table-wrap.rh-table-no-zebra tbody tr:hover td {
    background: inherit;
}
/* Row labels — bold first column */
.rh-table-wrap tbody td:first-child {
    font-weight: 700;
    color: var(--rh-primary);
}
.rh-table-wrap td.highlight {
    font-weight: 500;
    color: var(--rh-body);
    background: rgb(246 237 230) !important;
}
/* Responsive: stack full variant on mobile */
@media (max-width: 640px) {
    .rh-author--full {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rh-table-wrap {
        margin: 16px -16px;
        padding: 0 16px;
    }
}


/* Other RH*/
.rh-post-categories a {
    background: var(--rh-surface-hover);
    border-radius: 999px;
    padding: 4px 12px;
    border: 1px solid var(--rh-border);
    margin: 0 10px 0px 0px;
    color: var(--rh-body-soft) !important;
    text-decoration: none !important;
}
/* Links within dark maroon sections — override Avada's global link colour */
.rh-dark-section a:not(.fusion-button):not(.awb-no-decoration) {
    color: rgba(240, 235, 229, 0.75) !important;
    text-decoration-color: rgba(240, 235, 229, 0.25);
    font-weight: 600;
}

.rh-dark-section a:not(.fusion-button):not(.awb-no-decoration):hover {
    color: rgba(240, 235, 229, 1) !important;
    text-decoration-color: rgba(240, 235, 229, 0.5);
}

.rh-article-count {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--rh-primary) !important;
    background: var(--rh-surface);
    border-radius: 999px !important;
    padding: 5px 8px !important;
    display: inline-block;
    margin: 0px 6px 0px 15px;
}

/* ─── CF7 form — Russell Hammond service pages ─── */

.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(64,7,24,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form select, .wpcf7-form textarea {
    display: block;
    width: 100% !important;
    padding: 12px 14px !important;
    margin-top: 6px;
    border: 1.5px solid rgba(64, 7, 24, 0.15) !important;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 15px !important;
    color: #2c0510 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #400718;
    box-shadow: 0 0 0 3px rgba(64,7,24,0.08);
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 12px !important;
    color: rgba(64,7,24,0.35) !important;
    line-height: 1.6 !important;
    margin: 16px 0 20px !important;
    font-style: italic;
}

.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #400718;
    color: #f0ebe5;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
}

.wpcf7-form input[type="submit"]:hover {
    background: #2c0510;
    transform: translateY(-1px);
}
.wpcf7-select-parent .select-arrow

 {
    border: none !important;
}

/* ─── Inline image alignment ─────────────────────────────────
   Fixes Russell's habit of inserting large floated images that
   squash the surrounding text. Caps float width at 40% of the
   content column and adds proper breathing room.
   On mobile, collapses to full-width block so text never wraps.
──────────────────────────────────────────────────────────────── */
.post-content img.alignright,
.post-content .wp-caption.alignright,
.fusion-post-content img.alignright,
.fusion-post-content .wp-caption.alignright {
    float: right;
    max-width: 50%;
    width: auto !important;
    height: auto !important;
    margin: 1.5rem 0px 1.5rem 2rem;
    border-radius: 8px;
}

.post-content img.alignleft,
.post-content .wp-caption.alignleft,
.fusion-post-content img.alignleft,
.fusion-post-content .wp-caption.alignleft {
    float: left;
    max-width: 50%;
    width: auto !important;
    height: auto !important;
    margin: 1.5rem 2rem 1.5rem 0;
    border-radius: 8px;
}

.post-content img.aligncenter,
.fusion-post-content img.aligncenter {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    height: auto !important;
    border-radius: 8px;
}

/* Collapse floats on mobile — never squash text on small screens */
@media (max-width: 640px) {

    .post-content img.alignright,
    .post-content img.alignleft,
    .post-content .wp-caption.alignright,
    .post-content .wp-caption.alignleft,
    .fusion-post-content img.alignright,
    .fusion-post-content img.alignleft,
    .fusion-post-content .wp-caption.alignright,
    .fusion-post-content .wp-caption.alignleft {
        float: none;
        display: block;
        max-width: 100%;
        margin: 1.5rem auto;
    }
}


/* ─── Related Articles sidebar component ────────────────────
   Usage: [rh_related_articles] inside any Avada Code Block.
   Zero dependencies — reads from post tags / categories only.
──────────────────────────────────────────────────────────── */
.rh-related {
    background: var(--rh-surface);
    border: 1px solid var(--rh-border);
    border-radius: 12px;
    padding: 24px 24px 8px 24px;
    font-family: var(--rh-font-body);
}

/* "RELATED ARTICLES" label */
.rh-related__label {
    margin: 0 0 20px 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--rh-body-soft) !important;
}

/* Strip list defaults */
.rh-related__list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Each article row */
.rh-related__item {
    border-top: 1px solid var(--rh-border-light);
    padding: 0 !important;
}

.rh-related__item:first-child {
    border-top: none;
}

/* The clickable link wrapping title + meta */
.rh-related__link {
    display: block;
    padding: 14px 0;
    text-decoration: none !important;
    color: inherit;
    transition: opacity 0.15s ease;
}

.rh-related__link:hover {
    opacity: 0.75;
}

.rh-related__link:hover .rh-related__title {
    color: var(--rh-primary-hover);
}

/* Article title */
.rh-related__title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--rh-primary);
    margin-bottom: 5px;
    transition: color 0.15s ease;
}

/* "N min read" */
.rh-related__meta {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--rh-body-soft);
    letter-spacing: 0.01em;
}


/* ─── Article Archive Postcards (.rh-article-postcard) ──────
   Targets the Avada Postcards on /articles/ and homepage.
   Each card has class rh-article-postcard on the <li> wrapper.
─────────────────────────────────────────────────────────────── */

/* Card shell */
.rh-article-postcard .fusion-column-wrapper {
    background: var(--rh-white) !important;
    border: 1px solid var(--rh-border) !important;
    border-top: 3px solid var(--rh-primary) !important;
    border-radius: 12px !important;
    padding: 22px 24px 20px 24px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    cursor: pointer !important;
    position: relative !important;
}

.rh-article-postcard .fusion-column-wrapper:hover {
    border-color: var(--rh-primary) !important;
    border-top-color: var(--rh-primary) !important;
    box-shadow: 0 4px 20px 0 hsla(345, 80%, 14%, 0.10) !important;
}

/* "Read article →" cue — bottom right of card on hover */
.rh-article-postcard .fusion-column-wrapper::after {
    content: 'Read article →';
    position: absolute !important;
    bottom: 20px !important;
    right: 24px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--rh-primary) !important;
    letter-spacing: 0.02em !important;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    pointer-events: none !important;
}

.rh-article-postcard .fusion-column-wrapper:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* CSS override for highlighted postcards */
.rh-article-postcard-highlighted .rh-article-postcard .fusion-column-wrapper {
    border: 2px solid #4c0f2626 !important;
    border-top: 3px solid var(--rh-primary) !important;
    background: var(--rh-surface) !important;
}

/* Category label — pill badge style */
.rh-article-postcard [class*="fusion-meta-tb-"] {
    margin-bottom: 10px !important;
}
.fusion-tb-categories {
    font-size: 0px;
}
.rh-article-postcard .fusion-tb-categories a, .fusion-tb-categories a {
    display: inline-block !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--rh-primary) !important;
    background: var(--rh-surface-hover);
    border-radius: 999px !important;
    padding: 3px 10px !important;
    text-decoration: none !important;
    line-height: 1.6 !important;
    margin: 5px 6px 6px 0px;
}

.rh-article-postcard .fusion-tb-categories a:hover {
    background: hsla(345, 80%, 14%, 0.12) !important;
}

/* Hide Uncategorized — WordPress default that shouldn't be visible to readers */
.rh-article-postcard .fusion-tb-categories a[href*="uncategorized"] {
    display: none !important;
}

/* Title */
.rh-article-postcard [class*="fusion-text-"] {
    margin-bottom: 10px !important;
}

.rh-article-postcard [class*="fusion-text-"] p {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--rh-primary) !important;
    margin: 0 !important;
}

/* Excerpt */
.rh-article-postcard [class*="fusion-content-tb-"] {
    margin-bottom: 16px !important;
    flex: 1;
}

.rh-article-postcard [class*="fusion-content-tb-"] p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: var(--rh-body-soft) !important;
    margin: 0 !important;
}

/* Read time — bottom meta, push to bottom and give space for the hover CTA */
.rh-article-postcard [class*="fusion-meta-tb-"]:last-of-type {
    margin-top: auto !important;
    padding-bottom: 4px !important;
}

.rh-article-postcard .fusion-tb-published-read-time {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--rh-body-soft) !important;
    letter-spacing: 0.01em !important;
}


/* ─── Testimonial Postcards (.rh-testimonial-postcard) ──────
   Targets Avada Postcard elements on the homepage testimonials section.
   Each card has class rh-testimonial-postcard on the li wrapper.
   Structure inside:
     fusion-column-wrapper
       fusion-content-tb-*  → quote text
       fusion-text-* (first) → attribution name
       fusion-text-* (last)  → location
─────────────────────────────────────────────────────────────── */

/* Card shell — cream surface, left maroon accent border */
.rh-testimonial-postcard .fusion-column-wrapper {
    background: var(--rh-surface) !important;
    border: 1px solid var(--rh-border-light) !important;
    border-radius: 12px !important;
    padding: 50px 28px 24px 40px !important;
}

.rh-testimonial-postcard .fusion-column-wrapper:hover {
    box-shadow: 0 4px 24px 0 hsla(345, 80%, 14%, 0.10) !important;

}

/* Decorative opening quote mark */
.rh-testimonial-postcard .fusion-column-wrapper::before {
    content: '\201C';
    position: absolute !important;
    top: 9px !important;
    left: 35px !important;
    font-size: 64px !important;
    line-height: 1 !important;
    color: var(--rh-primary) !important;
    opacity: 0.1 !important;
    font-weight: 800 !important;
    pointer-events: none !important;
}

/* Quote body — italic, pushed down to clear the decorative mark */
.rh-testimonial-postcard [class*="fusion-content-tb-"] {

    margin-bottom: 20px !important;
    padding-top: 20px !important;
}

.rh-testimonial-postcard [class*="fusion-content-tb-"] p {
    font-size: 14.5px !important;
    font-style: italic !important;
    line-height: 1.75 !important;
    color: var(--rh-body) !important;
    margin: 0 !important;
}

/* Attribution wrapper — sits at bottom of card */
.rh-testimonial-postcard [class*="fusion-text-"] {
    margin-bottom: 0 !important;
}

/* Attribution name — maroon, bold, upright */
.rh-testimonial-postcard [class*="fusion-text-"]:first-of-type p {
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400;
    color: var(--rh-primary) !important;
    margin: 0 !important;
    letter-spacing: 0.01em !important;
}
.rh-testimonial-postcard [class*="fusion-text-"] p {
    font-size: 17px;
    margin-top: 10px;
    margin-bottom: 4px;
}
/* Location — muted grey */
.rh-testimonial-postcard [class*="fusion-text-"]:last-of-type p {
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    color: var(--rh-body-soft) !important;
    margin: 0 !important;
    letter-spacing: 0.02em !important;
}




/* ==========================================================================
   Market Timers styles
   Keep colours and fonts aligned with your Avada :root variables if desired.
   ========================================================================== */

.wd-market-timers {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.wd-mt-controls {
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.wd-mt-label {
    font-weight: 600;
}

.wd-mt-select {
    padding: 6px 8px;
}

.wd-mt-hint {
    color: #666;
}

.wd-mt-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .08);
}

.wd-mt-table th,
.wd-mt-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
}

.wd-mt-table thead th {
    border-bottom: 2px solid #ddd;
    background: #f7f7f7;
}

.wd-mt-col-status {
    font-weight: 600;
}

.wd-mt-open {
    color: #0a7b35;
}

.wd-mt-break {
    color: #ad7b00;
}

.wd-mt-closed {
    color: #b00020;
}

.wd-mt-notes {
    margin-top: 8px;
    color: #555;
}


.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(177 171 172);
    margin-bottom: 28px;
}
.hero-eyebrow-2 {
    color: var(--rh-primary);
}
.hero-eyebrow-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(245, 240, 235, 0.35);
}

.hero-h1 {
    font-size: clamp(38px, 5.5vw, 58px) !important;
    font-weight: 800 !important;
    color: var(--rh-primary) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    /* max-width: 740px !important; */
    margin-bottom: 24px !important;
    margin-top: 0;
}

.hero-h1 em {
    font-style: normal;
    color: var(--rh-primary-hover);
}
.osb-h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: #f0ebe5;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.osb-h2 em {
    font-style: normal;
    color: rgba(245, 240, 235, 0.6);
}
/* ─── 3-Step Journey (.rh-journey) ──────────────────────────
   Drop the HTML block into Avada as an HTML / Code element.
   Desktop : 3 equal columns, circles connected by a thin line.
   Mobile  : stacks vertically, circle on left, text on right.
─────────────────────────────────────────────────────────────── */

.rh-journey {
    padding: 80px 32px;
}

.rh-journey-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Step row ── */
.rh-journey-steps {
    display: flex;
    align-items: flex-start;
    position: relative;
}

/* Horizontal connecting line — drawn between the two outer circle centres */
.rh-journey-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    /* half of 56px circle height */
    left: calc(100% / 6);
    /* centre of step 1 */
    right: calc(100% / 6);
    /* centre of step 3 */
    height: 1px;
    background: #d8d0c8;
    z-index: 0;
}

/* ── Individual step ── */
.rh-journey-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ── Numbered circles ── */
.rh-journey-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.rh-journey-circle--1,
.rh-journey-circle--2 {
    background: var(--rh-surface-hover, #f6ede7);
    color: var(--rh-body-soft, #86777b);
}

/* Step 3 uses navy to signal arrival / outcome */
.rh-journey-circle--3 {
    background: var(--rh-surface-hover, #f6ede7);
    color: var(--rh-body-soft, #86777b);
}

/* Hover — parent step hovered activates the circle */
.rh-journey-step:hover .rh-journey-circle--1,
.rh-journey-step:hover .rh-journey-circle--2,
.rh-journey-step:hover .rh-journey-circle--3 {
    background: var(--rh-primary-hover, #5d061f);
    color: #ffffff;
}

/* ── Text inside each step ── */
.rh-journey-step-text {
    width: 100%;
}

.rh-journey-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--rh-primary, #400718) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.35 !important;
}

.rh-journey-body {
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: var(--rh-body-soft, #86777b) !important;
    margin: 0 !important;
}


/* ── Mobile stacking (<768px) ─────────────────────────────── */
@media (max-width: 767px) {

    .rh-journey {
        padding: 60px 24px;
    }

    .rh-journey-steps {
        flex-direction: column;
        align-items: stretch;
    }

    /* Replace horizontal line with a vertical connector */
    .rh-journey-steps::before {
        top: 28px;
        left: 28px;
        /* centre of the 56px wide circle */
        right: auto;
        width: 1px;
        height: calc(100% - 56px);
    }

    .rh-journey-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0 0 40px 0;
        gap: 20px;
    }

    .rh-journey-step:last-child {
        padding-bottom: 0;
    }

    .rh-journey-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Nudge text down so it reads alongside circle midpoint */
    .rh-journey-step-text {
        padding-top: 14px;
    }
}


/* ─── Stats / Credentials Bar (.rh-stats-bar) ───────────────
   4-column dark band: 20+, FPFS, FCSI, FCA.
   Vertical dividers between columns.
   Mobile: collapses to 2×2 grid with cross-hair borders.
─────────────────────────────────────────────────────────────── */

.rh-stats-bar {
    background: var(--rh-primary, #400718);
    padding: 52px 32px;
}

.rh-stats-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.rh-stat {
    padding: 8px 36px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rh-stat:first-child {
    padding-left: 0;
}

.rh-stat:last-child {
    border-right: none;
    padding-right: 0;
}

.rh-stat-value {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.rh-stat-label {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.rh-stat-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

/* Mobile 2×2 */
@media (max-width: 767px) {

    .rh-stats-bar {
        padding: 40px 24px;
    }

    .rh-stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .rh-stat {
        padding: 24px 20px;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    /* Right column — no right border */
    .rh-stat:nth-child(2n) {
        border-right: none;
    }

    /* Bottom row — no bottom border */
    .rh-stat:nth-child(3),
    .rh-stat:nth-child(4) {
        border-bottom: none;
    }

    /* Reset individual padding overrides from desktop */
    .rh-stat:first-child {
        padding-left: 20px;
    }

    .rh-stat:last-child {
        padding-right: 20px;
        border-right: none;
    }

    .rh-stat:nth-child(3) {
        padding-left: 20px;
    }
}


/* ─── Homepage Dark Bio (.rh-bio-hp) ─────────────────────────
   Used via [rh_author_bio variant="homepage"].
   Two-column: photo panel left | text content right.
   Dark background — all text is white/muted-white.
   Mobile: stacks photo above content.
─────────────────────────────────────────────────────────────── */

.rh-bio-hp {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Photo panel */
.rh-bio-hp__photo-col {
    position: relative;
}

.rh-bio-hp__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    display: block;
    opacity: 0.85;
}

.rh-bio-hp__photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Text content */
.rh-bio-hp__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rh-bio-hp__eyebrow {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 !important;
}
.rh-bio__name-and-credentials {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.rh-bio-hp__name {
    font-size: clamp(28px, 3.5vw, 44px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

.rh-bio-hp__credentials {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 !important;
    padding-bottom: 5px;
}

.rh-bio-hp__bio {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.rh-bio-hp__bio p {
    margin: 0 0 1em 0 !important;
}

.rh-bio-hp__bio p:last-child {
    margin-bottom: 0 !important;
}

/* Credential tags */
.rh-bio-hp__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rh-bio-hp__tag {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 4px 14px;
    white-space: nowrap;
}

/* AES partnership callout */
.rh-bio-hp__partner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 18px 20px;
}

.rh-bio-hp__partner-logo {
    max-width: 72px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    align-self: center;
    opacity: 0.85;
}

.rh-bio-hp__partner-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0 4px 0 !important;
}

.rh-bio-hp__partner-desc {
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 !important;
}

/* Badges — side by side */
.rh-bio-hp__badges {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.rh-bio-hp__badge-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    max-width: 230px;
}

/* Mobile: stack photo above text */
@media (max-width: 767px) {

    .rh-bio-hp {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rh-bio-hp__photo {
        aspect-ratio: 4 / 3;
        max-height: 320px;
        object-position: top;
    }

    .rh-bio-hp__photo-placeholder {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
}


/* ─────────────────────────────────────────────────
   RH CHIPS  —  reusable pill tags for dark sections
   Usage: wrap .rh-chip elements inside .rh-chips.
   Designed for dark (maroon/navy) backgrounds.
   ───────────────────────────────────────────────── */

.rh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rh-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border: 1px solid rgba(240, 235, 229, 0.14);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(240, 235, 229, 0.55);
    letter-spacing: 0.01em;
    font-family: inherit;
}

.rh-chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(240, 235, 229, 0.3);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────
   RH SUB MENU  —  other services sidebar links arrow
   Requires class rh-sub-menu on the Avada Menu element
   ───────────────────────────────────────────────── */

.rh-sub-menu .awb-menu__main-a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.rh-sub-menu .awb-menu__main-a::after {
    content: "\f054";
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'FontAwesome';
    font-weight: 900;
    font-size: 11px;
    opacity: 0.35;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.rh-sub-menu .awb-menu__main-a:hover::after {
    opacity: 0.7;
    transform: translateX(3px);
}

/*RH Service card*/
.rh-service-card .fusion-column-wrapper:hover {
 
    box-shadow: 0 8px 24px rgba(64, 7, 24, 0.27);
}
.awb-toc-el__list-item img,
.awb-toc-el__list-item img.aligncenter,
.fusion-post-content .awb-toc-el__list-item img {
  display: none !important;
}

/* RH Footer */
.rh-footer a {
    color: var(--awb-custom_color_1);
    text-decoration: none !important;
}
.rh-footer a:hover {
    color: #ffffff;
}

/* Hide the Tawk.to chat widget completely */
body > div:has(#message-preview) {
    display: none !important;
}
iframe[src*="tawk.to"],
#tawk-bubble-container,
.tawk-min-container,
[class*="tawk"] {
    display: none !important;
    visibility: hidden !important;
}
/* Hide Tawk.to widget — targets the fixed-position iframes directly */
body > div[style*="2000000000"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

body > div[style*="2000000000"] iframe {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}
/* Instantly hides Tawk — clip-path isn't overridden by Tawk's inline styles */
div[style*="2000000000"] {
    clip-path: inset(100%) !important;
}