/* CSS Document */
/******************************
7. Home
8. Course Content
9. Sidebar
******************************/

/*********************************
7. Home
*********************************/
.home
{
	width: 100%;
	padding-top: 100px;
	padding-left: 24px;
	padding-right: 24px;
}
.home_outer
{
	width: 100%;
	border-radius: var(--border_rad_l);
}
.home_inner
{
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
    padding-top: 15px;
    padding-bottom: 20px;
}
.home_icon
{
    width: 24px;
    height: 24px;
    fill: var(--body_text);
	-webkit-transform: translateY(1px);
	-moz-transform: translateY(1px);
	-ms-transform: translateY(1px);
	-o-transform: translateY(1px);
	transform: translateY(1px);
}
.breadcrumbs a .home_icon:hover
{
	fill: var(--primary_color_light);
}
.chevron_right
{
    width: 24px;
    height: 24px;
    fill: var(--body_text);
	-webkit-transform: translateY(2px);
	-moz-transform: translateY(2px);
	-ms-transform: translateY(2px);
	-o-transform: translateY(2px);
	transform: translateY(2px);
}
.breadcrumbs > div
{
	flex-shrink: 0;
}
.breadcrumbs_link
{
	margin-right: 3px;
}
.breadcrumbs a
{
    font-size: 14px;
    font-weight: 400;
    color: var(--body_text);
}
.breadcrumbs a:hover
{
    color: var(--primary_color_light);
}
.home_title
{
	margin-top: 18px;
}
.home_title h1
{
	font-size: 32px;
}
.home_description
{
	margin-top: 12px;
	/* max-width: 560px; */
}
.home_rating_container
{
	margin-top: 16px;
}
.star_full
{
	width: 17px;
	height: 17px;
	fill: var(--body_text);
	margin-right: 3px;
}
.star_half
{
	width: 17px;
	height: 17px;
	fill: var(--body_text);
	margin-right: 3px;
}
.home_rating
{
	margin-right: 8px;
}
.home_rating_num
{
	font-size: 14px;
	font-weight: 600;
	color: var(--body_text);
	margin-right: 8px;
}
.home_rating_count
{
	font-size: 14px;
	font-weight: 400;
	color: var(--body_text);
}
.home_author
{
	margin-top: 17px;
}
.home_author p
{
	font-size: 14px;
	margin-right: 4px;
}
.home_author a
{
	font-size: 14px;
	font-weight: 400;
	color: var(--body_text);
	text-decoration: underline;
}
.home_author a:hover
{
	color: var(--primary_color_light);
}

/*********************************
8. Course Content
*********************************/

