

/* :root {
	--foreign_font: 'Arial', sans-serif;
	--mandarin_font: "Taipei Sans TC";
	--primary_color: #00B6C1;
	--second_color: #00355f;
	--third_color: #0784E8;
	--fourth_color: #3CB2CD;
	--fifth_color: #7B6B3E;
	--six_color: #C8B273;
	--seventh_color: #4e73a5;
	--eighth_color: #f3f4f6;
	--dark_color: #000;
	--dark_color_sec: #afafaf;
	--fontSize: 16px;
	--header_wrap_pc: clamp(8.6016rem, 12.5vw, 15rem);
	--primary_gradient: linear-gradient(90deg, var(--seventh_color) 0%, var(--seventh_color) 47.6%, #879cb8 98.02%);
} */


/* -------------------------------------------------------- */
/* 共用：wrap / 內頁區塊標題                                  */
/* -------------------------------------------------------- */

/* .wrap {
	width: 100%;
	max-width: 75rem;
	margin: 0 auto;
	padding: 0 1.25rem;
} */

.right_title {
	/* display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--eighth_color); */
}

.right_title strong {
	/* font-family: var(--mandarin_font), var(--foreign_font);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.5;
	color: var(--second_color);
	font-weight: 700; */
}

.right_title span {
	/* font-family: var(--foreign_font);
	font-size: 0.875rem;
	line-height: 1.5;
	letter-spacing: 0.125rem;
	color: var(--primary_color);
	text-transform: uppercase; */
}

/* .right_title .description {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--dark_color);
	max-width: 48rem;
	text-wrap: pretty;
} */

@media (max-width: 990px) {
	.right_title {
		/* margin-bottom: 1.5rem; */
	}
}


/* -------------------------------------------------------- */
/* Section：優惠券下載 coupon                                 */
/* -------------------------------------------------------- */

.coupon_bg {
	background-color: #fff;
	padding: clamp(2.5rem, 6vw, 5rem) 0;
	font-family: var(--mandarin_font), var(--foreign_font);
	color: var(--dark_color);
}

.coupon_area {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.coupon_list {
	display: flex;
}

.coupon_card {
	position: relative;
	display: flex;
	width: 100%;
	text-decoration: none;
	color: inherit;
	background-color: #fff;
	border: 1px solid var(--eighth_color);
	border-radius: 0.75rem;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	text-transform: none;
}

/* 券票缺口（純裝飾） */
.coupon_card::before,
.coupon_card::after {
	content: "";
	position: absolute;
	top: 55%;
	width: 1.5rem;
	height: 1.5rem;
	background-color: var(--eighth_color);
	border-radius: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.coupon_card::before {
	left: -0.875rem;
}

.coupon_card::after {
	right: -0.875rem;
}

.coupon_card:hover,
.coupon_card:focus-visible {
	border-color: var(--primary_color);
	box-shadow: 0 0.75rem 1.75rem rgba(0, 53, 95, 0.14);
	transform: translateY(-0.25rem);
	text-decoration: none;
}

.coupon_content {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.coupon_content .category {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	padding: 0.375rem 0.875rem;
	font-size: 0.813rem;
	line-height: 1.5;
	letter-spacing: 0.063rem;
	color: #fff;
	background-color: var(--primary_color);
	border-radius: 6.25rem;
}

.coupon_content .img {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--eighth_color);
}

.coupon_content .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.coupon_card:hover .coupon_content .img img {
	transform: scale(1.06);
}

.coupon_content .coupon_info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border-top: 1px dashed var(--dark_color_sec);
	flex: 1;
}

.coupon_content .value {
	display: flex;
	align-items: baseline;
	gap: 0.375rem;
	font-family: var(--foreign_font);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.1;
	font-weight: 700;
	color: var(--second_color);
}

.coupon_content .value .unit {
	font-family: var(--mandarin_font), var(--foreign_font);
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	color: var(--fifth_color);
}

.coupon_content .title {
	font-size: clamp(1.063rem, 2vw, 1.25rem);
	line-height: 1.5;
	font-weight: 700;
	color: var(--second_color);
	text-wrap: pretty;
}

.coupon_content .description {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--dark_color);
	text-wrap: pretty;
}

.coupon_content .coupon_date {
	display: block;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--dark_color_sec);
}

.coupon_content .filesize {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--dark_color_sec);
}

.coupon_content .more_button {
	margin-top: auto;
	padding-top: 0.5rem;
}

.coupon_content .more_button span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.75rem 1.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #fff;
	background-color: var(--primary_color);
	border-radius: 6.25rem;
	transition: background-color 0.3s ease;
}

.coupon_content .more_button span i {
	font-size: 1.25rem;
	line-height: 1;
}

.coupon_card:hover .coupon_content .more_button span {
	background-color: var(--second_color);
}

/* 已結束的優惠券 */
.coupon_card.is_expired {
	pointer-events: none;
	opacity: 0.55;
}

.coupon_card.is_expired .coupon_content .category {
	background-color: var(--dark_color_sec);
}

.coupon_card.is_expired .coupon_content .more_button span {
	background-color: var(--dark_color_sec);
}

@media (max-width: 1180px) {
	.coupon_area {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.coupon_area {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.coupon_card::before,
	.coupon_card::after {
		top: 58%;
	}
}
