/* ==========================================================================
   Front page Ã¢â‚¬â€ Slideshow
   ========================================================================== */

.home-slideshow {
	position: relative;
	height: 50vh;
	min-height: 320px;
	overflow: hidden;
}

.home-slideshow__swiper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-slideshow__slide {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.home-slideshow__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Placeholder slides Ã¢â‚¬â€ hiÃ¡Â»â€¡n tÃ¡ÂºÂ¡m cho tÃ¡Â»â€ºi khi admin upload Ã¡ÂºÂ£nh thÃ¡ÂºÂ­t, trÃƒÂ¡nh section trÃ¡Â»â€˜ng */
.home-slideshow__slide--placeholder.home-slideshow__slide--1 {
	background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary) 100%);
}

.home-slideshow__slide--placeholder.home-slideshow__slide--2 {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
}

.home-slideshow__slide--placeholder.home-slideshow__slide--3 {
	background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-navy) 100%);
}

/* Mobile: khung slideshow co theo Ä‘Ãºng tá»‰ lá»‡ áº£nh gá»‘c (1536Ã—764 â€” áº£nh gá»‘c nhá»
   hÆ¡n target crop "home-hero-slide" 1920Ã—1080 nÃªn WordPress khÃ´ng upscale Ä‘á»ƒ
   crop, fallback vá» áº£nh gá»‘c ~2:1, khÃ´ng pháº£i 16:9) thay vÃ¬ height cá»‘ Ä‘á»‹nh theo
   vh â€” object-fit: cover váº«n khÃ­t khung, khÃ´ng crop máº¥t ná»™i dung áº£nh. */
@media (max-width: 767.98px) {
	.home-slideshow {
		height: auto;
		min-height: 0;
		aspect-ratio: 1536 / 764;
	}
}

@media (min-width: 768px) {
	.home-slideshow {
		height: 70vh;
		min-height: 420px;
	}
}

@media (min-width: 1200px) {
	.home-slideshow {
		height: 85vh;
		min-height: 480px;
	}
}

/* ==========================================================================
   Front page Ã¢â‚¬â€ Stats Bar (5 card dÃ†Â°Ã¡Â»â€ºi Slideshow)
   ========================================================================== */

.stats-bar {
	position: relative;
	z-index: 2;
	margin-top: 28px;
	/* padding-bottom: 24px; */
}

.stats-bar__card {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 16px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(23, 33, 63, 0.12);
	padding: 24px 20px;
}

.stats-bar__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.stats-bar__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	flex-shrink: 0;
}

.stats-bar__item--primary .stats-bar__icon {
	background: rgba(230, 0, 126, 0.1);
	color: var(--color-primary);
}

.stats-bar__item--blue .stats-bar__icon {
	background: rgba(47, 128, 237, 0.1);
	color: var(--color-blue);
}

.stats-bar__icon-img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.stats-bar__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.stats-bar__number {
	font-size: 20px;
	font-weight: 800;
}

.stats-bar__item--primary .stats-bar__number {
	color: var(--color-primary);
}

.stats-bar__item--blue .stats-bar__number {
	color: var(--color-blue);
}

.stats-bar__label {
	font-size: 12px;
	color: var(--color-text-muted);
}

@media (min-width: 576px) {
	.stats-bar__card {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.stats-bar {
		 margin-top: -48px;
	}

	.stats-bar__card {
		grid-template-columns: repeat(5, 1fr);
		padding: 32px 28px;
	}

	.stats-bar__icon {
		width: 72px;
		height: 72px;
	}

	.stats-bar__icon-img {
		width: 48px;
		height: 48px;
	}

	.stats-bar__number {
		font-size: 26px;
	}

	.stats-bar__label {
		font-size: 14px;
	}
}

/* ==========================================================================
   Front page Ã¢â‚¬â€ VÃ¡Â»Â phÃƒÂ²ng khÃƒÂ¡m (About)
   ========================================================================== */

.home-about {
	position: relative;
	padding: 48px 0;
	overflow: hidden;
}

.home-about__grid {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Gallery */
.home-about__main-img {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary) 100%);
}

.home-about__main-img a,
.home-about__thumb a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.home-about__main-img img,
.home-about__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.home-about__main-img a:hover img,
.home-about__thumb a:hover img {
	transform: scale(1.05);
}

.home-about__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 10px;
}

.home-about__thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
}

/* Content */
.home-about__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
	margin-bottom: 12px;
}

.home-about__label::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 2px;
	background: var(--color-primary);
}