.course_main_content
{
	margin-top: 10px;
}
.feature_box
{
	width: calc((100% - 48px) / 3);
	padding-top: 29px;
	padding-bottom: 34px;
	border: solid 1px var(--divider);
	border-radius: var(--border_rad_l);
	margin-bottom: 24px;
}
.feature_box svg
{
	width: 18px;
	height: 18px;
	fill: var(--primary_text);
}
.feature_title
{
	font-size: 16px;
	font-weight: 600;
	color: var(--primary_text);
	margin-top: 12px;
}
.feature_box p
{
	font-size: 14px;
	color: var(--body_text);
	margin-top: 4px;
}
.course_nav
{
	margin-top: 42px;
}
.details_container
{
	padding-top: 12px;
	border-top: solid 1px var(--divider);
	border-bottom: solid 1px var(--divider);
	margin-top: 26px;
}
.details_item
{
	font-size: 16px;
	font-weight: 400;
	color: var(--body_text);
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	border-radius: 30px;
	cursor: pointer;
	margin-right: 12px;
	margin-bottom: 12px;
}
.details_item:hover
{
	background-color: var(--divider);
}
.details_item.active
{
	color: var(--primary_color_light);
	background-color: var(--divider);
}
.section_feature_check_list
{
	margin-top: 66px;
}
.feature_check_list
{
	margin-top: 18px;
}
.feature_check_list > div
{
	width: 50%;
	padding-right: 24px;
}
.feature_check_item
{
	margin-bottom: 16px;
}
.feature_check_item svg
{
	width: 21px;
	height: 21px;
	fill: var(--primary_color_light);
	margin-top: 4px;
	flex-shrink: 0;
}
.feature_check_item p
{
	margin-left: 14px;
}
.section_skills
{
	margin-top: 48px;
}
.course_skills_list
{
	margin-top: 25px;
}
.course_skills_list > div
{
	font-size: 14px;
	color: var(--body_text);
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 16px;
	padding-right: 16px;
	border: solid 1px var(--divider);
	border-radius: 20px;
	margin-right: 8px;
	margin-bottom: 8px;
}
.section_certificate
{
	margin-top: 59px;
}
.section_certificate p
{
	margin-top: 20px;
}
.section_teachers
{
	margin-top: 60px;
}
.teachers_container
{
	margin-top: 25px;
}
.teacher
{
	margin-bottom: 12px;
}
.teacher_pic
{
	width: 245px;
	height: 297px;
	border-radius: var(--border_rad_l);
	overflow: hidden;
	margin-right: 12px;
	flex-shrink: 0;
}
.teacher_content
{
	width: 100%;
	padding-left: 24px;
	padding-top: 24px;
	padding-bottom: 24px;
	padding-right: 32px;
	border: solid 1px var(--divider);
	border-radius: var(--border_rad_l);
}
.teacher_pic_sm
{
	display: none;
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	margin-right: 20px;
	flex-shrink: 0;
	flex-grow: 0;
}
.teacher_name
{
	font-size: 20px;
	font-weight: 600;
	color: var(--primary_text);
	margin-top: -3px;
}
.teacher_title
{
	font-size: 14px;
	color: var(--primary_color_light);
	margin-top: 3px;
}
.teacher_rating
{
	margin-top: 5px;
}
.teacher_rating img
{
	width: 14px;
	height: 13px;
	flex-shrink: 0;
	margin-right: 8px;
}
.teacher_rating_num
{
	font-size: 14px;
	font-weight: 600;
	color: var(--body_text);
	margin-right: 8px;
}
.teacher_rating_count
{
	font-size: 14px;
	font-weight: 400;
	color: var(--body_text);
}
.teacher_description
{
	margin-top: 14px;
}
.teacher_description p
{
	font-size: 16px;
	color: var(--body_text);
}
.teacher_social
{
	margin-top: 8px;
}
.teacher_social .social_links_container svg
{
    fill: var(--body_text);
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}
.teacher_social .social_links_container div:not(:last-child)
{
	margin-right: 12px;
}
.section_similar
{
	margin-top: 66px;
	padding-bottom: 72px;
}


/*********************************
9. Sidebar
*********************************/

/* .sidebar
{
	padding-left: 24px;
	margin-top: -326px;
} */
.sidebar_pic
{
	border-radius: var(--border_rad_l);
	overflow: hidden;
	height: 219px;
    margin-top: 20px;
    border-radius: 12px;
    /* overflow: hidden; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 設定固定寬高比 */
    /* aspect-ratio: 16/9;   */

}

.background_image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

/* Tab 樣式 */
.nav-tabs .nav-link {
    color: #495057;
    background-color: #f8f9fa;
    border-color: #dee2e6 #dee2e6 #fff;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    transition: all 0.3s;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: bold;
}

.nav-tabs .nav-link:hover {
    background-color: #e9ecef;
}

/* 課程資訊樣式 - 修改為類似圖片中的格式 */
.course_info_list {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    background-color: #fff;
    border-radius: 5px;
}

.course_info_item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.course_info_item:last-child {
    border-bottom: none;
}

.course_info_item>div:first-child {
    color: #333;
    padding-left: 10px;
}

.course_info_item>div:last-child {
    flex: 1;
    padding-left: 20px;
}

/* 學習單元樣式 */
.unit_item {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fff;
}

.unit_title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.unit_description {
    color: #666;
    margin-bottom: 8px;
}

.unit_name {
    color: #888;
    font-size: 14px;
}

/* 學習單元活動樣式 */
.unit_activities {
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.unit_activities_title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.unit_activity_item {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.unit_activity_item:last-child {
    border-bottom: none;
}

.unit_activity_item i {
    margin-right: 8px;
    color: #28a745;
}
