@charset "UTF-8";
/***************************************
		copyright by MaxWeb.com.tw 
***************************************/
@import 'style.css';
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&family=Architects+Daughter&display=swap');

:root {
  --swiper-navigation-size: 30px;
  --font-heading: "Lora", serif;
  --font-body: "Raleway", "Noto Sans TC", Helvetica, Arial, sans-serif;
  --font-accent: "Architects Daughter", cursive;
}

/* --- Font Base --- */
.home-scenarios,
.home-featured,
.home-news,
.bannerSwiper {
	font-family: var(--font-body);
}
.section-header .section-title h2,
.article-card .article-content h3 {
	font-family: var(--font-heading);
}

/* --- Home Scenarios Section --- */
.home-scenarios {
	background-color: #fff;
	padding: 25px 0;
}
.home-scenarios .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}
.scenario-item {
	text-align: center;
	height: 200px;
	overflow: hidden;
	width: 100%;
}

.scenario-item a {
	display: block;
	width: 100%;
	height: 100%;
}

.scenario-item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.8;
	transition: all 0.3s ease;
}
.scenario-item:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* --- Common Section Styles --- */
.section-header {
	text-align: center;
	margin-bottom: 30px;
}
.section-header .section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.section-header .section-title .line {
	height: 1px;
	width: 30px;
	background-color: #ccc;
}
.section-header .section-title h2 {
	font-family: var(--font-heading);
	font-size: 32px;
	color: #333;
	margin: 0;
	letter-spacing: 2px;
}
.section-header.white .section-title h2 { color: #fff; }
.section-header.white .section-desc { color: #bbb; }
.section-header.white .section-title .line { background-color: #555; }

/* --- Featured Recommendations Section --- */
.home-featured {
	padding: 50px 0; /* Reduced top padding */
	background-color: #f4f4f4;
}
.home-featured .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}
.product-card {
	max-width: 256px;
	margin: 0 auto;
	text-align: center;
	cursor: pointer;
}
.product-card .card-img {
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
	aspect-ratio: 256 / 292;
}
.product-card .card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.product-card:hover .card-img img {
	transform: scale(1.05);
}
.product-card .card-title {
	font-size: 18px;
	color: #444;
	margin-top: 15px;
}
.badge-new {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #d1b5a1;
	color: #fff;
	padding: 4px 8px;
	font-size: 12px;
	border-radius: 2px;
}

/* --- Activity & News Section --- */
.home-news {
	padding: 50px 0;
	background-color: #1a1513; /* Darker background as in image */
	color: #fff;
}
.home-news .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}
.article-card {
	max-width: 420px;
	margin: 0 auto;
	background-color: transparent; /* No card background */
	color: #fff;
	border-radius: 0;
	overflow: visible; /* Allow content to overlap */
	display: flex;
	flex-direction: column;
	height: 100%;
}
.article-card .article-img {
	position: relative;
	aspect-ratio: 420 / 316;
	width: 100%;
}
.article-card .article-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.article-card .article-content {
	background-color: #fff;
	color: #333;
	padding: 25px;
	width: 85%; /* Inset as in image */
	margin: -40px 0 0 auto; /* Float over image and align right */
	position: relative;
	z-index: 2;
	text-align: left;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.article-card .article-content h3 {
	font-size: 18px;
	margin: 0 0 12px;
	line-height: 1.4;
	font-weight: 600;
	color: #333;
}
.article-card .article-content h3 a {
	color: inherit;
}
.article-card .article-content p {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: auto;
	min-height: 68px; /* Maintain space for 3 lines */
}
.article-card .read-more {
	text-decoration: none;
	font-size: 14px;
	color: #4eb9f3; /* Light blue as in image */
	font-weight: normal;
}
.article-card .read-more:hover {
	text-decoration: underline;
}
.play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background-color: rgba(255,255,255,0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #333;
	z-index: 2;
}

/* --- Swiper Base & Banner Specifics --- */
.swiper-container, .swiper {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.bannerSwiper {
	width: 100%;
	max-height: 600px;
}
.bannerSwiper .swiper-slide {
	width: 100%;
	overflow: hidden;
}
.bannerSwiper .swiper-slide .item {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}
.bannerSwiper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bannerSwiper .banner_text {
	position: absolute;
	bottom: 60px;
	left: 0;
	width: 100%;
	text-align: center;
	color: #fff;
	padding: 0 30px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	z-index: 5;
}
.bannerSwiper .swiper-pagination {
	position: absolute;
	bottom: 20px !important;
	text-align: center;
	width: 100%;
	z-index: 10;
}
.bannerSwiper .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(255,255,255,0.5);
	opacity: 1;
}
.bannerSwiper .swiper-pagination-bullet-active {
	background: #fff;
}
/* --- Swiper Minimal Row Style (←  ● ●  →) --- */
/* Navigation row - sits BELOW the swiper, uses normal document flow */
.swiper-nav-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 40px;
	padding: 10px 0;
}

.swiper-nav-row .swiper-pagination {
	position: static !important;
	display: flex;
	align-items: center;
	gap: 12px;
	width: auto !important;
}

.swiper-nav-row .swiper-nav-prev,
.swiper-nav-row .swiper-nav-next {
	position: static !important;
	width: 40px;
	height: 30px;
	margin: 0 !important; /* Force reset swiper's default margin-top: -11px or -15px */
	background: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #bbb !important;
	transition: all 0.3s ease;
	line-height: 1 !important;
}

/* Minimal Dots */
.home-featured .swiper-pagination-bullet,
.home-news .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	background: #ccc;
	opacity: 1;
	margin: 0 !important;
	transition: all 0.3s ease;
}

