/* =====================================================
   ORELI INTRO V1 - MODERN EDITORIAL
   Desktop / Tablet / Mobile
===================================================== */


/* =====================================================
   1. SECTION
===================================================== */

.oreliIntro-v1 {
    --oreli-primary: #a90083;
    --oreli-text: #191923;
    --oreli-muted: #737b8e;
    --oreli-border: #eceaf1;

    position: relative;
    width: 100%;

    padding: 70px 24px 80px;

    background: #ffffff;
    color: var(--oreli-text);

    box-sizing: border-box;
    overflow: hidden;
}

.oreliIntro-v1,
.oreliIntro-v1 *,
.oreliIntro-v1 *::before,
.oreliIntro-v1 *::after {
    box-sizing: border-box;
}


/* =====================================================
   2. MAIN GRID
===================================================== */

.oreliIntro-v1 .oreliIntro__inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    align-items: center;

    gap: clamp(36px, 5.5vw, 88px);
}


/* =====================================================
   3. LEFT CONTENT
===================================================== */

.oreliIntro-v1 .oreliIntro__content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 540px;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* Eyebrow */

.oreliIntro-v1 .oreliIntro__eyebrow {
    margin: 0 0 24px;
    padding: 0;

    color: #85899a;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;

    letter-spacing: 2.8px;
    text-transform: uppercase;
}


/* Title */

.oreliIntro-v1 .oreliIntro__title {
    margin: 0 0 22px;
    padding: 0;

    color: var(--oreli-text);

    font-size: clamp(36px, 3.4vw, 54px);
    font-weight: 750;

    line-height: 1.08;
    letter-spacing: -1.8px;

    overflow-wrap: break-word;
}

.oreliIntro-v1 .oreliIntro__title span {
    color: var(--oreli-primary);
}


/* Description */

.oreliIntro-v1 .oreliIntro__text {
    margin: 0 0 14px;
    padding: 0;

    color: var(--oreli-muted);

    font-size: 15px;
    font-weight: 400;

    line-height: 1.8;
}


/* =====================================================
   4. ABOUT BUTTON
===================================================== */

.oreliIntro-v1 .oreliIntro__btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 24px;

    min-height: 50px;

    margin-top: 12px;
    padding: 0 24px;

    color: #ffffff;
    background: var(--oreli-primary);

    border: 1px solid var(--oreli-primary);
    border-radius: 999px;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.3;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.oreliIntro-v1 .oreliIntro__btn:hover {
    color: #ffffff;
    background: #88006b;

    transform: translateY(-2px);

    box-shadow: 0 8px 22px rgba(169, 0, 131, 0.16);
}

.oreliIntro-v1 .oreliIntro__btnArrow {
    display: inline-block;

    font-size: 20px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.oreliIntro-v1 .oreliIntro__btn:hover
.oreliIntro__btnArrow {
    transform: translateX(4px);
}


/* =====================================================
   5. RIGHT VISUAL
===================================================== */

.oreliIntro-v1 .oreliIntro__visual {
    position: relative;

    width: 100%;
    min-width: 0;

    /*
     * Giữ vùng ảnh độc lập với nội dung bên trái.
     * Card sẽ nằm bên trong vùng visual này.
     */

    isolation: isolate;
}


/* =====================================================
   6. DOCTOR IMAGE
===================================================== */

.oreliIntro-v1 .oreliIntro__imageWrap {
    position: relative;

    width: 100%;
    height: clamp(380px, 38vw, 560px);

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #f4f1f8;

    border-radius: 18px;
}


/* Image generated by oreli_img() */

.oreliIntro-v1 .oreliIntro__imageWrap img.oreliIntro__image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: none;

    margin: 0;
    padding: 0;

    object-fit: cover;

    /*
     * Ưu tiên giữ bác sĩ rõ mặt.
     * Có thể tinh chỉnh vị trí nếu ảnh gốc khác demo.
     */

    object-position: 62% 20%;

    border: 0;
    border-radius: 0;
}


