/* ==========================================================================
   Top Label International — Main Stylesheet
   ========================================================================== */

:root {
	--color-primary: #1b4332;
	--color-primary-dark: #0d2818;
	--color-primary-light: #2d6a4f;
	--color-header: #07524d;
	--color-header-deep: #004644;
	--color-header-text: #f4efe6;
	--color-accent: #c9a227;
	--color-accent-light: #e8c84a;
	--color-bg: #fafaf8;
	--color-bg-alt: #f0ede6;
	--color-white: #ffffff;
	--color-text: #1a1a1a;
	--color-text-muted: #5c5c5c;
	--color-border: #e0ddd6;

	--font-heading: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
	/* CJK fallbacks (Outfit has no Chinese glyphs). */
	--font-body-zh: 'Outfit', 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', sans-serif;

	--container: 1200px;
	--header-height: 80px;
	/* Logged-in admin bar. 0 for visitors; overridden on body.admin-bar. */
	--admin-bar-offset: 0px;
	--radius: 12px;
	--radius-lg: 20px;
	--shadow: 0 4px 24px rgba(27, 67, 50, 0.08);
	--shadow-lg: 0 12px 48px rgba(27, 67, 50, 0.12);
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-accent);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.container-narrow {
	max-width: 800px;
}

.text-center {
	text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */

/*
 * The admin bar adds margin-top on <html>, which pushes in-flow content
 * (the banner) down. This header is position:fixed, so it does not move
 * with that margin and a gap opens under the menu. Match the bar height:
 * 32px desktop, 46px at the WordPress mobile breakpoint.
 */
body.admin-bar {
	--admin-bar-offset: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: 46px;
	}
}

.site-header {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
	background: linear-gradient(180deg, #0c5551 0%, var(--color-header) 42%, var(--color-header-deep) 100%);
	border-bottom: 1px solid #0c5551;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
	transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 8px 28px rgba(0, 70, 68, 0.32);
}

.header-inner {
	display: flex;
	align-items: center;
	height: var(--header-height);
	gap: 12px;
}

.site-logo img,
.site-logo-img {
	height: 48px;
	width: auto;
}

.site-logo-text {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-header-text);
}

.main-nav {
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.nav-list a,
.nav-link {
	display: inline-block;
	padding: 8px 14px;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--color-header-text);
	border-radius: 0;
	white-space: nowrap;
	position: relative;
	transition: color var(--transition);
}

.nav-list a::after,
.nav-link::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 1px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--transition);
}

.nav-list a:hover,
.nav-link:hover,
.nav-list .current-menu-item > a,
.nav-link.is-active {
	color: var(--color-accent-light);
	background: transparent;
	text-decoration: none;
}

.nav-list a:hover::after,
.nav-link:hover::after,
.nav-list .current-menu-item > a::after,
.nav-link.is-active::after {
	transform: scaleX(1);
}

.lang-switcher {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: 8px;
	flex-shrink: 0;
}

.lang-switcher .lang-link {
	display: inline-block;
	padding: 4px 8px;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: rgba(244, 239, 230, 0.7);
	border-radius: 0;
	transition: color var(--transition);
	text-decoration: none;
}

.lang-switcher .lang-link:hover {
	color: var(--color-header-text);
	background: transparent;
}

.lang-switcher .lang-link.is-active {
	color: var(--color-accent);
	background: transparent;
}

.lang-switcher .lang-sep {
	color: rgba(244, 239, 230, 0.35);
	font-size: 12px;
	user-select: none;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-header-text);
	transition: var(--transition);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	width: 100%;
	aspect-ratio: 1080 / 500;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	/* Sit fully below fixed header so the banner isn’t clipped */
	margin-top: var(--header-height);
}

.hero-slider {
	position: absolute;
	inset: 0;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.2s ease;
	pointer-events: none;
}

.hero .hero-bg {
	background-size: 100% 100%;
}

.hero-bg.is-active {
	opacity: 1;
	z-index: 1;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.28) 0%,
		rgba(0, 0, 0, 0.22) 45%,
		rgba(0, 0, 0, 0.35) 100%
	);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 3;
	text-align: center;
	color: var(--color-white);
	padding: 48px 24px;
	max-width: 1100px;
}

