#faq-body, #faq-body * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
#faq-category-block, #faq-link-block, #faq-search-block, #faq-post-block, .faq-item-footer {display:inline-block;width:100%;margin:0;}
u.faq-highlight {background-color:#ffe787;text-decoration:none;}

h1 {font-size: 32px; line-height: 36px; font-weight: bold;}
h2 {font-size: 22px; line-height: 26px; font-weight: bolder;}
#faq-body h1 {text-align:center;margin:15px 0;font-weight:bold;}
#faq-body h2 {margin:20px 0 30px 0;display: inline-block; width: 100%; max-width: 760px; text-align: left; font-weight:600; }
#faq-body.faq-theme-sigma h1 {font-weight:normal;}
.faq-home-empty {display:inline-block;width:100%;text-align:center;font-size:16px;line-height:20px;padding:100px 20px;}

#faq-search-block {margin:0 0 10px 0;}
#faq-search-block .faq-search-form {display:inline-block;width:100%;margin:0;padding:120px 20px;text-align:center;background:transparent url('../img/cover.svg') no-repeat center center;background-size:800px;}
#faq-search-block .faq-search-inside {display:inline-block;width:100%;position:relative;max-width:540px;}
#faq-search-block .faq-search-inside > div.has-placeholder {display:inline-block;width:100%;position:relative;}
#faq-search-block .faq-search-inside > div.has-placeholder label {line-height:48px;text-align:left;}
#faq-search-block input[name="pattern"] {margin:0;outline:none;background-color: #ffffff; border: none; border-radius: 6px; box-shadow: 0 1px 2px 0 rgb(0,0,0,0.3), 0 1px 3px 1px rgb(0,0,0,0.15);color: #222; display: block; font-size: 16px; height: 48px; padding: 10px 15px; width: 100%;-webkit-appearance: none;}
#faq-search-block button[type="submit"], #faq-search-block div.button {box-shadow:none;position:absolute;background:none!important;border:none!important;padding:8px!important;width:44px;height:44px;margin:0!important;top:2px;right:2px;border-radius:4px;}
#faq-search-block button[type="submit"] svg, #faq-search-block div.button svg {width:28px;height:28px;}
#faq-search-block div.button > span {margin:0;padding:0;text-indent:-9999px;overflow:hidden;color:transparent;font-size:1px;}
#faq-search-block div.button > span > button {opacity:1!important;cursor:pointer;z-index:9;top: 0px; right: 0px;display:block;background:#fff;border-radius:4px;}

#faq-category-block {text-align:center;margin:0 0 20px 0;}
#faq-category-block .faq-category-inside {display:inline-block;width:100%;max-width:760px;text-align:left;}
#faq-category-block .faq-category {float:left;transition:0.1s;display:inline-block;width:240px;padding:25px 20px;height:260px;border-radius:10px;background:none;text-align:center;margin:0 20px 20px 0px;box-shadow: 0 0 0 1px #d4d4d4, 0px 2px 4px rgba(0, 0, 0, 0.3);}
#faq-category-block .faq-category:nth-child(3n+3) {margin-right:0;}
#faq-category-block .faq-category:hover {background:#f7f7f7;}
#faq-category-block .faq-category img {max-width:96px;max-height:96px;width:auto;height:auto;margin:0 0 20px 0;display:inline-block;}
#faq-category-block .faq-category strong {text-align:left;font-size:18px;font-weight:600;line-height:22px;color:#000;margin:0 0 5px 0;display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#faq-category-block .faq-category span {text-align:left;font-size:15px;height:60px;overflow:hidden;line-height:20px;color:#666;display:inline-block;width:100%;}

#faq-post-block {text-align:center;margin:0 0 15px 0;}
#faq-post-block .faq-post-inside {text-align:left;display:inline-block;width:100%;max-width:760px;background:#fff;border-radius:8px;}
#faq-post-block .faq-row {display:inline-block;width:100%;border:1px solid #ccc;color:#222;position:relative;border-bottom:none;}
#faq-post-block .faq-row:first-child, #faq-post-block .faq-row:first-child .faq-top {border-top-left-radius:8px;border-top-right-radius:8px;}
#faq-post-block .faq-row:last-child {border-bottom-left-radius:8px;border-bottom-right-radius:8px;}
#faq-post-block .faq-row:not(.faq-expanded):last-child .faq-top {border-bottom-left-radius:8px;border-bottom-right-radius:8px;border-bottom:1px solid #ccc;}
#faq-post-block .faq-row.faq-expanded:last-child .faq-bottom {border-bottom-left-radius:8px;border-bottom-right-radius:8px;border-bottom:1px solid #ccc;}
#faq-post-block .faq-row .faq-top {display:inline-block;width:100%;line-height:20px;font-size:16px;font-weight:bolder;color:#222;text-decoration:none;transition:0.1s;padding:16px 62px 16px 16px;}
#faq-post-block .faq-row:not(.faq-expanded) .faq-top:hover {background:#f0f0f0;text-decoration:none;color:#000;}
#faq-post-block .faq-collapse-icon {position:absolute;right:6px;top:6px;width:40px;height:40px;padding:9px;}
#faq-post-block .faq-collapse-icon svg {width:22px;height:22px;fill:#1a73e8;display:block;}
#faq-post-block .faq-collapse-icon svg.faq-up {display:none;}
#faq-post-block .faq-row.faq-expanded .faq-collapse-icon svg.faq-up {display:block;} 
#faq-post-block .faq-row.faq-expanded .faq-collapse-icon svg.faq-down {display:none;} 
#faq-post-block .faq-row .faq-bottom {display:inline-block;width:100%;line-height:26px;font-size:15px;padding:16px;background:#f0f0f0;}
#faq-post-block .faq-row .faq-bottom .faq-description img {max-width:100%;width:auto;height:auto;}
#faq-post-block .faq-item-footer {padding:15px 0 3px 0;margin:16px 0 0 0;border-top:1px solid #ccc;text-align:right;font-size:14px;color:#888;}
#faq-post-block .faq-helpful {float:right;line-height:24px}
#faq-post-block .faq-helpful > span {float:left;margin-right:14px;}
#faq-post-block .faq-helpful > a {float:left;margin-right:14px;color:#888;font-weight:bolder;transition:0.2s;text-decoration:none;}
#faq-post-block .faq-helpful.faq-disabled > a {opacity:0.5;text-decoration:none;}
#faq-post-block .faq-helpful:not(.faq-disabled) > a:not(.faq-voting-disabled):hover {color:#333;text-decoration:underline;}
#faq-post-block .faq-helpful > a.faq-active {color:#111;}
#faq-post-block .faq-helpful > a.faq-negative {margin-right:0;}
#faq-post-block .faq-helpful > a svg {float:left;width:20px;height:20px;fill:#999;transition:0.2s;}
#faq-post-block .faq-helpful > a.faq-positive svg {margin:0px 4px 4px 0;}
#faq-post-block .faq-helpful > a.faq-negative svg {margin:3px 4px 1px 0;}
#faq-post-block .faq-helpful:not(.faq-disabled) > a:not(.faq-voting-disabled):hover svg {fill:#444;}
#faq-post-block .faq-helpful > a.faq-active svg {fill:#1a73e8;}
#faq-post-block .faq-description ul {list-style: disc; padding-left: 17px;}
#faq-post-block .faq-description p {margin-bottom:8px;}
#faq-body .faq-description h1, #faq-body .faq-description h2, #faq-body .faq-description h3, #faq-body .faq-description h4 {text-align:left;}
#faq-link-block {text-align:center;margin:0 0 20px 0;}
#faq-link-block .faq-link-inside {display:inline-block;width:100%;position:relative;max-width:760px;text-align:left;}
#faq-link-block .faq-link-inside a {font-size:14px;line-height:18px;}

#faq-post-block .faq-post-empty {display:inline-block;width:100%;font-size:16px;padding:10px 0;line-height:20px;}
#faq-body .faq-category-header {text-align:center;}
#faq-body .faq-category-header h1 {display: inline-block; width: 100%; max-width: 760px; text-align: left;margin-bottom:10px;}
#faq-body .faq-category-header h2 {margin:0 0 20px 0;}
#faq-body.faq-search, #faq-body.faq-category {min-height:480px;}

#faq-body.faq-theme-alpha #faq-post-block .faq-bottom, #faq-body.faq-theme-beta #faq-post-block .faq-bottom, #faq-body.faq-theme-gamma #faq-post-block .faq-bottom {background:#fff;}
#faq-body a.faq-link-back {display:inline-block;clear:both;margin:15px 0;}

#faq-body.faq-theme-careerjob, #faq-body.faq-theme-elena, #faq-body.faq-theme-patricia, #faq-body.faq-theme-sofia, #faq-body.faq-theme-starter, #faq-body.faq-theme-stela, #faq-body.faq-theme-tatiana, #faq-body.faq-theme-zara, #faq-body.faq-theme-veronika {padding-top:30px;padding-bottom:30px;}
#faq-body.faq-theme-careerjob h1, #faq-body.faq-theme-elena h1, #faq-body.faq-theme-patricia h1, #faq-body.faq-theme-sofia h1, #faq-body.faq-theme-starter h1, #faq-body.faq-theme-stela h1, #faq-body.faq-theme-tatiana h1, #faq-body.faq-theme-zara h1, #faq-body.faq-theme-veronika h1 {font-size: 32px; line-height: 36px;}
#faq-body.faq-theme-careerjob h2, #faq-body.faq-theme-elena h2, #faq-body.faq-theme-patricia h2, #faq-body.faq-theme-sofia h2, #faq-body.faq-theme-starter h2, #faq-body.faq-theme-stela h2, #faq-body.faq-theme-tatiana h2, #faq-body.faq-theme-zara h2, #faq-body.faq-theme-veronika h2 {font-size: 24px; line-height: 28px;}

@media screen and (max-width: 767px) {
  #faq-search-block .faq-search-form {background-size: 110%;padding:80px 15px;}
  #faq-category-block .faq-category {width:calc(33.33% - 8px);margin:0 12px 12px 0;height:250px;padding-bottom:10px;}
  #faq-category-block .faq-category:nth-child(3n+3) {margin-right:0;}
  #faq-category-block {margin-bottom:0px;}
  #faq-search-block, #faq-post-block {margin-bottom:10px;}
}

@media screen and (max-width: 490px) {
  #faq-category-block .faq-category {width: calc(50% - 6px);background-size: 120%;}
  #faq-category-block .faq-category:nth-child(3n+3) {margin-right:12px;}
  #faq-category-block .faq-category:nth-child(2n+2) {margin-right:0;}
  #faq-search-block .faq-search-form {padding:60px 10px;}
}

@media screen and (max-width: 360px) {
  #faq-category-block .faq-category {padding:12px;height: 202px;}
  #faq-category-block .faq-category img {max-width:80px;max-height:80px;margin-bottom:10px;}
  #faq-search-block .faq-search-form {padding:35px 10px;}
}


/* RTL STYLES */
html[dir="rtl"] #faq-body {direction:rtl;}
html[dir="rtl"] #faq-category-block .faq-category strong, html[dir="rtl"] #faq-category-block .faq-category span, html[dir="rtl"] #faq-body h2, html[dir="rtl"] #faq-post-block .faq-post-inside, html[dir="rtl"] #faq-link-block .faq-link-inside {text-align:right;}
html[dir="rtl"] #faq-post-block .faq-row .faq-top {padding-right:16px;padding-left:62px;}
html[dir="rtl"] #faq-post-block .faq-collapse-icon {left:6px;right:auto;}
html[dir="rtl"] #faq-post-block .faq-helpful {float:left;}
html[dir="rtl"] #faq-post-block .faq-helpful > span {float:right;margin-left:14px;margin-right:0;}
html[dir="rtl"] #faq-post-block .faq-helpful > a {float:right;margin-left:14px;margin-right:0;}
html[dir="rtl"] #faq-post-block .faq-helpful > a.faq-negative {margin-left:0;}
html[dir="rtl"] #faq-post-block .faq-helpful > a svg {float:right;}
html[dir="rtl"] #faq-post-block .faq-helpful > a.faq-positive svg {margin:0 0 4px 4px;}
html[dir="rtl"] #faq-post-block .faq-helpful > a.faq-negative svg {margin: 3px 0 1px 4px;}
html[dir="rtl"] #faq-search-block button[type="submit"], html[dir="rtl"] #faq-search-block div.button {left:2px;right:auto;}
html[dir="rtl"] #faq-body .faq-description h1, html[dir="rtl"] #faq-body .faq-description h2, html[dir="rtl"] #faq-body .faq-description h3, html[dir="rtl"] #faq-body .faq-description h4 {text-align:right;}
html[dir="rtl"] #faq-search-block input[name="pattern"] {text-align:right;}
html[dir="rtl"] #faq-category-block .faq-category {float:right;margin:0 0 20px 20px;}
html[dir="rtl"] #faq-category-block .faq-category:nth-child(3n+3) {margin-left:0;}
html[dir="rtl"] #faq-post-block .faq-description ul {padding-left:0;padding-right:18px;}

@media screen and (max-width: 767px) {
  html[dir="rtl"] #faq-category-block .faq-category {margin:0 0 12px 12px;}
  html[dir="rtl"] #faq-category-block .faq-category:nth-child(3n+3) {margin-left:0;}
}

@media screen and (max-width: 490px) {
  html[dir="rtl"] #faq-category-block .faq-category:nth-child(3n+3) {margin-left:12px;}
  html[dir="rtl"] #faq-category-block .faq-category:nth-child(2n+2) {margin-left:0;}
}

/* =========================================
   CUSTOM FAQ CARD DESIGN 
   ========================================= */

/* 1. RESET THE CONTAINER LAYOUT */
#faq-category-block .faq-category-inside {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left !important;
    float: none !important;
}

