/*====================================
# sec-speaker
==================================== */
.sec-speaker {
	background-image: url(../img/bg.png);
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	margin: 0 3rem 2rem;
	background-color: #fff;
	border-radius: 2em;
}

@media (max-width: 1200px) {
	.sec-speaker {
		margin: 0 1rem;
	}
}

@media (max-width: 767px) {
	.sec-speaker {
		margin: 0 0.5rem;
	}
}

.speaker-page h1 span,
.sec-speaker h1 span {
	color: #858585;
	font-size: 1.4rem;
	line-height: 1.7;
	letter-spacing: 1px;
}

.sp-box {
	position: relative;
	height: 90%;
	border-radius: 10px 10px 0 0;
	margin-bottom: 3rem;
	padding: 2rem 1.3rem 1.5rem 1.3rem;
	background-color: var(--black);
	box-shadow: 0 3px 8px #b3b3b350;
	transition: all 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
}

.sp-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px #d1d1d150;
}

.sp-box h5 {
	display: inline-block;
	font-size: 18px;
	padding-top: 1rem;
	color: var(--main);
}

.sp-box p {
	padding: 0.4rem 0;
	color: #fff;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	line-height: 1.2rem;
	/* Limit the Text line */
	-webkit-line-clamp: 1;
}

.imgbox {
	position: relative;
}

.imgbox img {
	border-radius: 0.5em;
	width: 100%;
}

/*====================================
# speaker-info
==================================== */
.speaker-info {
	position: relative;
}

.speaker-info .imgbox {
	max-width: 220px;
	border-radius: 10px;
	box-shadow: 0 3px 8px #b3b3b350;
	border: 2px solid var(--C3);
	overflow: hidden;
}

.speaker-txt {
	margin-top: 20px;
	font-size: 20px;
}

@media (max-width: 767px) {
	.speaker-info .imgbox {
		max-width: 250px;
		margin: 0 auto 20px auto;
	}
}

/*====================================

==================================== */
.speech-list {
	list-style: none;
}

.speech-list h5 {
	color: #212121;
}

.speech-list h5:hover {
	color: var(--main);
}

.speech-list li {
	position: relative;
	padding-left: 10px;
	color: #666666;
	border-bottom: 1px solid #cfcfcf;
	padding: 0 10px 12px;
	margin-bottom: 12px;
}

.speech-list li::before {
	content: "";
	width: 12px;
	height: 12px;
	background-color: var(--Color2);
	position: absolute;
	top: 10px;
	left: -20px;
}

/*====================================
講者議程
==================================== */
.agenda-info {
	background-color: var(--black);
	border-radius: 30px 30px 0 0;
}

.btn-share {
	padding: 0.5rem 0;
	display: flex;
}

@media (max-width: 767px) {
	.btn-share {
		justify-content: center;
	}
}
.btn-share .share-icon {
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn-share .share-box {
	position: relative;
	margin-right: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--main);
	color: #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	box-shadow: 0 3px 8px #d1d1d150;
	transition: all 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
}

.btn-share .share-box:hover {
	color: #fff;
	opacity: 0.9;
	transform: translateY(-2px);
	box-shadow: 8px 8px 16px #d1d1d150;
}

.agenda-box {
	background-color: #fff;
	padding: 2.8rem 2.4rem;
	margin-bottom: 1.2rem;
	border-radius: 0.5em;
}

.agenda-box span {
	color: #797979;
	padding: 0;
	font-size: 18px;
}
.agenda-box h4 {
	color: var(--main);
}

.agenda-box p {
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	/*行數*/
	-webkit-box-orient: vertical;
	white-space: normal;
	margin-bottom: 0.2em;
}

.agenda-box .p {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
}

.agenda-box .m-btn {
	display: block;
	margin: 0 auto 0.5rem 0;
	padding: 0.3em 1em;
	width: 150px;
	font-size: 20px;
}