.hero-title,
.hero-subtitle,
.hero-eyebrow {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-actions .btn-outline {
	background: rgba(0, 0, 0, 0.35);
	border-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(4px);
}

.hero-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent-light);
	margin-bottom: 12px;
}

.hero-title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3.6vw, 3rem);
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: 12px;
}

@media (min-width: 900px) {
	.hero-title {
		white-space: nowrap;
	}
}

.hero-subtitle {
	font-size: clamp(14px, 1.5vw, 18px);
	line-height: 1.6;
	opacity: 0.9;
	margin-bottom: 24px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 10px;
	pointer-events: none;
}

.hero-dot {
	pointer-events: auto;
	width: 10px;
	height: 10px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.hero-dot.is-active,
.hero-dot:hover {
	background: var(--color-white);
	transform: scale(1.15);
}

/* Page hero */
.page-hero {
	position: relative;
	padding: 160px 0 80px;
	background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
	color: var(--color-white);
	overflow: hidden;
}

.page-hero--compact {
	padding: 140px 0 60px;
}

/*
 * Title banners: shared 1920×360 (16:3) box on every page.
 * Exact 16:3 uploads fill the box; other ratios use cover.
 * No vertical padding on the section — padding was breaking the ratio
 * and clipping titles on mobile.
 */
.page-hero--banner {
	padding: 0;
	width: 100%;
	aspect-ratio: 1920 / 360;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	align-items: center;
	/* Full 16:3 strip below fixed header — otherwise the top is covered */
	margin-top: var(--header-height);
}

.page-hero .hero-bg {
	opacity: 0.55;
	z-index: 0;
}

.page-hero--banner .hero-bg {
	opacity: 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-hero--banner .hero-bg--exact {
	background-size: 100% 100%;
}

.page-hero .hero-overlay {
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.28) 0%,
		rgba(0, 0, 0, 0.22) 100%
	);
}

.page-hero .container {
	position: relative;
	z-index: 2;
}

.page-hero--banner .container {
	width: 100%;
	padding: 24px 24px;
}

.page-title {
	font-family: var(--font-heading);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 600;
	line-height: 1.2;
}

.page-subtitle {
	font-size: 18px;
	opacity: 0.85;
	margin-top: 16px;
	max-width: 500px;
	line-height: 1.5;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 50px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition);
}

.btn-primary {
	background: var(--color-accent);
	color: var(--color-primary-dark);
	border-color: var(--color-accent);
}

.btn-primary:hover {
	background: var(--color-accent-light);
	border-color: var(--color-accent-light);
	color: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn-outline {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
	background: var(--color-white);
	color: var(--color-primary);
	border-color: var(--color-white);
}

.btn-light {
	background: var(--color-white);
	color: var(--color-primary);
}

.btn-light:hover {
	background: var(--color-accent-light);
	color: var(--color-primary-dark);
	transform: translateY(-2px);
}

.btn-text {
	padding: 0;
	background: none;
	border: none;
	color: var(--color-primary);
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.btn-text:hover {
	color: var(--color-accent);
}

.btn-full {
	width: 100%;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.site-main {
	padding-top: 0;
}

.section {
	padding: 100px 0;
}

.section-news {
	background: var(--color-white);
}
.section-alt {
	background: var(--color-bg-alt);
}

.section-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 12px;
}

.section-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 3.5vw, 2.8rem);
	font-weight: 600;
	color: var(--color-primary);
	line-height: 1.2;
}

.section-header {
	margin-bottom: 48px;
}

.section-header.center {
	text-align: center;
}

.section-header.center .section-desc {
	margin: 16px auto 0;
	max-width: 600px;
	color: var(--color-text-muted);
}

.section-desc {
	color: var(--color-text-muted);
	font-size: 17px;
}

.title-line {
	width: 60px;
	height: 3px;
	background: var(--color-accent);
	margin-top: 16px;
	border-radius: 2px;
}

