/* Start custom CSS for html, class: .elementor-element-f6e897f *//* =========================================================
   COOLTEXTFONTS — FANCY TEXT GENERATOR (Updated Theme)
   Red / Blue / Black, Poppins, Animations
   + FULL-WIDTH HERO (content mid mein)
   ========================================================= */

.ctf-fancy-tool,
.ctf-fancy-tool *,
.ctf-fancy-tool *::before,
.ctf-fancy-tool *::after {
    box-sizing: border-box;
}

/* =========================================================
   MAIN TOOL & VARIABLES
   ========================================================= */
.ctf-fancy-tool {
    /* New Theme Colors */
    --ctf-red: #E11D2E;
    --ctf-red-light: #FFF5F6;
    --ctf-red-border: #FFD1D6;
    --ctf-red-dark: #C01020;

    --ctf-blue: #2563EB;
    --ctf-blue-light: #EFF6FF;
    --ctf-blue-border: #BFDBFE;

    --ctf-black: #111111;
    --ctf-black-light: #F3F4F6;
    --ctf-black-border: #E5E7EB;

    /* Text & Base */
    --ctf-text: #374151;
    --ctf-text-soft: #6B7280;
    --ctf-text-light: #9CA3AF;

    --ctf-white: #ffffff;
    --ctf-border: #E5E7EB;
    --ctf-bg: #ffffff;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 55px 24px 70px;

    color: var(--ctf-text);
    font-family: 'Poppins', sans-serif !important;
    background: transparent;
    line-height: 1.5;
}

/* Force Poppins */
.ctf-fancy-tool,
.ctf-fancy-tool h1,
.ctf-fancy-tool h2,
.ctf-fancy-tool h3,
.ctf-fancy-tool p,
.ctf-fancy-tool span,
.ctf-fancy-tool label,
.ctf-fancy-tool input,
.ctf-fancy-tool textarea,
.ctf-fancy-tool button,
.ctf-fancy-tool a {
    font-family: 'Poppins', sans-serif !important;
}

/* =========================================================
   ✨ HERO — FULL WIDTH, CONTENT MID MEIN
   ========================================================= */
.ctf-fancy-header {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    margin-top: -55px;       /* tool ki top padding cover */
    margin-bottom: 50px;

    /* vertically + horizontally center content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 80px 24px 80px;
    min-height: 360px;       /* hero height — content beech mein */

    text-align: center;
    background:
        radial-gradient(900px 380px at 50% 0%, rgba(225, 29, 46, 0.10), transparent 70%),
        radial-gradient(700px 320px at 85% 100%, rgba(37, 99, 235, 0.08), transparent 70%),
        linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 100%);
    border-bottom: 1px solid var(--ctf-border);
    overflow: hidden;
    isolation: isolate;
}

/* subtle grid pattern */
.ctf-fancy-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(17,17,17,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,17,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    background-position: center;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 80%);
            mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 80%);
    pointer-events: none;
}

/* top accent line */
.ctf-fancy-header::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ctf-red), var(--ctf-blue), transparent);
    opacity: 0.9;
}

/* inner content — centered + max width */
.ctf-fancy-header > * {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Badge ---- */
.ctf-fancy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;     /* shrink-wrap pill */
    min-height: 34px;
    margin-bottom: 22px;
    padding: 7px 16px;
    color: var(--ctf-red-dark);
    background: linear-gradient(180deg, #FFFFFF, var(--ctf-red-light));
    border: 1px solid var(--ctf-red-border);
    border-radius: 999px;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px -8px rgba(225, 29, 46, 0.35);
}

.ctf-fancy-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ctf-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.15);
}

