/* หน้ารายละเอียดข่าวสาร / บทความ - สไตล์โมเดิร์น
   Scoped to .article-modern; palette #062452 / #0a4091 / #17396c / #f5f8fc
   ใช้ที่ page/news_detail.blade.php
   ดีไซน์ต้นทาง: suntec-design/news/งานจัดเลี้ยงบริษัท/งานเลี้ยงต้อนรับปีใหม่-ปี-2020-crazy-party-...html */

.news-details.article-modern {
	background: #f5f8fc;
	padding: 52px 0 72px;
}

/* ---- คอลัมน์เนื้อหา ---- */
.news-details.article-modern .news-details__left .blog-one__single {
	background: #ffffff;
	border: 1px solid rgba(23, 57, 108, .10);
	border-radius: 18px;
	box-shadow: 0 14px 34px -24px rgba(6, 36, 82, .40);
	margin-bottom: 26px;
	overflow: hidden;
}

.news-details.article-modern .news-details__left .blog-one__single-img {
	aspect-ratio: 970 / 680;
	overflow: hidden;
}

.news-details.article-modern .news-details__left .blog-one__single-img img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.news-details.article-modern .news-details__left .blog-one__single-content {
	padding: 24px 28px 28px;
}

/* ---- ข้อมูลกำกับ (วันที่ / ผู้เขียน) ----
   ดีไซน์ต้นทางครอบข้อความไว้ด้วย <a href="#"> ที่กดแล้วไม่ไปไหน (CSS ยังสั่ง cursor: default ทับอีกที)
   ที่นี่ใช้ <li> ตรง ๆ จึงย้ายสไตล์ที่ธีมผูกไว้กับ li a มาไว้ที่ li แทน */
.news-details.article-modern .blog-one__single-content .meta-info {
	border-bottom: 1px solid rgba(23, 57, 108, .10);
	margin-bottom: 16px;
	padding-bottom: 14px;
}

.news-details.article-modern .blog-one__single-content .meta-info li {
	color: #6b7c96;
	font-family: 'promptregular';
	font-size: 13px;
	line-height: 24px;
	padding-left: 0;
	padding-right: 18px;
}

.news-details.article-modern .blog-one__single-content .meta-info li i::before {
	color: #0a4091;
	font-size: 13px;
	padding-right: 5px;
}

/* ---- หัวข้อและเนื้อหา ---- */
.news-details.article-modern .news-details__left .blog-one__single-content h1 {
	color: #17396c;
	font-family: 'promptsemibold';
	font-size: 28px;
	line-height: 1.45;
	margin: 0 0 16px;
}

.news-details.article-modern .news-details__left .blog-one__single-content h2 {
	color: #17396c;
	font-family: 'promptsemibold';
	font-size: 20px;
	line-height: 1.5;
	margin: 24px 0 12px;
}

.news-details.article-modern .news-details__left .blog-one__single-content p {
	color: #4a5a72;
	font-size: 17px;
	line-height: 1.85;
	margin-bottom: 14px;
}

/* detail_th มาจากหลังบ้าน ภาพที่แปะมาอาจกว้างเกินคอลัมน์ */
.news-details.article-modern .news-details__left .blog-one__single-content img {
	height: auto;
	max-width: 100%;
}

/* ---- แกลเลอรีภาพ ---- */
.news-details.article-modern .product-details-area {
	background: #ffffff;
	border: 1px solid rgba(23, 57, 108, .10);
	border-radius: 18px;
	box-shadow: 0 14px 34px -24px rgba(6, 36, 82, .40);
	overflow: hidden;
	padding: 22px;
}

.news-details.article-modern .product-details {
	margin-top: 0 !important;
}

.news-details.article-modern .product-left-column {
	margin-bottom: 0 !important;
}

/* ธีมของ GlassCase ใส่กรอบเทาและ padding 3px ไว้รอบภาพ ทำให้ภาพไม่ชิดขอบการ์ด */
.news-details.article-modern .gc-display-area {
	background: transparent;
	border: 0;
	border-radius: 12px;
	margin: 0 auto;
	max-width: 100%;
	padding: 0;
}

.news-details.article-modern .gc-display-area-container,
.news-details.article-modern .gc-thumb-img {
	border-radius: 12px;
	overflow: hidden;
}