/* =====================================================
   7. DOCTOR PROFILE CARD - DESKTOP
===================================================== */

.oreliIntro-v1 .oreliIntro__doctorCard {
    position: absolute;

    /*
     * Card nằm bên phải ảnh,
     * hạ thấp để tránh che khuôn mặt bác sĩ.
     */

    right: 3%;
   bottom: 12%;

    z-index: 2;

    width: 290px;
    max-width: 78%;

    margin: 150px 0 0 0;
    padding: 22px 24px;

    background: rgb(255 255 255 / 75%);

    border: 1px solid rgba(235, 231, 240, 0.95);
    border-radius: 16px;

    box-shadow: 0 14px 38px rgba(35, 24, 54, 0.10);

    text-align: left;
}


/* Doctor Role */

.oreliIntro-v1 .oreliIntro__doctorRole {
    margin: 0 0 12px;
    padding: 0;

    color: #85899a;

    font-size: 10px;
    font-weight: 600;

    line-height: 1.5;
    letter-spacing: 1.8px;

    text-transform: uppercase;
}


/* Doctor Name */

.oreliIntro-v1 .oreliIntro__doctorName {
    margin: 0 0 7px;
    padding: 0;

    color: #202033;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.35;
    letter-spacing: -0.4px;

    overflow-wrap: break-word;
}


/* Doctor Description */

.oreliIntro-v1 .oreliIntro__doctorDesc {
    margin: 0 0 16px;
    padding: 0;

    color: var(--oreli-muted);

    font-size: 13px;
    font-weight: 400;

    line-height: 1.6;
}


/* =====================================================
   8. DOCTOR BUTTON
===================================================== */

