﻿*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: lato, "PingFang TC", "Helvetica Neue", Helvetica, 微軟正黑體, 新細明體, Arial, sans-serif;
	line-height: 1.6;
	background-image: url("../img/20240614210322487.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: 100%;
	color: #222;
	font-size: 1rem;
	padding-top: 70px;
	margin: 0;
	letter-spacing: 0.125em;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: #282424;
	text-decoration: none;
}

.u-grid {
	display: grid;
}

.u-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.u-relative {
	position: relative;
}

.u-fw-bold {
	font-weight: 600;
}

.u-pb-0 {
	padding-bottom: 0;
}

.u-mt-20 {
	margin-top: 20px;
}

.u-align-center {
	align-items: center;
}

.u-justify-center {
	justify-content: center;
}

.u-highlight {
	background-color: yellow;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-content {
	max-width: 1200px;
	margin: 30px auto;
}

.article-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.article-list--single {
	grid-template-columns: 1fr;
}

.article-list--six-cols {
	grid-template-columns: repeat(6, 1fr);
}
.header {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 15px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #fff;
}

.header__brand img {
	height: 40px;
	display: block;
}

.header__nav {
	display: flex;
	align-items: center;
	flex-grow: 1;
}

.header__menu {
	display: flex;
	margin: 0 auto;
}

.header__menu-item {
	padding: 0 15px;
}

.header__menu-link {
	display: block;
	padding: 10px;
	transition: background-color 0.3s;
	white-space: nowrap;
}



.header__dropdown-menu {
	display: none;
	position: absolute;
	top: 65px;
	left: 15px;
	width: calc(100% - 30px);
	background-color: white;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 8px 0;
	z-index: 1001;
}

.header__dropdown-menu ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 4px 8px;
}

.header__dropdown-menu li {
	margin: 2px 0;
}

.header__dropdown-menu--show {
	display: block;
}

.header__dropdown-menu a {
	padding: 5px 16px;
}

.header__actions {
	display: flex;
	align-items: center;
}

.header__search {
	position: relative;
	margin-right: 15px;
}

.header__search-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa;
}

.header__search-input {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 8px 8px 8px 35px;
	transition: width 0.3s;
	width: 150px;
	font-size: 14px;
}

.header__search-input:focus {
	outline: none;
	width: 200px;
}

.header__login-btn {
	background-color: #20d2b3;
	color: white;
	border-radius: 20px;
	transition: background-color 0.3s;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	padding: 6px 15px;
	border: 1px solid #20d2b3;
}

.header__login-btn i {
	margin-right: 8px;
}

.header__toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}



.category-filter {
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	border-radius: 4px;
	padding: 8px 10px;
	margin-bottom: 15px;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}

.category-filter__item {
	padding: 5px 15px;
	cursor: pointer;
	border-radius: 20px;
	font-size: 14px;
}

.category-filter__item--active {
	background-color: #314DB4;
	color: white;
}

.category-filter__list {
	display: flex;
	align-items: center;
}

.category-filter__list .category-filter__item {
	background-color: #f4f4f4;
	margin-left: 10px;
	border-radius: 4px;
}

.category-name {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}



.article-preview {
	border: 1px solid #e9ecef;
	margin-top: -1px;
	margin-left: -1px;
	background-color: #fff;
	padding: 40px;
	transition: transform 0.3s ease;
}

.article-preview:hover {
	transform: scale(1.02);
}

.article-preview__category {
	font-size: 14px;
	padding: 0 15px;
	display: flex;
	align-items: center;
}

.article-preview__category-icon {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-preview__category-icon--variant-1 {
	background-color: #b9929c;
}

.article-preview__category-icon--variant-2 {
	background-color: #b8bbc4;
}

.article-preview__category-icon--variant-3 {
	background-color: #bba991;
}

.article-preview__category-icon--variant-4 {
	background-color: #bcded5;
}

.article-preview__category .divider {
	margin: 0 10px;
	color: #767676;
}

.article-preview__category a {
	color: #767676;
}

.article-preview__title {
	font-size: 1.2rem;
	padding: 20px 0;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.article-preview__excerpt {
	font-size: 14px;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 1.5;
	margin: 10px 0 15px 0;
}

.article-preview__meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #767676;
	font-size: 12px;
	padding-bottom: 10px;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin-top: 30px;
	font-size: 14px;
	gap: 8px;
}

.page-item {
	margin: 0;
}

.page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 12px;
	border-radius: 4px;
	background-color: #f7f7f8;
	color: #999;
	text-decoration: none;
	transition: all 0.3s ease;
}

.page-link:hover {
	color: #4e6ef2;
	border-color: #4e6ef2;
}

.page-link,
.pagination .active {
	background-color: #4e6ef2;
	border-color: #4e6ef2;
	color: #fff;
}

.article {
	background-color: #fff;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
	padding: 20px;
}