/* GlassCase ตั้งขนาดกล่องภาพเป็น px ตายตัว จัดกลางไว้ไม่ให้เหลือช่องว่างข้างเดียว */
.news-details.article-modern .glass-case,
.news-details.article-modern .product-left-column {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 100%;
}

.news-details.article-modern .gc-thumbs-area {
	margin-left: auto;
	margin-right: auto;
}

/* ---- Sidebar ---- */
.news-details.article-modern .sidebar__single {
	margin-bottom: 24px;
}

.news-details.article-modern .sidebar__search-form input[type="search"] {
	background-color: #ffffff;
	border: 1px solid rgba(23, 57, 108, .12);
	border-radius: 12px;
	font-family: 'promptregular';
	font-size: 16px;
	height: 54px;
	padding-left: 20px;
	padding-right: 56px;
}

/* ธีมตั้ง line-height ของไอคอนไว้ 70px เท่าความสูงช่องเดิม ช่องนี้เตี้ยลงเหลือ 54px
   ไอคอนจึงล้นออกนอกปุ่ม จัดกึ่งกลางด้วย flex แทน (ตำแหน่งแนวนอนคงตามธีมเดิม) */
.news-details.article-modern .sidebar__search-form button[type="submit"] {
	align-items: center;
	color: #0a4091;
	display: flex;
	justify-content: center;
}

.news-details.article-modern .sidebar__search-form button span::before {
	line-height: 1;
}

.news-details.article-modern .sidebar__categories,
.news-details.article-modern .sidebar__latest-posts {
	background: #ffffff;
	border: 1px solid rgba(23, 57, 108, .10);
	border-radius: 18px;
	box-shadow: 0 12px 30px -22px rgba(6, 36, 82, .40);
	padding: 24px 22px 22px;
}

.news-details.article-modern .sidebar__single .title {
	margin-bottom: 16px;
	padding-bottom: 12px;
	padding-left: 0;
	position: relative;
}

.news-details.article-modern .sidebar__single .title::after {
	background: #0a4091;
	border-radius: 2px;
	bottom: 0;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	width: 36px;
}

.news-details.article-modern .sidebar__single .title h2 {
	color: #17396c;
	font-family: 'promptsemibold';
	font-size: 18px;
	line-height: 1.5;
}

/* ---- หมวดหมู่ ---- */
.news-details.article-modern .sidebar__categories-list li a {
	border-radius: 10px;
	color: #4a5a72;
	font-size: 15px;
	padding: 9px 14px;
}

.news-details.article-modern .sidebar__categories-list li a:hover,
.news-details.article-modern .sidebar__categories-list li a.active {
	background: #f1f5f9;
	color: #0a4091;
	font-weight: 400;
}

/* ---- ข่าวล่าสุด ---- */
.news-details.article-modern .sidebar__latest-posts-list-item .img-box {
	border-radius: 10px;
	flex: 0 0 100px;
	height: 68px;
	overflow: hidden;
	width: 100px;
}

.news-details.article-modern .sidebar__latest-posts-list-item .img-box img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.news-details.article-modern .sidebar__latest-posts-list-item .title {
	margin-bottom: 0;
	padding-bottom: 0;
	padding-left: 14px;
}

.news-details.article-modern .sidebar__latest-posts-list-item .title::after {
	display: none;
}

.news-details.article-modern .sidebar__latest-posts-list-item .title h4 {
	font-family: 'promptregular';
	font-size: 14px;
	line-height: 1.6;
}

.news-details.article-modern .sidebar__latest-posts-list-item .title h4 a {
	color: #17396c;
}

.news-details.article-modern .sidebar__latest-posts-list-item .title h4 a:hover {
	color: #0a4091;
}

@media (max-width: 991px) {
	.news-details.article-modern .sidebar {
		margin-top: 34px;
	}
}

@media (max-width: 767px) {
	.news-details.article-modern {
		padding: 36px 0 52px;
	}

	.news-details.article-modern .news-details__left .blog-one__single-content {
		padding: 20px 18px 22px;
	}

	.news-details.article-modern .news-details__left .blog-one__single-content h1 {
		font-size: 22px;
	}

	.news-details.article-modern .product-details-area {
		padding: 14px;
	}
}
