
:root {
	--primary-color: #d63384;
	--secondary-color: #f8f9fa;
	--accent-color: #e83e8c;
	--text-dark: #212529;
	--text-muted: #6c757d;
	--bg-light: #fff5f8;
	--border-radius: 0.5rem;
	--box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.075);
	--medical-pink: #fff0f5;
	--medical-rose: #ffe4e9;
	--soft-gold: #ffc1cc;
}

body {
	font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: var(--text-dark);
	background-color: #f8f9fa;
	padding-top: 75px;
}

.main-container {
	padding-top: 24px;
}

.hero-slider {
	margin-top: 24px;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

a:hover {
	color: var(--accent-color);
}


.navbar {
	box-shadow: 0 2px 25px rgba(214,51,132,0.08);
	padding: 10px 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,245,250,0.95) 100%);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border-bottom: 1px solid rgba(214,51,132,0.08);
}
.logo-img {
	height: 42px;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}
.navbar-brand:hover .logo-img {
	transform: scale(1.08);
	filter: drop-shadow(0 4px 8px rgba(214,51,132,0.2));
}
.navbar-medical {
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.navbar-medical.scrolled {
	padding: 6px 0;
	box-shadow: 0 2px 30px rgba(214,51,132,0.15);
	background: linear-gradient(135deg, rgba(255,255,255,0.99) 0%, rgba(255,245,250,0.98) 100%);
}
.navbar-nav .nav-link {
	font-weight: 500;
	padding: 12px 20px;
	margin: 0 2px;
	border-radius: 30px;
	position: relative;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	letter-spacing: 1px;
	color: #2c2c2c;
	font-size: 15px;
}
.navbar-nav .nav-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 30px;
	background: linear-gradient(135deg, rgba(214,51,132,0.06), rgba(232,62,140,0.04));
	opacity: 0;
	transition: opacity 0.3s ease;
}
.navbar-nav .nav-link:hover {
	color: var(--primary-color);
	background: rgba(214,51,132,0.04);
	transform: translateY(-1px);
}
.navbar-nav .nav-link:hover::before {
	opacity: 1;
}
.navbar-nav .nav-item.active .nav-link {
	color: var(--primary-color);
	font-weight: 600;
	background: linear-gradient(135deg, rgba(214,51,132,0.08), rgba(232,62,140,0.06));
}
.navbar-nav .nav-item.active .nav-link::after {
	content: '';
	position: absolute;
	bottom: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 2px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: 1px;
	box-shadow: 0 2px 6px rgba(214,51,132,0.35);
}
@keyframes floatGentle {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}
.navbar-toggler {
	border: none;
	padding: 8px 10px;
	border-radius: 12px;
	background: rgba(214,51,132,0.06);
	transition: all 0.3s ease;
}
.navbar-toggler:hover {
	background: rgba(214,51,132,0.12);
}
.navbar-toggler span,
.navbar-toggler span::before,
.navbar-toggler span::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--primary-color);
	border-radius: 2px;
	position: relative;
	transition: all 0.3s ease;
}
.navbar-toggler span::before,
.navbar-toggler span::after {
	content: '';
	position: absolute;
	left: 0;
}
.navbar-toggler span::before {
	top: -7px;
}
.navbar-toggler span::after {
	bottom: -7px;
}
.navbar-toggler[aria-expanded="true"] span {
	background: transparent;
}
.navbar-toggler[aria-expanded="true"] span::before {
	transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] span::after {
	transform: rotate(-45deg) translate(5px, -5px);
}
.navbar-cta {
	margin-left: 18px;
	display: flex;
	align-items: center;
}
.btn-consultation {
	display: inline-flex;
	align-items: center;
	padding: 11px 26px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	border-radius: 32px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 4px 15px rgba(214,51,132,0.3);
	position: relative;
	overflow: hidden;
}
.btn-consultation::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	transition: left 0.7s ease;
}
.btn-consultation:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 25px rgba(214,51,132,0.4);
	color: #fff;
}
.btn-consultation:hover::before {
	left: 100%;
}
.btn-consultation i {
	margin-right: 8px;
	font-size: 16px;
}
@media (max-width: 991.98px) {
	.navbar-cta {
		margin: 15px 0 0 0;
		width: 100%;
		justify-content: center;
	}
	.btn-consultation {
		padding: 12px 30px;
		font-size: 15px;
	}
}
.dropdown-menu {
	border: none;
	border-radius: 18px;
	box-shadow: 0 16px 45px rgba(214,51,132,0.15);
	padding: 12px 0;
	margin-top: 12px;
	background: linear-gradient(135deg, #fff 0%, var(--medical-pink) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transform-origin: top center;
	animation: dropdownFade 0.3s ease-out;
}
@keyframes dropdownFade {
	0% { opacity: 0; transform: translateY(-8px) scale(0.96); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}
.dropdown-menu .dropdown-item {
	padding: 12px 24px;
	font-weight: 500;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	color: #3a3a3a;
	position: relative;
	font-size: 14px;
}
.dropdown-menu .dropdown-item:hover {
	background: linear-gradient(90deg, rgba(214,51,132,0.08), rgba(232,62,140,0.05));
	color: var(--primary-color);
	padding-left: 28px;
}
.dropdown-menu .dropdown-item::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	background: var(--primary-color);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.dropdown-menu .dropdown-item:hover::before {
	opacity: 1;
}
.search-form {
	position: relative;
}
.search-input {
	border-radius: 28px;
	padding: 11px 20px 11px 42px;
	border: 1px solid rgba(214,51,132,0.15);
	background: rgba(255,255,255,0.92);
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	width: 190px;
	font-size: 14px;
	color: #333;
}
.search-input:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(214,51,132,0.2);
	width: 210px;
	background: #fff;
}
.search-input::placeholder {
	color: #aaa;
	font-weight: 400;
}
.search-input-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--primary-color);
	font-size: 14px;
	pointer-events: none;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}