/* 2. STYLE THE INDIVIDUAL CARDS */
#faq-category-block .faq-category {
    /* Layout Logic */
    float: none !important; 
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    
    /* Sizing - 3 Columns by default */
    width: calc(33.333% - 20px) !important;
    height: auto !important;
    min-height: 250px;
    margin: 0 !important; 
    
    /* The Look (White box, Gray Border) */
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    padding: 30px !important;
    transition: all 0.3s ease;
}

/* 3. HOVER EFFECT */
#faq-category-block .faq-category:hover {
    background-color: #fff !important;
    border-color: #b0b0b0 !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* 4. ICON STYLING */
#faq-category-block .faq-category img {
    margin: 0 0 20px 0 !important;
    width: 50px !important; 
    height: auto !important;
    display: block !important;
}

/* 5. TITLE TYPOGRAPHY */
#faq-category-block .faq-category strong {
    display: block !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-bottom: 10px !important;
    white-space: normal !important;
    width: 100% !important;
    text-overflow: clip !important; /* Removes the ... dots */
}

/* 6. DESCRIPTION TEXT */
#faq-category-block .faq-category span {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    height: auto !important;
    text-align: left !important;
    white-space: normal !important;
}

/* --- MOBILE OPTIMIZATION --- */

/* Tablet: 2 Columns */
@media screen and (max-width: 900px) {
    #faq-category-block .faq-category {
        width: calc(50% - 20px) !important;
    }
}