/* Stats strip */
.stats-strip {
	display: none;
	background: linear-gradient(90deg, #0e8f8f 0%, #1aada0 40%, #a8d400 100%);
	padding: 48px 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-number {
	display: block;
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--color-accent-light);
	line-height: 1;
	margin-bottom: 8px;
}

.stat-label {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

/* Split layout */
.split-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.split-layout--reverse {
	direction: rtl;
}

.split-layout--reverse > * {
	direction: ltr;
}

.split-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.split-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.split-content p {
	margin-bottom: 16px;
	color: var(--color-text-muted);
}

.split-content .btn-text {
	margin-top: 8px;
}

/* Category grid */
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.category-card {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.category-card-inner {
	background: var(--color-white);
	padding: 32px 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	height: 100%;
	position: relative;
}

.category-card h3 {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	color: var(--color-primary);
	margin-bottom: 8px;
}

.category-card p {
	font-size: 14px;
	color: var(--color-text-muted);
}

.category-arrow {
	position: absolute;
	bottom: 24px;
	right: 24px;
	font-size: 20px;
	color: var(--color-accent);
	transition: transform var(--transition);
}

.category-card:hover .category-arrow {
	transform: translateX(4px);
}

/* Partner logos */
.partner-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	margin-bottom: 48px;
}

.partner-logo {
	width: 140px;
	height: 140px;
	background: var(--color-white);
	border-radius: var(--radius);
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	transition: transform var(--transition);
}

.partner-logo:hover {
	transform: translateY(-4px);
}

.partner-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* CTA */
.section-cta {
	padding: 80px 0;
}

.cta-box {
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
	border-radius: var(--radius-lg);
	padding: 64px 48px;
	text-align: center;
	color: var(--color-white);
}

.cta-box h2 {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	margin-bottom: 16px;
}

.cta-box p {
	opacity: 0.85;
	margin-bottom: 32px;
	font-size: 17px;
}

/* ==========================================================================
   Brands page
   ========================================================================== */

.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 28px;
}

.brand-card {
	display: block;
	background: var(--color-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.brand-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.brand-card:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

.brand-card-image {
	aspect-ratio: 1;
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
}

.brand-card-image img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.brand-card-name {
	padding: 20px;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	color: var(--color-primary);
	border-top: 1px solid var(--color-border);
}

body.single-toplabel_brand {
	background: var(--color-white);
}

.brand-page {
	padding-top: calc(var(--header-height) + 36px);
	background: var(--color-white);
}

.brand-page-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 0 0 28px;
}

.brand-page-header .section-eyebrow {
	margin-bottom: 0;
}

.brand-page-identity {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
}

.brand-page-logo {
	flex-shrink: 0;
	width: 156px;
	height: 156px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-page-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.brand-page-heading {
	min-width: 0;
}

.brand-page-title {
	font-family: var(--font-heading);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 600;
	line-height: 1.1;
	color: var(--color-primary-dark);
	margin: 0;
	letter-spacing: -0.02em;
}

.brand-page-heading .title-line {
	margin-top: 14px;
	width: 72px;
}

.brand-banner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
	align-items: stretch;
	background: var(--color-primary);
	overflow: visible;
}

.brand-banner-media {
	min-width: 0;
	background: var(--color-bg-alt);
	line-height: 0;
}

.brand-banner-media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center top;
}

.brand-banner-placeholder {
	width: 100%;
	min-height: 280px;
	background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
}

.brand-banner--image-only {
	grid-template-columns: 1fr;
}

.brand-banner-panel {
	background: var(--color-primary);
	color: var(--color-white);
	display: flex;
	align-items: center;
	padding: 36px 32px;
	min-width: 0;
}

.brand-banner-panel-inner {
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 1.7;
	width: 100%;
}

.brand-banner-panel-inner p {
	margin-bottom: 14px;
}

.brand-banner-panel-inner p:last-child {
	margin-bottom: 0;
}

.brand-banner-panel-inner a {
	color: var(--color-accent-light);
}

.brand-banner-panel-inner img {
	max-width: 180px;
	height: auto;
	margin-bottom: 16px;
}

.brand-body {
	padding-top: 48px;
}

.brand-body-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px 56px;
	align-items: start;
}

