/* =========================================================
   BS Trần Huy Phước — CSS của theme con (chạy trên Neve + Elementor)
   Tông màu: xanh dương y khoa + trắng, điểm nhấn xanh ngọc. Mobile-first.

   Quy ước: mọi class riêng đều bắt đầu bằng .bhp- để không đụng Neve.
   Các khối được gắn class này ngay trong Elementor (mục Nâng cao › Lớp CSS).
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
	--bhp-blue-900: #06305c;
	--bhp-blue-800: #0a4a86;
	--bhp-blue-700: #0b5fa5;
	--bhp-blue-600: #1272c0;
	--bhp-blue-100: #e3eefa;
	--bhp-blue-50: #f4f8fd;

	--bhp-teal-600: #10868c;
	--bhp-teal-100: #dcf1f2;

	--bhp-ink: #16202c;
	--bhp-body: #3d4b5a;
	--bhp-muted: #6b7a8a;
	--bhp-line: #dde5ee;

	--bhp-warn-bg: #fff8e6;
	--bhp-warn-line: #f0d391;
	--bhp-warn-ink: #7a5a12;

	--bhp-ok-bg: #e8f6ee;
	--bhp-ok-line: #a9d9bd;
	--bhp-ok-ink: #1c6b41;

	--bhp-err-bg: #fdecec;
	--bhp-err-line: #f0b6b6;
	--bhp-err-ink: #8c2020;

	--bhp-radius: 14px;
	--bhp-radius-sm: 9px;
	--bhp-shadow-sm: 0 1px 2px rgba(6, 48, 92, .06), 0 2px 8px rgba(6, 48, 92, .05);
	--bhp-shadow-md: 0 4px 12px rgba(6, 48, 92, .08), 0 12px 28px rgba(6, 48, 92, .07);
}

/* ---------- 2. Hòa vào Neve ---------- */
body.bhp { color: var(--bhp-body); overflow-wrap: break-word; }
body.bhp h1, body.bhp h2, body.bhp h3, body.bhp h4 { color: var(--bhp-ink); line-height: 1.28; letter-spacing: -.01em; }
body.bhp .nv-content-wrap a { text-underline-offset: 2px; }

/* ---------- 2a. Thanh menu cố định khi cuộn trang ----------
   Neve bản miễn phí không có sẵn header dính. Không dùng position:sticky được
   vì thẻ <header> chỉ bọc đúng phần header nên không có "chỗ" để dính —
   phải dùng position:fixed rồi chừa khoảng trống bằng padding cho .wrapper. */
/* Số đo lấy đúng theo chiều cao hàng header của Neve (64/72/80px + 1px viền)
   và đúng các mốc màn hình mà Neve dùng (576px, 960px). */
body.bhp { --bhp-header-h: 65px; }
@media (min-width: 576px) { body.bhp { --bhp-header-h: 73px; } }
@media (min-width: 960px) { body.bhp { --bhp-header-h: 81px; } }

body.bhp header.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 1px 0 var(--bhp-line), 0 4px 16px rgba(6, 48, 92, .06);
}
body.bhp .wrapper { padding-top: var(--bhp-header-h); }
body.admin-bar.bhp header.header { top: 32px; }
@media (max-width: 782px) { body.admin-bar.bhp header.header { top: 46px; } }

body.bhp .nv-navbar .primary-menu-ul > li > a { font-weight: 600; }

/* Tên bác sĩ trên header: giữ nguyên một dòng, không để "Phước" rớt xuống. */
body.bhp .site-title {
	white-space: nowrap;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.25;
	margin: 0;
}
body.bhp .nv-title-tagline-wrap small {
	display: block;
	font-size: .72rem;
	font-weight: 600;
	color: var(--bhp-teal-600);
	white-space: nowrap;
}

/* Ảnh chân dung trong hero không quá to trên màn hình lớn. */
.bhp-hero-photo img { max-width: 420px; margin-inline: auto; }

/* Neo (#gui-cau-hoi, #soi-tiet-nieu…) không bị header cố định che mất. */
:target,
[id^="soi-"], [id^="tuyen-"], [id^="nam-"],
#gui-cau-hoi, #lien-he, .bhp-service, .bhp-content h2[id] {
	scroll-margin-top: calc(var(--bhp-header-h, 80px) + 16px);
}