.article__title {
	margin-bottom: 20px;
	font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.article__meta {
	color: #767676;
	margin-bottom: 15px;
	font-size: 14px;
}

.article__meta span:last-child {
	margin-left: 20px;
}

.article__content {
	border-bottom: 1px solid #F5F6F7;
	padding-bottom: 20px;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.article__content ul,
.article__content ol,
.article__content h2,
.article__content table,
.article__content blockquote {
	margin-bottom: 20px;
}

.article__content p:not(:last-child) {
	margin-bottom: 20px;
}

.article__comment {
	padding-top: 20px;
}

.article__comment .user {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.article__comment .user img {
	display: inline-block;
	margin-right: 15px;
}

.widget {
	display: flex;
	flex-wrap: wrap;
	background-color: #fff;
	border-radius: 4px;
	padding: 8px 10px;
	margin-bottom: 15px;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}

.widget__title {
	font-size: 1.5rem;
	width: 100%;
	text-align: center;
	padding-top: 15px;
}

.search-widget {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 20px 0;
}

.search-widget__input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #F5F6F7;
	border-radius: 3px;
	font-size: 16px;
	margin-right: 10px;
}

.search-widget__button {
	width: 60px;
	border: none;
	border-radius: 3px;
	background-color: #007bff;
	color: white;
	font-size: 14px;
	cursor: pointer;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s;
}

.search-widget__result {
	color: red;
	text-align: center;
}

.acupoint-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 768px) {
	.acupoint-list {
		grid-template-columns: repeat(6, 1fr);
	}
}

.acupoint-list__item {
	border: 1px solid #e9ecef;
	margin-top: -1px;
	margin-left: -1px;
	background-color: #fff;
	padding: 10px 20px;
}

.breadcrumb {
	font-size: 0.875rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumb__item:not(:last-child) {
	margin-right: .2rem;
}

.breadcrumb__item {
	color: #000;
	display: inline-block;
	margin: 0;
	margin-right: 0px;
	padding: .2rem 0;
}

.breadcrumb__item:not(:first-child)::before {
	color: #000;
	content: ">";
	padding-right: .4rem;
}

.breadcrumb__item:not(:last-child) a {
	color: #d35a52;
}

.acupoint h2 {
	position: relative;
	font-size: 1.4rem;
	color: #111;
	line-height: 1;
	font-weight: 600;
}

.acupoint h2:first-child::before {
	content: "";
	display: inline-block;
	position: static;
	margin-right: 4px;
	margin-top: -3px;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) no-repeat 50%;
	background-size: cover;
}

.acupoint__title {
	width: 100%;
	font-size: 1.8rem;
	text-align: center;
	padding: 20px 0;
}

.notice {
	background-color: #fafafa;
	padding: 15px;
	font-size: 0.875rem;
	color: #324646;
	line-height: 1.8;
	margin-top: 20px;
	border-radius: 4px;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}

.related-content {
	background-color: #fff;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
	display: grid;
	grid-template-rows: auto;
	gap: 10px;
	padding: 15px;
	margin-top: 20px;
}

.related-content__item::before {
	content: "";
	display: inline-block;
	position: static;
	margin-right: 4px;
	margin-top: -3px;
	width: 12px;
	height: 12px;
	vertical-align: middle;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) no-repeat 50%;
	background-size: cover;
}

.footer {
	background-color: #fff;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
	font-size: 14px;
	color: #282424;
	padding: 20px 0;
	margin: 0;
	width: 100%;
}

.footer__link {
	margin-left: 15px;
}

@media screen and (max-width: 768px) {
	.container {
		flex-wrap: wrap;
	}

	.header__toggle {
		display: block;
	}

	.header__nav {
		display: none;
		flex-direction: column;
		width: 100%;
		margin-top: 20px;
		align-items: stretch;
	}

	.header__nav--show {
		display: flex;
	}

	.header__menu {
		margin: 0;
		flex-direction: column;
		width: 100%;
	}

	.header__menu-item {
		text-align: center;
		border-top: 1px solid #eee;
	}

	.header__dropdown-menu {
		position: static;
		display: none;
		box-shadow: none;
		width: 100%;
		background-color: transparent;
	}

	.header__dropdown-menu a {
		padding: 10px 0;
	}

	.header__dropdown-menu--show {
		display: block;
	}

	.header__actions {
		flex-direction: column;
		width: 100%;
		padding: 15px 0;
		border-top: 1px solid #eee;
	}

	.header__search {
		margin-right: 0;
		margin-bottom: 15px;
		width: 100%;
	}

	.header__search-input {
		width: 100%;
	}

	.header__search-input:focus {
		width: 100%;
	}

	.header__login-btn {
		width: 100%;
		justify-content: center;
	}

	.article-list {
		grid-template-columns: 1fr;
	}

	.article-preview__category {
		padding: 0;
	}

	.footer .container {
		display: flex;
		justify-content: unset;
		text-align: center;
		flex-wrap: wrap;
	}

	.footer .container span {
		width: 100%;
	}

	.footer__link {
		margin: 0 10px;
	}

	.footer span:last-child {
		margin-top: 15px;
	}
}

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sr-only:focus {
	position: static !important;
	width: auto !important;
	height: auto !important;
	padding: inherit !important;
	margin: inherit !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
}

.skip-link {
	position: absolute;
	top: -40px;
	left: 6px;
	background: #000;
	color: #fff;
	padding: 8px;
	text-decoration: none;
	z-index: 1000;
	border-radius: 4px;
}

.skip-link:focus {
	top: 6px;
}


button {
	cursor: pointer;
}

button:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}


@media (prefers-contrast: high) {
	.header__toggle {
		border: 2px solid;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.article-preview__meta {
	color: #666;
}

.ad-300-250 {
	background-color: #fff;
    margin: 15px auto;
    display: block;
    width: 300px;
    height: 250px;
	text-align: center;
}

.ad-h-90 {
	background-color: #fff;
    margin: 15px auto;
    display: block;
    width: 100%;
    height: 90px;
	text-align: center;
}