:root {
	--primary: #0F4C81;
	--secondary: #2D78AA;
	--bg: #F6F8FB;
	--white: #FFFFFF;
	--pink: #FFF1F3;
	--text: #1D2939;
	--muted: #667085;
	--line: #E4E7EC;
	--shadow: 0 16px 44px rgba(15, 76, 129, .10);
}

* { box-sizing: border-box; }
body {
	margin: 0;
	font-family: "Be Vietnam Pro", Arial, sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 12px; z-index: 20; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { min-height: auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: var(--primary); white-space: nowrap; letter-spacing: 0; }
.site-logo span span { color: var(--secondary); }
.site-logo img { max-height: 46px; width: auto; }
.site-logo .site-logo__mark {
	width: 46px;
	height: 46px;
	max-width: none;
	max-height: none;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(15, 76, 129, .16);
}
.site-nav { flex: 1; }
.primary-menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 22px; justify-content: center; align-items: center; font-size: 14px; font-weight: 600; }
.primary-menu a { color: #344054; white-space: nowrap; }
.primary-menu a:hover { color: var(--primary); }
/* Dropdown */
.primary-menu > li { position: relative; }
.primary-menu .menu-item-has-children > a::after { content: ' ▾'; font-size: 10px; vertical-align: middle; }
.primary-menu .sub-menu { display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); min-width: 218px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px rgba(16,42,67,.12); padding: 6px; z-index: 500; list-style: none; flex-direction: column; gap: 0; margin: 0; }
.primary-menu > li:hover > .sub-menu, .primary-menu > li:focus-within > .sub-menu { display: flex; }
.primary-menu .sub-menu::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 12px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6'%3E%3Cpath d='M0 6 L6 0 L12 6Z' fill='%23fff' stroke='%23E5E7EB' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.primary-menu .sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; color: var(--text); font-weight: 500; }
.primary-menu .sub-menu a:hover { background: var(--bg); color: var(--primary); }
.btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border-radius: 8px; padding: 10px 18px; font-weight: 700; }
.header-search {
	display: flex;
	align-items: center;
	width: 214px;
	min-height: 46px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0 8px 0 16px;
}
.header-search label {
	flex: 1;
	min-width: 0;
}
.header-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
}
.header-search input::placeholder {
	color: var(--muted);
	opacity: 1;
	font-size: 13px;
	font-weight: 400;
}
.header-search button {
	border: 0;
	background: var(--primary);
	color: #fff;
	border-radius: 999px;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}
