.box_list_dm_ch {
	position: relative;
	padding: 60px 0;
}

.box_list_dm_ch .content-head {
	margin-bottom: 25px;
}

.hero-cau-hoi input[type="search"] {
	box-shadow: unset !important;
	border: unset;
}

.content-hd .featured-title {
	background-color: transparent;
	text-shadow: unset;
	text-transform: capitalize;
}

.filter-row button {
	margin: 0;
}

.hero-cau-hoi {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	padding-bottom: 40px;
	background-image: url(/wp-content/uploads/2026/06/bg_post.jpg);
	margin-bottom: 40px;
}

.hero-cau-hoi::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, .55) 48% 49%, transparent 49% 100%),
		repeating-linear-gradient(137deg, rgba(21, 74, 153, .045) 0 1px, transparent 1px 76px);
	opacity: .86;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	z-index: 1;
}

.hero__copy {
	padding-top: 35px;
	position: relative;
	z-index: 3;
}

.hero__plus {
	position: absolute;
	top: 40px;
	left: 385px;
	width: 65px;
	height: 65px;
	color: rgba(255, 255, 255, .96);
	filter: drop-shadow(0 12px 22px rgba(53, 120, 194, .1));
	z-index: 1;
}

.hero__title {
	margin: 0 0 15px;
	color: #0d449b;
	font-size: 45px;
	line-height: 1.08;
	letter-spacing: 0;
}

.hero__text {
	width: 508px;
	margin: 0;
	color: #000;
	font-size: 15px;
	line-height: 1.67;
	font-weight: 600;
}

.search-box {
	width: 488px;
	height: 50px;
	display: flex;
	align-items: center;
	margin-top: 20px;
	background: #ffffff;
	border: 1px solid #e2e8f1;
	border-radius: 8px;
	box-shadow: 0 11px 22px rgba(18, 58, 116, .08);
	overflow: hidden;
}

.search-box input {
	height: 100%;
	border: 0;
	outline: 0;
	color: #233d67;
	background: transparent;
	font-weight: 600;
	width: 432px;
	padding: 0 22px;
	font-size: 16px;
	margin: 0;
}


.search-box input::placeholder {
	color: #92a0b3;
}

.search-box button {
	width: 56px;
	height: 57px;
	border-radius: 10px 0 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: linear-gradient(180deg, #58bd44 0%, #33a531 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
	margin: 0;
}

.popular__chips button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px 0 12px;
	color: #000;
	background: #fff;
	border: 1px solid #e7eef8;
	border-radius: 999px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(18, 63, 145, 0.04);
	transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
	margin: 0;
}

.search-box button .icon {
	width: 14px;
	height: 14px;
}

.popular {
	margin-top: 13px;
}

.popular__label {
	margin: 0 0 15px;
	color: #000;
	font-size: 15px;
}

.popular__chips {
	display: flex;
	align-items: center;
	gap: 8px;
}