/* Phone: 1 Column */
@media screen and (max-width: 600px) {
    #faq-category-block .faq-category {
        width: 100% !important;
    }
    #faq-category-block .faq-category-inside {
        padding: 0 15px !important;
    }
}

/* =========================================
   "BACK TO FAQ" BUTTON STYLING
   ========================================= */

#faq-body a.faq-link-back {
    /* 1. Make it look like a button */
    display: inline-block !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important; /* Matches your FAQ borders */
    border-radius: 8px !important;        /* Rounded corners */
    padding: 12px 24px !important;        /* Size of the button */
    
    /* 2. Text Styling */
    color: #333333 !important;            /* Dark text */
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;     /* Remove the underline */
    
    /* 3. Positioning & Shadow */
    margin: 30px 0 !important;            /* Space above and below */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
    transition: all 0.3s ease;            /* Smooth hover animation */
}

/* 4. Add a nice arrow before the text */
#faq-body a.faq-link-back::before {
    content: "←" !important;
    margin-right: 8px !important;
    font-weight: bold !important;
}

/* 5. Hover Effect (When mouse goes over it) */
#faq-body a.faq-link-back:hover {
    background-color: #f7f7f7 !important; /* Light gray background */
    border-color: #b0b0b0 !important;     /* Darker border */
    transform: translateY(-2px);          /* Moves up slightly */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* =========================================
   SEARCH BAR & ICON ANIMATIONS
   ========================================= */