.home-about__title {
	font-size: 28px;
	font-weight: 800;
	color: var(--color-navy);
	line-height: 1.25;
	margin: 0 0 16px;
}

.home-about__description {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.7;
	margin: 0 0 24px;
}

.home-about__features {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 28px;
}

.home-about__feature {
	display: flex;
	align-items: center;
	gap: 12px;
}

.home-about__feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex-shrink: 0;
}

.home-about__feature-icon--pink {
	background: rgba(230, 0, 126, 0.1);
	color: var(--color-primary);
}

.home-about__feature-icon--blue {
	background: rgba(47, 128, 237, 0.1);
	color: var(--color-blue);
}

.home-about__feature-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.4;
}

.home-about__doctor {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 28px;
	padding: 18px;
	background: #f8f9fc;
	border-radius: 16px;
}

.home-about__doctor-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.home-about__doctor-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-about__doctor-photo--placeholder {
	background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary-dark) 100%);
}

.home-about__doctor-name {
	margin: 0;
	font-size: 14px;
	color: var(--color-blue);
}

.home-about__doctor-name strong {
	color: var(--color-navy);
	font-size: 15px;
}

.home-about__doctor-role {
	margin: 2px 0 8px;
	font-size: 12.5px;
	color: var(--color-text-muted);
}

.home-about__doctor-bio {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--color-text-muted);
}

.home-about__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	border-radius: 50px;
	box-shadow: 0 8px 24px rgba(230, 0, 126, 0.3);
	transition: background 0.2s, transform 0.2s;
}

.home-about__cta:hover {
	background: var(--color-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

/* Hoa vÃ„Æ’n trang trÃƒÂ­ Ã¢â‚¬â€ chÃ¡Â»â€° hiÃ¡Â»â€¡n Ã¡Â»Å¸ mÃƒÂ n hÃƒÂ¬nh rÃ¡Â»â„¢ng, khÃƒÂ´ng chiÃ¡ÂºÂ¿m chÃ¡Â»â€” nÃ¡Â»â„¢i dung */
.home-about__deco {
	display: none;
}

@media (min-width: 768px) {
	.home-about__features {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.home-about {
		padding: 72px 0;
	}

	.home-about__grid {
		flex-direction: row;
		align-items: center;
		gap: 56px;
	}

	.home-about__gallery {
		flex: 0 0 52%;
		max-width: 52%;
	}

	.home-about__content {
		flex: 1;
	}

	.home-about__title {
		font-size: 36px;
	}
}

@media (min-width: 1280px) {
	.home-about__deco {
		display: block;
		position: absolute;
		top: 0;
		right: -20px;
		width: 160px;
		height: auto;
		object-fit: contain;
		pointer-events: none;
	}
}

/* ==========================================================================
   Front page Ã¢â‚¬â€ DÃ¡Â»â€¹ch vÃ¡Â»Â¥ nÃ¡Â»â€¢i bÃ¡ÂºÂ­t (Services)
   ========================================================================== */

.home-services {
	padding: 48px 0;
	background: #f4f6fb;
}

.home-services__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
}

.home-services__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}

.home-services__label::before,
.home-services__label::after {
	content: "";
	width: 20px;
	height: 2px;
	background: var(--color-primary);
}

.home-services__title {
	font-size: 24px;
	font-weight: 800;
	color: var(--color-navy);
	margin: 0;
	line-height: 1.3;
}

.home-services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.home-services__card {
	/* display: flex; */
	align-items: flex-start;
	gap: 16px;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 6px 24px rgba(23, 33, 63, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-services__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(23, 33, 63, 0.1);
}

.home-services__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	flex-shrink: 0;margin:auto;
    margin-bottom:20px; 
}

.home-services__card-content {
	flex: 1;
	min-width: 0;
}

.home-services__icon--primary {
	background: rgba(230, 0, 126, 0.1);
	color: var(--color-primary);
}

.home-services__icon--blue {
	background: rgba(47, 128, 237, 0.1);
	color: var(--color-blue);
}

.home-services__icon-img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.home-services__card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 8px;text-align:center;
}

.home-services__card-desc {
	font-size: 13.5px;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin: 0 0 14px;text-align:center;
}

.home-services__card-actions {
	/* display: flex; */
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;text-align:center;
}