.brand-body-heading {
	font-family: var(--font-body);
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 600;
	color: var(--color-primary-light);
	margin: 0 0 20px;
	line-height: 1.35;
}

.brand-body-content {
	padding-top: 8px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-text-muted);
}

.brand-slideshow {
	position: relative;
	background: var(--color-white);
}

.brand-slideshow-viewport {
	position: relative;
	background: var(--color-white);
}

.brand-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.brand-slide.is-active {
	position: relative;
	inset: auto;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.brand-slide img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
	display: block;
}

.brand-slideshow-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-primary);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background var(--transition), color var(--transition);
}

.brand-slideshow-nav:hover {
	background: var(--color-primary);
	color: var(--color-white);
}

.brand-slideshow-prev {
	left: 12px;
}

.brand-slideshow-next {
	right: 12px;
}

.brand-slideshow-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 14px 0 4px;
}

.brand-slideshow-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-border);
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.brand-slideshow-dot.is-active,
.brand-slideshow-dot:hover {
	background: var(--color-primary);
	transform: scale(1.15);
}

@media (max-width: 900px) {
	.brand-banner {
		grid-template-columns: 1fr;
	}

	.brand-banner-panel {
		padding: 28px 24px;
	}

	.brand-body-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.brand-body-content {
		order: 1;
	}

	.brand-body-media {
		order: 2;
	}
}

@media (max-width: 600px) {
	.brand-page {
		padding-top: calc(var(--header-height) + 24px);
	}

	.brand-page-header {
		padding-bottom: 20px;
		gap: 12px;
	}

	.brand-page-logo {
		width: 112px;
		height: 112px;
	}

	.brand-page-title {
		font-size: clamp(1.85rem, 8vw, 2.4rem);
	}

	.brand-slideshow-nav {
		width: 34px;
		height: 34px;
		font-size: 1.25rem;
	}
}

/* ==========================================================================
   Distribution page
   ========================================================================== */

.distribution-section {
	margin-bottom: 48px;
}

.distribution-section:last-child {
	margin-bottom: 0;
}

.distribution-subtitle {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-accent);
	display: inline-block;
}

.partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 60px;
}

.partner-card {
	background: var(--color-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	text-align: center;
	transition: transform var(--transition);
}

.partner-card:hover {
	transform: translateY(-4px);
}

.partner-card-image {
	aspect-ratio: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.partner-card-image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.partner-card-placeholder {
	aspect-ratio: 1;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.partner-card-placeholder span {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	color: var(--color-white);
}

.partner-card-name {
	padding: 16px;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-primary);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.service-card {
	background: var(--color-white);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow);
	border-left: 4px solid var(--color-accent);
}

.service-card h3 {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	color: var(--color-primary);
	margin-bottom: 16px;
}

.service-card ul {
	list-style: none;
}

.service-card li {
	padding: 6px 0;
	padding-left: 20px;
	position: relative;
	color: var(--color-text-muted);
	font-size: 15px;
}

.service-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 14px;
	width: 6px;
	height: 6px;
	background: var(--color-accent);
	border-radius: 50%;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 64px;
	align-items: start;
}

.contact-info h2 {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	color: var(--color-primary);
	margin-bottom: 32px;
}

.contact-details {
	margin-bottom: 32px;
}

.contact-item {
	margin-bottom: 20px;
}

.contact-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 4px;
}

.contact-item address {
	font-style: normal;
	color: var(--color-text-muted);
	line-height: 1.6;
}

.contact-social {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.contact-social a {
	font-size: 14px;
	font-weight: 500;
}

.contact-form-wrap {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	padding: 40px;
	box-shadow: var(--shadow-lg);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--color-text);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 14px 16px;
	font-family: var(--font-body);
	font-size: 15px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-bg);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.notice-success {
	background: #d4edda;
	color: #155724;
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 24px;
}

/* ==========================================================================
   News (What's News)
   ========================================================================== */