.oreliIntro-v1 .oreliIntro__doctorBtn {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    width: 100%;
    min-height: 44px;

    margin: 0;
    padding: 0 16px;

    color: var(--oreli-primary);
    background: #ffffff;

    border: 1px solid #d900a6;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.4;
    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.oreliIntro-v1 .oreliIntro__doctorBtn:hover {
    color: #ffffff;
    background: var(--oreli-primary);

    border-color: var(--oreli-primary);
}

.oreliIntro-v1 .oreliIntro__doctorArrow {
    display: inline-block;

    font-size: 18px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.oreliIntro-v1 .oreliIntro__doctorBtn:hover
.oreliIntro__doctorArrow {
    transform: translateX(4px);
}


/* =====================================================
   9. TABLET
===================================================== */

@media (max-width: 1024px) {

    .oreliIntro-v1 {
        padding: 56px 28px 64px;
    }

    .oreliIntro-v1 .oreliIntro__inner {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 32px;
    }

    .oreliIntro-v1 .oreliIntro__title {
        font-size: clamp(32px, 4vw, 44px);

        letter-spacing: -1.2px;
    }

    .oreliIntro-v1 .oreliIntro__text {
        font-size: 14px;
    }

    .oreliIntro-v1 .oreliIntro__imageWrap {
        height: 400px;
    }

    .oreliIntro-v1 .oreliIntro__imageWrap img.oreliIntro__image {
        object-position: 62% 20%;
    }

    .oreliIntro-v1 .oreliIntro__doctorCard {
        right: 3%;
        bottom: 8%;

        width: 260px;
        max-width: 82%;

        padding: 20px;
    }

    .oreliIntro-v1 .oreliIntro__doctorName {
        font-size: 19px;
    }

}


/* =====================================================
   10. MOBILE
===================================================== */

@media (max-width: 767px) {

    .oreliIntro-v1 {
        padding: 38px 20px 44px;
    }


    /* Main Layout */

    .oreliIntro-v1 .oreliIntro__inner {
        display: grid;

        grid-template-columns: minmax(0, 1fr);

        gap: 28px;
    }


    /* Content */

    .oreliIntro-v1 .oreliIntro__content {
        width: 100%;
        max-width: none;
    }

    .oreliIntro-v1 .oreliIntro__eyebrow {
        margin-bottom: 16px;

        font-size: 11px;
        letter-spacing: 2.2px;
    }

    .oreliIntro-v1 .oreliIntro__title {
        margin-bottom: 18px;
text-align: left;
        font-size: clamp(31px, 8vw, 40px);

        line-height: 1.12;
        letter-spacing: -1px;
    }

    .oreliIntro-v1 .oreliIntro__text {
        margin-bottom: 12px;

        font-size: 14px;
        line-height: 1.75;
    }


    /* About Button */

    .oreliIntro-v1 .oreliIntro__btn {
        min-height: 48px;

        margin-top: 10px;
        padding: 0 20px;

        font-size: 14px;
    }


    /* Visual */

    .oreliIntro-v1 .oreliIntro__visual {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        width: 100%;
        min-width: 0;

        gap: 14px;
    }


    /* ==========================================
   ORELI INTRO V1 - MOBILE DOCTOR IMAGE
   Hiển thị bác sĩ cao, không bị ép ngang
========================================== */



    /* Khung ảnh bác sĩ */

    .oreliIntro-v1 .oreliIntro__imageWrap {
        position: relative;

        width: 100%;
        height: 530px;

        margin: 0;
        padding: 0;

        overflow: hidden;
        border-radius: 16px;

        background: #f4f1f8;
    }


    /* Ảnh bác sĩ */

    .oreliIntro-v1 .oreliIntro__imageWrap img.oreliIntro__image {
        display: block;

        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

        margin: 0;
        padding: 0;

        object-fit: cover;

        /* Ưu tiên phần bên phải có bác sĩ */
        object-position: 75% center;
 transform: translateY(-40px) scale(1.00);
        border: 0;
        border-radius: 0;
    }


    /* Doctor Card nằm dưới ảnh */

    .oreliIntro-v1 .oreliIntro__doctorCard {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        max-width: 100%;

        margin: 16px 0 0;
    }


    /* Slogan HTML trên ảnh */

    .oreliIntro-v1 .oreliIntro__slogan {
        top: 48%;
        left: 4%;

        width: 53%;
        max-width: 250px;
    }



/* ==========================================
   ORELI INTRO V1 — SLOGAN MOBILE
   Chữ nghiêng + viền trắng quanh ký tự
========================================== */



    .oreliIntro-v1 .oreliIntro__slogan {
        position: absolute;

        /* Định vị slogan trên ảnh */
        top: 53%;
        left: 5%;

        width: 90%;
        max-width: none;

        margin: 0;
        padding: 0;

        /* Nghiêng toàn bộ slogan lên */
        transform: rotate(-7deg);
        transform-origin: left center;

        z-index: 3;

        /* Không tạo box nền */
        background: transparent;
        border: 0;
        box-shadow: none;

        pointer-events: none;
    }

/* ==========================================
   HANDWRITTEN TEXT — DESKTOP
========================================== */

.oreliIntro-v1 .oreliIntro__sloganLine {
    margin: 0 0 8px;
    padding: 0;

    color: #9225a5;

    font-family: "Segoe Script", "Brush Script MT",
                 "URW Chancery L", cursive;

    font-size: clamp(22px, 2.1vw, 34px);

    font-weight: 400;
    font-style: italic;

    line-height: 1.55;
    letter-spacing: -0.5px;

    white-space: nowrap;

    /* VIỀN TRẮNG QUANH TỪNG NÉT CHỮ */
    -webkit-text-stroke: 3px #fff;
    paint-order: stroke fill;

    /* Tăng độ nổi bật trên nền ảnh */
    text-shadow:
        1px 1px 0 #fff,
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff;
}

    /* Đường gạch trang trí */
    .oreliIntro-v1 .oreliIntro__sloganUnderline {
        display: block;

        width: 28%;
        height: 3px;

        margin: 8px 0 0 15%;

        background: #9225a5;
        border-radius: 50%;

        transform: rotate(-5deg);
    }


    /* Doctor Card - Below Image */

    .oreliIntro-v1 .oreliIntro__doctorCard {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        z-index: 1;

        width: 100%;
        max-width: none;

        margin: 0;
        padding: 20px;

        background: #ffffff;

        border: 1px solid var(--oreli-border);
        border-radius: 14px;

        box-shadow: 0 8px 24px rgba(35, 24, 54, 0.07);
    }


    /* Doctor Role */

    .oreliIntro-v1 .oreliIntro__doctorRole {
        margin-bottom: 10px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }


    /* Doctor Name */

    .oreliIntro-v1 .oreliIntro__doctorName {
        margin-bottom: 6px;

        font-size: 20px;
        line-height: 1.4;
    }


    /* Doctor Description */

    .oreliIntro-v1 .oreliIntro__doctorDesc {
        margin-bottom: 14px;

        font-size: 13px;
    }


    /* Doctor Button */

    .oreliIntro-v1 .oreliIntro__doctorBtn {
        min-height: 44px;
width: 50%;
        padding: 0 15px;

        font-size: 13px;
    }

}


/* =====================================================
   11. SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .oreliIntro-v1 {
        padding: 32px 16px 38px;
    }

    .oreliIntro-v1 .oreliIntro__inner {
        gap: 24px;
    }

    .oreliIntro-v1 .oreliIntro__title {
        font-size: 30px;
    }

    .oreliIntro-v1 .oreliIntro__imageWrap {
        height: 220px;
    }

    .oreliIntro-v1 .oreliIntro__doctorCard {
        padding: 17px;
    }

    .oreliIntro-v1 .oreliIntro__doctorName {
        font-size: 19px;
    }

}

/* ==========================================
   ORELI INTRO V1 - HTML SLOGAN
========================================== */

.oreliIntro-v1 .oreliIntro__imageWrap {
    position: relative;
    isolation: isolate;
}

/* ==========================================
   SLOGAN CONTAINER
========================================== */

.oreliIntro-v1 .oreliIntro__slogan {
    position: absolute;

    top: 53%;
    left: 5%;

    z-index: 2;

    width: 47%;
    max-width: 460px;

    margin: 0;
    padding: 0;

    color: #9225a5;

    pointer-events: none;
}

/* ==========================================
   HANDWRITTEN TEXT
========================================== */

.oreliIntro-v1 .oreliIntro__sloganLine {
    margin: 0 0 8px;
    padding: 0;

    color: #9225a5;

    font-family: "Segoe Script", "Brush Script MT",
                 "URW Chancery L", cursive;

    font-size: clamp(22px, 2.1vw, 34px);

    font-weight: 400;
    font-style: italic;

    line-height: 1.55;
    letter-spacing: -0.5px;

    white-space: nowrap;

    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Tạo độ bay nhẹ cho từng dòng */

.oreliIntro-v1 .oreliIntro__sloganLine:nth-child(1) {
    transform: rotate(-4deg);
}

.oreliIntro-v1 .oreliIntro__sloganLine:nth-child(2) {
    transform: rotate(-3deg);
}

.oreliIntro-v1 .oreliIntro__sloganLine:nth-child(3) {
    transform: rotate(-4deg);
}

/* ==========================================
   DECORATIVE UNDERLINE
========================================== */

.oreliIntro-v1 .oreliIntro__sloganUnderline {
    display: block;

    width: 42%;
    height: 3px;

    margin-top: 12px;
    margin-left: 35%;

    background: #9225a5;

    border-radius: 50%;

    transform: rotate(-8deg);
}
/* =====================================================
   END ORELI INTRO V1
===================================================== */
/* ==========================================
   ORELI INTRO — WHITE STROKE SLOGAN DESKTOP
========================================== */

@media (min-width: 768px) {

    .oreliIntro-v1 .oreliIntro__sloganLine {
        -webkit-text-stroke: 2px #fff !important;
        paint-order: stroke fill;

        text-shadow:
            1px  0   0 #fff,
           -1px  0   0 #fff,
            0    1px 0 #fff,
            0   -1px 0 #fff,
            1px  1px 0 #fff,
           -1px -1px 0 #fff,
            1px -1px 0 #fff,
           -1px  1px 0 #fff !important;
    }

}