#item-detail {
	position: relative;
	display: inline-block;
	width: 100%;
	vertical-align: top;
	padding: 10px 20px 30px;
	box-sizing: border-box;
	color: #ffffff;
	line-height: 1.5;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	border-left: 1px solid #ffffff24;
	border-top: 1px solid #ffffff0c;
}

#item-detail > h1 {
	position: relative;
	/* margin: 20px 5px; */
	text-transform: capitalize;
	word-break: break-word;
	padding: 0;
	/* color: rgba(255, 255, 64, 1); */
}

#item-detail img {
	max-width: 100% !important;
}

#item-detail > .general,
#item-detail > .text-links,
#item-detail > .text-paragraphs,
#item-detail > .photo-links,
#item-detail > .photos {
	width: 100%;
	padding: 10px 0px;
	word-break: break-word;
	box-sizing: border-box;
}
#item-detail h3 {
	/* color: rgb(255, 255, 64); */
	/* font-size: 25px; */
	text-transform: capitalize;
}
#item-detail h3.title {
	font-size: 16px;
	font-weight: 400;
}
#item-detail > .text-links > h3::after,
#item-detail > .photo-links > h3::after,
#item-detail > .photos > h3::after {
	content: ":";
}

#item-detail > .general > .poster {
	display: inline-block;
	max-width: 50%;
}
#item-detail > .general > .poster > img {
	max-width: 100%;
	max-height: 350px;
	object-fit: cover;
}
#item-detail > .general > .detail {
	display: inline-block;
	max-width: 50%;
	vertical-align: top;
}
#item-detail > .general > .detail > h4 {
	margin-top: 0px;
}
#item-detail > .general > .detail > .wrap {
	margin-bottom: 15px;
}
#item-detail > .general > .detail .title {
	display: inline-block;
	text-transform: capitalize;
	color: #ffffff99;
}
#item-detail > .general > .detail .title::after {
	content: ":";
	padding-right: 5px;
	color: #ffffff99;
}
#item-detail > .general > .detail .content {
	display: inline-block;
	text-transform: capitalize;
	color: #ffffff99;
}
#item-detail > .general > .detail .content.url {
	text-transform: none;
	padding: 0 5px;
	color: #ffffff99;
}

#item-detail > .text-paragraphs > span {
	display: block;
	margin: 1em 0;
	word-break: break-word;
}
#item-detail > .text-paragraphs table th,
#item-detail > .text-paragraphs table td {
	border: 1px solid white;
	padding: 5px;
}

#item-detail > .text-links > .wrap {
	width: 100%;
	min-width: auto;
}
#item-detail > .text-links > .wrap > a {
	display: block;
	width: 100%;
	margin: 20px 0;
	padding: 20px;
	color: white;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(112, 112, 112, 1);
	text-align: justify;
	text-decoration: none;
	border-radius: 5px;
}
#item-detail > .text-links > .wrap > a:hover {
	background-color: rgba(208, 208, 208, 0.5);
}

#item-detail > .photo-links > h3 {
	margin-bottom: 10px;
}

#item-detail > .photos > .wrap {
	padding-bottom: 5px;
	box-sizing: border-box;
}
#item-detail > .photos img {
	display: inline-block;
	max-width: 100%;
	height: 220px;
	object-fit: cover;
}

#item-detail .item-detail__content .divider {
	margin-block: 30px;
	border-color: #ffffff33;
}

#item-detail .item-detail__content img {
	margin-bottom: 20px;
}

#item-detail blockquote {
	font-style: italic;
	border-left: 3px solid #ccc;
	padding-left: 15px;
	margin: 5px 20px;
}

h6 {
	margin: 0;
}

@media only screen and (min-width: 800px) {
	#item-detail {
		/* background-color: rgba(255, 255, 255, .1); */
		border-radius: 8px;
		padding-bottom: 0;
		margin-bottom: 20px;
	}

	#item-detail {
		padding-bottom: 0;
		margin-bottom: 20px;
	}

  #item-detail .text-paragraphs h1 {
    font-size: 20px;
  }
  #item-detail .text-paragraphs h2 {
    font-size: 18px;
  }
  #item-detail .text-paragraphs h3 {
    font-size: 16px;
  }
  #item-detail .text-paragraphs h4 {
    font-size: 14px;
  }
  #item-detail .text-paragraphs h5 {
    font-size: 13px;
  }
  #item-detail .text-paragraphs h6 {
    font-size: 12px;
  }
}