.news-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.news-item {
	padding: 32px 0;
	border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
	padding-top: 0;
}

.news-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.news-item-toggle {
	appearance: none;
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.news-item-media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-item-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: transform 0.5s ease;
}

.news-item-toggle:hover .news-item-media img,
.news-item.is-open .news-item-media img {
	transform: scale(1.04);
}

.news-item-placeholder {
	width: 100%;
	height: 100%;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.news-item-placeholder span {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	color: var(--color-white);
	padding: 16px;
	text-align: center;
}

.news-item-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 500;
	color: var(--color-accent);
}

.news-item-title {
	font-family: var(--font-heading);
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-primary);
	margin-bottom: 12px;
}

.news-item-toggle:hover .news-item-title {
	color: var(--color-accent);
}

.news-item-excerpt {
	font-size: 15px;
	color: var(--color-text-muted);
	line-height: 1.7;
	max-width: 52ch;
	margin-bottom: 14px;
}

.news-item-expand-hint {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-primary-light);
}

.news-item-collapse-label {
	display: none;
}

.news-item.is-open .news-item-expand-label {
	display: none;
}

.news-item.is-open .news-item-collapse-label {
	display: inline;
}

.news-item-chevron {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--transition);
	margin-top: -4px;
}

.news-item.is-open .news-item-chevron {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.news-item-detail {
	grid-column: 1 / -1;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
}

.news-item-detail-inner {
	max-width: min(680px, 100%);
	min-width: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.news-item-detail-inner a,
.entry-content a {
	overflow-wrap: anywhere;
	word-break: normal;
}

.news-item.is-open .news-item-excerpt {
	display: none;
}

.news-detail-tbc {
	font-style: italic;
	color: var(--color-text-muted);
}

.blog-date {
	font-size: 13px;
	color: var(--color-accent);
	font-weight: 500;
}

/* Legacy blog card (kept for any residual use) */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 32px;
}

.post-content .post-featured-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 32px;
}

.entry-content {
	font-size: 17px;
	line-height: 1.8;
	color: var(--color-text-muted);
	overflow-wrap: break-word;
	word-break: normal;
	text-align: left;
}

.entry-content p {
	margin-bottom: 20px;
}

/* Global reset zeroes ul/ol padding; outside bullets need room again. */
.entry-content ul,
.entry-content ol {
	margin: 0 0 20px;
	padding-left: 1.5em;
	list-style-position: outside;
}

.entry-content li {
	margin-bottom: 0.35em;
	padding-left: 0.15em;
}

.entry-content li:last-child {
	margin-bottom: 0;
}

/* Traditional Chinese: readable CJK metrics; avoid aggressive Latin word-breaks. */
body.lang-zh {
	font-family: var(--font-body-zh);
}

body.lang-zh .entry-content,
body.lang-zh .news-item-detail-inner {
	line-height: 1.85;
	letter-spacing: 0;
	word-break: normal;
	overflow-wrap: break-word;
	line-break: auto;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content table {
	max-width: 100%;
}

.post-nav {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--color-border);
}

.pagination {
	margin-top: 48px;
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.pagination a,
.pagination span {
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
}

.pagination .current {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: linear-gradient(180deg, #0c5551 0%, var(--color-header) 42%, var(--color-header-deep) 100%);
	color: var(--color-header-text);
	padding: 64px 0 32px;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(197, 164, 78, 0.28);
}

.footer-logo {
	display: inline-block;
	margin-bottom: 12px;
}

.footer-brand img,
.footer-brand .site-logo-img {
	height: 48px;
	width: auto;
	filter: none;
}

.footer-tagline {
	font-size: 14px;
	opacity: 0.85;
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.social-link {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
	transition: background var(--transition), color var(--transition);
}

.social-link:hover {
	background: var(--color-accent);
	color: var(--color-white);
}

.social-svg {
	width: 20px;
	height: 20px;
	display: block;
}

.social-img {
	height: 20px;
	width: auto;
	display: block;
}

.social-icon {
	font-weight: 700;
	font-size: 16px;
	color: var(--color-white);
}

.social-hktv {
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.12);
}

.social-hktv:hover {
	background: var(--color-accent);
}

.social-hktv .social-img {
	height: 28px;
	width: auto;
}

.footer-bottom {
	padding-top: 24px;
	text-align: center;
	font-size: 14px;
}

.footer-bottom a {
	color: var(--color-header-text);
	font-weight: 600;
}

.hero-bg--placeholder {
	background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}

.image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	background: var(--color-bg-alt);
	border: 2px dashed var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text-muted);
	text-align: center;
	padding: 24px;
	font-size: 14px;
}