.search-input:focus + .search-input-icon {
	opacity: 1;
}
.btn-search {
	border-radius: 28px;
	padding: 11px 24px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	border: none;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(214,51,132,0.2);
}
.btn-search::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
	transition: left 0.6s ease;
}
.btn-search:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(214,51,132,0.35);
}
.btn-search:hover::before {
	left: 100%;
}
.btn-search:active {
	transform: translateY(0);
}
@media (max-width: 991.98px) {
	.navbar-collapse {
		background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,245,250,0.98) 100%);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-radius: 20px;
		padding: 24px;
		margin-top: 18px;
		box-shadow: 0 15px 40px rgba(214,51,132,0.15);
		border: 1px solid rgba(214,51,132,0.08);
	}
	.navbar-nav .nav-link {
		margin: 6px 0;
		padding: 14px 18px;
		border-radius: 24px;
		font-size: 15px;
	}
	.search-form {
		margin-top: 20px;
		width: 100%;
	}
	.search-input {
		width: 100%;
		padding: 12px 20px 12px 44px;
		font-size: 15px;
	}
	.search-input:focus {
		width: 100%;
	}
	.navbar-cta {
		margin: 15px 0 0 0;
		width: 100%;
		justify-content: center;
	}
	.btn-consultation {
		padding: 12px 30px;
		font-size: 15px;
	}
}
.thjingxuan_title.categorylist {
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: #fff;
	padding: 10px 20px;
	border-radius: var(--border-radius) var(--border-radius) 0 0;
	font-size: 14px;
}
.thjingxuan_title.categorylist a {
	color: #fff;
	text-decoration: none;
}
.thjingxuan_title.categorylist a:hover {
	text-decoration: underline;
}
.thjingxuan_title.categorylist span {
	margin: 0 5px;
	opacity: 0.8;
}


.thjingxuan {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
	margin-bottom: 20px;
}

.thjingxuan_sec {
	padding: 20px;
}


