/* =========================================
   1. TYPOGRAPHY
   ========================================= */

.quasi {
    font-family: "quasimoda", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
}

.quasi-bold {
    font-family: "quasimoda", sans-serif;
    font-weight: 700 !important;
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
}

.fraunces {
    font-family: "fraunces-variable", sans-serif;
    font-variation-settings: 'opsz' 9, 'wght' 400, 'SOFT' 0, 'WONK' 1;
    line-height: 1.2;
    margin: 0 0 0.5em 0;
}

.current_page_item a {
    text-decoration: underline;
    font-weight: 700 !important;
}

.break-title span {
    display: block;
}

.break-title .accent {
    font-size: 0.7em;
}

.break-accent {
    font-size: 0.7em;
}

/* =========================================
   2. BORDERS & DECORATION
   ========================================= */

/* Middle Blue Border */
.middle-blue-border {
    position: relative;
    padding-bottom: 1em !important;
}

.middle-blue-border::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.5em;
    width: 50%;
    /* half the container */
    transform: translateX(-50%);
    height: 3px;
    background-color: #2B7386;
}
.middle-blue-border.white::after {
	background-color: #FFF !important
}

.half-blue-border::after {
    width: 0%;
}

/* Gradient Border */
.gradient-border a {
    position: relative;
    border-radius: 50px;
    z-index: 0;
}

.gradient-border a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    /* thickness of border */
    background: linear-gradient(-125deg, #F9DDA9, #FFFFFF);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* =========================================
   3. BACKGROUNDS & OVERLAYS
   ========================================= */

.bg-blur {
    background-color: rgba(252, 243, 228, 0.77);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.curve-bg {
    border-radius: 0 0 30% 0;
}

/* Soft Overlay (Light) */
.soft-overlay {
    position: relative;
    overflow: hidden;
}

.soft-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Soft, angled overlay */
    background: linear-gradient(110deg,
            rgba(248, 241, 224, 0.95) 0%,
            rgba(248, 241, 224, 0.55) 25%,
            rgba(248, 241, 224, 0.25) 45%,
            rgba(248, 241, 224, 0.15) 65%,
            rgba(248, 241, 224, 0.00) 100%);
    mix-blend-mode: normal;
}

/* Soft Overlay (Black) */
.soft-overlay-black {
    position: relative;
    overflow: hidden;
}

.soft-overlay-black::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.55) 25%,
            rgba(0, 0, 0, 0.25) 45%,
            rgba(0, 0, 0, 0.15) 65%,
            rgba(0, 0, 0, 0.00) 100%);
    mix-blend-mode: normal;
}

/* =========================================
   4. COMPONENTS (Testimonials & Sliders)
   ========================================= */

/* Hope Testimonial */
.hope-testimonial .swiper-slide {
    position: relative;
}

.hope-testimonial .elementor-testimonial__text::before {
    content: "";
    display: block;
    text-align: center;
    margin: 1rem auto;
    width: 136px;
    height: 17px;
    background-image: url("https://anchoredhealingcenter.kinsta.cloud/wp-content/uploads/2025/11/5-stars.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.hope-testimonial .swiper-slide::before {
    content: '';
    width: 60px;
    height: 50px;
    background-image: url("https://anchoredhealingcenter.kinsta.cloud/wp-content/uploads/2025/11/top.svg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 10%;
    left: 6%;
}

.hope-testimonial .swiper-slide::after {
    content: '';
    width: 50px;
    height: 40px;
    background-image: url("https://anchoredhealingcenter.kinsta.cloud/wp-content/uploads/2025/11/bottom.svg");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 10%;
    right: 6%;
}

.hope-testimonial .swiper-pagination-bullet {
    border: 0.7px solid white;
}

/* Hero Slider */
.hero-slider .swiper {
    padding: 50px 0;
}

.hero-slider .swiper-pagination {
    position: relative;
    margin-top: 4rem;
}

.hero-slider .swiper-pagination-bullet {
    border: 0.7px solid #27677B;
}

/* =========================================
   5. BUTTONS & CTA
   ========================================= */

.svg-cta .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

.svg-cta svg {
    width: 1.5em !important;
    height: auto;
}

.elementor-button[type="submit"] svg {
    width: 1.5em !important;
    height: auto;
}

.elementor-button[type="submit"] path {
    fill: #27677B !important;
}

/* =========================================
   6. RESPONSIVE (Max-width: 440px)
   ========================================= */

@media screen and (max-width: 440px) {
    
    /* Typography Overrides */
    .break-title .accent {
        font-size: 1.2rem;
    }

    /* Slider Overrides */
    .hero-slider .swiper-pagination {
        position: relative;
        margin-top: 1rem;
    }

    .hero-slider .swiper {
        padding: 50px 0;
    }

    /* Border Overrides */
    .half-blue-border {
        position: relative;
    }

    .middle-blue-border {
				width: 75%;
        padding-bottom: 0.25em;
    }

    .half-blue-border::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -1.7em;
        width: 50%;
        transform: translateX(-50%);
        height: 3px;
        background-color: #2B7386;
    }

    /* Gradient Overlays (Mobile Only) */
    .gradient-bottom-overlay {
        position: relative;
        overflow: hidden;
    }

    .gradient-bottom-overlay::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        /* bottom → top white fade */
        background: linear-gradient(to top,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0.8) 25%,
                rgba(255, 255, 255, 0.4) 55%,
                rgba(255, 255, 255, 0) 100%);
        z-index: 0;
    }

    .gradient-bottom-overlay-black {
        position: relative;
        overflow: hidden;
    }

    .gradient-bottom-overlay-black::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        /* bottom → top black fade */
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.6) 15%,
                rgba(0, 0, 0, 0.2) 33%,
                rgba(0, 0, 0, 0) 100%);
        z-index: 0;
    }
}