.image-placeholder span {
	max-width: 220px;
}

.brand-card-image .image-placeholder,
.partner-logo .image-placeholder {
	min-height: 120px;
	aspect-ratio: 1;
}

.footer-brand .site-logo-text {
	color: var(--color-header-text);
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 600;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.split-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.split-layout--reverse {
		direction: ltr;
	}
}

/* Give long labels more room just above the hamburger breakpoint */
@media (max-width: 1280px) and (min-width: 1121px) {
	.nav-list {
		gap: 4px;
	}

	.nav-list a,
	.nav-link {
		padding: 10px 10px 12px;
		font-size: 13px;
	}
}

/* Collapse nav before labels wrap (half-monitor / tablet widths) */
@media (max-width: 1120px) {
	.nav-toggle {
		display: flex;
		order: 3;
	}

	.lang-switcher {
		margin-left: auto;
		margin-right: 4px;
		order: 2;
	}

	.site-logo {
		order: 1;
	}

	.main-nav {
		position: fixed;
		top: calc(var(--header-height) + var(--admin-bar-offset));
		left: 0;
		right: 0;
		background: var(--color-white);
		padding: 24px;
		box-shadow: var(--shadow-lg);
		transform: translateY(-120%);
		opacity: 0;
		transition: transform var(--transition), opacity var(--transition);
		pointer-events: none;
		order: 4;
	}

	.main-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-list a {
		padding: 14px 16px;
		letter-spacing: 0.12em;
		color: var(--color-text) !important;
	}

	.nav-list a::after,
	.nav-link::after {
		left: 16px;
		right: auto;
		width: 28px;
		bottom: 8px;
	}

	.nav-list a:hover,
	.nav-link:hover,
	.nav-list .current-menu-item > a,
	.nav-link.is-active {
		color: var(--color-primary) !important;
	}
}

@media (max-width: 768px) {
	.section {
		padding: 64px 0;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.brand-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.brand-card-image {
		padding: 16px;
	}

	.stats-strip {
		padding: 20px 0;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px 16px;
	}

	.stat-number {
		font-size: 1.35rem;
		margin-bottom: 2px;
	}

	.stat-label {
		font-size: 10px;
		letter-spacing: 0.03em;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.cta-box {
		padding: 48px 24px;
	}

	.footer-top {
		flex-direction: column;
		text-align: center;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}

	.news-item-toggle {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.news-item-media {
		aspect-ratio: 4 / 3;
	}

	.page-hero--banner .container {
		padding: 10px 16px;
	}

	.page-hero--banner .section-eyebrow {
		font-size: 10px;
		margin-bottom: 4px;
		letter-spacing: 0.14em;
	}

	.page-hero--banner .page-title {
		font-size: clamp(1.15rem, 5.5vw, 1.6rem);
		line-height: 1.15;
	}

	.page-hero--banner .page-subtitle {
		font-size: 12px;
		line-height: 1.35;
		margin-top: 4px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	@media (max-width: 480px) {
		.page-hero--banner .page-subtitle {
			display: none;
		}
	}

	.hero-content {
		padding: 28px 16px 20px;
	}

	.hero-eyebrow {
		font-size: 10px;
		margin-bottom: 6px;
	}

	.hero-title {
		font-size: clamp(1.25rem, 6vw, 1.75rem);
		margin-bottom: 6px;
	}

	.hero-subtitle {
		font-size: 12px;
		line-height: 1.4;
		margin-bottom: 0;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.hero-actions {
		display: none;
	}
}