.thliorder1 {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	padding: 20px;
	margin-bottom: 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.thliorder1:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.thnews-img {
	width: 200px;
	height: 140px;
	overflow: hidden;
	border-radius: var(--border-radius);
	flex-shrink: 0;
}
.thnews-img img {
	border-radius: var(--border-radius);
	transition: transform 0.3s ease;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.thnews-img:hover img {
	transform: scale(1.03);
}

.thnews-con {
	flex: 1;
	min-width: 0;
}
.news-con-tit {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.4;
}
.news-con-tit a {
	color: var(--text-dark);
	text-decoration: none;
}
.news-con-tit a:hover {
	color: var(--primary-color);
}
.newsummary {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 10px;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.thinfo {
	font-size: 13px;
	color: var(--text-muted);
}
.thinfo a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: 12px;
}

@media (max-width: 575px) {
	.thnews-img {
		width: 100%;
		height: 180px;
		margin-bottom: 12px;
	}
	.thliorder1 > .d-flex {
		flex-wrap: wrap;
	}
}

.thimg-rounded {
	border-radius: var(--border-radius);
}


.grid-item {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
	margin-bottom: 20px;
	transition: transform 0.2s ease;
}
.grid-item:hover {
	transform: translateY(-5px);
}
.grid-item img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-thumb {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.grid-item:hover img, .related-thumb:hover {
	transform: scale(1.05);
}
.grid-item .card-body {
	padding: 15px;
	text-align: center;
}
.grid-item .card-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 0;
	color: var(--text-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


.profile-card {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
	margin-bottom: 24px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0,0,0,0.05);
}
.profile-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0.75rem 1.5rem rgba(214,51,132,0.15);
}
.profile-img-wrapper {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	flex-shrink: 0;
}
.profile-card .profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.profile-card:hover .profile-img {
	transform: scale(1.05);
}
.profile-card .card-body {
	padding: 20px;
}
.profile-card .card-title {
	color: var(--primary-color);
	font-weight: 700;
	font-size: 18px;
	margin-bottom: 10px;
}
.profile-card .info-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--text-muted);
}
.profile-card .info-item i {
	color: var(--primary-color);
	width: 20px;
	margin-top: 3px;
}


.detail-title {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.4;
}
.detail-icon {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}
.detail-icon .meta span {
	display: inline-block;
	margin-right: 20px;
	font-size: 13px;
	color: var(--text-muted);
}
.detail-con {
	font-family: "Source Han Sans SC", "Noto Sans CJK SC", "思源黑体", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 2;
	color: #333;
}
.detail-con h1,
.detail-con h2,
.detail-con h3,
.detail-con h4,
.detail-con h5,
.detail-con h6 {
	color: var(--text-dark);
	font-weight: 700;
	margin-top: 1.8em;
	margin-bottom: 1em;
	line-height: 1.4;
	position: relative;
	padding-left: 16px;
}

.detail-con h1 {
	font-size: 1.9em;
	font-weight: 800;
	background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
	padding: 12px 16px;
	border-left: 5px solid var(--primary-color);
	border-radius: 0 8px 8px 0;
	box-shadow: 0 2px 8px rgba(214,51,132,0.08);
	letter-spacing: 0.02em;
}
.detail-con h1::before {
	content: '\f6ff';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-right: 10px;
	color: var(--primary-color);
	font-size: 0.85em;
}

.detail-con h2 {
	font-size: 1.6em;
	font-weight: 700;
	padding: 10px 16px;
	border-left: 4px solid var(--accent-color);
	background: linear-gradient(90deg, #fff5f8 0%, transparent 100%);
	border-radius: 0 6px 6px 0;
	letter-spacing: 0.01em;
}
.detail-con h2::before {
	content: '\f02d';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-right: 8px;
	color: var(--accent-color);
	font-size: 0.8em;
}

.detail-con h3 {
	font-size: 1.35em;
	font-weight: 700;
	padding-left: 14px;
	border-left: 3px solid #e9a8c8;
	color: #2d2d2d;
}
.detail-con h3::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 6px;
	height: 6px;
	background: var(--primary-color);
	border-radius: 50%;
}

.detail-con h4 {
	font-size: 1.15em;
	font-weight: 600;
	color: #444;
	padding-left: 12px;
	border-left: 2px solid #ddd;
}
.detail-con h4::before {
	content: '\f111';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-right: 8px;
	color: #bbb;
	font-size: 0.5em;
	vertical-align: middle;
}

.detail-con h5 {
	font-size: 1.05em;
	font-weight: 600;
	color: #555;
	background: #f8f9fa;
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	margin-top: 1.5em;
}

.detail-con h6 {
	font-size: 0.95em;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 1.3em;
}
.detail-con h6::before {
	content: '#';
	color: var(--primary-color);
	margin-right: 4px;
	font-weight: 700;
}