/* 1. MAKE THE SEARCH INPUT "POP" ON CLICK */
#faq-search-block input[name="pattern"] {
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important; /* Starts with no visible border */
}

/* When you click inside the box */
#faq-search-block input[name="pattern"]:focus {
    transform: scale(1.02) !important;       /* Grows slightly larger */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important; /* Adds a premium shadow */
    border-color: #f36 !important;        /* Adds a blue focus border */
}

/* 2. ANIMATE THE SEARCH ICON */
#faq-search-block button[type="submit"] svg,
#faq-search-block div.button svg {
    /* Uses a "cubic-bezier" for a slight bounce effect */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; 
}

/* When you hover over the search button */
#faq-search-block button[type="submit"]:hover svg, 
#faq-search-block div.button:hover svg {
    transform: rotate(90deg) scale(1.2) !important; /* Spins 90 degrees and grows */
    fill: #1a73e8 !important; /* Changes color to blue */
    cursor: pointer !important;
}

/* =========================================
   MOBILE FIXES & COLOR UPDATES
   ========================================= */

/* 1. FIX HEADER OVERLAP ON MOBILE */
/* Pushes the search bar down so it doesn't hide behind your menu */
@media screen and (max-width: 767px) {
    #faq-search-block {
        margin-top: 80px !important; /* Adjust this number if you need more/less space */
        padding-top: 20px !important;
    }
}