@media only screen and (max-width: 799px) {
	#item-detail {
		width: 100%;
	}

	#item-detail > h1 {
		display: block;
		width: auto;
		padding: 0 5px;
		font-size: 26px;
	}

	#item-detail > .rating {
		position: relative;
		display: block;
		text-align: center;
	}

	#item-detail > .text-links,
	#item-detail > .text-paragraphs,
	#item-detail > .photo-links,
	#item-detail > .photos {
		text-align: justify;
	}

	#item-detail > .general {
		text-align: center;
	}
	#item-detail > .general > .poster {
		display: block;
		max-width: 100%;
	}
	#item-detail > .general > .detail {
		display: block;
		max-width: 100%;
		margin-top: 15px;
		text-align: left;
	}

	#item-detail > .text-links > .wrap {
		padding: 0;
		text-align: center;
	}

	#item-detail > .photos img {
		width: 100%;
	}

	#item-detail > .general > .detail .title,
	#item-detail h3 {
		/* font-size: 14px; */
	}
	#item-detail > .general > .detail .content {
		font-size: 14px;
	}
	#item-detail > .photos img {
		width: 100%;
	}

	#item-detail .item-detail__content p {
		font-size: 14px;
	}
  #item-detail .text-paragraphs h1 {
    font-size: 0.35rem;
  }
  #item-detail .text-paragraphs h2 {
    font-size: 0.32rem;
  }
  #item-detail .text-paragraphs h3 {
    font-size: 0.3rem;
  }
  #item-detail .text-paragraphs h4 {
    font-size: 0.28rem;
  }
  #item-detail .text-paragraphs h5 {
    font-size: 0.26rem;
  }
  #item-detail .text-paragraphs h6 {
    font-size: 0.24rem;
  }
}

.container-inner-detail {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	z-index: 1;
}

.text-links .wrap {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	overflow: hidden;
	margin-bottom: 30px;
}

.text-links .wrap a {
	text-decoration: none;
}
.text-links .wrap a:hover {
	color: #24b26b;
}

.banner img:nth-of-type(2) {
	display: none;
}

.text-paragraphs.item-detail__content p:first-of-type::first-letter {
	font-size: 2em;
}

.text-paragraphs.item-detail__content .ql-table-better p:first-of-type::first-letter {
	font-size: initial;
}

/* Add Indent support */
.text-paragraphs.item-detail__content .ql-indent-1 { margin-left: 3em; }
.text-paragraphs.item-detail__content .ql-indent-2 { margin-left: 6em; }
.text-paragraphs.item-detail__content .ql-indent-3 { margin-left: 9em; }
.text-paragraphs.item-detail__content .ql-indent-4 { margin-left: 12em; }
.text-paragraphs.item-detail__content .ql-indent-5 { margin-left: 15em; }
.text-paragraphs.item-detail__content .ql-indent-6 { margin-left: 18em; }
.text-paragraphs.item-detail__content .ql-indent-7 { margin-left: 21em; }
.text-paragraphs.item-detail__content .ql-indent-8 { margin-left: 24em; }

ol li[data-list="bullet"]{
  list-style-type: disc !important;
}

ol li[data-list="ordered"]{
  list-style-type: decimal !important;
}


p.banner-desc-text {
	color: rgba(255, 255, 255, 0.8);
}

/* Desktop 800px */
@media only screen and (min-width: 800px) {
	.container-inner-detail {
		flex-direction: row;
	}
	.container-inner-detail aside {
		width: 100%;
		max-width: 360px;
		min-width: 300px;
	}
}

/* Mobile 799px */
@media only screen and (max-width: 799px) {
	aside {
		width: 100%;
		margin-top: 1rem;
	}
	#container.container-inner-detail {
		position: relative;
		margin-top: -1.25rem;
		z-index: 2;
	}
	#item-detail {
		backdrop-filter: blur(50px);
	}
	.banner {
		height: auto;
		padding-top: 0;
		margin-bottom: 0;
	}
	.banner img:nth-of-type(1) {
		display: none;
	}
	.banner img:nth-of-type(2) {
		display: block;
		width: 100%;
	}
	.banner .banner-desc {
		padding: 1rem 0.785rem 1.05rem;
	}
	.banner.banner-template-listing .banner-desc {
		padding: 1rem 0.3rem 0.35rem;
	}
	.banner.banner-template-listing .banner-desc:after,
	.banner.banner-template-listing .banner-desc:before {
		display: none;
	}
	.banner::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: 10%;
		opacity: 0.5;
		background: linear-gradient(
			180deg,
			rgba(14, 51, 80, 1) 0%,
			rgba(14, 51, 80, 0.81) 50%,
			rgba(14, 51, 80, 0) 100%
		);
	}

	.banner::before {
		z-index: 1;
	}

	.body-inner-article #body-wrapper {
		padding-top: 0;
	}

	.body-inner-article #main-header,
	.body-faq-page #main-header {
		background: none;
	}
	.body-inner-article .h5_logo,
	.body-faq-page .h5_logo {
		display: none;
	}
	.body-inner-article #body-wrapper,
	.body-faq-page #body-wrapper {
		padding-top: 0;
	}

	.text-links .wrap {
		margin-bottom: 10px;
	}

	p.banner-desc-title {
		font-size: 0.36rem;
		margin-bottom: 0.15rem;
	}

	.banner-desc-text {
		font-size: 0.24rem;
		color: rgba(255, 255, 255, 0.8);
	}
}

/* clamped paragraph */
.clamped-paragraph {
	position: relative;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-height: 1.5em;
	max-height: calc(1.5em * 4);
	transition: max-height 0.4s ease-in-out;
}

.paragraph-container.expanded {
	-webkit-line-clamp: unset;
	display: block;
	max-height: none;
}
