section { scroll-margin-top: 80px; margin-bottom: 50px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 36px 0 18px; }
.section-title { font-size: clamp(22px, 3vw, 28px); color: var(--brand-2); margin: 0; }
.section-desc { color: var(--muted); margin: 0; }

/* Learn More */
.btn-outline { padding: .5rem 1.1rem; width: fit-content; border: 2px solid var(--brand-2); border-radius: .5rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; color: var(--brand-2); font-weight: 700; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn-outline:hover { background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; transform: translateY(-1px); }

/* services-feature */
.services-feature { margin-bottom: 80px; }
.services-feature .section-head { margin: 36px 0 18px; display: flex; align-items: center; gap: 12px; }
.services-feature .section-title { margin: 0; color: var(--brand-2); }
.services-feature .section-desc { margin-left: auto; color: var(--muted); }

.service-nav { display: flex; gap: 10px; }

.nav-btn { width: 40px; height: 40px; background: #cbd5e1; border: 0; border-radius: 999px; box-shadow: var(--shadow); text-align: center; line-height: 1; font-size: 20px; color: #fff; cursor: pointer; }
.nav-btn.primary { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.nav-btn:hover { filter: brightness(1.05); }

/* service-card */
.service-card { overflow: hidden; margin: 18px 0 26px; background: var(--panel); border: 1px solid #f1f1f1; border-radius: var(--radius); display: grid; align-items: center; grid-template-columns: 1.05fr 0.95fr; gap: 0; }
.service-card .card-col { position: relative; }
.service-card .text { padding: 28px; display: grid; align-content: start; gap: 18px; }
.service-card .text .card-title { margin-bottom: 0; height: 2.4em; -webkit-line-clamp: 2; }
.service-card .text .card-desc { height: 5em; -webkit-line-clamp: 3; }

/* 標籤列 */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: .35rem .6rem; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 10px; font-size: .85rem; color: #64748b; }
.chip.solid { background: var(--brand); border-color: transparent; color: #fff; }

/* 文字樣式 */
.card-title { margin: 0; line-height: 1.2; font-size: clamp(22px, 2.6vw, 34px); color: var(--text); }

/* about */
.about-angled { overflow: hidden; position: relative; padding: 100px 0; background: linear-gradient(180deg, #fffaf4 0%, #f7f4f0 100%); }
.about-angled:before, .about-angled:after { position: absolute; width: 700px; aspect-ratio: 866/937; background: url(/images/00/img_poker.webp) no-repeat 50% / cover; display: block; content: ""; top: 0; left: -10%; }
.about-angled:after { width: 750px; aspect-ratio: 546/401; background-image: url(/images/00/img_casino.webp); top: auto; right: -10%; bottom: -5%; left: auto; }
.about-wrapper { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; z-index: 1; }
.about-image { overflow: hidden; position: relative; border-radius: 28px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.about-image img { width: 100%; height: auto; display: block; object-fit: cover; }
.about-content { padding: 48px 42px; background: var(--panel); border-radius: 40px 0 40px 0; box-shadow: var(--shadow); }
.about-content .tag { margin-bottom: .5rem; font-weight: 600; letter-spacing: 1px; font-size: 0.9rem; color: var(--brand-2); }
.about-content h3 { margin: 0 0 1rem; font-size: clamp(22px, 3vw, 32px); color: var(--brand-2); }
.about-content p { margin-bottom: 1rem; line-height: 1.7; color: var(--text); }
.about-content ul { margin: 1rem 0; padding: 0; list-style: none; color: var(--muted); }
.about-content li { margin-bottom: .5rem; }
.about-content strong { color: var(--brand-2); }

/* blog-grid */
.blog-grid { display: grid; gap: 16px; }
.blog-card { overflow: hidden; position: relative; background: #fff; border: 1px solid #f1f1f1; border-radius: var(--radius); display: flex; flex-direction: column; gap: .8em; }
.blog-meta { padding: 1rem 1rem 0; display:flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.blog-meta span { display:flex; align-items: baseline; line-height: 1; gap: .2em; }
.blog-meta span a { line-height: 1; }
.blog-meta span i { font-size: .8rem; }
.blog-title { padding: 0 1rem; color: var(--brand-2); }
.blog-body { padding: 0 1rem; height: 5em; font-size: .92rem; color: var(--muted); -webkit-line-clamp: 3; }
.blog-more { margin: .5rem 1rem 1.2rem; padding: .3rem 1.1rem; border-radius: 2rem; font-weight: 500; }

@media (max-width: 1160px) {
	.about-angled:before, .about-angled:after { opacity: 0; }
}
@media (max-width: 1024px) {
	.service-card { grid-template-columns: 1fr 1fr; }
	.about-content { padding: 32px 24px; }
}
@media (max-width: 980px) {
	.about-wrapper { grid-template-columns: 1fr; }
	.about-content { order: -1; }
}
@media (max-width: 800px) {
	.service-card .media img { aspect-ratio: 1/1; }
}
@media (max-width: 720px) {
	.services-feature .section-head { flex-wrap: wrap; }
	.services-feature .section-desc { margin-left: 0; width: 100%; order: 3; }
	.service-card .text { gap: .8em; }
	.service-card .text .card-desc { height: 3em; -webkit-line-clamp: 2; }
}
@media (max-width: 600px) {
	.service-card { grid-template-columns: 1fr; }
	.service-card .media { grid-row: 1/3; }
	.service-card .media img { aspect-ratio: 4/3; }
	.about-content h3 { font-size: 1.4rem; }
}