/* 2. CHANGE TRIANGLE ICON COLOR */
/* Updates the expand/collapse arrows from Blue to Pink (#f36) */
#faq-post-block .faq-collapse-icon svg {
    fill: #f36 !important;
}

/* 3. INCREASE SPACE BETWEEN CATEGORIES AND QUESTIONS */
/* Adds breathing room between the boxes and "Most helpful questions" */
#faq-category-block {
    margin-bottom: 30px !important;
}

/* 4. OPTIMIZE QUESTION LIST FOR MOBILE */
/* Ensures the question boxes don't touch the screen edges on phones */
@media screen and (max-width: 600px) {
    #faq-post-block .faq-post-inside {
        width: 94% !important; /* Leaves a small gap on left/right sides */
        margin: 0 auto !important;
    }
    
    /* Ensure the title text doesn't touch the edge either */
    #faq-body h2 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* =========================================
   FIX CATEGORY PAGE OVERLAP ON MOBILE
   ========================================= */

@media screen and (max-width: 767px) {
    /* 1. Push the Category Title down so it's not hidden behind the menu */
    #faq-body.faq-category .faq-category-header {
        margin-top: 100px !important; /* Adjust this if you need more/less space */
        padding-top: 10px !important;
        display: block !important;
    }

    /* 2. Fix the huge title size on mobile to prevent bad wrapping */
    #faq-body.faq-category .faq-category-header h1 {
        font-size: 26px !important; /* Smaller font for mobile */
        line-height: 1.3 !important;
        margin-top: 0 !important;
        padding: 0 15px !important; /* Adds side padding so text doesn't hit edges */
    }

    /* 3. Ensure the subtitle description has space */
    #faq-body.faq-category .faq-category-header h2 {
        font-size: 18px !important;
        padding: 0 15px !important;
        margin-bottom: 30px !important;
    }
}

