@charset "utf-8";

body {
    font-family: "Noto Sans JP";
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.white-page {
    background: #ffffff;
}

.second-container {
    max-width: 832px;
    margin-left: 1.5rem;
}

.hpp-container {
    width: 100%;
    height: auto;
    padding: 48px 0;
    background-color: #E5F1F5;
}

.hpp-subcontainer {
    width: 100%;
    height: auto;
    padding: 20px 0;
    background-color: #E5F1F5;
}

.hpp-maincontainer {
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.description_heading {
    font-family: Noto Serif JP;
    font-weight: 700;
    font-size: 43px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #006F97;
    border-bottom: 1px solid #006F97;
}

.para-text {
    font-family: Noto Sans JP;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 180%;
    letter-spacing: 0%;
    color: black;
    padding: 1.875rem 0 0 0;
}

.patient-row {
    justify-content: center;
}

/* ✅ CARD WRAPPER */
.card-box {
    align-items: flex-end;
    gap: 8px;
    max-width: 360px; /* ✅ controls whole card width */
    width: 100%;
}

/* ✅ IMAGE */
.pt-1img {
    width: 75px;
    height: auto;
}

/* ✅ TEXT BOXES */
.video-description-orange-noborder,
.video-description-pink-noborder {
    width: 100%;
    
}

/* ✅ DESKTOP BALANCE */
@media (min-width: 768px) {
    .card-box {
        max-width: 380px;
    }

    .video-description-orange-noborder,
    .video-description-pink-noborder {
        /* max-width: 280px; */
    }
}

.hpp_description {
    /* width: 100%; */
    height: 58px;
    font-size: 32px;
    font-weight: bold;
    background-color: #E5F1F5;
    color: #1F4061;
    text-align: center;
    padding: 10px;
    border-radius: 2rem;
    margin-top: 3rem;
   
}

.patientdetails {
    color: #006F97;
    font-family: Noto Serif JP;
    font-weight: 700 !important;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    font-variation-settings: normal !important;
    font-optical-sizing: auto;
}

.descriptionsub_heading {
    font-family: Noto Serif JP;
    font-weight: 700;
    font-style: Bold;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #006F97;
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.tag-box {
    width: 100%;
    max-width: 880px;
    text-align: center;
    justify-content: center;
    display: inline-block;
    background: #4F64A7;
    color: white;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 24px;
    margin-top: 3rem;
    /* This creates that cut corner */
    clip-path: polygon( 0 0, 100% 0, 100% 70%, 95% 100%, 0 100% );
}

.arrow-left {
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 25px solid transparent;
    border-right: 38px solid #F8E8D8;
    transform: translate(-15px, -100%);
    position: absolute;
    bottom: 0%;
    left: 82px;
}

.pinkarrow-left {
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 25px solid transparent;
    border-right: 38px solid #FBDEE1;
    transform: translate(-15px, -100%);
    position: absolute;
    bottom: 0%;
    left: 82px;
}

.pink-discription {
    position: relative;
    margin-left: 0rem;
}

.box-text {
    font-family: Noto Sans JP;
    font-weight: 400;
    font-style: Regular;
    font-size: 17px;
    line-height: 150%;
    letter-spacing: 0%;
}

.video-description-orange-noborder {
   
    width: clamp(260px, 75%, 294px);
    
    font-size: 17px;
    font-weight: 400;
    color: #000000;
    text-align: left;
    background-color: #F8E8D8;
    padding: 16px 20px 16px 20px;
    border-radius: 20px;
    border: none;
    line-height: 150%;
    
}

.box-wrapper {
    position: relative;
}

/* TEXT BOX */
.content-box {
    padding: 20px 20px 20px 80px; /* leave space for image */
    /*border-radius: 15px;*/
}

/* COLORS */
.orange-box {
    background-color: #f5e1cc;
}

.pink-box {
    background-color: #f5d6db;
}

/* IMAGE POSITION */
.avatar-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
}

/* MOBILE FIX */
@media (min-width:768.1px) and(max-width:830px) {


    .content-box {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

.video-description-pink-noborder {
    width: clamp(260px, 75%, 294px);
    max-width: 294px;
    font-size: 17px;
    font-weight: 400;
    color: #000000;
    text-align: left;
    background-color: #FBDEE1;
    padding: 16px 20px 16px 20px;
    border-radius: 20px;
    border: none;
    line-height: 150%;
    /* margin-left: -1rem; */
}

.note-endtext {
    font-size: 15px;
    font-weight: normal;
    margin-top: 1rem;
    justify-content: flex-end;
    text-align: end;
    display: flex;
    color: #000000;
    border-bottom: 1px solid #898989;
    padding-bottom: 2rem;
}

.hpp-section {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    line-height: 150%;
}

.hpp_subheading {
    font-family: Noto Sans JP;
    font-weight: 500;
    font-style: Medium;
    font-size: 22px;
    color: #000000;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    max-width: 877px;
    width: 100%;
    height: 33px;
    opacity: 1;
}

.inbox-text {
    font-family: Noto Sans JP;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 0%;
}



.custom-list {
    width: 100%;
    max-width: 861px;
    /* text-align: center; */
    font-family: Noto Sans JP;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 180%;
    letter-spacing: 0%;
    color: #000000;
    list-style: none;
    counter-reset: my-counter;
}

    .custom-list li {
        counter-increment: my-counter;
        display: flex;
    }

        .custom-list li::before {
            content: counter(my-counter) ")";
            font-weight: normal;
            margin-right: 10px;
            font-size: 12px;
        }

.literature-list {
    margin: auto;
    width: 100%;
    max-width: 880px;
    padding-bottom: 5rem;
}

.literature-subheading {
    color: #000000;
    font-size: 14px;
    ;
}

.content-box {
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid #898989;
    padding: 16px 14px;
    background-color: #fff;
    font-size: 13px;
    line-height: 1.6;
    color: #000000;
}

.section {
    margin-bottom: 20px;
}

    .section:last-child {
        margin-bottom: 0;
    }

.section-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}
.birthdayimg img {
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.birthdayimg img:hover {
        opacity: 0.6;
    }
.second-container {
    max-width: 832px;
    margin-left: 0rem;
}
@media (min-width: 768px) {
    .patient-row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        /* gap: 20px; */
        /* margin-left:-1.5rem; */
    }
    .second-container {
        margin-left: 1.5rem;
    }
 
}

@media (min-width: 767.98px) and (min-width:880px) {
    .pink-discription {
        margin-left: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hpp_description {
        font-family: Noto Sans JP;
        font-weight: 700;
        font-style: Bold;
        font-size: 24px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        padding: 10px;
        width: auto;
        height: auto;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .description_heading {
        font-size: 32px;
        padding: 1rem;
    }

    .para-text {
        font-size: 18px;
    }

    .patientdetails {
        font-size: 32px;
    }

    .patientdetails-text {
        font-size: 28px;
    }

    .hpp-section {
        font-size: 18px;
    }

    .tag-box {
        font-size: 20px;
        padding: 15px 24px;
    }

    .pt-1img {
        width: 75px;
        height: 76.5px;
    }

    .arrow-left {
        left: 85px;
    }

    .pinkarrow-left {
        left: 85px;
    }

    .pink-discription {
        position: relative;
        margin-left: 0rem;
    }

    .note-endtext {
        font-size: 13px;
    }

    .hpp-subcontainer {
        padding: 32px 16px;
    }

    .hpp_subheading {
        font-size: 20px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .literature-list {
        width: 358px;
    }

    .content-box {
        max-width: 358px;
    }
}
