.team-skill {
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: right 500px;
}

.wid-title {
	position: relative;
}

.wid-title h3 {
	margin-left: 10px;
	margin-bottom: 30px;
}

.wid-title::before {
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	content: "";
	height: 21px;
	width: 2px;
	border-radius: 5px;
	position: absolute;
	background-color: var(--theme-2);
}

.single-sidebar-widget {
	background-color: #f3f8ffc7;
	box-sizing: border-box;
	padding: 20px;
	margin-bottom: 40px;
	border-radius: 10px;
}



.award-widget {
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	background-color: white;
	max-width: 400px;
	margin: 2rem auto;
}


.award-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid #e0e0e0;
	transition: all 0.3s ease;
}

.award-item:last-child {
	border-bottom: none;
}

.award-item:hover {
	background-color: #e7f1fa;
	border-radius: 8px;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.award-item h5 {
	margin: 0;
	font-size: 1rem;
}

.action-buttons {
	display: flex;
	align-items: center;
}

.btn-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.111);
	transition: all 0.3s ease-in-out;
	margin-left: 0.5rem;
	border: 0;
}

.btn-circle:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	color: #fff;
}

.btn-view {
	background: linear-gradient(84deg, var(--theme) 0%, var(--theme-2) 100%);
	color: white;
}

.btn-download {
	background: linear-gradient(84deg, #ffa2a2 0%, #cb4c4c 100%);
	color: white;
}

.year-list h4 {
	font-size: 1.1rem;
}


.modal-dialog {
	max-width: 900px;
	margin: 1.75rem auto;
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 1200px;
		width: 90%;
		margin: auto;
	}
}

.modal-content {
	border-radius: 12px;
	overflow: hidden;
	max-height: 90vh;
}

.modal-header {
	background-color: #fff;
	color: white;
	padding: 15px 35px;
	border-bottom: none;
}

.modal-header h5 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 1px;
}

.modal-header .btn-close {
	color: white;
	font-size: 1.5rem;
}

/* 重要：確保modal-body有正確的滾動設置 */
.modal-body {
	padding: 10px 25px;
	overflow-y: auto;
	max-height: calc(90vh - 80px);
	/* 計算可用高度 */
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

table, th, td {
	border: 1px solid #ddd;
}

th, td {
	padding: 10px 12px;
	text-align: left;
	font-size: 0.95rem;
}

th {
	background-color: #f2f2f2;
	font-weight: 600;
	z-index: 10;
}

tr:nth-child(even) {
	background-color: #f9f9f9;
}

.award-title {
	background: linear-gradient(84deg, #5ac1ff59 0%, #5fd0dff2 100%);
	padding: 10px;
	margin: 0;
	border-radius: 5px;
	font-weight: 600;
	color: #1a5276;
	text-align: center;
	font-size: 20px;
	z-index: 9;
}


  .award-year {
	background: linear-gradient(84deg, #5ac1ff59 0%, #5fd0dff2 100%);
	padding: 6px 15px;
	margin: 10px 0;
	border-radius: 5px;
	font-weight: 500;
	color: #1a5276;
	font-size: 1rem;
	position: sticky;
	top: -10px;
	z-index: 9;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	letter-spacing: 1px;
  }

  .compact-person-card {
	display: flex;
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	padding: 8px;
	height: 100%;
	border: 1px solid #ddd;
  }

  .card-left {
	width: 120px;
	min-width: 120px;
	margin-right: 10px;
  }

  .card-left img {
	width: 100%;
	height: auto;
	border-radius: 3px;
	object-fit: cover;
  }

  .card-right {
	flex: 1;
  }

  .person-name {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 6px 0;
	padding-bottom: 4px;
	border-bottom: 1px solid #eaeaea;
  }

  .info-grid {
	margin-bottom: 6px;
  }

  .info-row {
	font-size: 0.9rem;
	margin-bottom: 2px;
	color: #444;
	display: flex;
  }

  .info-row span {
	font-weight: 500;
	color: #555;
	min-width: 65px;
	margin-right: 5px;
  }

  .person-bio {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #666;
	padding-top: 5px;
	border-top: 1px dotted #eee;
	margin-top: 3px;
  }

  /* 響應式調整 */
  @media (max-width: 767px) {
	.compact-person-card {
	  flex-direction: row;
	}
	
	.card-left {
	  width: 60px;
	  min-width: 60px;
	}
	
	.person-name {
	  font-size: 16px;
	}
  }

  @media (max-width: 575px) {
	.compact-person-card {
	  padding: 6px;
	}
	
	.card-left {
	  width: 50px;
	  min-width: 50px;
	  margin-right: 8px;
	}
	
	.info-row {
	  font-size: 0.9rem;
	}
	
	.info-row span {
	  min-width: 60px;
	}
  }
  
  
  .demo-title {
	text-align: center;
	margin-bottom: 30px;
	color: #444;
  }
  
  .name-card {
	margin-bottom: 30px;
  }
  
  .section-title {
	font-size: 18px;
	margin-bottom: 15px;
	color: #1a5276;
	font-weight: 600;
	padding-left: 10px;
	border-left: 3px solid #2196F3;
  }
  /* 滾軸 */
  .year-list {
	max-height: 330px; 
	overflow-y: auto; 
	padding-right: 5px;
  }

  .btn-close:focus{
	box-shadow: none
  }

  .download .theme-btn:hover span{
	color: #2196F3;
  }