/* =========================================
   SOFTEN ANSWER OPENING (NO SCROLL JANK)
   ========================================= */

/* Keep the plugin’s original .faq-bottom behavior.
   Just animate the content INSIDE it. */

#faq-post-block .faq-row .faq-bottom {
    /* Optional: tiny padding transition so it feels softer */
    transition: padding 0.25s ease;
}

/* Animate only the inner description */
#faq-post-block .faq-row .faq-bottom .faq-description {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* When the row is expanded, fade/slide content in */
#faq-post-block .faq-row.faq-expanded .faq-bottom .faq-description {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   REFINED SEARCH BAR (SOFT & MODERN)
   ========================================= */ 

#faq-search-block input[name="pattern"] {
    /* 1. Make it a "Pill" shape (Fully rounded) */
    border-radius: 50px !important; 
    
    /* 2. Soft, subtle gray border by default */
    border: 1px solid #eaeaea !important; 
    background-color: #fff !important;
    
    /* 3. Add more breathing room for text */
    padding: 10px 50px 10px 25px !important; /* Extra padding on right for the icon */
    height: 54px !important; /* Slightly taller for a premium feel */
    
    /* 4. Soft resting shadow */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease !important;
}

/* ON CLICK / FOCUS STATE */
#faq-search-block input[name="pattern"]:focus {
    /* 5. The Magic: No hard border, just a soft pink glow */
    border-color: #f36 !important; 
    box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.1), 0 8px 20px rgba(0,0,0,0.08) !important;
    transform: scale(1.01) !important; 
}

/* ADJUST SEARCH ICON POSITION */
/* Because the bar is rounder, we need to move the icon slightly left */
#faq-search-block button[type="submit"], 
#faq-search-block div.button {
    right: 15px !important; /* Moves icon away from the curved edge */
    top: 5px !important;    /* Centers it vertically */
}

/* =========================================
   NEW HEADER BACKGROUND (SOFT GLOW)
   ========================================= */

#faq-search-block .faq-search-form {
    /* 1. Remove old image and borders */
    background-image: none !important;
    border: none !important; /* Removes the hard line at the bottom */
    
    /* 2. The "Spotlight" Effect */
    /* The center is Soft Pink (#fff0f5) */
    /* It fades to Pure White (#ffffff) at the edges */
    background: radial-gradient(circle at center, #fff0f5 0%, #ffffff 70%) !important;
    
    /* 3. Spacing */
    padding-top: 120px !important;
    padding-bottom: 100px !important;
}

/* Ensure mobile looks clean too */
@media screen and (max-width: 767px) {
    #faq-search-block .faq-search-form {
        /* On phone, make the glow slightly tighter so it doesn't spill over */
        background: radial-gradient(circle at center, #fff0f5 0%, #ffffff 85%) !important;
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
}

/* =========================================
   PRO "BRAND ALIVE" CARD STYLES
   (Blue by default, Pink on Hover)
   ========================================= */

/* 1. ICON BUBBLE DESIGN */
#faq-category-block .faq-category img {
    filter: none !important; /* Keep original icon colors */
    
    /* Bubble Shape */
    width: 76px !important;       /* Slightly larger for better impact */
    height: 76px !important;
    padding: 18px !important;     /* More breathing room */
    border-radius: 50% !important;
    object-fit: contain;

    /* Default Color: Soft Blue (Matches your icons) */
    background-color: #eef4ff !important; 
    
    /* Setup Animation */
    margin: 0 0 25px 0 !important;
    display: inline-block !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 2. CARD HOVER EFFECT (The "Pop") */
#faq-category-block .faq-category:hover {
    /* The Border turns Pink */
    border-color: #f36 !important; 
    
    /* The Card Lifts Up */
    transform: translateY(-7px) !important;
    
    /* A subtle Pink Glow Shadow */
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.15) !important;
}