.content-hd .chip {
	min-height: 23px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 13px;
	color: #51627b;
	background: rgba(255, 255, 255, .76);
	border: 1px solid #d9e2ee;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.ask-doctor-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 19px;
	color: #ffffff;
	background: linear-gradient(180deg, #54bd42 0%, #31a92e 100%);
	border-radius: 6px;
	font-size: 15px;
	padding: 13px 25px;
}

.ask-doctor-btn .icon {
	width: 14px;
	height: 14px;
}

.main {
	padding: 30px 0 30px;
	background: #ffffff;
}

.content-grid {
	display: grid;
	grid-template-columns: 195px 1fr;
	gap: 20px;
	align-items: start;
}

.sidebar {
	padding-top: 0;
}

.side-card {
	background: #ffffff;
	border: 1px solid #dfe7f1;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(27, 65, 121, .04);
	overflow: hidden;
	padding-bottom: 10px;
}

.side-card__title {
	margin: 0;
	padding: 16px;
	color: #0d4599;
	font-size: 21px;
	text-transform: capitalize;
}

.category-list {
	list-style: none;
	margin: 0;
	padding: 0px;
}

.category-link {
	min-height: 35px;
	display: grid;
	grid-template-columns: 20px 1fr auto;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 10px;
	padding: 0 9px;
	color: #53647c;
	border-radius: 6px;
	font-size: 10px;
}

.category-link svg {
	color: #8190a5;
}

.category-link span:last-child {
	color: #687891;
}

.category-link.active {
	color: #38a432;
	background: linear-gradient(90deg, rgba(78, 188, 67, .13), rgba(78, 188, 67, .04));
	border: 1px solid rgba(76, 183, 67, .28);
	box-shadow: inset 3px 0 0 #43b93b;
}

.category-link.active svg,
.category-link.active span:last-child {
	color: #38a432;
}

.consult-card {
	padding: 25px 18px 17px;
	text-align: center;
	color: #314467;
	background:
		radial-gradient(circle at 24% 18%, rgba(101, 198, 84, .14), transparent 55%),
		#fbfffb;
	border: 1px solid rgba(73, 179, 64, .45);
	border-radius: 8px;
}

.consult-card h3 {
	margin: 0 0 21px;
	color: #37a232;
	font-size: 20px;
	line-height: 1.2;
}

.consult-card p {
	margin: 0 auto 16px;
	color: #455873;
	font-size: 14px;
	line-height: 1.48;
	font-weight: 600;
}

.consult-card .ask-doctor-btn {
	margin: 0 auto 10px;
	border-radius: 6px;
	font-size: 15px;
	padding: 12px 25px;
}

.consult-card small {
	display: block;
	color: #78869a;
	font-size: 13px;
	font-weight: 600;
}

.commit-card {
	margin-top: 0px;
	padding: 21px 19px 17px;
	background:
		radial-gradient(circle at 10% 0%, rgba(47, 125, 226, .08), transparent 46%),
		#ffffff;
	border: 1px solid #dfe7f1;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(27, 65, 121, .04);
}

.commit-card h3 {
	margin: 0 0 25px;
	color: #0d4599;
	font-size: 18px;
	line-height: 1.2;
	text-transform: capitalize;
}

.commit-list {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.commit-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: #435675;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
}

.commit-list .icon {
	width: 13px;
	height: 13px;
	color: #48b541;
	margin-top: 0;
}

.content {
	min-width: 0;
}

.content-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.content-title {
	color: #0d4599;
	font-size: 25px;
	margin: 0;
}

.content-title span {
	color: #7e8ca1;
	font-weight: 500;
}

.sort-box {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 15px;
	color: #65748b;
	background: #ffffff;
	border: 1px solid #dfe7f1;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
	min-width: unset !important;
	width: 232px;
}

.sort-box strong {
	color: #2d4166;
	font-size: 14px;
	font-weight: 700;
}

.sort-box .icon {
	width: 10px;
	height: 10px;
	margin-left: auto;
}

.filter-row {
	display: flex;
	align-items: center;
	margin-bottom: 32px;
	gap: 10px;
	margin-top: 25px;
}

.filter-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #55677f;
	background: #ffffff;
	border: 1px solid #dce5ef;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
}

.filter-chip.active {
	color: #31a52f;
	background: #fbfffb;
	border-color: rgba(69, 181, 62, .45);
}

.featured-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 19px;
	color: #0d4599;
	font-size: 22px;
	line-height: 1.2;
}

.featured-title .icon {
	width: 18px;
	height: 18px;
	color: #ffb31a;
	stroke-width: 2;
}

.featured-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 17px;
	margin-bottom: 16px;
}

.featured-card {
	height: 178px;
	padding: 16px 13px 12px;
	border: 1px solid #f3cdd3;
	border-radius: 8px;
	background:
		radial-gradient(circle at 18% 6%, rgba(255, 111, 129, .17), transparent 62%),
		#ffffff;
}

.featured-card:nth-child(2) {
	border-color: #efd6b7;
	background:
		radial-gradient(circle at 18% 6%, rgba(255, 188, 95, .14), transparent 62%),
		#ffffff;
}

.featured-card:nth-child(3) {
	border-color: #cfe1ff;
	background:
		radial-gradient(circle at 18% 6%, rgba(90, 166, 255, .13), transparent 62%),
		#ffffff;
}