.home-services__card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--color-blue);
	background: rgba(47, 128, 237, 0.08);
	border: 1px solid rgba(47, 128, 237, 0.25);
	border-radius: 999px;
	padding: 5px 12px;
}
.home-services__card-link svg, .home-services__card-price-link svg{display:none;}
.home-services__card-link:hover {
	color: var(--color-primary);
}

.home-services__card-price-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--color-primary);
	background: rgba(230, 0, 126, 0.08);
	border: 1px solid rgba(230, 0, 126, 0.25);
	border-radius: 999px;
	padding: 5px 12px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-services__card-price-link:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

@media (min-width: 576px) {
	.home-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.home-services__title {
		font-size: 30px;
	}
}

@media (min-width: 992px) {
	.home-services {
		padding: 72px 0;
	}

	.home-services__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* FAQ (Cau hoi thuong gap): class .home-faq* dung chung nhieu trang,
   CSS da chuyen sang main.css - xem o do. */

/* Đánh giá khách hàng (Testimonials): class .home-testimonials* / .testimonial-card*
   dùng chung Trang chủ + About, CSS đã chuyển sang testimonials.css - xem ở đó. */

/* ==========================================================================
   Front page Ã¢â‚¬â€ Tin tÃ¡Â»Â©c (News / CÃ¡ÂºÂ©m nang sÃ¡Â»Â©c khÃ¡Â»Âe) Ã¢â‚¬â€ mobile-first
   ========================================================================== */

.home-news {
	padding: 48px 0;
	background: #eef1f8;
}

.home-news__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
}

.home-news__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}

.home-news__label::before,
.home-news__label::after {
	content: "";
	width: 20px;
	height: 2px;
	background: var(--color-primary);
}

.home-news__title {
	font-size: 22px;
	font-weight: 800;
	color: var(--color-navy);
	margin: 0 0 10px;
	line-height: 1.3;
}

.home-news__description {
	font-size: 14px;
	color: var(--color-text-muted);
	margin: 0;
}

.home-news__grid {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.news-featured {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(23, 33, 63, 0.06);
}

.news-featured__img {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-primary) 100%);
}

.news-featured__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.news-featured__img:hover img {
	transform: scale(1.05);
}

.news-featured__ribbon {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 6px 14px;
	border-radius: 999px;
}

.news-featured__body {
	padding: 20px;
}

.news-featured__cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--color-primary);
	margin-bottom: 8px;
}

.news-featured__title {
	font-size: 18px;
	font-weight: 800;
	color: var(--color-navy);
	line-height: 1.35;
	margin: 0 0 10px;
}

.news-featured__title a {
	color: inherit;
}

.news-featured__excerpt {
	font-size: 13.5px;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin: 0 0 16px;
}

.news-featured__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--color-border);
	font-size: 12.5px;
	color: var(--color-text-muted);
}

.news-featured__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.news-featured__link {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 13px;
	color: var(--color-primary);
}

.news-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.news-item {
	display: flex;
	gap: 12px;
	background: #fff;
	border-radius: 14px;
	padding: 10px;
	box-shadow: 0 4px 16px rgba(23, 33, 63, 0.05);
}

.news-item__img {
	display: block;
	flex-shrink: 0;
	width: 96px;
	aspect-ratio: 5 / 4;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
}

.news-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.news-item__title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--color-navy);
	line-height: 1.4;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-item__title a {
	color: inherit;
}

.news-item__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	color: var(--color-text-muted);
}

.news-item__cat {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.news-item__cat--c1 {
	color: var(--color-blue);
}

.news-item__cat--c2 {
	color: var(--color-primary);
}

.news-item__cat--c3 {
	color: var(--color-success);
}

.news-item__cat--c4 {
	color: #7c3aed;
}

.news-item__date {
	position: relative;
	padding-left: 12px;
}

.news-item__date::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--color-text-muted);
}

.home-news__cta {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.home-news__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	border: 1.5px solid var(--color-primary);
	border-radius: 999px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease;
}

.home-news__cta-btn:hover {
	background: var(--color-primary);
	color: #fff;
}

@media (min-width: 576px) {
	.news-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.home-news__title {
		font-size: 28px;
	}
}

@media (min-width: 992px) {
	.home-news {
		padding: 72px 0;
	}

	.home-news__grid {
		flex-direction: row;
		align-items: stretch;
		gap: 28px;
	}

	.news-featured {
		flex: 0 0 38%;
		max-width: 38%;
		display: flex;
		flex-direction: column;
	}

	.news-featured__img {
		flex: 1;
	}

	.news-list {
		flex: 1;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.news-item__img {
		width: 110px;
	}
}