/* 3. ICON HOVER EFFECT */
#faq-category-block .faq-category:hover img {
    /* Bubble turns Light Pink */
    background-color: #fff0f5 !important; 
    
    /* Icon Wiggles */
    transform: scale(1.15) rotate(-6deg) !important;
}

/* 4. TYPOGRAPHY TWEAKS (Making it bolder) */
#faq-category-block .faq-category strong {
    font-size: 20px !important; /* Bigger Title */
    margin-bottom: 12px !important;
}

/* =========================================
   CUSTOM FONT FOR HEADINGS (Medium Weight)
   ========================================= */

#faq-body h1, 
#faq-body h2,
#faq-category-block .faq-category strong,
#faq-post-block .faq-row .faq-top,
#faq-body .faq-category-header h1 {
    font-family: "CircularXXWeb-Medium", sans-serif !important;
    
    /* This removes the "Bold" setting so the font looks normal/medium */
    font-weight: normal !important; 
    
    letter-spacing: -0.02em !important; 
}

/* =========================================
   FIX HEADINGS ALIGNMENT (CENTER TITLES)
   ========================================= */

/* 1. Center the Main "How can we help you?" and "Choose a category" titles */
#faq-body h1, 
#faq-body h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2. Keep the Card Titles ("About Escortify", etc.) aligned LEFT inside their boxes */
#faq-category-block .faq-category strong {
    text-align: left !important;
}

/* 3. Keep the Question Titles ("How do I...") aligned LEFT */
#faq-post-block .faq-row .faq-top {
    text-align: left !important;
}

/* 4. Ensure the Custom Font settings are still applied correctly */
#faq-body h1, 
#faq-body h2,
#faq-category-block .faq-category strong,
#faq-post-block .faq-row .faq-top {
    font-family: "CircularXXWeb-Medium", sans-serif !important;
    font-weight: normal !important;
}

/* =========================================
   REDUCE GAP BETWEEN QUESTION & ANSWER
   ========================================= */

/* 1. Reduce the top padding of the gray answer box */
/* We change the top from 25px to 12px, but keep the others spacious */
#faq-post-block .faq-row .faq-bottom {
    padding-top: 12px !important; 
    padding-bottom: 25px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
}

/* 2. Force the text inside to start at the very top */
/* This removes the invisible "margin" that browsers add to paragraphs */
#faq-post-block .faq-row .faq-bottom p:first-child,
#faq-post-block .faq-row .faq-bottom div:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================
   NEW  HERO SECTION
   
   ========================================= */

/* 1. THE HERO CONTAINER */
#faq-body.faq-category .faq-category-header {
    /* Layout & Spacing */
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    
    /* Generous spacing makes it feel premium */
    padding: 80px 20px 60px 20px !important; 
    margin: 0 0 50px 0 !important;
    
    /* The Background: A very subtle gradient (like ambient light) */
    background: radial-gradient(circle at center top, #fbfbfd 0%, #f5f5f7 100%) !important;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important; /* Extremely faint divider */
}

/* 2. THE MAIN TITLE (Refined Typography) */
#faq-body.faq-category .faq-category-header h1 {
    font-family: "CircularXXWeb-Medium", sans-serif !important;
    font-weight: normal !important; /* Let the font shine naturally */
    
    /* Apple-style sizing and tracking */
    font-size: 44px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important; /* Tight tracking is key for this look */
    
    /* Color: Deep Charcoal (Not pure black) */
    color: #1d1d1f !important; 
    
    max-width: 800px !important;
    margin: 0 auto 15px auto !important;
    
    /* Animation: Slide Up Fade */
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0; /* Start hidden */
}