.tag {
	height: 21px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	border-radius: 5px;
	color: #f05267;
	background: #ffe1e6;
	font-size: 8px;
	line-height: 1;
}

.tag.green {
	color: #34a431;
	background: #dff5dc;
}

.tag.blue {
	color: #287ec9;
	background: #dcedff;
}

.tag.purple {
	color: #745bea;
	background: #e8e3ff;
}

.tag.orange {
	color: #ee7b42;
	background: #ffe7dc;
}

.featured-card h3 {
	min-height: 38px;
	margin: 12px 0 9px;
	color: #1b3158;
	font-size: 11px;
	line-height: 1.42;
}

.doctor-mini {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
}

.doctor-mini .avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	flex: 0 0 auto;
	overflow: hidden;
	border: 1px solid #e1e9f3;
}

.doctor-mini .avatar.male {
	background:
		radial-gradient(circle at 50% 30%, #e8b996 0 8px, transparent 9px),
		linear-gradient(180deg, #20242d 0 24%, transparent 25%),
		linear-gradient(180deg, #f8fbff 0%, #e4edf8 100%);
}

.doctor-mini strong {
	display: block;
	color: #2a3c60;
	font-size: 12px;
	line-height: 1.28;
	margin-bottom: 5px;
}

.doctor-mini span {
	display: block;
	color: #78879c;
	font-size: 7px;
	line-height: 1.25;
	font-weight: 600;
}

.detail-link {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	color: #425777;
	background: #ffffff;
	border: 1px solid #dce5f0;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	padding: 6px 20px;
}

.detail-link .icon {
	width: 10px;
	height: 10px;
}

.question-list {
	display: grid;
	gap: 9px;
}

.question-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 223px;
	align-items: center;
	gap: 18px;
	padding: 15px 18px;
	background: #ffffff;
	border: 1px solid #dfe7f1;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(27, 65, 121, .035);
}

.question-card__body {
	align-self: start;
	padding-top: 0;
}

.question-card h3 {
	margin: 7px 0 4px;
	color: #1a3157;
	font-size: 13px;
	line-height: 1.35;
}

.question-card p {
	max-width: 517px;
	margin: 15px 0;
	color: #627189;
	font-weight: 600;
	font-size: 14px;
}

.question-card__body .meta {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 12px;
	color: #8491a3;
	font-size: 13px;
	font-weight: 700;
}

.question-card__body .meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.question-card__body .meta .icon {
	width: 11px;
	height: 11px;
	color: #a0acbb;
}

.media-frame {
	width: 225px;
	height: 165px;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 46%),
		radial-gradient(circle at 68% 32%, rgba(255, 217, 194, .9) 0 18px, transparent 19px),
		linear-gradient(120deg, #f1e3d9 0%, #f7f3f0 48%, #dce8ef 100%);
}

.media-frame.baby {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 50%),
		radial-gradient(circle at 38% 44%, #f1c3a7 0 16px, transparent 17px),
		linear-gradient(120deg, #e7d0c2 0%, #f9f1ea 46%, #f5f6f8 100%);
}

.media-frame.consult {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 48%),
		radial-gradient(circle at 33% 33%, #e2b38f 0 13px, transparent 14px),
		radial-gradient(circle at 70% 40%, #d5a98b 0 13px, transparent 14px),
		linear-gradient(120deg, #eaf3fb 0%, #f6f1ee 52%, #dfecf4 100%);
}

.media-frame.mother {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, 0) 50%),
		radial-gradient(circle at 69% 38%, #f1c3a7 0 16px, transparent 17px),
		linear-gradient(120deg, #f6e0d8 0%, #fff7f3 47%, #eef5f7 100%);
}

.view-btn {
	width: 88px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #ffffff;
	background: linear-gradient(180deg, #56be45 0%, #35a832 100%);
	border-radius: 5px;
	box-shadow: 0 8px 16px rgba(65, 172, 55, .21);
	font-size: 9px;
	white-space: nowrap;
}

.view-btn .icon {
	width: 12px;
	height: 12px;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
	padding-bottom: 0;
}

.page-btn {
	width: 29px;
	height: 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #4d5d74;
	background: #ffffff;
	border: 1px solid #dbe4ef;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
}

.page-btn.active {
	color: #ffffff;
	background: linear-gradient(180deg, #55bd44 0%, #34a932 100%);
	border-color: #44af3b;
}

.page-btn.next .icon {
	width: 12px;
	height: 12px;
}

.page-dots {
	color: #9aa6b5;
	font-size: 12px;
	font-weight: 700;
}

@media (min-width: 1200px) {

	.container {
		width: 1290px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}


	.hero__plus {
		top: 59px;
		left: 568px;
		width: 96px;
		height: 96px;
	}

	.search-box input {
		width: 432px;
		padding: 0 22px;
		font-size: 16px;
	}


	.search-box button .icon {
		width: 21px;
		height: 21px;
	}

	.popular {
		margin-top: 19px;
	}

	.popular__chips {
		gap: 12px;
	}

	.chip {
		min-height: 34px;
		padding: 0 19px;
		font-size: 13px;
	}

	.ask-doctor-btn .icon {
		width: 21px;
		height: 21px;
	}

	.content-grid {
		grid-template-columns: 288px minmax(0, 1fr);
		gap: 20px;
	}


	.category-link {
		min-height: 45px;
		grid-template-columns: 29px 1fr auto;
		border-radius: 9px;
		font-size: 14px;
	}

	.commit-list {
		gap: 19px;
	}

	.commit-list .icon {
		width: 19px;
		height: 19px;
	}

	.sort-box .icon {
		width: 15px;
		height: 15px;
	}


	.featured-title .icon {
		width: 26px;
		height: 26px;
	}


	.featured-card {
		height: 262px;
		padding: 24px 19px 18px;
		border-radius: 12px;
	}

	.tag {
		height: 31px;
		padding: 0 12px;
		border-radius: 7px;
		font-size: 12px;
	}

	.featured-card h3 {
		min-height: 56px;
		margin: 18px 0 13px;
		font-size: 16px;
	}

	.doctor-mini {
		gap: 12px;
		min-height: 47px;
	}

	.doctor-mini span {
		font-size: 10px;
	}


	.detail-link .icon {
		width: 15px;
		height: 15px;
	}

	.question-list {
		gap: 13px;
	}

	.question-card h3 {
		margin: 10px 0 6px;
		font-size: 19px;
	}


	.question-card__body .meta span {
		gap: 7px;
	}

	.question-card__body .meta .icon {
		width: 16px;
		height: 16px;
	}

	.view-btn {
		width: 130px;
		height: 50px;
		gap: 12px;
		border-radius: 7px;
		font-size: 13px;
	}

	.view-btn .icon {
		width: 18px;
		height: 18px;
	}

	.pagination {
		gap: 18px;
		margin-top: 32px;
	}

	.page-btn {
		width: 43px;
		height: 37px;
		border-radius: 7px;
		font-size: 15px;
	}

	.page-btn.next .icon {
		width: 18px;
		height: 18px;
	}

	.page-dots {
		font-size: 18px;
	}

}

.side-card .category-list li a {
	display: flex;
	text-align: left;
	justify-content: flex-start;
}

.side-card .category-list {
	gap: 0;
}

/* css fix list */
.box_list_dm_ch .question-card {
	grid-template-columns: 1fr 2fr;
}

.box_list_dm_ch .question-card .media-frame {
	height: 100%;
	width: 100%;
}

.box_list_dm_ch .question-card .view-btn {
	max-height: 40px;
}

.row-small-hd .col {
	padding-bottom: 0;
}

/* css chi tiết câu hỏi */
.sec_ct_ch {
	position: relative;
	padding-top: 36px;
	padding-bottom: 36px;
}

.side-card ul li a:hover {
	color: #38a432;
	background: linear-gradient(90deg, rgba(78, 188, 67, .13), rgba(78, 188, 67, .04));
	border: 1px solid rgba(76, 183, 67, .28);
	box-shadow: inset 3px 0 0 #43b93b;
}

.side-card ul li a:hover svg,
.side-card ul li a:hover span {
	color: #38a432;
}

.question-card h3 a {
	color: #0d4599;
}