/* ---------- 3. Nút ---------- */
.bhp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .82em 1.5em;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
	text-decoration: none;
}
.bhp-btn:hover, .bhp-btn:focus { text-decoration: none; transform: translateY(-1px); }
.bhp-btn--primary { background: var(--bhp-blue-700); color: #fff; }
.bhp-btn--primary:hover, .bhp-btn--primary:focus { background: var(--bhp-blue-900); color: #fff; }
.bhp-btn--ghost { background: transparent; color: var(--bhp-blue-700); border-color: var(--bhp-blue-700); }
.bhp-btn--ghost:hover, .bhp-btn--ghost:focus { background: var(--bhp-blue-700); color: #fff; }
.bhp-btn--block { display: flex; width: 100%; }
.bhp-btn__icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- 4. Hero trang chủ (dựng bằng Elementor) ----------
   Nền tối và trầm hơn màu xanh gốc để chữ trắng nổi rõ; thêm một lớp phủ
   sẫm chéo ở phía có chữ để phần chữ luôn tương phản tốt, kể cả trên điện
   thoại khi khối chữ nằm đè lên phần nền sáng hơn. */
.bhp-hero-el {
	background: linear-gradient(155deg, #052748 0%, #084273 52%, #0a5688 100%);
	color: #eaf3fc;
	position: relative;
	overflow: hidden;
}
.bhp-hero-el::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(3, 20, 40, .55) 0%, rgba(3, 20, 40, .28) 45%, rgba(3, 20, 40, 0) 72%);
	pointer-events: none;
}
.bhp-hero-el::after {
	content: ""; position: absolute; right: -140px; top: -120px;
	width: 400px; height: 400px; border-radius: 50%;
	background: rgba(255, 255, 255, .05);
	pointer-events: none;
}
.bhp-hero-el > * { position: relative; z-index: 1; }

/* Chữ trên nền tối.
   Phải nâng độ ưu tiên (thêm body.bhp và .elementor-widget-*) vì Elementor
   sinh sẵn quy tắc màu cho mọi widget trong CSS của từng trang và file đó nạp
   SAU CSS của theme — nếu để chọn lọc yếu hơn thì tiêu đề sẽ ra màu xanh
   nằm trên chính nền xanh. */
body.bhp .bhp-hero-el .elementor-widget-heading .elementor-heading-title,
body.bhp .bhp-hero-el h1,
body.bhp .bhp-hero-el h2,
body.bhp .bhp-hero-el h3 {
	color: #fff;
	text-shadow: 0 1px 2px rgba(2, 16, 33, .35);
}
body.bhp .bhp-hero-el .elementor-widget-text-editor,
body.bhp .bhp-hero-el .elementor-widget-text-editor p,
body.bhp .bhp-hero-el li { color: #eef5fd; }
body.bhp .bhp-hero-el .elementor-widget-text-editor p {
	font-size: 1.06rem;
	line-height: 1.75;
	text-shadow: 0 1px 2px rgba(2, 16, 33, .3);
}
body.bhp .bhp-hero-el a:not(.elementor-button) { color: #fff; }

/* Tên bác sĩ: không để chữ "Phước" rớt xuống một mình trên điện thoại. */
.bhp-hero-name .elementor-heading-title,
.bhp-hero-name {
	font-size: clamp(1.7rem, 7.2vw, 2.7rem);
	line-height: 1.18;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.bhp-nowrap { white-space: nowrap; }

/* Màu chữ mặc định cho widget Elementor trên nền sáng — cũng cần độ ưu tiên
   cao hơn quy tắc mặc định của Elementor (tiêu đề xanh, danh sách xanh đậm). */
body.bhp .elementor-widget-heading .elementor-heading-title { color: var(--bhp-ink); }
body.bhp .elementor-widget-text-editor { color: var(--bhp-body); }
body.bhp .elementor-widget-icon-list .elementor-icon-list-text { color: var(--bhp-body); }
body.bhp .elementor-widget-icon-list .elementor-icon-list-icon i { color: var(--bhp-teal-600); }

body.bhp .bhp-eyebrow .elementor-heading-title { color: var(--bhp-teal-600); }
body.bhp .bhp-hero-el .bhp-eyebrow .elementor-heading-title { color: #7fe0d6; }
body.bhp .bhp-service-col .elementor-heading-title,
body.bhp .bhp-value .elementor-heading-title { color: var(--bhp-blue-800); }
body.bhp .bhp-service-num .elementor-heading-title { color: #fff; }

body.bhp .bhp-cta-band .elementor-widget-heading .elementor-heading-title { color: #fff; }
body.bhp .bhp-cta-band .elementor-widget-text-editor,
body.bhp .bhp-cta-band .elementor-widget-text-editor p { color: #eaf4fb; }

.bhp-hero-badge .elementor-heading-title {
	display: inline-flex; align-items: center; gap: .5em;
	background: rgba(255, 255, 255, .18);
	border: 1px solid rgba(255, 255, 255, .38);
	color: #fff; font-size: .84rem; font-weight: 700;
	padding: .42em 1em; border-radius: 999px;
	letter-spacing: .03em;
	text-shadow: none;
	backdrop-filter: blur(2px);
}
.bhp-hero-role .elementor-heading-title {
	font-size: 1.06rem;
	font-weight: 700;
	color: #bcdefa;
	line-height: 1.5;
}

/* Ảnh chân dung: bo tròn mềm, viền kính mờ thay cho khung chữ nhật cứng. */
.bhp-hero-photo img {
	border-radius: 28px;
	background: #fff;
	border: 6px solid rgba(255, 255, 255, .14);
	box-shadow: 0 22px 55px rgba(2, 16, 33, .45);
}
@media (max-width: 767px) {
	.bhp-hero-photo img { border-radius: 22px; border-width: 5px; }
}
.bhp-hero-trust .elementor-icon-list-item,
.bhp-hero-trust .elementor-icon-list-text { color: #dceafa; font-size: .95rem; line-height: 1.5; }
.bhp-hero-trust .elementor-icon-list-item { align-items: flex-start; margin-bottom: 8px; }
.bhp-hero-trust .elementor-icon-list-icon { padding-top: 3px; }
.bhp-hero-trust .elementor-icon-list-icon i { color: #7fe0d6; font-size: 15px; }
.bhp-hero-trust .elementor-icon-list-icon svg { fill: #7fe0d6; width: 15px; height: 15px; }
@media (min-width: 900px) {
	.bhp-hero-trust .elementor-icon-list-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
}

/* ---------- 5. Thẻ nội dung ---------- */
.bhp-card {
	background: #fff;
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius);
	padding: 22px;
	box-shadow: var(--bhp-shadow-sm);
	height: 100%;
}
.bhp-card h3 { margin-bottom: .45em; }
.bhp-card p:last-child { margin-bottom: 0; }
/* Icon của widget Icon Box: đóng khung vuông bo tròn như thiết kế cũ. */
.bhp-card .elementor-icon-box-wrapper { text-align: left; }
.bhp-card .elementor-icon-box-icon { display: flex; justify-content: flex-start; margin-bottom: 14px; }
.bhp-card .elementor-icon-box-icon .elementor-icon,
.bhp-card__icon {
	width: 46px; height: 46px; border-radius: 12px;
	background: var(--bhp-blue-100); color: var(--bhp-blue-700);
	display: flex; align-items: center; justify-content: center;
	font-size: 21px;
	padding: 0;
}
.bhp-card .elementor-icon-box-icon .elementor-icon:hover { color: var(--bhp-blue-900); }
.bhp-card .elementor-icon-box-icon .elementor-icon svg,
.bhp-card__icon svg { width: 24px; height: 24px; fill: currentColor; }
.bhp-card--accent .elementor-icon-box-icon .elementor-icon,
.bhp-card--accent .bhp-card__icon { background: var(--bhp-teal-100); color: var(--bhp-teal-600); }
.bhp-card .elementor-icon-box-title { font-size: 1.18rem; margin-bottom: .45em; line-height: 1.3; }
.bhp-card .elementor-icon-box-title a { color: var(--bhp-ink); }
.bhp-card .elementor-icon-box-title a:hover { color: var(--bhp-blue-700); }
.bhp-card .elementor-icon-box-description { font-size: .97rem; margin-bottom: 0; }

/* ---------- 6. Khối chuyên môn chi tiết ---------- */
.bhp-service {
	background: #fff;
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius);
	box-shadow: var(--bhp-shadow-sm);
	padding: 24px 20px;
}
@media (min-width: 860px) { .bhp-service { padding: 30px 28px; } }
.bhp-service-num .elementor-heading-title {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 11px;
	background: var(--bhp-blue-700); color: #fff;
	font-weight: 800; font-size: 1.05rem;
}
.bhp-service-col h3, .bhp-service-col .elementor-heading-title {
	font-size: 1.02rem; color: var(--bhp-blue-800);
	padding-bottom: .4em; margin-bottom: .6em;
	border-bottom: 2px solid var(--bhp-blue-100);
}
.bhp-service-col ul { padding-left: 1.2em; margin-bottom: 0; }
.bhp-service-col li { font-size: .96rem; margin-bottom: .45em; }
.bhp-service-lead p { font-size: 1.02rem; }

/* ---------- 7. Hộp lưu ý ---------- */
.bhp-callout {
	border-radius: var(--bhp-radius-sm);
	padding: 16px 18px;
	font-size: .96rem;
	border: 1px solid var(--bhp-warn-line);
	background: var(--bhp-warn-bg);
	color: var(--bhp-warn-ink);
}
.bhp-callout strong { color: inherit; }
.bhp-callout p:last-child { margin-bottom: 0; }
.bhp-callout--info { background: var(--bhp-blue-50); border-color: var(--bhp-blue-100); color: var(--bhp-blue-900); }
.bhp-callout--privacy { background: var(--bhp-teal-100); border-color: #a9dcdf; color: #0c5d62; }

/* ---------- 8. Biểu mẫu gửi câu hỏi ---------- */
.bhp-form-card {
	background: #fff;
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius);
	box-shadow: var(--bhp-shadow-md);
	padding: 24px 20px;
}
@media (min-width: 700px) { .bhp-form-card { padding: 30px 28px; } }
.bhp-form-card h2 { font-size: 1.4rem; margin-bottom: .4em; }
.bhp-form-card .bhp-callout { margin: 16px 0 20px; }

.bhp-field { margin-bottom: 16px; }
.bhp-field label { display: block; font-weight: 700; color: var(--bhp-ink); font-size: .94rem; margin-bottom: .4em; }
.bhp-field .req { color: #c0392b; }
.bhp-field input[type="text"],
.bhp-field input[type="tel"],
.bhp-field input[type="email"],
.bhp-field select,
.bhp-field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 16px; /* tránh iOS tự phóng to */
	color: var(--bhp-ink);
	background: #fff;
	padding: .72em .85em;
	border: 1.5px solid var(--bhp-line);
	border-radius: var(--bhp-radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none; appearance: none;
}
.bhp-field select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a8a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .8em center; background-size: 18px;
	padding-right: 2.4em;
}
.bhp-field textarea { min-height: 110px; resize: vertical; }
.bhp-field input:focus, .bhp-field select:focus, .bhp-field textarea:focus {
	border-color: var(--bhp-blue-700);
	box-shadow: 0 0 0 3px var(--bhp-blue-100);
	outline: none;
}
.bhp-field__hint { font-size: .83rem; color: var(--bhp-muted); margin-top: .35em; }
.bhp-field--check { display: flex; gap: .65em; align-items: flex-start; }
.bhp-field--check input { margin-top: .35em; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--bhp-blue-700); }
.bhp-field--check label { font-weight: 500; font-size: .9rem; color: var(--bhp-body); margin-bottom: 0; }
.bhp-field-row { display: grid; gap: 0; }
@media (min-width: 640px) { .bhp-field-row { grid-template-columns: 1fr 1fr; gap: 0 16px; } }

.bhp-hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.bhp-notice {
	border-radius: var(--bhp-radius-sm);
	padding: 14px 16px; margin-bottom: 20px;
	font-size: .96rem; border: 1px solid;
}
.bhp-notice--ok { background: var(--bhp-ok-bg); border-color: var(--bhp-ok-line); color: var(--bhp-ok-ink); }
.bhp-notice--err { background: var(--bhp-err-bg); border-color: var(--bhp-err-line); color: var(--bhp-err-ink); }
.bhp-notice p:last-child { margin-bottom: 0; }
.bhp-notice strong { color: inherit; }

/* ---------- 9. Hai lối liên hệ ---------- */
.bhp-paths { display: grid; gap: 20px; }
@media (min-width: 820px) { .bhp-paths { grid-template-columns: 1fr 1fr; } }

.bhp-path {
	position: relative;
	background: #fff;
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius);
	box-shadow: var(--bhp-shadow-sm);
	padding: 24px 22px;
	display: flex; flex-direction: column;
}
.bhp-path--alt { background: var(--bhp-blue-50); border-color: var(--bhp-blue-100); }
.bhp-path__num {
	position: absolute; top: 18px; right: 18px;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--bhp-blue-100); color: var(--bhp-blue-800);
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: .85rem;
}
.bhp-path--alt .bhp-path__num { background: #fff; }
.bhp-path__icon {
	width: 46px; height: 46px; border-radius: 12px;
	background: var(--bhp-blue-100); color: var(--bhp-blue-700);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 14px;
}
.bhp-path__icon svg { width: 24px; height: 24px; }
.bhp-path--alt .bhp-path__icon { background: var(--bhp-teal-100); color: var(--bhp-teal-600); }
.bhp-path h3 { font-size: 1.15rem; margin-bottom: .5em; padding-right: 34px; }
.bhp-path p { font-size: .96rem; }
.bhp-path__value {
	display: flex; align-items: center; gap: .55em;
	margin-bottom: .5em; font-weight: 700;
	word-break: break-word;
}
.bhp-path__value svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--bhp-blue-700); }
.bhp-path__value--big { font-size: 1.28rem; letter-spacing: .01em; }
.bhp-path__value--big svg { width: 22px; height: 22px; }
.bhp-path__cta { margin-top: auto; }

/* ---------- 10. Thông tin liên hệ ---------- */
.bhp-contact-list { list-style: none; padding: 0; margin: 0; }
.bhp-contact-list li {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 14px 0; border-bottom: 1px solid var(--bhp-line);
	margin: 0;
}
.bhp-contact-list li:last-child { border-bottom: 0; }
.bhp-contact-list__icon {
	width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px;
	background: var(--bhp-blue-100); color: var(--bhp-blue-700);
	display: flex; align-items: center; justify-content: center;
}
.bhp-contact-list__icon svg { width: 20px; height: 20px; }
.bhp-contact-list strong { display: block; color: var(--bhp-ink); font-size: .95rem; }
.bhp-contact-list span, .bhp-contact-list a { font-size: .97rem; }

.bhp-channel-btns { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 480px) { .bhp-channel-btns { grid-template-columns: repeat(2, 1fr); } }
.bhp-channel {
	display: flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1em; border-radius: var(--bhp-radius-sm);
	font-weight: 700; font-size: .95rem; color: #fff; text-decoration: none;
	transition: filter .15s ease, transform .12s ease;
}
.bhp-channel:hover, .bhp-channel:focus { color: #fff; text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.bhp-channel svg { width: 20px; height: 20px; }
.bhp-channel--mail { background: var(--bhp-teal-600); }
.bhp-channel--zalo { background: #0068ff; }
.bhp-channel--mess { background: #0084ff; }

/* ---------- 11. Về bác sĩ ---------- */
.bhp-facts { list-style: none; padding: 0; margin: 0; }
.bhp-facts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bhp-line); margin: 0; font-size: .95rem; }
.bhp-facts li:last-child { border-bottom: 0; }
.bhp-facts svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--bhp-teal-600); margin-top: 3px; }
.bhp-facts strong { display: block; color: var(--bhp-ink); }

.bhp-photo-card {
	background: #fff; border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius); padding: 12px; box-shadow: var(--bhp-shadow-sm);
}
.bhp-photo-card img { border-radius: var(--bhp-radius-sm); width: 100%; background: var(--bhp-blue-50); }

.bhp-value {
	background: var(--bhp-blue-50); border: 1px solid var(--bhp-blue-100);
	border-radius: var(--bhp-radius-sm); padding: 18px; height: 100%;
}
.bhp-value h3, .bhp-value .elementor-heading-title { font-size: 1.02rem; margin-bottom: .35em; color: var(--bhp-blue-800); }
.bhp-value p { font-size: .95rem; margin-bottom: 0; }

/* ---------- 12. Bài viết ---------- */
.bhp-eyebrow .elementor-heading-title,
.bhp-eyebrow {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--bhp-teal-600);
}
.bhp-hero-el .bhp-eyebrow .elementor-heading-title { color: #7fe0d6; }

body.bhp .nv-content-wrap h2 {
	padding-left: .55em;
	border-left: 4px solid var(--bhp-blue-700);
	line-height: 1.35;
	margin-top: 1.7em;
}
body.bhp .nv-content-wrap h3 { color: var(--bhp-blue-800); margin-top: 1.4em; }
body.bhp .nv-content-wrap li { margin-bottom: .5em; }

.bhp-disclaimer {
	margin-top: 2em;
	padding: 15px 18px;
	background: var(--bhp-blue-50);
	border-left: 4px solid var(--bhp-teal-600);
	border-radius: 0 var(--bhp-radius-sm) var(--bhp-radius-sm) 0;
	font-size: .93rem;
	color: var(--bhp-body);
}
.bhp-disclaimer p:last-child { margin-bottom: 0; }

.bhp-author-box {
	margin-top: 2em;
	display: flex; gap: 16px; align-items: flex-start;
	background: #fff; border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius); padding: 20px;
	box-shadow: var(--bhp-shadow-sm);
}
.bhp-author-box__avatar {
	width: 62px; height: 62px; flex: 0 0 auto; border-radius: 50%;
	background: linear-gradient(135deg, var(--bhp-blue-700), var(--bhp-teal-600));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 1.15rem;
}
.bhp-author-box h2, .bhp-author-box h3 { font-size: 1.05rem; margin-bottom: .25em; padding-left: 0 !important; border-left: 0 !important; margin-top: 0 !important; }
.bhp-author-box p { font-size: .93rem; margin-bottom: .7em; }

.bhp-refs {
	margin-top: 2.2em;
	padding: 18px 20px;
	background: var(--bhp-blue-50);
	border: 1px solid var(--bhp-blue-100);
	border-radius: var(--bhp-radius-sm);
	font-size: .92rem;
}
.bhp-refs h2, .bhp-refs h3 {
	font-size: .88rem !important;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--bhp-blue-800);
	margin: 0 0 .8em !important;
	padding: 0 !important;
	border: 0 !important;
}
.bhp-refs ol { margin: 0; padding-left: 1.3em; }
.bhp-refs li { margin-bottom: .6em; line-height: 1.55; color: var(--bhp-muted); }
.bhp-refs li:last-child { margin-bottom: 0; }
.bhp-refs a { color: var(--bhp-blue-700); word-break: break-word; }

.bhp-keypoints {
	background: #fff;
	border: 1px solid var(--bhp-line);
	border-left: 4px solid var(--bhp-teal-600);
	border-radius: 0 var(--bhp-radius-sm) var(--bhp-radius-sm) 0;
	padding: 16px 20px;
	margin: 0 0 1.8em;
}
.bhp-keypoints strong { display: block; margin-bottom: .5em; color: var(--bhp-blue-900); }
.bhp-keypoints ul { margin: 0; padding-left: 1.2em; }
.bhp-keypoints li { font-size: .96rem; margin-bottom: .4em; }

.bhp-toc {
	background: var(--bhp-blue-50);
	border: 1px solid var(--bhp-blue-100);
	border-radius: var(--bhp-radius-sm);
	padding: 16px 18px;
}
.bhp-toc__title { font-weight: 800; color: var(--bhp-blue-900); margin-bottom: .5em; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.bhp-toc ol { margin: 0; padding-left: 1.3em; }
.bhp-toc li { font-size: .95rem; margin-bottom: .3em; }

/* ---------- 13. Dải kêu gọi hành động ---------- */
.bhp-cta-band {
	background: linear-gradient(135deg, var(--bhp-blue-800), var(--bhp-teal-600));
	color: #eaf4fb;
}
.bhp-cta-band .elementor-heading-title, .bhp-cta-band h2 { color: #fff; }
.bhp-cta-band p { color: #dcecf7; }

/* ---------- 14. Khung chat trên website ----------
   Nút mở khung chat là nút Messenger của plugin "Button Contact VR"
   (theme không tự vẽ thêm nút nổi để tránh chồng lên nút của plugin). */
.bhp-chat {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 100000; /* trên nút của plugin (99999) */
	display: flex;
	justify-content: flex-end;
	padding: 0;
	pointer-events: none;
}
.bhp-chat[hidden] { display: none; }
.bhp-chat__panel {
	pointer-events: auto;
	width: 100%;
	max-width: 100%;
	max-height: 88vh;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -6px 40px rgba(6, 48, 92, .28);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: bhp-chat-in .22s ease-out;
}
@keyframes bhp-chat-in { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) {
	.bhp-chat { padding: 0 20px 96px 20px; }
	.bhp-chat__panel { width: 380px; border-radius: 16px; max-height: 72vh; }
}
@media (prefers-reduced-motion: reduce) { .bhp-chat__panel { animation: none; } }

.bhp-chat__head {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 14px;
	background: linear-gradient(135deg, var(--bhp-blue-800), var(--bhp-blue-600));
	color: #fff;
}
.bhp-chat__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top center; flex: 0 0 auto; background: #fff; }
.bhp-chat__who { flex: 1; min-width: 0; line-height: 1.3; }
.bhp-chat__who strong { display: block; color: #fff; font-size: .98rem; }
.bhp-chat__who span { font-size: .8rem; color: #cfe4f8; }
.bhp-chat__close {
	background: rgba(255, 255, 255, .16); color: #fff; border: 0;
	width: 30px; height: 30px; border-radius: 50%;
	font-size: 1.3rem; line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.bhp-chat__close:hover { background: rgba(255, 255, 255, .3); }

.bhp-chat__body {
	flex: 1; overflow-y: auto; padding: 16px 14px;
	background: var(--bhp-blue-50);
	display: flex; flex-direction: column; gap: 10px;
	min-height: 180px;
}
.bhp-chat__msg { max-width: 86%; }
.bhp-chat__msg p {
	margin: 0;
	padding: 10px 13px;
	border-radius: 14px;
	font-size: .93rem;
	line-height: 1.55;
}
.bhp-chat__msg--bot p { background: #fff; color: var(--bhp-body); border: 1px solid var(--bhp-line); border-bottom-left-radius: 4px; }
.bhp-chat__msg--me { align-self: flex-end; }
.bhp-chat__msg--me p { background: var(--bhp-blue-700); color: #fff; border-bottom-right-radius: 4px; }
.bhp-chat__msg--err p { background: var(--bhp-err-bg); border: 1px solid var(--bhp-err-line); color: var(--bhp-err-ink); }

.bhp-chat__form { padding: 10px 12px 12px; border-top: 1px solid var(--bhp-line); background: #fff; }
.bhp-chat__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.bhp-chat__contact input,
.bhp-chat__row textarea {
	width: 100%; font-family: inherit; font-size: 16px;
	color: var(--bhp-ink); background: #fff;
	border: 1.5px solid var(--bhp-line); border-radius: 10px;
	padding: .6em .75em;
}
.bhp-chat__contact input:focus,
.bhp-chat__row textarea:focus { border-color: var(--bhp-blue-700); outline: none; box-shadow: 0 0 0 3px var(--bhp-blue-100); }
.bhp-chat__row { display: flex; gap: 8px; align-items: flex-end; }
.bhp-chat__row textarea { resize: none; max-height: 110px; line-height: 1.5; }
.bhp-chat__send {
	flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: var(--bhp-blue-700); color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.bhp-chat__send:hover { background: var(--bhp-blue-900); }
.bhp-chat__send svg { width: 20px; height: 20px; }
.bhp-chat__foot {
	display: flex; align-items: center; justify-content: center; gap: .4em;
	margin: 8px 0 0; font-size: .76rem; color: var(--bhp-muted);
}
.bhp-chat__foot svg { width: 13px; height: 13px; }

.bhp-chat__alt { padding: 12px; border-top: 1px solid var(--bhp-line); display: grid; gap: 8px; background: #fff; }
.bhp-chat__altbtn {
	display: flex; align-items: center; gap: .6em;
	padding: .7em .9em; border-radius: 10px;
	font-weight: 700; font-size: .9rem; color: #fff; text-decoration: none;
}
.bhp-chat__altbtn:hover, .bhp-chat__altbtn:focus { color: #fff; text-decoration: none; filter: brightness(1.08); }
.bhp-chat__altbtn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.bhp-chat__altbtn--mess { background: #0084ff; }
.bhp-chat__altbtn--zalo { background: #0068ff; }
.bhp-chat__altbtn--call { background: var(--bhp-blue-800); }

/* ---------- 14b. Nút của Elementor ---------- */
.elementor-button {
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: .01em;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.elementor-button:hover, .elementor-button:focus { transform: translateY(-1px); }

/* Nút trên nền tối (hero, dải CTA). */
.bhp-btn-on-dark .elementor-button {
	background: #fff;
	color: var(--bhp-blue-800);
	border: 2px solid #fff;
}
.bhp-btn-on-dark .elementor-button:hover,
.bhp-btn-on-dark .elementor-button:focus { background: var(--bhp-blue-100); color: var(--bhp-blue-900); }
.bhp-btn-on-dark.bhp-btn-outline .elementor-button {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .65);
}
.bhp-btn-on-dark.bhp-btn-outline .elementor-button:hover,
.bhp-btn-on-dark.bhp-btn-outline .elementor-button:focus { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }

/* Nút viền trên nền sáng. */
.bhp-btn-outline:not(.bhp-btn-on-dark) .elementor-button {
	background: transparent;
	color: var(--bhp-blue-700);
	border: 2px solid var(--bhp-blue-700);
}
.bhp-btn-outline:not(.bhp-btn-on-dark) .elementor-button:hover,
.bhp-btn-outline:not(.bhp-btn-on-dark) .elementor-button:focus { background: var(--bhp-blue-700); color: #fff; }

.bhp-btn-center { justify-content: center; align-items: center; }
@media (max-width: 767px) {
	.bhp-btn-on-dark .elementor-button,
	.bhp-btn-outline .elementor-button { width: 100%; }
}

/* ---------- 14c. Tiêu đề trang ---------- */
.bhp-page-hero { border-bottom: 1px solid var(--bhp-line); }
.bhp-page-hero h1 { font-size: clamp(1.6rem, 5.5vw, 2.15rem); margin-bottom: .3em; }
.bhp-page-hero p { margin-bottom: 0; }
.bhp-head-block { text-align: center; margin-bottom: 6px; }
.bhp-head-block .elementor-widget-text-editor { max-width: 720px; }

/* ---------- 14d. Danh sách bài viết (widget Posts) ---------- */
.elementor-posts .elementor-post {
	background: #fff;
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius);
	box-shadow: var(--bhp-shadow-sm);
	overflow: hidden;
}
.elementor-posts .elementor-post__text { padding: 0 18px 18px; }
.elementor-posts .elementor-post__title { font-size: 1.08rem; line-height: 1.35; }
.elementor-posts .elementor-post__title a { color: var(--bhp-ink); }
.elementor-posts .elementor-post__title a:hover { color: var(--bhp-blue-700); }
.elementor-posts .elementor-post__excerpt p { font-size: .94rem; color: var(--bhp-body); }
.elementor-posts .elementor-post__meta-data { font-size: .82rem; color: var(--bhp-muted); padding: 16px 18px 0; margin-bottom: .4em; }
.elementor-posts .elementor-post__read-more { font-weight: 700; color: var(--bhp-blue-700); }

/* ---------- 14e. Câu hỏi thường gặp (accordion) ---------- */
.elementor-accordion .elementor-accordion-item {
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-radius-sm);
	margin-bottom: 12px;
	overflow: hidden;
	background: #fff;
}
.elementor-accordion .elementor-tab-title { font-size: 1rem; font-weight: 700; color: var(--bhp-ink); }
.elementor-accordion .elementor-tab-title.elementor-active { color: var(--bhp-blue-700); }
.elementor-accordion .elementor-tab-content { font-size: .96rem; border-top: 1px solid var(--bhp-line); }

/* ---------- 14e2. Danh sách bài viết của Neve (trang Kiến thức y khoa) ---------- */
/* Thẻ bài viết chính là .article-content-col (Neve vẽ nền/bo góc/đổ bóng ở đây). */
body.bhp .nv-index-posts article.layout-grid .article-content-col {
	position: relative;
	width: 100%;
	border: 1px solid var(--bhp-line);
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.bhp .nv-index-posts article.layout-grid .article-content-col::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--bhp-blue-700), var(--bhp-teal-600));
}
body.bhp .nv-index-posts article.layout-grid .article-content-col:hover {
	border-color: var(--bhp-blue-100);
	transform: translateY(-2px);
	box-shadow: var(--bhp-shadow-md);
}
body.bhp .nv-index-posts article.layout-grid .content {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}
body.bhp .blog-entry-title { font-size: 1.12rem; line-height: 1.4; margin-bottom: .5em; }
body.bhp .blog-entry-title a { color: var(--bhp-ink); }
body.bhp .blog-entry-title a:hover { color: var(--bhp-blue-700); }
body.bhp .excerpt-wrap p { font-size: .95rem; color: var(--bhp-body); margin-bottom: 0; }
body.bhp .excerpt-wrap { margin-top: auto; }

/* Chỉ hiện ngày đăng, ẩn ngày cập nhật để khỏi ra hai ngày cạnh nhau. */
body.bhp .nv-meta-list time.updated { display: none; }
body.bhp .nv-meta-list { font-size: .82rem; color: var(--bhp-muted); margin-bottom: .8em; }
body.bhp .nv-meta-list li.meta.category a {
	display: inline-block;
	background: var(--bhp-blue-100);
	color: var(--bhp-blue-800);
	font-weight: 700;
	font-size: .76rem;
	padding: .2em .7em;
	border-radius: 999px;
	text-decoration: none;
}
body.bhp .nv-meta-list li.meta.category a:hover { background: var(--bhp-blue-700); color: #fff; }
body.bhp .nv-meta-list li.meta.category:after { content: "" !important; margin: 0; }

/* Nút "Đọc tiếp" cuối mỗi thẻ. */
body.bhp .bhp-readmore {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	margin-top: .9em;
	font-weight: 700;
	font-size: .92rem;
	color: var(--bhp-blue-700);
	text-decoration: none;
}
body.bhp .bhp-readmore:hover { color: var(--bhp-blue-900); }

/* ---------- 14f. Chân trang & sidebar ---------- */
.bhp-fcol h3 { color: #fff; font-size: 1.05rem; margin-bottom: .6em; }
.bhp-fcol p { font-size: .93rem; margin-bottom: .7em; }
.bhp-fcol__tag { color: #7fe0d6 !important; font-weight: 600; }
.bhp-fcol__label { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-bottom: .15em !important; }
.bhp-fcol__big { font-size: 1.25rem; font-weight: 700; }
.bhp-fcol a { text-decoration: none; }
.bhp-fcol a:hover { text-decoration: underline; }

.bhp-side-cta {
	background: linear-gradient(160deg, var(--bhp-blue-800), var(--bhp-blue-600));
	color: #e5f0fb;
	border-radius: var(--bhp-radius);
	padding: 20px;
}
.bhp-side-cta h2 { color: #fff; font-size: 1.05rem; margin-bottom: .5em; }
.bhp-side-cta p { font-size: .93rem; }
.bhp-side-cta a { color: #fff; }
.bhp-side-cta .bhp-btn--primary { background: #fff; color: var(--bhp-blue-800); }
.bhp-side-cta .bhp-btn--primary:hover { background: var(--bhp-blue-100); color: var(--bhp-blue-900); }

/* ---------- 15. Tiện ích ---------- */
.bhp-mt-2 { margin-top: 1.4em; }
.bhp-text-center { text-align: center; }
.bhp-small { font-size: .88rem; }
.bhp-muted { color: var(--bhp-muted); }

@media print {
	.bhp-chat, #button-contact-vr, .bhp-cta-band { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