/* ---- Title ---- */
.ctf-fancy-title {
    margin: 0 0 18px !important;
    color: var(--ctf-black) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -1.4px !important;
    background: linear-gradient(180deg, #111111 0%, #2B2B2B 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Description ---- */
.ctf-fancy-description {
    max-width: 620px;
    margin: 0 auto !important;
    color: var(--ctf-text-soft) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

/* ---- optional trust row ---- */
.ctf-fancy-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    color: var(--ctf-text-light);
    font-size: 12px;
    font-weight: 500;
}
.ctf-fancy-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ctf-fancy-hero-meta i { color: var(--ctf-red); font-style: normal; }

/* =========================================================
   INPUT SECTION (Textarea)
   ========================================================= */
.ctf-fancy-input-section {
    width: 100%;
    margin-bottom: 42px;
    padding: 24px;
    background: var(--ctf-white);
    border: 1px solid var(--ctf-border);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(17, 17, 17, 0.04);
    transition: box-shadow 0.3s ease;
}

.ctf-fancy-input-section:hover {
    box-shadow: 0 12px 36px rgba(17, 17, 17, 0.06);
}

.ctf-fancy-input-label {
    display: block;
    margin: 0 0 10px;
    color: var(--ctf-black) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.ctf-fancy-textarea-wrap {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--ctf-border);
    border-radius: 13px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ctf-fancy-textarea-wrap:focus-within {
    border-color: var(--ctf-red);
    box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.1);
}

.ctf-fancy-textarea {
    display: block;
    width: 100% !important;
    min-height: 145px;
    margin: 0 !important;
    padding: 17px 18px !important;
    resize: vertical;
    color: var(--ctf-black) !important;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    caret-color: var(--ctf-red);
}

.ctf-fancy-textarea::placeholder {
    color: var(--ctf-text-light) !important;
    opacity: 1 !important;
}

/* Input Footer & Clear Button */
.ctf-fancy-input-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 0 14px;
    background: var(--ctf-black-light);
    border-top: 1px solid var(--ctf-border);
}

.ctf-fancy-character-count {
    color: var(--ctf-text-light) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.ctf-fancy-clear {
    margin: 0 !important;
    padding: 5px 9px !important;
    color: var(--ctf-red) !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

.ctf-fancy-clear:hover {
    color: var(--ctf-red-dark) !important;
}

/* =========================================================
   STYLES HEADER & SEARCH
   ========================================================= */
.ctf-fancy-styles-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 20px;
}

.ctf-fancy-styles-title {
    margin: 0 0 4px !important;
    color: var(--ctf-black) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.ctf-fancy-styles-subtitle {
    margin: 0 !important;
    color: var(--ctf-text-soft) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.ctf-fancy-search-wrap {
    flex: 0 0 230px;
}

.ctf-fancy-search {
    display: block;
    width: 100% !important;
    height: 43px;
    margin: 0 !important;
    padding: 0 14px !important;
    color: var(--ctf-black) !important;
    background: #ffffff !important;
    border: 1px solid var(--ctf-border) !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 12px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ctf-fancy-search:focus {
    border-color: var(--ctf-red) !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.1) !important;
}

.ctf-fancy-search::placeholder {
    color: var(--ctf-text-light) !important;
}

/* =========================================================
   CATEGORIES (Tabs)
   ========================================================= */
.ctf-fancy-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 25px;
    padding: 5px;
    overflow-x: auto;
    background: var(--ctf-black-light);
    border: 1px solid var(--ctf-border);
    border-radius: 11px;
    scrollbar-width: none;
}

.ctf-fancy-categories::-webkit-scrollbar {
    display: none;
}

.ctf-fancy-category {
    flex: 0 0 auto;
    min-height: 35px;
    margin: 0 !important;
    padding: 0 14px !important;
    color: var(--ctf-text-soft) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.ctf-fancy-category:hover {
    color: var(--ctf-red) !important;
    background: #ffffff !important;
}

.ctf-fancy-category.is-active {
    color: #ffffff !important;
    background: var(--ctf-red) !important;
    box-shadow: 0 3px 10px rgba(225, 29, 46, 0.2) !important;
}

/* =========================================================
   RESULTS GRID & STYLE CARD
   ========================================================= */
.ctf-fancy-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.ctf-style-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    min-height: 105px;
    margin: 0 !important;
    padding: 18px !important;
    background: #ffffff;
    border: 1px solid var(--ctf-border);
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(17, 17, 17, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ctf-style-card:hover {
    border-color: var(--ctf-red-border);
    box-shadow: 0 10px 28px rgba(225, 29, 46, 0.08);
    transform: translateY(-2px);
}

.ctf-style-card:nth-child(even):hover {
    border-color: var(--ctf-blue-border);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}
.ctf-style-card:nth-child(3n):hover {
    border-color: var(--ctf-black-border);
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.1);
}

.ctf-style-card-content {
    min-width: 0;
    flex: 1;
}

.ctf-style-name {
    display: block;
    margin-bottom: 10px;
    color: var(--ctf-text-light) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.ctf-generated-text {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 48px !important;
    overflow: hidden;
    color: var(--ctf-black) !important;
    background: transparent !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* =========================================================
   COPY BUTTON
   ========================================================= */
.ctf-copy-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto;
    min-width: 68px;
    height: 36px;
    margin: 0 !important;
    padding: 0 12px !important;
    color: var(--ctf-red) !important;
    background: var(--ctf-red-light) !important;
    border: 1px solid var(--ctf-red-border) !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 10px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.1s ease;
}

.ctf-copy-button:hover {
    color: #ffffff !important;
    background: var(--ctf-red) !important;
    border-color: var(--ctf-red) !important;
}

.ctf-copy-button:active {
    transform: scale(0.97);
}

.ctf-copy-button.is-copied {
    color: #ffffff !important;
    background: #16A34A !important;
    border-color: #16A34A !important;
}

.ctf-copy-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 14px !important;
    line-height: 1 !important;
    font-size: 13px !important;
}

.ctf-copy-button > span:last-child {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

/* =========================================================
   EMPTY & NO RESULTS STATES
   ========================================================= */
.ctf-fancy-empty {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed var(--ctf-red-border);
    border-radius: 16px;
}

.ctf-fancy-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--ctf-red);
    background: var(--ctf-red-light);
    border-radius: 50%;
    font-size: 20px;
}

.ctf-fancy-empty-title {
    margin: 0 0 7px !important;
    color: var(--ctf-black) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.ctf-fancy-empty-text {
    margin: 0 !important;
    color: var(--ctf-text-soft) !important;
    font-size: 12px !important;
}

.ctf-fancy-no-results {
    padding: 45px 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--ctf-border);
    border-radius: 14px;
}

.ctf-fancy-no-results-title {
    margin: 0 0 6px !important;
    color: var(--ctf-black) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.ctf-fancy-no-results-text {
    margin: 0 !important;
    color: var(--ctf-text-soft) !important;
    font-size: 12px !important;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.ctf-fancy-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   RESPONSIVE — TABLET (800px)
   ========================================================= */
@media (max-width: 800px) {
    .ctf-fancy-tool {
        padding: 45px 18px 60px;
    }

    .ctf-fancy-header {
        margin-top: -45px;
        padding: 64px 22px 64px;
        min-height: 320px;
        margin-bottom: 40px;
    }

    .ctf-fancy-title {
        font-size: 36px !important;
        letter-spacing: -1px !important;
    }

    .ctf-fancy-styles-header {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .ctf-fancy-search-wrap {
        flex: none;
        width: 100%;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (600px)
   ========================================================= */
@media (max-width: 600px) {
    .ctf-fancy-tool {
        padding: 30px 14px 50px;
    }

    .ctf-fancy-header {
        margin-top: -30px;
        padding: 52px 18px 52px;
        min-height: 280px;
        margin-bottom: 32px;
    }

    .ctf-fancy-header::before {
        background-size: 32px 32px;
    }

    .ctf-fancy-header::after {
        height: 2px;
    }

    .ctf-fancy-badge {
        font-size: 10.5px !important;
        padding: 6px 13px;
        margin-bottom: 16px;
    }

    .ctf-fancy-title {
        font-size: 28px !important;
        letter-spacing: -0.7px !important;
    }

    .ctf-fancy-description {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .ctf-fancy-hero-meta {
        font-size: 11px;
        gap: 8px 16px;
        margin-top: 20px;
    }

    .ctf-fancy-input-section {
        margin-bottom: 32px;
        padding: 16px;
        border-radius: 14px;
    }

    .ctf-fancy-textarea {
        min-height: 125px;
        font-size: 14px !important;
    }

    .ctf-fancy-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ctf-style-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 13px;
        min-height: 130px;
        padding: 14px !important;
        border-radius: 12px;
    }

    .ctf-generated-text {
        font-size: 26px !important;
        font-weight: 400 !important;
        line-height: 1.6 !important;
    }

    .ctf-style-name {
        font-size: 15px !important;
        font-weight: 400 !important;
    }

    .ctf-copy-button {
        width: 100%;
        height: 34px;
        gap: 8px !important;
    }

    .ctf-copy-icon {
        width: 14px !important;
        height: 14px !important;
        flex: 0 0 14px !important;
    }

    .ctf-copy-button > span:last-child {
        line-height: 1 !important;
    }

    .ctf-fancy-styles-title {
        font-size: 19px !important;
    }

    .ctf-fancy-styles-subtitle {
        font-size: 11px !important;
    }
}

/* =========================================================
   RESPONSIVE — VERY SMALL MOBILE (380px)
   ========================================================= */
@media (max-width: 380px) {
    .ctf-fancy-tool {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ctf-fancy-header {
        padding: 44px 14px 44px;
        min-height: 250px;
        margin-bottom: 26px;
    }

    .ctf-fancy-title {
        font-size: 24px !important;
    }

    .ctf-fancy-results {
        gap: 8px;
    }

    .ctf-style-card {
        padding: 11px !important;
    }

    .ctf-generated-text {
        font-size: 24px !important;
        font-weight: 550 !important;
    }

    .ctf-style-name {
        font-size: 13px !important;
        font-weight: 550 !important;
    }

    .ctf-copy-button {
        font-size: 9px !important;
        gap: 7px !important;
    }

    .ctf-copy-icon {
        width: 13px !important;
        height: 13px !important;
        flex-basis: 13px !important;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .ctf-fancy-tool *,
    .ctf-fancy-tool *::before,
    .ctf-fancy-tool *::after {
        transition: none !important;
        animation: none !important;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7fe56e8 *//* =========================================================
   COOLTEXTFONTS — AESTHETIC TEXT GENERATOR CONTENT (Updated Theme)
   Red / Blue / Black, Poppins, Animations
   ========================================================= */

/* =========================================================
   CONTENT WRAPPER
   ========================================================= */
.ctf-fancy-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 70px;
    font-family: 'Poppins', sans-serif !important;
    color: #374151;
    line-height: 1.8;
}

/* =========================================================
   CONTENT CARD
   ========================================================= */
.ctf-fancy-content .ctf-content-card {
    width: 100%;
    padding: 48px 52px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(17, 17, 17, 0.04);
    font-family: 'Poppins', sans-serif !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ctf-fancy-content .ctf-content-card:hover {
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.06);
}

/* Force Poppins */
.ctf-fancy-content .ctf-content-card,
.ctf-fancy-content .ctf-content-card * {
    font-family: 'Poppins', sans-serif !important;
}

/* =========================================================
   H2 HEADINGS
   ========================================================= */
.ctf-fancy-content .ctf-content-card h2 {
    position: relative;
    margin: 42px 0 16px !important;
    padding-left: 15px;
    color: #111111 !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.3px !important;
}

.ctf-fancy-content .ctf-content-card h2:first-child {
    margin-top: 0 !important;
}

/* Red Accent */
.ctf-fancy-content .ctf-content-card h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: calc(100% - 8px);
    background: #E11D2E;
    border-radius: 10px;
}

/* =========================================================
   H3 HEADINGS
   ========================================================= */
.ctf-fancy-content .ctf-content-card h3 {
    margin: 28px 0 9px !important;
    color: #2563EB !important;
    font-size: 18px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    position: relative;
    transition: color 0.3s ease;
}

/* Blue dot accent (turns Red on hover) */
.ctf-fancy-content .ctf-content-card h3::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 7px;
    margin-bottom: 3px;
    background: #E11D2E;
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ctf-fancy-content .ctf-content-card h3:hover::after {
    transform: scale(1.5);
    background: #2563EB;
}

/* =========================================================
   PARAGRAPHS
   ========================================================= */
.ctf-fancy-content .ctf-content-card p {
    max-width: 100%;
    margin: 0 0 17px !important;
    color: #6B7280 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}

.ctf-fancy-content .ctf-content-card p:last-child {
    margin-bottom: 0 !important;
}

.ctf-fancy-content .ctf-content-card h2 + p {
    margin-top: 0 !important;
}

/* =========================================================
   STRONG TEXT
   ========================================================= */
.ctf-fancy-content .ctf-content-card strong,
.ctf-fancy-content .ctf-content-card b {
    color: #111111 !important;
    font-weight: 600 !important;
}

/* =========================================================
   LINKS
   ========================================================= */
.ctf-fancy-content .ctf-content-card a {
    color: #E11D2E !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.ctf-fancy-content .ctf-content-card a:hover {
    color: #2563EB !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* =========================================================
   FAQ SECTION SPACING
   ========================================================= */
.ctf-fancy-content .ctf-content-card h2:nth-of-type(9) {
    margin-top: 48px !important;
}

/* =========================================================
   FINAL CTA / LAST SECTION
   ========================================================= */
.ctf-fancy-content .ctf-content-card h2:last-of-type {
    margin-top: 45px !important;
    padding: 22px 24px 10px;
    background: #FFF5F6;
    border: 1px solid #FFD1D6;
    border-radius: 14px 14px 0 0;
}

.ctf-fancy-content .ctf-content-card h2:last-of-type::before {
    top: 25px;
    left: 10px;
    background: #E11D2E;
}

/* =========================================================
   TEXT AFTER FINAL HEADING
   ========================================================= */
.ctf-fancy-content .ctf-content-card h2:last-of-type + p {
    padding: 0 24px 4px;
    background: #FFF5F6;
}

.ctf-fancy-content .ctf-content-card h2:last-of-type + p + p {
    padding: 0 24px 24px;
    margin-bottom: 0 !important;
    background: #FFF5F6;
    border-radius: 0 0 14px 14px;
}

/* =========================================================
   TEXT SELECTION
   ========================================================= */
.ctf-fancy-content .ctf-content-card ::selection {
    color: #ffffff;
    background: #E11D2E;
}

/* =========================================================
   RESPONSIVE — TABLET (800px)
   ========================================================= */
@media (max-width: 800px) {
    .ctf-fancy-content {
        padding: 0 18px 60px;
    }

    .ctf-fancy-content .ctf-content-card {
        padding: 38px 34px;
        border-radius: 18px;
    }

    .ctf-fancy-content .ctf-content-card h2 {
        font-size: 23px !important;
    }

    .ctf-fancy-content .ctf-content-card h3 {
        font-size: 17px !important;
    }

    .ctf-fancy-content .ctf-content-card p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (600px)
   ========================================================= */
@media (max-width: 600px) {
    .ctf-fancy-content {
        padding: 0 14px 50px;
    }

    .ctf-fancy-content .ctf-content-card {
        padding: 30px 21px;
        border-radius: 16px;
        box-shadow: 0 6px 22px rgba(17, 17, 17, 0.04);
    }

    .ctf-fancy-content .ctf-content-card h2 {
        margin-top: 34px !important;
        margin-bottom: 14px !important;
        padding-left: 12px;
        font-size: 21px !important;
        line-height: 1.4 !important;
    }

    .ctf-fancy-content .ctf-content-card h2::before {
        width: 3px;
        top: 5px;
        height: calc(100% - 10px);
    }

    .ctf-fancy-content .ctf-content-card h3 {
        margin-top: 23px !important;
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .ctf-fancy-content .ctf-content-card p {
        margin-bottom: 15px !important;
        font-size: 13.5px !important;
        line-height: 1.8 !important;
    }

    .ctf-fancy-content .ctf-content-card h2:last-of-type {
        padding: 19px 18px 8px;
    }

    .ctf-fancy-content .ctf-content-card h2:last-of-type::before {
        top: 22px;
        left: 8px;
    }

    .ctf-fancy-content .ctf-content-card h2:last-of-type + p {
        padding: 0 18px 4px;
    }

    .ctf-fancy-content .ctf-content-card h2:last-of-type + p + p {
        padding: 0 18px 20px;
    }
}

/* =========================================================
   RESPONSIVE — VERY SMALL MOBILE (380px)
   ========================================================= */
@media (max-width: 380px) {
    .ctf-fancy-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ctf-fancy-content .ctf-content-card {
        padding: 26px 17px;
    }

    .ctf-fancy-content .ctf-content-card h2 {
        font-size: 20px !important;
    }

    .ctf-fancy-content .ctf-content-card h3 {
        font-size: 15px !important;
    }

    .ctf-fancy-content .ctf-content-card p {
        font-size: 13px !important;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .ctf-fancy-content .ctf-content-card *,
    .ctf-fancy-content .ctf-content-card *::before,
    .ctf-fancy-content .ctf-content-card *::after {
        transition: none !important;
        animation: none !important;
    }
}/* End custom CSS */