.header-search:focus-within {
	border-color: #9fc0da;
	box-shadow: 0 0 0 3px rgba(45, 120, 170, .14);
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--ghost { background: #fff; color: var(--primary); border: 1px solid var(--line); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--primary); margin: 5px 0; }

.hero { background: linear-gradient(180deg, var(--bg), #fff); padding: 72px 0 58px; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--secondary); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: 13px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; color: #102A43; letter-spacing: 0; }
h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
.hero p { font-size: 17px; color: #475467; margin: 0 0 24px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cycle-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }
.cycle-card__head, .cycle-card__list p { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.cycle-card__head strong { color: var(--primary); font-size: 24px; }
.cycle-ring { width: 230px; height: 230px; margin: 26px auto; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--primary) 0 46%, var(--pink) 46% 62%, #EAF3F9 62%); position: relative; }
.cycle-ring:after { content: ""; position: absolute; inset: 24px; background: #fff; border-radius: 50%; }
.cycle-ring span, .cycle-ring small { position: relative; z-index: 1; display: block; }
.cycle-ring span { font-size: 52px; font-weight: 800; color: var(--primary); line-height: 1; }
.cycle-ring small { color: var(--muted); }
.cycle-card__list p { border-top: 1px solid var(--line); padding-top: 14px; margin: 14px 0 0; }
.cycle-card__list span { color: var(--muted); text-align: right; }

.section { padding: 64px 0; }
.section--soft { background: var(--bg); }
.section--compact { padding: 34px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-head--compact {
	align-items: center;
	margin-bottom: 18px;
}
.section-head--compact h2 {
	font-size: 24px;
	margin-bottom: 0;
}
.section--quick-search {
	background: linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
}
.tool-grid, .topic-grid, .archive-grid, .expert-grid { display: grid; gap: 20px; }
.tool-grid { grid-template-columns: repeat(4, 1fr); }
.topic-grid { grid-template-columns: repeat(3, 1fr); }
.archive-grid { grid-template-columns: repeat(2, 1fr); }
.expert-grid { grid-template-columns: repeat(3, 1fr); }
.tool-card, .topic-card, .article-card, .expert-card, .faq-item, .sidebar-box, .info-box, .seo-block {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 22px;
	box-shadow: 0 8px 28px rgba(16, 42, 67, .06);
}
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #EAF3F9; color: var(--primary); font-weight: 800; margin-bottom: 14px; }
.tool-card {
	position: relative;
	overflow: hidden;
	min-height: 250px;
	background:
		radial-gradient(circle at 88% 12%, rgba(45,120,170,.16), transparent 32%),
		linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
	border-color: #d6e8f3;
	padding: 26px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.tool-card:after {
	content: "";
	position: absolute;
	right: -28px;
	bottom: -34px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(45,120,170,.08);
	pointer-events: none;
}
.tool-card:hover {
	transform: translateY(-6px);
	border-color: #9fc0da;
	box-shadow: 0 22px 46px rgba(15, 76, 129, .16);
}
.tool-card .card-icon {
	position: relative;
	z-index: 1;
	width: 60px;
	height: 60px;
	border-radius: 20px;
	margin-bottom: 20px;
	background: #e8f6fb;
	color: var(--primary);
	box-shadow: inset 0 0 0 1px rgba(15,76,129,.08), 0 12px 24px rgba(15,76,129,.10);
	font-size: 18px;
}
.tool-card h3 {
	position: relative;
	z-index: 1;
	margin-bottom: 10px;
	font-size: 22px;
}
.tool-card p, .topic-card p, .article-card p, .expert-card p, .faq-item p { color: var(--muted); margin: 0 0 14px; }
.tool-card p {
	position: relative;
	z-index: 1;
	display: -webkit-box;
	min-height: 78px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
.tool-card > a, .faq-item > a { color: var(--primary); font-weight: 800; }
.tool-card__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--primary);
	color: #fff !important;
	box-shadow: 0 12px 24px rgba(15,76,129,.18);
}
.tool-card__cta:after {
	content: "→";
	font-weight: 800;
	transition: transform .18s ease;
}
.tool-card:hover .tool-card__cta:after {
	transform: translateX(3px);
}
.tool-card--nhat-ky-trieu-chung {
	background:
		radial-gradient(circle at 88% 12%, rgba(221,80,118,.16), transparent 32%),
		linear-gradient(180deg, #fff 0%, #fff7fa 100%);
	border-color: #f4ceda;
}
.tool-card--nhat-ky-trieu-chung:before { background: linear-gradient(90deg, #b63b68, #e77b9f); }
.tool-card--nhat-ky-trieu-chung .card-icon { background: #fff0f5; color: #9f2f5b; }
.tool-card--nhat-ky-trieu-chung .tool-card__cta { background: #9f2f5b; }
.tool-card--tinh-chu-ky-kinh-nguyet {
	background:
		radial-gradient(circle at 88% 12%, rgba(15,76,129,.18), transparent 32%),
		linear-gradient(180deg, #fff 0%, #f4f9fd 100%);
}
.tool-card--tinh-ngay-rung-trung {
	background:
		radial-gradient(circle at 88% 12%, rgba(30,137,118,.17), transparent 32%),
		linear-gradient(180deg, #fff 0%, #f3fbf8 100%);
	border-color: #cce9df;
}
.tool-card--tinh-ngay-rung-trung:before { background: linear-gradient(90deg, #187466, #40b59a); }
.tool-card--tinh-ngay-rung-trung .card-icon { background: #e8f7f2; color: #187466; }
.tool-card--tinh-ngay-rung-trung .tool-card__cta { background: #187466; }
.tool-card--tra-cuu-dau-hieu {
	background:
		radial-gradient(circle at 88% 12%, rgba(180,71,8,.16), transparent 32%),
		linear-gradient(180deg, #fff 0%, #fff9f1 100%);
	border-color: #f1d8b7;
}
.tool-card--tra-cuu-dau-hieu:before { background: linear-gradient(90deg, #b54708, #f2a33a); }
.tool-card--tra-cuu-dau-hieu .card-icon { background: #fff4df; color: #9a3f06; }
.tool-card--tra-cuu-dau-hieu .tool-card__cta { background: #9a3f06; }
.topic-card {
	position: relative;
	overflow: hidden;
	min-height: 300px;
	padding: 0;
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.topic-card:hover {
	transform: translateY(-5px);
	border-color: #9fc0da;
	box-shadow: 0 22px 46px rgba(15, 76, 129, .13);
}
.topic-card__link {
	display: block;
	padding: 20px 20px 0;
}
.topic-card__visual {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	min-height: 148px;
	border-radius: 18px;
	background: #e8f6fb;
	overflow: hidden;
}
.topic-card__visual:before,
.topic-card__visual:after {
	content: "";
	position: absolute;
	pointer-events: none;
}
.topic-card__visual:before {
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(15,76,129,.18) 100%);
}
.topic-card__visual:after {
	left: 16px;
	bottom: 16px;
	z-index: 2;
	display: block;
	width: 42px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255,255,255,.82);
	box-shadow: 52px 0 0 rgba(255,255,255,.48);
}
.topic-card__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .22s ease;
}
.topic-card:hover .topic-card__visual img {
	transform: scale(1.045);
}
.topic-card h3,
.topic-card p,
.topic-card__cta {
	margin-left: 26px;
	margin-right: 26px;
}
.topic-card h3 {
	margin-top: 22px;
	font-size: 22px;
}
.topic-card p {
	display: -webkit-box;
	min-height: 62px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.topic-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	margin-bottom: 24px;
	color: var(--primary);
	font-weight: 800;
}
.topic-card__cta:after {
	content: "→";
	transition: transform .18s ease;
}
.topic-card:hover .topic-card__cta:after {
	transform: translateX(4px);
}
.topic-card--dau-bung-kinh .topic-card__visual {
	background: linear-gradient(135deg, #fff0f5, #fff8fb);
}
.topic-card--dau-bung-kinh .topic-card__visual:before { background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(159,47,91,.18) 100%); }
.topic-card--noi-tiet-to .topic-card__visual {
	background: linear-gradient(135deg, #eef4ff, #f8fbff);
}
.topic-card--noi-tiet-to .topic-card__visual:before { background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(47,84,181,.18) 100%); }
.topic-card--mang-thai .topic-card__visual {
	background: linear-gradient(135deg, #f1fbf6, #fbfffd);
}
.topic-card--mang-thai .topic-card__visual:before { background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(24,116,102,.18) 100%); }
.topic-card--tuoi-day-thi .topic-card__visual {
	background: linear-gradient(135deg, #fff7e8, #fffdf8);
}
.topic-card--tuoi-day-thi .topic-card__visual:before { background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(154,90,5,.16) 100%); }
.topic-card--tien-man-kinh .topic-card__visual {
	background: linear-gradient(135deg, #f4f0ff, #fbf9ff);
}
.topic-card--tien-man-kinh .topic-card__visual:before { background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(104,65,168,.18) 100%); }
.sidebar-box ul { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 9px; }
.sidebar-box li a { color: var(--primary); font-weight: 600; }

.magazine-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.magazine-grid .article-card:not(.article-card--large) { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 14px; }
.article-card__media { min-height: 150px; background: #EAF3F9; border-radius: 8px; display: grid; place-items: center; overflow: hidden; color: var(--primary); font-weight: 800; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card--large .article-card__media { min-height: 320px; margin-bottom: 18px; }
.reading-time, .badge { display: inline-flex; border-radius: 999px; background: var(--bg); color: var(--primary); font-size: 12px; font-weight: 800; padding: 5px 10px; margin-bottom: 10px; }
.badge--danger { color: #B42318; background: #FEF3F2; }
.badge--warn { color: #B54708; background: #FFFAEB; }
.badge--watch { color: #175CD3; background: #EFF8FF; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud a, .filter-pills a { display: inline-flex; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; color: var(--primary); font-weight: 700; }
.tag-cloud a {
	position: relative;
	align-items: center;
	gap: 8px;
	border: 1px solid #cfe0ee;
	background: linear-gradient(180deg, #fff 0%, #f6fbfe 100%);
	box-shadow: 0 10px 24px rgba(15, 76, 129, .08);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tag-cloud a:before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--secondary);
	box-shadow: 0 0 0 4px rgba(45, 120, 170, .12);
}
.tag-cloud a:after {
	content: "→";
	font-weight: 900;
	opacity: .72;
	transition: transform .18s ease;
}
.tag-cloud a:hover {
	transform: translateY(-3px);
	border-color: #9fc0da;
	box-shadow: 0 16px 30px rgba(15, 76, 129, .14);
}
.tag-cloud a:hover:after { transform: translateX(3px); }
.tag-cloud a:nth-child(3n+1) {
	background: linear-gradient(180deg, #fff 0%, #eef8fd 100%);
	color: #0f4c81;
}
.tag-cloud a:nth-child(3n+2) {
	background: linear-gradient(180deg, #fff 0%, #fff4f8 100%);
	border-color: #f2cad8;
	color: #9f2f5b;
}
.tag-cloud a:nth-child(3n+2):before {
	background: #c94f7a;
	box-shadow: 0 0 0 4px rgba(201,79,122,.12);
}
.tag-cloud a:nth-child(3n) {
	background: linear-gradient(180deg, #fff 0%, #effaf6 100%);
	border-color: #cce9df;
	color: #187466;
}
.tag-cloud a:nth-child(3n):before {
	background: #187466;
	box-shadow: 0 0 0 4px rgba(24,116,102,.12);
}
.tag-cloud a:nth-child(5n) {
	background: linear-gradient(180deg, #fff 0%, #fff8ea 100%);
	border-color: #f1d8b7;
	color: #9a5a05;
}
.tag-cloud a:nth-child(5n):before {
	background: #d78a16;
	box-shadow: 0 0 0 4px rgba(215,138,22,.14);
}
.two-col, .layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-list--grid { grid-template-columns: repeat(2, 1fr); }
.faq-section {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 10%, rgba(232,246,251,.9) 0 18%, transparent 19%),
		radial-gradient(circle at 92% 80%, rgba(255,241,243,.75) 0 20%, transparent 21%),
		linear-gradient(180deg, #f6fbfe 0%, #fff 100%);
	border-top: 1px solid #dbeaf2;
	border-bottom: 1px solid #e7edf3;
}
.faq-section__head {
	display: grid;
	gap: 10px;
}
.faq-section__head h2 {
	max-width: 560px;
	font-size: 40px;
}
.faq-section__head > p:not(.eyebrow) {
	max-width: 660px;
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 17px;
}
.faq-section .faq-list {
	counter-reset: faq;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.faq-section .faq-item {
	position: relative;
	overflow: hidden;
	min-height: 220px;
	padding: 26px 26px 24px 86px;
	background:
		radial-gradient(circle at 92% 12%, rgba(45,120,170,.16), transparent 30%),
		linear-gradient(180deg, #fff 0%, #f8fbfe 100%);
	border-color: #cfe0ee;
	border-radius: 24px;
	box-shadow: 0 14px 34px rgba(15, 76, 129, .08);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	counter-increment: faq;
}
.faq-section .faq-item:before {
	content: "Q" counter(faq);
	position: absolute;
	left: 24px;
	top: 26px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 16px;
	background: var(--primary);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 12px 24px rgba(15,76,129,.20);
}
.faq-section .faq-item:after {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 24px;
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--primary), var(--secondary));
}
.faq-section .faq-item:nth-child(2n):before {
	background: #187466;
	box-shadow: 0 12px 24px rgba(24,116,102,.18);
}
.faq-section .faq-item:nth-child(2n):after {
	background: linear-gradient(180deg, #187466, #40b59a);
}
.faq-section .faq-item:nth-child(3n):before {
	background: #9f2f5b;
	box-shadow: 0 12px 24px rgba(159,47,91,.18);
}
.faq-section .faq-item:nth-child(3n):after {
	background: linear-gradient(180deg, #9f2f5b, #e77b9f);
}
.faq-section .faq-item:hover {
	transform: translateY(-5px);
	border-color: #9fc0da;
	box-shadow: 0 22px 46px rgba(15, 76, 129, .14);
}
.faq-section .faq-item h3 {
	margin-bottom: 10px;
	font-size: 22px;
}
.faq-section .faq-item p {
	display: -webkit-box;
	min-height: 68px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
.faq-section .faq-item > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
	border-radius: 999px;
	background: #e8f6fb;
	color: var(--primary);
	padding: 9px 13px;
	font-weight: 900;
}
.faq-section .faq-item > a:after {
	content: "→";
	transition: transform .18s ease;
}
.faq-section .faq-item:hover > a:after {
	transform: translateX(3px);
}
.expert-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 330px;
	text-align: left;
	background:
		radial-gradient(circle at 88% 12%, rgba(45,120,170,.14), transparent 32%),
		linear-gradient(180deg, #fff 0%, #f8fbfe 100%);
	border-color: #d6e8f3;
	padding: 28px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.expert-card:before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, var(--primary), var(--secondary));
}
.expert-card:hover {
	transform: translateY(-5px);
	border-color: #9fc0da;
	box-shadow: 0 22px 46px rgba(15, 76, 129, .13);
}
.expert-card__top {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}
.expert-card__avatar {
	position: relative;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 22px;
	overflow: hidden;
	background: #EAF3F9;
	display: grid;
	place-items: center;
	color: var(--primary);
	font-weight: 800;
	box-shadow: inset 0 0 0 1px rgba(15,76,129,.08), 0 12px 24px rgba(15,76,129,.10);
}
.expert-card__label {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	border-radius: 999px;
	background: #e8f6fb;
	color: var(--primary);
	padding: 7px 12px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.expert-card h3 {
	margin-bottom: 12px;
	font-size: 24px;
}
.expert-card p {
	display: -webkit-box;
	min-height: 104px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}
.expert-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--primary);
	font-weight: 800;
}
.expert-card__cta:after {
	content: "→";
	transition: transform .18s ease;
}
.expert-card:hover .expert-card__cta:after {
	transform: translateX(4px);
}
.expert-card--bac-si-san-phu-khoa:before { background: linear-gradient(180deg, #0f4c81, #2d78aa); }
.expert-card--bac-si-san-phu-khoa .expert-card__avatar { background: #e8f6fb; color: #0f4c81; }
.expert-card--chuyen-gia-dinh-duong:before { background: linear-gradient(180deg, #187466, #40b59a); }
.expert-card--chuyen-gia-dinh-duong .expert-card__avatar { background: #e8f7f2; color: #187466; }
.expert-card--bien-tap-vien-suc-khoe:before { background: linear-gradient(180deg, #9f2f5b, #e77b9f); }
.expert-card--bien-tap-vien-suc-khoe .expert-card__avatar { background: #fff0f5; color: #9f2f5b; }
.medical-notice {
	background:
		linear-gradient(180deg, #fff8ed 0%, #fffdf8 100%);
	padding: 44px 0;
	border-top: 1px solid #f7ddb8;
	border-bottom: 1px solid #f7ddb8;
}
.medical-notice__box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	background: #fff;
	border: 1px solid #f1c98f;
	border-radius: 22px;
	box-shadow: 0 18px 42px rgba(180, 71, 8, .10);
	padding: 24px 28px;
}
.medical-notice__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 20px;
	background: linear-gradient(145deg, #fff4df, #ffdba8);
	color: #9a3f06;
	font-size: 28px;
	font-weight: 900;
	box-shadow: inset 0 0 0 1px rgba(154,63,6,.12);
}
.medical-notice h2 {
	margin: 0 0 6px;
	color: #7a3406;
	font-size: 22px;
}
.medical-notice p {
	margin: 0;
	color: #6f3b08;
	font-weight: 500;
}
.medical-notice a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 999px;
	background: #9a3f06;
	color: #fff;
	padding: 10px 16px;
	font-weight: 800;
	white-space: nowrap;
}

.archive-hero { background: var(--bg); padding: 48px 0; }
.archive-hero p { max-width: 760px; color: var(--muted); }
.page-hero {
	background: linear-gradient(180deg, #f6fbfe 0%, #fff 100%);
	border-bottom: 1px solid var(--line);
	padding: 46px 0 42px;
}
.page-hero p {
	max-width: 820px;
	color: var(--muted);
	font-size: 18px;
	margin: 0;
}
.page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}
.page-content {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: 0 16px 42px rgba(15, 76, 129, .06);
	padding: 34px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
	margin-top: 24px;
	font-size: 20px;
}
.page-content ul,
.page-content ol {
	padding-left: 22px;
}
.page-content li { margin: 8px 0; }
.page-content .content-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 24px 0;
}
.page-content .content-card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
}
.page-content .content-card h3 { margin-top: 0; }
.page-content .notice-box {
	background: #f0f8fc;
	border: 1px solid #cfe0ee;
	border-radius: 14px;
	padding: 18px;
	margin: 24px 0;
}
.page-aside {
	position: sticky;
	top: 112px;
	display: grid;
	gap: 18px;
}
.page-aside .sidebar-box h2 { font-size: 22px; }
.page-aside .sidebar-box--soft {
	background: #f6fbfe;
}
.page-aside .btn { width: 100%; }
.expert-hero {
	background: linear-gradient(180deg, #f6fbfe 0%, #fff 100%);
	border-bottom: 1px solid var(--line);
	padding: 52px 0;
}
.expert-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 34px;
	align-items: center;
}
.expert-profile__eyebrow {
	display: inline-flex;
	margin-bottom: 14px;
	border: 1px solid #cfe0ee;
	background: #fff;
	border-radius: 999px;
	color: var(--primary);
	padding: 8px 13px;
	font-size: 13px;
	font-weight: 800;
}
.expert-hero p {
	max-width: 760px;
	color: var(--muted);
	font-size: 18px;
	margin-bottom: 22px;
}
.expert-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.expert-id-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid #d6e8f3;
	border-radius: 24px;
	box-shadow: 0 18px 42px rgba(15, 76, 129, .10);
	padding: 28px;
}
.expert-id-card:before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 88% 12%, rgba(45,120,170,.15), transparent 32%);
	pointer-events: none;
}
.expert-id-card__avatar {
	position: relative;
	display: grid;
	place-items: center;
	width: 94px;
	height: 94px;
	border-radius: 30px;
	background: #e8f6fb;
	color: var(--primary);
	font-size: 28px;
	font-weight: 900;
	box-shadow: inset 0 0 0 1px rgba(15,76,129,.08), 0 14px 30px rgba(15,76,129,.12);
	margin-bottom: 18px;
	overflow: hidden;
}
.expert-id-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.expert-id-card h2,
.expert-id-card p,
.expert-id-card a {
	position: relative;
}
.expert-id-card h2 {
	font-size: 22px;
}
.expert-id-card p {
	color: var(--muted);
}
.expert-id-card a {
	color: var(--primary);
	font-weight: 800;
}
.expert-profile--green .expert-id-card__avatar { background: #e8f7f2; color: #187466; }
.expert-profile--pink .expert-id-card__avatar { background: #fff0f5; color: #9f2f5b; }
.expert-profile__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}
.expert-profile__main {
	display: grid;
	gap: 22px;
}
.expert-panel {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: 0 16px 42px rgba(15, 76, 129, .06);
	padding: 30px;
}
.expert-panel h2:first-child {
	margin-top: 0;
}
.expert-focus-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 22px;
}
.expert-focus-item {
	position: relative;
	background: #f6fbfe;
	border: 1px solid #d6e8f3;
	border-radius: 14px;
	padding: 14px 14px 14px 42px;
	color: #26384d;
	font-weight: 800;
}
.expert-focus-item:before {
	content: "✓";
	position: absolute;
	left: 14px;
	top: 14px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-size: 12px;
}
.expert-checklist {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.expert-checklist li {
	position: relative;
	border-left: 4px solid var(--secondary);
	background: #f6fbfe;
	border-radius: 12px;
	padding: 13px 14px;
}
.expert-two-col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.expert-two-col section {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
}
.expert-profile__aside {
	position: sticky;
	top: 112px;
	display: grid;
	gap: 18px;
}
.expert-profile__aside .btn {
	width: 100%;
}
.qa-hero {
	background:
		radial-gradient(circle at 12% 12%, rgba(232,246,251,.9) 0 20%, transparent 21%),
		linear-gradient(180deg, #f6fbfe 0%, #fff 100%);
	border-bottom: 1px solid var(--line);
	padding: 48px 0;
}
.qa-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 32px;
	align-items: center;
}
.qa-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}
.qa-hero__meta > span:last-child {
	display: inline-flex;
	border-radius: 999px;
	background: #e8f6fb;
	color: var(--primary);
	padding: 6px 11px;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}
.qa-hero h1 {
	max-width: 850px;
	font-size: 42px;
}
.qa-hero p {
	max-width: 760px;
	color: var(--muted);
	font-size: 18px;
}
.qa-answer-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid #cfe0ee;
	border-radius: 24px;
	box-shadow: 0 18px 42px rgba(15, 76, 129, .10);
	padding: 28px;
}
.qa-answer-card:before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 12%, rgba(45,120,170,.16), transparent 32%);
	pointer-events: none;
}
.qa-answer-card__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 20px;
	background: var(--primary);
	color: #fff;
	font-size: 28px;
	font-weight: 900;
	margin-bottom: 16px;
}
.qa-answer-card h2,
.qa-answer-card p {
	position: relative;
}
.qa-answer-card h2 {
	font-size: 24px;
}
.qa-content {
	display: grid;
	gap: 24px;
}
.qa-panel,
.comments-area {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 16px 42px rgba(15, 76, 129, .06);
	padding: 30px;
}
.qa-panel h2:first-child {
	margin-top: 0;
}
.qa-alert {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	border-radius: 22px;
	padding: 24px;
	border: 1px solid #f1d8b7;
	background: #fff8ea;
}
.qa-alert--danger {
	border-color: #f4b6ae;
	background: #fff7f6;
}
.qa-alert__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 18px;
	background: #9a3f06;
	color: #fff;
	font-size: 24px;
	font-weight: 900;
}
.qa-alert--danger .qa-alert__icon {
	background: #b42318;
}
.qa-alert h2 {
	margin-bottom: 6px;
	font-size: 24px;
}
.qa-alert p {
	margin: 0;
	color: #5f3a09;
}
.qa-alert--danger p {
	color: #7a271a;
}
.comments-area {
	margin-top: 10px;
}
.comments-area__head {
	margin-bottom: 22px;
}
.comments-area__head h2 {
	margin-bottom: 8px;
}
.comments-area__head p:not(.eyebrow),
.comment-notes,
.comments-empty p,
.comments-closed {
	color: var(--muted);
}
.comment-list {
	display: grid;
	gap: 16px;
	padding: 0;
	margin: 0 0 26px;
	list-style: none;
}
.kn-comment__body {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	background: #f8fbfe;
	border: 1px solid #dbeaf2;
	border-radius: 16px;
	padding: 16px;
}
.kn-comment__avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: var(--primary);
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
}
.kn-comment__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 6px;
}
.kn-comment__meta span {
	color: var(--muted);
	font-size: 13px;
}
.kn-comment__content p {
	margin: 0 0 8px;
}
.comment-reply-link {
	color: var(--primary);
	font-weight: 800;
}
.comments-empty {
	background: #f8fbfe;
	border: 1px dashed #cfe0ee;
	border-radius: 16px;
	padding: 18px;
	margin-bottom: 24px;
}
.comment-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 18px;
}
.comment-form p {
	margin: 0;
}
.comment-form-comment,
.comment-form-captcha,
.comment-notes,
.form-submit,
.comment-form-cookies-consent {
	grid-column: 1 / -1;
}
.comment-form label {
	display: block;
	margin-bottom: 7px;
	color: #344054;
	font-weight: 800;
}
.comment-form input,
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 12px 13px;
	font: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: 0;
	border-color: #9fc0da;
	box-shadow: 0 0 0 3px rgba(45,120,170,.14);
}
.comment-form .submit {
	border: 0;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	padding: 12px 18px;
	font-weight: 900;
	cursor: pointer;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; list-style: none; color: var(--muted); font-size: 14px; }
.breadcrumb li:after { content: "/"; margin-left: 8px; }
.breadcrumb li:last-child:after { content: ""; }
.single-wrap { padding: 42px 0 64px; }
.single-header { margin-bottom: 24px; }
.single-header p { color: var(--muted); font-size: 18px; }
.single-image { margin: 0 0 26px; border-radius: 8px; overflow: hidden; }
.toc {
	padding: 26px 30px 28px;
	background: #fbfdff;
	border: 1px solid #cfe0ee;
	border-radius: 18px;
	box-shadow: 0 14px 36px rgba(15, 76, 129, .06);
	margin-bottom: 30px;
}
.toc__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 0;
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--primary);
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	text-align: left;
}
.toc__toggle:hover,
.toc__toggle:focus-visible {
	color: var(--secondary);
}
.toc__toggle:focus-visible {
	outline: 3px solid rgba(45, 120, 170, .22);
	outline-offset: 4px;
	border-radius: 8px;
}
.toc__icon:before {
	content: "☰";
	color: var(--secondary);
	font-size: 15px;
	line-height: 1;
}
.toc.is-collapsed {
	padding-bottom: 26px;
}
.toc.is-collapsed .toc__toggle {
	margin-bottom: 0;
}
.toc.is-collapsed .toc__icon:before {
	content: "+";
	display: inline-grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border: 1px solid #9fc0da;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 800;
}
.toc.is-collapsed > ol {
	display: none;
}
.toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.toc > ol > li {
	position: relative;
	margin: 12px 0;
	padding-left: 24px;
}
.toc > ol > li:before {
	content: "›";
	position: absolute;
	left: 0;
	top: -1px;
	color: var(--secondary);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}
.toc a {
	color: #26384d;
	font-weight: 800;
}
.toc a:hover {
	color: var(--primary);
}
.toc ol ol {
	margin-top: 10px;
	padding-left: 12px;
}
.toc ol ol li {
	position: relative;
	margin: 9px 0;
	padding-left: 20px;
}
.toc ol ol li:before {
	content: "-";
	position: absolute;
	left: 0;
	top: 0;
	color: #7fa6c5;
	font-weight: 800;
}
.toc ol ol a {
	color: #6b778c;
	font-size: 15px;
	font-weight: 700;
}
.entry-content { font-size: 17px; }
.entry-content h2 { margin-top: 32px; font-size: 26px; }
.entry-content h2,
.entry-content h3,
.info-box h2 { scroll-margin-top: 120px; }
.entry-content a { color: var(--primary); font-weight: 700; }
.info-box { margin-top: 22px; }
.info-box--danger { border-color: #FDA29B; background: #FFFBFA; }
.info-box--notice { background: var(--pink); }
.sidebar { display: grid; gap: 18px; position: sticky; top: 104px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.search-form button { border: 0; border-radius: 8px; background: var(--primary); color: #fff; padding: 0 16px; font-weight: 800; }
.load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}
.load-more-btn {
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	min-height: 46px;
	padding: 12px 22px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 12px 24px rgba(15,76,129,.16);
}
.load-more-btn:hover { background: var(--secondary); }
.load-more-btn:disabled {
	cursor: wait;
	opacity: .72;
}
.seo-block { margin-top: 34px; background: var(--bg); }
.seo-block .eyebrow {
	display: inline-flex;
	margin-bottom: 12px;
}
.seo-block h2 {
	font-size: 30px;
}
.seo-block h3 {
	font-size: 20px;
	margin-top: 0;
}
.seo-block p {
	margin: 0 0 16px;
}
.seo-block a {
	color: var(--primary);
	font-weight: 800;
}
.seo-block__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 22px;
}
.seo-block__grid section {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 18px;
}
.seo-block ul {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 10px;
}
.notice-inline {
	background: #fff7e6;
	border: 1px solid #ffe0a3;
	color: #7a4b00;
	border-radius: 18px;
	padding: 18px;
	margin-top: 22px;
}
.notice-inline p {
	margin: 6px 0 0;
}

.site-footer { background: #102A43; color: #D0D5DD; padding: 52px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { color: #fff; font-size: 18px; }
.site-footer ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #EAF3F9; }
.site-logo--footer { color: #fff; margin-bottom: 12px; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.14);
	margin-top: 32px;
	padding-top: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-policy {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}
.footer-policy a {
	color: #EAF3F9;
	font-weight: 600;
}
.footer-policy a:hover { color: #fff; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.tool-page .single-header {
	text-align: left;
}
.tool-app {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	gap: 22px;
	align-items: start;
	margin: 26px 0;
}
.tool-form,
.tool-result {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 10px 28px rgba(16,42,67,.05);
}
.tool-form {
	display: grid;
	gap: 16px;
}
.tool-form label {
	display: grid;
	gap: 8px;
	font-weight: 700;
	color: #344054;
}
.tool-form input,
.tool-form select,
.tool-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 12px 14px;
	font: inherit;
	color: var(--text);
	background: #fff;
}
.tool-form input[type="range"] {
	padding: 0;
	accent-color: var(--primary);
}
.range-value {
	color: var(--primary);
	font-weight: 800;
}
.tool-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.tool-result {
	background: linear-gradient(180deg, #f7fbfe, #fff);
}
.tool-result h2 {
	font-size: 24px;
}
.tool-result ul {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 10px;
}
.tool-result--ok {
	border-color: #b7e7dd;
	background: #f2fbf9;
}
.tool-result--warn {
	border-color: #ffe0a3;
	background: #fffaf0;
}
.tool-result--danger {
	border-color: #fda29b;
	background: #fff5f4;
}
.check-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
.check-grid label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 14px;
	font-weight: 600;
}
.check-grid input {
	width: auto;
}
.journal-list {
	display: grid;
	gap: 12px;
}
.journal-entry {
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px;
	background: #fff;
}
.journal-entry p,
.journal-entry small {
	margin: 4px 0 0;
	color: var(--muted);
}

@media (max-width: 980px) {
	h1 { font-size: 34px; }
	h2 { font-size: 26px; }
	.hero__grid, .two-col, .layout-sidebar, .magazine-grid, .page-layout, .expert-hero__grid, .expert-profile__layout, .qa-hero__grid { grid-template-columns: 1fr; }
	.tool-grid, .topic-grid, .archive-grid, .expert-grid, .faq-list--grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
	.menu-toggle { display: inline-block; margin-left: auto; }
	.site-nav { position: absolute; left: 0; right: 0; top: 78px; background: #fff; border-bottom: 1px solid var(--line); display: none; }
	.site-nav.is-open { display: block; }
	.primary-menu { display: grid; justify-content: stretch; gap: 0; padding: 8px 16px; }
	.primary-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	/* Mobile dropdown overrides */
	.primary-menu > li { position: static; }
	.primary-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.primary-menu .menu-item-has-children > a { flex: 1; border-bottom: 0; padding-bottom: 0; }
	.primary-menu .menu-item-has-children > a::after { display: none; }
	.submenu-toggle { background: none; border: none; cursor: pointer; padding: 12px 6px 12px 10px; color: var(--primary); font-size: 18px; line-height: 1; border-bottom: 1px solid var(--line); }
	.primary-menu .sub-menu { display: none; width: 100%; position: static; transform: none; border: none; box-shadow: none; border-radius: 0; padding: 0 0 0 16px; background: none; flex-direction: column; }
	.primary-menu .sub-menu::before { display: none; }
	.primary-menu > li.is-open > .sub-menu { display: flex; }
	.primary-menu .sub-menu a { padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 14px; }
	.header-search { display: none; }
	.sidebar { position: static; }
	.tool-app { grid-template-columns: 1fr; }
	.seo-block__grid { grid-template-columns: 1fr; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
	.footer-policy { justify-content: flex-start; }
	.page-aside { position: static; }
	.expert-profile__aside { position: static; }
	.medical-notice__box { grid-template-columns: auto minmax(0, 1fr); }
	.medical-notice__box a { grid-column: 1 / -1; width: fit-content; }
	.faq-section .faq-list { grid-template-columns: 1fr; }
	.comment-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.container, .narrow { width: min(100% - 24px, 1180px); }
	.hero { padding: 44px 0; }
	.hero__actions, .section-head { align-items: stretch; display: grid; }
	.btn { width: 100%; }
	.tool-grid, .topic-grid, .archive-grid, .expert-grid, .faq-list--grid, .footer-grid { grid-template-columns: 1fr; }
	.magazine-grid .article-card:not(.article-card--large) { grid-template-columns: 1fr; }
	.article-card--large .article-card__media, .article-card__media { min-height: 210px; }
	.cycle-ring { width: 190px; height: 190px; }
	.cycle-card { padding: 20px; }
	.search-form { display: grid; }
	.check-grid { grid-template-columns: 1fr; }
	.tool-form,
	.tool-result { padding: 18px; border-radius: 18px; }
	.page-content { padding: 22px; }
	.page-content .content-grid { grid-template-columns: 1fr; }
	.expert-focus-grid,
	.expert-two-col { grid-template-columns: 1fr; }
	.expert-panel { padding: 22px; }
	.faq-section__head h2 { font-size: 30px; }
	.faq-section .faq-item {
		min-height: 0;
		padding: 22px 20px 22px 76px;
	}
	.faq-section .faq-item:before {
		left: 20px;
		width: 40px;
		height: 40px;
	}
	.qa-hero h1 { font-size: 30px; }
	.qa-panel,
	.comments-area { padding: 22px; }
	.qa-alert { grid-template-columns: 1fr; }
	.kn-comment__body { grid-template-columns: 1fr; }
	.medical-notice__box {
		grid-template-columns: 1fr;
		padding: 22px;
	}
	.medical-notice__box a { width: 100%; }
}

/* Preview alignment: match the supplied HTML concept more closely on the public homepage. */
:root {
	--mint: #e9f7f5;
	--radius: 24px;
	--line: #e7edf3;
	--shadow: 0 18px 45px rgba(15,76,129,.10);
}

.home .hero {
	background:
		radial-gradient(circle at 18% 15%, #e9f7f5 0 25%, transparent 26%),
		linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
	padding: 68px 0 52px;
}
.home .hero__grid {
	grid-template-columns: 1.05fr .95fr;
	gap: 44px;
}
.home .eyebrow {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	background: #fff;
	color: var(--primary);
	border: 1px solid #d7edf3;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(15,76,129,.08);
	text-transform: none;
}
.home h1 {
	font-size: 52px;
	line-height: 1.12;
	margin: 20px 0 18px;
}
.home .hero p {
	font-size: 18px;
	max-width: 610px;
	margin-bottom: 28px;
}
.home .hero__actions { gap: 14px; }
.home .btn {
	border-radius: 999px;
	padding: 14px 22px;
	min-height: 0;
}
.home .btn--primary { box-shadow: 0 14px 28px rgba(15,76,129,.22); }
.home .cycle-card {
	border-radius: 32px;
	padding: 26px;
	position: relative;
	overflow: hidden;
}
.cycle-box {
	background: linear-gradient(145deg,#f7fbfe,#fff1f3);
	border-radius: 28px;
	padding: 28px;
	min-height: 360px;
	position: relative;
}
.calendar {
	background: #fff;
	border-radius: 22px;
	border: 1px solid var(--line);
	padding: 18px;
	box-shadow: 0 20px 40px rgba(16,42,67,.08);
}
.cal-head {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 16px;
}
.days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}
.day {
	aspect-ratio: 1;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #f3f7fa;
	color: #667085;
	font-size: 13px;
	font-weight: 600;
}
.day.active { background: #ffe1e8; color: #c9184a; }
.day.ovulation { background: #dff7ef; color: #087f5b; }
.floating {
	position: absolute;
	right: 26px;
	bottom: 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 16px;
	width: 220px;
	box-shadow: 0 16px 36px rgba(15,76,129,.12);
	color: var(--muted);
	font-size: 14px;
}
.floating strong { color: var(--primary); display: block; }
.home .section { padding: 66px 0; }
.home .section--soft { background: var(--bg); }
.home .section-head {
	align-items: flex-end;
	margin-bottom: 28px;
}
.home .section-head h2 {
	font-size: 34px;
	line-height: 1.25;
}
.home .section--quick-search {
	padding: 42px 0 50px;
}
.home .section-head--compact {
	align-items: center;
	margin-bottom: 18px;
}
.home .section-head--compact h2 {
	font-size: 24px;
}
.home .tool-grid, .home .topic-grid, .home .expert-grid { gap: 18px; }
.home .tool-card,
.home .topic-card,
.home .article-card,
.home .expert-card {
	border-radius: var(--radius);
	box-shadow: 0 10px 28px rgba(16,42,67,.05);
}
.home .article-card .card-icon,
.home .expert-card .card-icon {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--mint);
	font-size: 16px;
}
.home .magazine-grid {
	grid-template-columns: 1.1fr .9fr;
	gap: 22px;
	align-items: stretch;
}
.home .magazine-list {
	display: grid;
	gap: 14px;
}
.home .article-card--large {
	height: 100%;
	min-height: 0;
	background: #fff;
	color: var(--text);
	border-radius: 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}
.home .article-card--large .article-card__media {
	display: grid;
	flex: 1 1 auto;
	height: auto;
	min-height: 420px;
	margin-bottom: 0;
	border-radius: 0;
}
.home .article-card__media img {
	display: block;
	object-position: center;
}
.home .article-card--large .article-card__body {
	flex: 0 0 auto;
	padding: 28px 32px 32px;
}
.home .article-card--large h3,
.home .article-card--large h3 a { color: var(--primary); font-size: 32px; line-height: 1.25; }
.home .article-card--large p { color: var(--muted); }
.home .article-card--large .reading-time {
	background: #e8f6fb;
	color: var(--primary);
}
.home .magazine-grid .article-card:not(.article-card--large) {
	display: grid;
	grid-template-columns: 178px minmax(0, 1fr);
	gap: 16px;
	padding: 12px;
	align-items: stretch;
}
.home .magazine-grid .article-card:not(.article-card--large) .article-card__media {
	display: grid;
	height: 132px;
	min-height: 0;
	border-radius: 14px;
}
.home .magazine-grid .article-card:not(.article-card--large) .article-card__body {
	padding: 6px 4px 6px 0;
}
.home .magazine-grid .article-card:not(.article-card--large) h3,
.home .magazine-grid .article-card:not(.article-card--large) h3 a {
	font-size: 20px;
	line-height: 1.28;
}
.home .magazine-grid .article-card:not(.article-card--large) p {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0;
}
.home .tag-cloud a {
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 800;
}
.home .two-col { grid-template-columns: 1fr; }
.home .faq-list {
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.home .site-footer { background: #0b2f4f; }

@media (max-width: 980px) {
	.home h1 { font-size: 40px; }
	.home .hero__grid,
	.home .magazine-grid { grid-template-columns: 1fr; }
	.home .magazine-list { gap: 16px; }
	.home .article-card--large {
		height: auto;
	}
	.home .article-card--large .article-card__media {
		flex: none;
		height: 330px;
		min-height: 0;
	}
	.home .tool-grid,
	.home .topic-grid,
	.home .expert-grid,
	.home .footer-grid { grid-template-columns: 1fr 1fr; }
	.home .faq-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.home h1 { font-size: 33px; }
	.home .hero { padding-top: 42px; }
	.home .section { padding: 46px 0; }
	.home .tool-grid,
	.home .topic-grid,
	.home .expert-grid,
	.home .footer-grid,
	.home .faq-list { grid-template-columns: 1fr; }
	.home .article-card--large h3,
	.home .article-card--large h3 a { font-size: 26px; }
	.floating { position: static; width: auto; margin-top: 16px; }
	.home .magazine-grid .article-card:not(.article-card--large) {
		grid-template-columns: 1fr;
	}
	.home .article-card--large .article-card__media,
	.home .magazine-grid .article-card:not(.article-card--large) .article-card__media {
		height: 230px;
	}
	.home .magazine-grid .article-card:not(.article-card--large) .article-card__body {
		padding: 4px 4px 10px;
	}
}

/* Premium tool experience */
.tool-grid {
	align-items: stretch;
}
.tool-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(16, 42, 67, .08);
}
.tool-card:before,
.tool-card:after {
	display: none;
}
.tool-card__media {
	display: block;
	padding: 12px 12px 0;
}
.tool-card__media img {
	width: 100%;
	aspect-ratio: 1.7;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid rgba(15, 76, 129, .08);
}
.tool-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 20px;
}
.tool-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.tool-card .card-icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	margin-bottom: 0;
	font-size: 15px;
}
.tool-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	border-radius: 999px;
	padding: 5px 10px;
	background: rgba(15, 76, 129, .08);
	color: var(--primary);
	font-size: 12px;
	font-weight: 800;
}
.tool-card h3 {
	font-size: 20px;
	line-height: 1.3;
}
.tool-card p {
	min-height: 0;
	margin-bottom: 18px;
	-webkit-line-clamp: 4;
}
.tool-card__cta {
	width: fit-content;
	margin-top: auto;
}
.tool-card--nhat-ky-trieu-chung { border-color: #f1c6d5; }
.tool-card--tinh-chu-ky-kinh-nguyet { border-color: #c9ddeb; }
.tool-card--tinh-ngay-rung-trung { border-color: #b7e7dd; }
.tool-card--tra-cuu-dau-hieu { border-color: #f1d8b7; }

.tool-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
	gap: 28px;
	align-items: center;
	margin: 20px 0 28px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background:
		radial-gradient(circle at 95% 12%, rgba(45,120,170,.14), transparent 34%),
		linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
	box-shadow: 0 18px 48px rgba(16,42,67,.08);
}
.tool-hero .card-icon {
	margin-bottom: 16px;
}
.tool-hero__label {
	display: inline-flex;
	width: fit-content;
	min-height: 32px;
	align-items: center;
	border-radius: 999px;
	padding: 6px 12px;
	margin-bottom: 16px;
	background: #e8f6fb;
	color: var(--primary);
	font-weight: 800;
	font-size: 13px;
}
.tool-hero h1 {
	margin-bottom: 12px;
}
.tool-hero p {
	max-width: 680px;
	color: var(--muted);
}
.tool-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}
.tool-hero__chips span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	border-radius: 999px;
	padding: 7px 11px;
	background: #fff;
	border: 1px solid var(--line);
	color: #344054;
	font-size: 13px;
	font-weight: 700;
}
.tool-hero__visual {
	margin: 0;
}
.tool-hero__visual img {
	width: 100%;
	border-radius: 20px;
	box-shadow: 0 18px 40px rgba(15,76,129,.12);
}
.tool-app {
	grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
	gap: 24px;
}
.tool-form,
.tool-result {
	border-radius: 18px;
	box-shadow: 0 16px 42px rgba(16,42,67,.07);
}
.tool-form {
	background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.tool-form input:focus,
.tool-form select:focus,
.tool-form textarea:focus {
	outline: 3px solid rgba(45,120,170,.16);
	border-color: var(--secondary);
}
.tool-result {
	min-height: 280px;
}
.tool-result h2 {
	margin-top: 0;
}
.tool-result li strong {
	color: var(--primary);
}
.tool-result__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}
.tool-result__card {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px;
	background: #fff;
}
.tool-result__card span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}
.tool-result__card strong {
	display: block;
	margin-top: 5px;
	color: var(--primary);
	font-size: 17px;
}
.journal-entry {
	box-shadow: 0 8px 22px rgba(16,42,67,.05);
}

@media (max-width: 980px) {
	.tool-hero,
	.tool-app {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.tool-hero {
		padding: 20px;
	}
	.tool-result__cards {
		grid-template-columns: 1fr;
	}
}