/* 3. THE SUBTITLE (Secondary Text) */
#faq-body.faq-category .faq-category-header h2 {
    font-family: "CircularXXWeb-Medium", sans-serif !important;
    font-weight: normal !important;
    
    font-size: 21px !important;
    line-height: 1.4 !important;
    
    /* Color: Classic Apple Secondary Gray */
    color: #86868b !important; 
    
    max-width: 600px !important;
    margin: 0 auto !important;
    
    /* Animation: Slide Up Fade (Delayed slightly) */
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0; /* Start hidden */
}

/* 4. DEFINE THE ANIMATION */
@keyframes heroFadeUp {
    0% { 
        opacity: 0;
        transform: translateY(30px); /* Starts lower */
    }
    100% { 
        opacity: 1;
        transform: translateY(0);    /* Settles in place */
    }
}

/* 5. MOBILE ADJUSTMENTS */
@media screen and (max-width: 767px) {
    #faq-body.faq-category .faq-category-header {
        padding-top: 110px !important; /* Clears your header menu */
        padding-bottom: 40px !important;
        background: #f5f5f7 !important; /* Simpler background on phone */
    }
    
    #faq-body.faq-category .faq-category-header h1 {
        font-size: 32px !important; /* Smaller but still impactful */
    }
    
    #faq-body.faq-category .faq-category-header h2 {
        font-size: 18px !important;
    }
}

/* =========================================
   FIX "TOO LOW" SEARCH HEADER
   ========================================= */

#faq-search-block .faq-search-form {
    /* Originally 120px. Reducing to 60px pulls it up. */
    padding-top: 60px !important; 
    
    /* Optional: Adjust bottom spacing if you want the whole box smaller */
    padding-bottom: 80px !important; 
}

/* =========================================
   FIX HERO SPACING (TIGHTER TO HEADER)
   ========================================= */

#faq-search-block .faq-search-form {
    /* Drastically reduce top space to pull text up */
    padding-top: 40px !important; 
    
    /* Optional: Adjust bottom spacing to balance the look */
    padding-bottom: 40px !important;
}

/* Ensure the Title itself doesn't push down */
#faq-body h1 {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

/* Compact “card” hero for FAQ category pages */
#faq-body.faq-category .faq-category-header {
  /* Size & layout */
  max-width: 1100px;
  width: 100%;
  margin: 40px auto 32px !important;
  padding: 40px 48px !important;

  /* Visual style */
  background: linear-gradient(135deg, #fbfbfd 0%, #f5f5f7 100%) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;

  /* Typography alignment */
  text-align: left !important;
}

/* Title */
#faq-body.faq-category .faq-category-header h1 {
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.12 !important;
  margin: 0 0 12px 0 !important;
}

/* Subtitle */
#faq-body.faq-category .faq-category-header h2 {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #6b7280 !important;
  max-width: 520px !important;
  margin: 0 !important;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  #faq-body.faq-category .faq-category-header {
    margin-top: 96px !important;   /* clear your fixed header */
    margin-bottom: 24px !important;
    padding: 28px 20px !important;
    border-radius: 18px !important;
  }

  #faq-body.faq-category .faq-category-header h1 {
    font-size: 24px !important;
  }

  #faq-body.faq-category .faq-category-header h2 {
    font-size: 15px !important;
  }
}

/* Force FAQ category hero title + subtitle to be perfectly centered on desktop */
@media (min-width: 768px) {
  #faq-body.faq-category .faq-category-header h1,
  #faq-body.faq-category .faq-category-header h2 {
    display: block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Keep nice readable line lengths */
  #faq-body.faq-category .faq-category-header h1 {
    max-width: 800px !important;
  }

  #faq-body.faq-category .faq-category-header h2 {
    max-width: 600px !important;
  }
}