.video-content-image {
    height: 165px;

    img {
        width: 100%;
        height: 165px;
        /* กำหนดความสูงที่ต้องการ */
        object-fit: cover;
        /* ตัดรูปออกเมื่อเกินขนาด */
        overflow: hidden;
        /* ซ่อนส่วนเกิน */
    }
}

.video-content-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    font-weight: var(--bermahadev-font-w-bold);
}

.video-content-desciption {
    overflow: hidden;
    /* ซ่อนข้อความเกิน */
    display: -webkit-box;
    /* ใช้ box model ของ webkit */
    -webkit-box-orient: vertical;
    /* กำหนดทิศทางการแสดงผล */
    -webkit-line-clamp: 2;
    /* จำกัดจำนวนบรรทัดที่แสดง */
    text-overflow: ellipsis;
    /* แสดง ... เมื่อข้อความเกิน */
    height: 50px;
    font-weight: var(--bermahadev-font-w-regular);
}

.card-video-content {
    height: calc(165px + 50px + 23px + 16px + 16px);
}

.bg-vdo-content {
    background: linear-gradient(152deg, #EDEDED 0%, #EEEEEE 60%, #EDEDED 100%);
}

.bg-vdo-card {
    background-color: transparent;
    border: 0;
}

.bg-open-content {
    background: linear-gradient(152deg, #3D7B74 0%, #22534D 19%, #19403D 60%, #3D7B74 100%);
    border-top: 4px solid #C09457;
}

.bg-review-content {
    background-color: #E7DFD1;
}

.bermahadev-present {
    background: linear-gradient(180deg, #075E4C 0%, #19403D 83%);
    border-color: #C09457;
    border-width: 2px;
    border-style: solid;
    border-radius: 56px;
    box-shadow: 11px 10px 4px #0000003b;
    padding: 30px 60px 0px 60px;
}

.bermahadev-present-detail {
    font-size: 1.5rem;
    font-weight: var(--bermahadev-font-w-regular);;
}

.bermahadev-profile-line {
    font-size: 1.5rem;
    font-weight: var(--bermahadev-font-w-regular);;
}

.bermahadev-present-image {
    height: 50px;
}

.analyze-result-background {
    background-color: #19403D;
    min-height: 370px;
    border-top: 4px solid #C09457;
}

.analyze-broad {
    border-width: 6px;
    border-color: #C09457;
    border-style: solid;
    background-color: #EBE5D7;
    border-top-left-radius: 0;
    border-bottom-left-radius: 22px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 0;
}

.analyze-broad-outbg {
    border-width: 2px;
    border-color: #C09457;
    border-style: solid;
    background: linear-gradient(152deg, #19403D 0%, #22534D 50%, #19403D 100%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 22px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 0;
}

.text-phone-num {
    font-size: 5rem;
    font-weight: var(--bermahadev-font-w-bold);
    text-shadow: 1px 1px #0000002b;
}

.main-score{
    border-left: 4px solid #dbd6c9;
}

.text-title-score {
    font-size: 2.5rem;
    text-shadow: 1px 1px #0000002b;
}

.text-display-score {
    font-size: 5rem;
    font-weight: var(--bermahadev-font-w-bold);
    text-shadow: 1px 1px #0000002b;
}

.text-title-score-desc {
    font-size: 1.5rem;
    font-weight: var(--bermahadev-font-w-regular)

}

.analyze-phone-bar {
    background: linear-gradient(152deg, #22534D 0%, #19403D 50%, #22534D 100%);
    min-height: 370px;
}

#analyze-profile-champ, #analyze-profile-alex {

    height: 373px ;
}

.bermahadev-present-profile {
    width: 100%;
}

.bermahadev-profile-name {
    font-size: 2rem;
    font-weight: var(--bermahadev-font-w-bold);
    text-shadow: 1px 1px #0000002b;
}


@media (min-width: 1329px) { 
    #analyze-profile-champ, #analyze-profile-alex {
        height: 475px !important;
    }
} 

@media (max-width: 768px) { /* md */
    .bermahadev-present{
        padding: 30px 30px;
    }

    .bermahadev-present-image {
        height: auto !important;
        width: 100% !important;
    }

    .main-score{
        display: none;
    }

    #ask-bar-profile-image > img {
        margin: auto;
        width: 100%;
    }

    .bermahadev-present-profile {
        height: 300px !important;
        width: auto !important;
    }
}

@media (max-width: 433px) {
    .bermahadev-present-profile {
        height: 250px !important;
        width: auto !important;
    }
}

@media (max-width: 368px) {
    .text-phone-num, .text-display-score {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 992px) { /* lg */

    #analyze-profile-champ #analyze-profile-alex {
        height: 373px !important;
    }

    .text-phone-num, .text-display-score {
        font-size: 2.375rem;
    }

    .text-title-score {
        font-size: 1.875rem;
    }

    .text-title-score-desc {
        font-size: 1.0rem;
    }

    .bermahadev-present {
        background: linear-gradient(180deg, #075E4C 0%, #19403D 83%);
        padding: 15px 30px 15px 30px;
    }

    .bermahadev-present-detail {
        font-size: 1rem !important;
    }

    .bermahadev-profile-line{
        font-size: 1rem !important;
    }

    .bermahadev-profile-name {
        font-size: 1.25rem !important;
    }

   
} 
