/*
Theme Name: DaihocThuyloi
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*Responsive Text to Speech*/
.voice-controls {
  display: flex;
  justify-content: left;
  gap: 12px;
  margin: 20px auto;
}

.voice-controls button {
  width: 46px;
  height: 46px;
  background-color: #b31b34;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s;
  cursor: pointer;
}

.voice-controls button:hover {
  background-color: #a0002e;
  transform: translateY(-2px);
}

.voice-controls button:active {
  transform: scale(0.95);
  background-color: #870026;
}

.voice-controls button i {
  pointer-events: none;
}

/* Mobile tweak */
@media screen and (max-width: 480px) {
  .voice-controls {
	justify-content: center;
    gap: 10px;
  }
  .voice-controls button {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}
/*Single Tổ Chức*/

/* ==== NỀN HOA VĂN ==== */
.to-chuc{
    background-image: url('/wp-content/uploads/2025/07/Trong-Dong-6.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.work-experience-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
/* ==== KHUNG HỒ SƠ THÀNH VIÊN ==== */
.person-profile-wrapper {
    max-width: 1000px;
	margin:auto;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
}

/* ==== PHẦN HEADER ==== */
.person-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: #f9f9f975;
}

.person-image {
    flex-shrink: 0;
}

.person-image img {
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.person-info-box {
    flex-grow: 1;
    min-width: 250px;
}

/* ==== CHỨC DANH HIỆN TẠI ==== */
.person-current-title h3 {
	text-align: center;
    display: inline-block;
    background: #d71d24;
    color: #fff;
    padding: 8px 20px;
    font-size: 18px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ==== HỌ TÊN ==== */
.person-name {
    font-size: 28px;
    font-weight: bold;
    color: #111;
    margin: 10px 0 15px;
}

/* ==== THÔNG TIN CHI TIẾT ==== */
.person-details {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    font-size: 16px;
}

.person-details li {
    margin-bottom: 8px;
}

.person-details .detail-label {
    font-weight: bold;
    color: #555;
    min-width: 80px;
    display: inline-block;
}

/* ==== PHẦN CHỨC VỤ ==== */
.person-section {
	padding: 10px;
	background-color: #f9f9f975;
}

.person-section h2 {
    text-transform: uppercase;
    font-size: 25px;
    color: #b70a0a;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
	font-weight: 900;
}

.person-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #b70a0a;
    margin: 10px auto 0;
}

/* ==== DANH SÁCH CHỨC VỤ ==== */
.positions-grid, .positions-single-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.position-item {
    background-color: #fef2f2;
    border: 2px solid #d71d24;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
	
}
.position-item p{
	margin-bottom: 0rem!important;
}

/* ==== TIỂU SỬ ==== */
.person-bio-content {
    background: #fff5f5;
    padding: 20px;
    border-left: 5px solid #d71d24;
    border-radius: 5px;
    line-height: 1.6;
    font-size: 16px;
    color: #444;
}

.timeline-v2 {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-v2::before {
  content: "";
  position: absolute;
  top: 1vh;
  bottom: 1vh;
  left: 50%;
  width: 3px;
  background: #b31b34;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-v2 li {
  position: relative;
  width: 100%;
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-v2 li::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  background: white;
  border: 4px solid #b31b34;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-v2 li.left .timeline-date {
  order: 1;
  text-align: right;
  width: 45%;
/*   font-weight: bold; */
  color: #b31b34;
  padding-right: 20px;
	font-size:20px;
}

.timeline-v2 li.left .timeline-content {
  order: 2;
  text-align: left;
  width: 45%;
  padding-left: 20px;
  color: #000;
  font-size: 18px;
}

.timeline-v2 li.right .timeline-date {
  order: 2;
  text-align: left;
  width: 45%;
/*   font-weight: bold; */
  color: #b31b34;
  padding-left: 20px;
	font-size:20px;
}

.timeline-v2 li.right .timeline-content {
  order: 1;
  text-align: right;
  width: 45%;
  padding-right: 20px;
  color: #000;
  font-size: 18px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .timeline-v2 li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
  }

  .timeline-v2 li::before {
    left: 0;
    transform: none;
  }

  .timeline-v2::before {
    left: 10px;
    transform: none;
	 left: 1.7vw !important;
  }

  .timeline-v2 .timeline-date,
  .timeline-v2 .timeline-content {
    width: 100% !important;
    padding: 0px !important;
    text-align: left !important;
    order: unset !important;
  }
	.timeline-v2 li.left .timeline-date, .timeline-v2 li.left .timeline-content{
		width: 100% !important;
	}
}


/* ==== RESPONSIVE CHO TABLET/MOBILE ==== */
@media (max-width: 768px) {
    .person-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .person-image {
        margin-bottom: 20px;
    }

    .person-name {
        text-align: center;
		font-size: 25px;
    }

    .person-details {
        text-align: left;
    }

    .positions-grid, .positions-single-column {
        flex-direction: column;
        align-items: center;
    }

    .work-experience-list::before {
        left: 10px;
    }
	.person-current-title h3 {
		font-size: 14px!important;
	}
	.position-item {
		font-size:17px;
	}
    .work-experience-list li {
        width: 100%;
        left: 0 !important;
        padding-left: 40px;
        text-align: left !important;
        margin-bottom: 30px;
    }

    .work-experience-list li::before {
        left: 10px !important;
        right: auto;
    }
}