@media (max-width: 768px) {
	.detail-con h1 { font-size: 1.5em; padding: 10px 12px; }
	.detail-con h2 { font-size: 1.35em; padding: 8px 12px; }
	.detail-con h3 { font-size: 1.2em; }
	.detail-con h1::before,
	.detail-con h2::before,
	.detail-con h4::before,
	.detail-con h6::before {
		display: none;
	}
}

.detail-con p {
	margin-bottom: 15px;
	text-align: justify;
}

.detail-con a {
	color: var(--primary-color);
	text-decoration: none;
	border-bottom: 1px dotted var(--primary-color);
	transition: all 0.2s ease;
}
.detail-con a:hover {
	color: var(--accent-color);
	border-bottom-style: solid;
}

.detail-con strong,
.detail-con b {
	color: var(--text-dark);
	font-weight: 700;
}

.detail-con em,
.detail-con i {
	font-style: italic;
}

.detail-con ul,
.detail-con ol {
	margin-bottom: 15px;
	padding-left: 2em;
}
.detail-con li {
	margin-bottom: 8px;
	line-height: 1.7;
}
.detail-con li::marker {
	color: var(--primary-color);
}
.detail-con ul li {
	list-style-type: disc;
}
.detail-con ol li {
	list-style-type: decimal;
}

.detail-con blockquote {
	border-left: 4px solid var(--primary-color);
	background: var(--bg-light);
	margin: 20px 0;
	padding: 15px 20px;
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
	font-style: italic;
	color: #555;
}
.detail-con blockquote p {
	margin-bottom: 0;
}

.detail-con pre {
	background: #2d2d2d;
	color: #f8f8f2;
	padding: 18px 20px;
	border-radius: var(--border-radius);
	overflow-x: auto;
	margin: 20px 0;
	font-size: 13px;
	line-height: 1.6;
	font-family: "Consolas", "Monaco", "Courier New", monospace;
}
.detail-con code {
	background: #f1f3f5;
	color: #d63384;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
	font-family: "Consolas", "Monaco", "Courier New", monospace;
}
.detail-con pre code {
	background: transparent;
	color: inherit;
	padding: 0;
	font-size: inherit;
}

.detail-con table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 14px;
	box-shadow: var(--box-shadow);
	border-radius: var(--border-radius);
	overflow: hidden;
	background: #fff;
}
.detail-con table thead {
	display: table-header-group;
}
.detail-con table thead th {
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: #fff;
	padding: 14px 18px;
	text-align: left;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 3px solid rgba(255,255,255,0.2);
	white-space: nowrap;
	position: relative;
}
.detail-con table thead th::after {
	content: '';
	position: absolute;
	right: 0;
	top: 25%;
	height: 50%;
	width: 1px;
	background: rgba(255,255,255,0.25);
}
.detail-con table thead th:last-child::after {
	display: none;
}
.detail-con table tbody td {
	padding: 12px 18px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}
.detail-con table tbody td:first-child {
	font-weight: 600;
	color: var(--text-dark);
}
.detail-con table tbody tr:nth-child(even) {
	background: #fafafa;
}
.detail-con table tbody tr:hover {
	background: var(--bg-light);
}
.detail-con table tbody tr:last-child td {
	border-bottom: none;
}
.detail-con table tbody td code {
	background: #f1f3f5;
	color: #d63384;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
	font-family: "Consolas", "Monaco", "Courier New", monospace;
}

.detail-con .table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 24px 0;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}
.detail-con .table-responsive table {
	margin: 0;
	min-width: 600px;
}
.detail-con .table-responsive thead th {
	white-space: normal;
}

@media (max-width: 768px) {
	.detail-con table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.detail-con table thead th {
		padding: 10px 12px;
		font-size: 12px;
		white-space: nowrap;
	}
	.detail-con table tbody td {
		padding: 10px 12px;
		font-size: 13px;
	}
}

.detail-con hr {
	border: none;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
	margin: 30px 0;
}

.detail-con img {
	max-width: 100%;
	height: auto;
	border-radius: var(--border-radius);
	margin: 10px 0;
	box-shadow: var(--box-shadow);
	transition: transform 0.3s ease;
}
.detail-con img:hover {
	transform: scale(1.02);
}

.detail-con figure {
	margin: 20px 0;
	text-align: center;
}
.detail-con figure img {
	max-width: 100%;
	height: auto;
	margin: 0;
}
.detail-con figcaption {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 8px;
	font-style: italic;
}

