/* ==========================================================
   ROUTE FINDER – CLEAN, STABLE, NON-CONFLICTING VERSION
   ========================================================== */

/* Soft reset inside the tool (safe – no all: unset) */
.route-finder-wrap * {
    box-sizing: border-box !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #000 !important;
    background: none;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* --------------------------------
   WRAPPER & CARD
----------------------------------*/

.route-finder-wrap {
    margin: 0.8rem 0;
}

.route-finder {
    background: #fff;
    border: 1px solid #dfe3ea;
    padding: 2.75rem 3rem !important;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto;
}

/* Embed nicely inside .site_index */
.site_index .route-finder {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* --------------------------------
   TOP WARNING BOX (red)
----------------------------------*/

.route-finder .rf-warning {
    background: #C84039;
    color: #fff !important;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* --------------------------------
   SECTION LABELS
----------------------------------*/

.route-finder .step > strong {
    display: block;
    text-align: center;
    text-transform: uppercase !important;
    font-family: "Helvetica Neue Bold", sans-serif !important;
    font-size: 1.05rem !important;
    margin-bottom: 1.5rem !important;
    color: #003865 !important;
}

/* --------------------------------
   STEP BOXES
----------------------------------*/

.route-finder .step {
    border: 1px solid #d8dbe2;
    background: #fff;
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.75rem;
}

.route-finder .step-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #000;
}

/* Step 2 initially hidden */
.route-finder .step[data-step="experience"] {
    display: none;
}
.route-finder .step[data-step="experience"].active {
    display: block;
}

/* --------------------------------
   OPTIONS GRID
----------------------------------*/

.route-finder .options-grid {
    display: grid;
    gap: 1.5rem;
}

.route-finder .options-two-cols {
    grid-template-columns: repeat(2, 1fr);
}

/* --------------------------------
   BUTTONS (Blue Boxes)
----------------------------------*/

.route-finder .option-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    padding: 1.25rem;
    background: #EAF4FF !important;
    border: 1px solid #90BCEB !important;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.15s ease;
    color: #003865 !important;
}

.route-finder .option-btn:hover {
    background: #D3E8FF !important;
    border-color: #5FA6E8 !important;
    border-width: 2px !important;
    border-radius: 16px !important;
}

.route-finder .option-btn.selected {
    background: #BBDAFF !important;
    border-color: #3F8FD9 !important;
}

/* Text inside buttons */
.route-finder .option-btn span:first-child {
    font-weight: 600 !important;
    color: #003865 !important;
}

.route-finder .option-btn span:last-child {
    color: #003865 !important;
    font-size: 0.9rem !important;
    margin-top: 3px;
}

/* Make Industrial – Under 5 Years button purple */
.route-finder .option-btn[data-exp-option="industrial-under5"] {
    background: #EDE7FF !important;      /* light purple */
    border-color: #A68EFF !important;     /* mid purple border */
    color: #4b2ca0 !important;            /* deep purple text */
}

.route-finder .option-btn[data-exp-option="industrial-under5"]:hover {
    background: #D6C8FF !important;       /* darker hover purple */
    border-color: #8A6BFF !important;
}

.route-finder .option-btn[data-exp-option="industrial-under5"].selected {
    background: #C5B2FF !important;       /* selected purple */
    border-color: #7A5CFF !important;
}

/* Make Industrial – Under 5 Years button purple */
.route-finder .option-btn[data-exp-option="industrial-under5"] {
    background: #EDE7FF !important;
    border-color: #A68EFF !important;
    color: #4b2ca0 !important;
}

.route-finder .option-btn[data-exp-option="industrial-under5"]:hover {
    background: #D6C8FF !important;
    border-color: #8A6BFF !important;
}

.route-finder .option-btn[data-exp-option="industrial-under5"].selected {
    background: #C5B2FF !important;
    border-color: #7A5CFF !important;
}


/* Make Domestic – Under 3 Years button purple */
.route-finder .option-btn[data-exp-option="domestic-under3"] {
    background: #EDE7FF !important;
    border-color: #A68EFF !important;
    color: #4b2ca0 !important;
}

.route-finder .option-btn[data-exp-option="domestic-under3"]:hover {
    background: #D6C8FF !important;
    border-color: #8A6BFF !important;
}

.route-finder .option-btn[data-exp-option="domestic-under3"].selected {
    background: #C5B2FF !important;
    border-color: #7A5CFF !important;
}

/* Solid purple result box (white text) for Domestic – Under 3 Years */
.route-finder .result-body[data-result="domestic-under3"] {
    background: #4b2ca0 !important;      /* your deep purple */
    border: none !important;
    border-radius: 16px !important;
    padding: 2rem 2rem !important;
    color: #ffffff !important;
}

/* Title inside the purple box */
.route-finder .result-body[data-result="domestic-under3"] .result-title {
    color: #ffffff !important;
    font-family: "Helvetica Neue Bold", sans-serif !important;
    font-size: 1.3rem !important;
    text-align: center;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
}

.route-finder .result-body[data-result="domestic-under3"] p {
    color: #ffffff !important;
}

/* Force bold text inside the Domestic Under 3 Years purple box to be white */
.route-finder .result-body[data-result="domestic-under3"] strong,
.route-finder .result-body[data-result="domestic-under3"] b {
    color: #ffffff !important;
}

/* Solid purple result box (white text) for Industrial – Under 5 Years */
.route-finder .result-body[data-result="industrial-under5"] {
    background: #4b2ca0 !important;      /* deep purple */
    border: none !important;
    border-radius: 16px !important;
    padding: 2rem 2rem !important;
    color: #ffffff !important;
}

/* Title inside the purple box */
.route-finder .result-body[data-result="industrial-under5"] .result-title {
    color: #ffffff !important;
    font-family: "Helvetica Neue Bold", sans-serif !important;
    font-size: 1.3rem !important;
    text-align: center;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
}

.route-finder .result-body[data-result="industrial-under5"] strong,
.route-finder .result-body[data-result="industrial-under5"] p,
.route-finder .result-body[data-result="industrial-under5"] b {
    color: #ffffff !important;
}


/* --------------------------------
   RESULTS AREA
----------------------------------*/

.route-finder .result {
    display: none;
    padding: 2rem 1.75rem !important;
    background: #faf9ff;
    border: 1px solid #dbd7f0;
    border-radius: 14px;
}

.route-finder .result.active {
    display: block;
}

/* Fade-in */
.result-body {
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result.active .result-body {
  opacity: 1;
}

.result-body:not([hidden]) {
    opacity: 1;
}

.route-finder .result-title {
    font-family: "Helvetica Neue Bold", sans-serif !important;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #4b2ca0 !important;
}

/* --------------------------------
   BOLD TEXT FIX
----------------------------------*/

.route-finder strong,
.route-finder b {
    font-weight: 700 !important;
    font-family: "Helvetica Neue Bold", sans-serif !important;
    color: #000 !important;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------
   EWA PANEL (deep blue)
----------------------------------*/

.route-finder [data-result="ewa"] {
    background: #1E3A8A !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    color: #fff !important;
}

.route-finder [data-result="ewa"] .result-title {
    color: #fff !important;
    text-transform: uppercase;
    text-align: center;
}

.route-finder [data-result="ewa"] ul {
    list-style: disc !important;
    padding-left: 1rem !important;
}

.route-finder [data-result="ewa"] li {
    font-weight: 700 !important;
    font-family: "Helvetica Neue Bold";
    margin: 0.4rem 0;
    color: #fff !important;
}

/* --------------------------------
   EWA BOX (outer & inner wrappers)
----------------------------------*/

.ewa-box {
    background: #EEF3FF;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.ewa-box .ewa-inner {
    background: #1E3A8A;
    padding: 2rem 2.5rem;
    border-radius: 18px;
    color: #fff !important;
}

.ewa-box .result-title {
    font-size: 1.35rem;
    color: #fff !important;
    font-family: "Helvetica Neue Bold", sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.ewa-box p,
.ewa-box li {
    color: #fff !important;
    line-height: 1.55;
    font-size: 1rem;
}

.ewa-box ul {
    list-style: disc !important;
    padding-left: 1.2rem !important;
    margin: 1rem 0;
}

.ewa-box li {
    font-weight: 700 !important;
    margin-bottom: 0.4rem;
}

/* ==========================================================
   FAQ SECTION (Option B – cleaner, smaller, left aligned)
   ========================================================== */

.faq-section,
.faq_block {
    max-width: 900px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
}

/* Put the line on the title container instead */
.faq_block .wp-faqp-main .wp-faqp-title {
    border-bottom: 1px solid #d7d7d7 !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
}


.faq_block h2 {
    font-size: 1.8rem !important;   /* cleaner, professional (~32px) */
    font-weight: 700;
    margin-bottom: 0.8rem !important;
    text-align: left;
    color: #222;
    line-height: 1.25;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.site_index h2 {
margin:unset;
}

/* --------------------------------
   RESPONSIVE
----------------------------------*/

@media (max-width: 600px) {
    .route-finder {
        padding: 1.75rem 1.25rem !important;
    }
    .route-finder .options-two-cols {
        grid-template-columns: 1fr !important;
    }
    .faq_block h2 {
        font-size: 1.75rem !important;
    }
}