.home-featured .swiper-pagination-bullet-active { background: #888; }
.home-news .swiper-pagination-bullet-active { background: #fff; }

/* Hover states */
.home-featured .swiper-nav-prev:hover, .home-featured .swiper-nav-next:hover { color: #888 !important; }
.home-news .swiper-nav-prev:hover, .home-news .swiper-nav-next:hover { color: #fff !important; }

/* Thin Arrows Content */
.home-featured .swiper-nav-prev:after, .home-featured .swiper-nav-next:after,
.home-news .swiper-nav-prev:after, .home-news .swiper-nav-next:after {
	font-size: 22px !important;
	font-weight: 100 !important;
	transform: scaleX(3); /* Lengthen the arrows */
	display: block;
}

.home-featured .swiper-nav-prev:after, .home-news .swiper-nav-prev:after { content: '←' !important; }
.home-featured .swiper-nav-next:after, .home-news .swiper-nav-next:after { content: '→' !important; }

/* --- Full Width Video Section --- */
.home-video {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
	background: #000;
	line-height: 0;
}

.video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ---- Responsive ---- */

/*tablet*/
@media screen and (max-width: 1023px) {
	.bannerSwiper { max-height: 450px; }
	.bannerSwiper .banner_text { bottom: 45px; padding: 0 20px; }
	.section-header .section-title .icon img { max-width: 420px; }
	.section-header .section-title h2 { font-size: 28px; }
	.scenario-item { height: 160px; }
	.article-card .article-content { width: 90%; padding: 20px; margin-top: -30px; }
}

/*mobile*/
@media screen and (max-width: 767px) {
	.bannerSwiper { max-height: 300px; }
	.bannerSwiper .banner_text { bottom: 35px; padding: 0 15px; font-size: 14px; }
	.bannerSwiper .swiper-pagination { bottom: 10px !important; }
	.bannerSwiper .swiper-pagination-bullet { width: 8px; height: 8px; }

	.home-scenarios { padding: 15px 0; }
	.scenario-item { height: 120px; }

	.home-featured, .home-news { padding: 10px 0; }
	.home-featured .container, .home-news .container { padding: 0 10px; }

	.section-header { margin-bottom: 20px; }
	.section-header .section-title h2 { font-size: 24px; }
	.section-header .section-desc { font-size: 13px; }

	.product-card { max-width: 100%; }
	.product-card .card-title { font-size: 15px; }
	.product-card .card-img { margin-bottom: 12px; }

	.article-card .article-content { width: 92%; padding: 18px; margin-top: -25px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
	.article-card .article-content h3 { font-size: 16px; margin-bottom: 8px; }
	.article-card .article-content p { font-size: 13px; min-height: auto; -webkit-line-clamp: 2; }

	.swiper-nav-row { margin-top: 25px; gap: 10px; }
	.swiper-nav-row .swiper-nav-prev,
	.swiper-nav-row .swiper-nav-next { width: 30px; }
	.home-featured .swiper-nav-prev:after, .home-featured .swiper-nav-next:after,
	.home-news .swiper-nav-prev:after, .home-news .swiper-nav-next:after { transform: scaleX(2); font-size: 18px !important; }
}

/*small mobile*/
@media screen and (max-width: 480px) {
	.bannerSwiper { max-height: 220px; }
	.bannerSwiper .banner_text { bottom: 25px; font-size: 13px; }

	.scenario-item { height: 90px; }

	.article-card .article-content { width: 95%; padding: 15px; margin-top: -20px; }
	.article-card .article-content h3 { font-size: 15px; }

	.home-featured .swiper-nav-prev:after, .home-featured .swiper-nav-next:after,
	.home-news .swiper-nav-prev:after, .home-news .swiper-nav-next:after { transform: scaleX(1.5); }
}
