/* ==========================================================
   SECTION MASTER NGHI PROFILE STYLE
   ========================================================== */

.mn-profiles-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; 
    margin: 20px 0;
}

.mn-profile-container {
    display: flex;
    flex-direction: row;
    font-family: var(--font-family-base, 'Montserrat', sans-serif);
    background-color: var(--color-primary, #ffffff);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 500px; 
}

/* Class đảo ngược layout cho Profile 2 */
.mn-profile-container.mn-layout-reverse {
    flex-direction: row-reverse;
}

/* Cột Ảnh chiếm 45% */
.mn-profile-image {
    flex: 0 0 45%;
    width: 45%;
    height: 100%;
}

.mn-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cột Nội dung chiếm 55% */
.mn-profile-content-wrapper {
    flex: 0 0 55%;
    width: 55%;
    background-color: #F8F4E6;
    padding: 40px 30px 40px 40px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Khu vực cuộn nội dung */
.mn-profile-scroll-area {
    max-height: 100%; 
    overflow-y: auto;
    padding-right: 10px; 
    padding-top: 5px; 
}

/* Tùy chỉnh thanh cuộn */
.mn-profile-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.mn-profile-scroll-area::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}
.mn-profile-scroll-area::-webkit-scrollbar-thumb {
    background: #d4c8a9;
    border-radius: 10px;
}
.mn-profile-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #bba97e;
}

/* Định dạng Typography */
.mn-profile-name {
    font-size: 24px !important;
    font-weight: var(--font-weight-bold, 700);
    margin: 0 0 20px 0;
    line-height: 1.4; 
    padding-top: 5px; 
    color: var(--color-text-dark, #333333);
    text-transform: uppercase;
    text-align: center; 
}

.mn-profile-text {
    font-size: var(--font-size-body-s, 14px) !important;
    line-height: 1.6;
    color: #444444;
}

.mn-profile-text strong {
    font-weight: var(--font-weight-semibold, 600);
    color: #222222;
}

.mn-profile-text h3 {
    font-size: var(--font-size-body-l, 16px);
    font-weight: var(--font-weight-bold, 700);
    margin: 25px 0 10px 0;
    text-transform: uppercase;
    color: #111111;
}

.mn-profile-text h4 {
    font-size: var(--font-size-body-s, 14px);
    font-weight: var(--font-weight-bold, 700);
    margin: 15px 0 5px 0;
    color: #333333;
}

.mn-profile-text ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.mn-profile-text ul li {
    margin-bottom: 5px;
}

.mn-profile-text p {
    margin-bottom: 15px;
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .mn-profile-container,
    .mn-profile-container.mn-layout-reverse {
        flex-direction: column; 
        height: auto;
    }
    .mn-profile-image {
        flex: 1 1 100%;
        width: 100%;
        height: 350px;
    }
    .mn-profile-content-wrapper {
        flex: 1 1 100%;
        width: 100%;
        padding: 25px 20px; 
    }
    .mn-profile-scroll-area {
        max-height: 400px;
    }
}