.detail-con mark {
	background: linear-gradient(120deg, #ffeaa7 0%, #ffeaa7 100%);
	padding: 2px 4px;
	border-radius: 3px;
	color: inherit;
}

.detail-con abbr[title] {
	border-bottom: 1px dotted var(--primary-color);
	cursor: help;
}

.detail-con .highlight {
	background: var(--bg-light);
	border: 1px solid rgba(214,51,132,0.15);
	border-radius: var(--border-radius);
	padding: 15px 20px;
	margin: 15px 0;
}

.detail-con .alert {
	padding: 12px 16px;
	border-radius: var(--border-radius);
	margin: 15px 0;
	font-size: 14px;
	border-left: 4px solid;
}
.detail-con .alert-info {
	background: #e7f3fe;
	border-left-color: #2196F3;
	color: #0c5460;
}
.detail-con .alert-warning {
	background: #fff8e1;
	border-left-color: #ff9800;
	color: #856404;
}
.detail-con .alert-success {
	background: #e8f5e9;
	border-left-color: #4CAF50;
	color: #155724;
}
.detail-con .alert-danger {
	background: #fde8e8;
	border-left-color: #f44336;
	color: #721c24;
}

.detail-con .text-center { text-align: center; }
.detail-con .text-right { text-align: right; }
.detail-con .text-muted { color: var(--text-muted); }
.detail-con .text-primary { color: var(--primary-color); }
.detail-con .small { font-size: 13px; }

.detail-con iframe {
	max-width: 100%;
	border-radius: var(--border-radius);
	margin: 15px 0;
}

.detail-con .video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: var(--border-radius);
	margin: 20px 0;
}
.detail-con .video-container iframe,
.detail-con .video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.thleftcon {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	overflow: hidden;
}
.thleftbt {
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: #fff;
	padding: 10px 15px;
	font-size: 15px;
	font-weight: 600;
}
.th-5 li {
	padding: 10px 15px;
	border-bottom: 1px solid #f1f1f1;
	font-size: 13px;
}
.th-5 li:last-child {
	border-bottom: none;
}
.th-5 li i {
	color: var(--primary-color);
	margin-right: 5px;
}
.th-5 li .date {
	float: right;
	color: var(--text-muted);
	font-size: 12px;
}


.pagebar {
	text-align: center;
	padding: 20px 0;
}
.pagebar a, .pagebar span {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border-radius: 4px;
	border: 1px solid #dee2e6;
	background: #fff;
	color: var(--primary-color);
	font-size: 13px;
}
.pagebar .current {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}


.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 45px;
	height: 45px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 999;
}
.back-to-top.show {
	opacity: 1;
	visibility: visible;
}
.back-to-top:hover {
	background: var(--accent-color);
	color: #fff;
	transform: translateY(-3px);
}


.carousel-item img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}
.carousel-caption {
	background: rgba(0,0,0,0.5);
	border-radius: var(--border-radius);
	padding: 15px 25px;
}


.section-title {
	position: relative;
	padding-left: 15px;
	margin-bottom: 20px;
	font-size: 20px;
	font-weight: 700;
	color: var(--text-dark);
}
.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	background: var(--primary-color);
	border-radius: 2px;
}


@media (max-width: 768px) {
	.carousel-item img {
		height: 200px;
	}
	.detail-title {
		font-size: 20px;
	}
	.profile-img-wrapper {
		aspect-ratio: 16/9;
	}
	.profile-card > .row {
		flex-direction: column;
	}
	.profile-card .col-md-4,
	.profile-card .col-md-8 {
		width: 100%;
	}
	.grid-item img {
		aspect-ratio: 4/3;
	}
	body {
		padding-top: 65px;
	}
}


.loading-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255,255,255,0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
	to { transform: rotate(360deg); }
}


.rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}
.rank-1 {
	background: linear-gradient(135deg, #FFD700, #FFA500);
}
.rank-2 {
	background: linear-gradient(135deg, #E0E0E0, #BDBDBD);
}
.rank-3 {
	background: linear-gradient(135deg, #CD7F32, #A0522D);
}
.rank-4,
.rank-5,
.rank-6,
.rank-7,
.rank-8 {
	background: linear-gradient(135deg, #adb5bd, #6c757d);
}
