/* ==========================================================================
   HOMEPAGE HERO SECTION: FADED TAISHAN APPARATUS BACKGROUND
   ========================================================================== */
.lgm-hero-section {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--night, #1E1124) !important;
	isolation: isolate;
}

/* Authentic TaiShan competition beam background layer */
.lgm-hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--hero-bg, url('../images/taishan-hero.webp'));
	background-size: cover;
	background-position: center 36%;
	background-repeat: no-repeat;
	opacity: 0.22;
	filter: saturate(1.15) contrast(1.08);
	pointer-events: none;
	z-index: 1;
	transform: scale(1.03);
}

/* Premium atmospheric night/plum vignette ensuring 100% WCAG contrast */
.lgm-hero-section::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(30, 17, 36, 0.96) 0%,
		rgba(30, 17, 36, 0.86) 42%,
		rgba(43, 26, 49, 0.72) 72%,
		rgba(61, 38, 69, 0.82) 100%
	);
	pointer-events: none;
	z-index: 2;
}

/* Elevated foreground content */
.lgm-hero-section > * {
	position: relative;
	z-index: 3;
}

@media (max-width: 768px) {
	.lgm-hero-section::before {
		background-position: center 25%;
		opacity: 0.18;
	}

	.lgm-hero-section::after {
		background: linear-gradient(
			180deg,
			rgba(30, 17, 36, 0.96) 0%,
			rgba(30, 17, 36, 0.88) 55%,
			rgba(61, 38, 69, 0.92) 100%
		);
	}
}

/* ==========================================================================
   ACTION GALLERY: 60-70% WIDTH FRAMED PHOTO CARDS (FULL UNCLIPPED VIEW)
   ========================================================================== */
.lgm-action-showcase {
	max-width: 880px !important;
	margin-inline: auto !important;
	width: 100%;
}

.lgm-action-card {
	background: #ffffff;
	border-radius: var(--radius-card, 20px);
	border: 1px solid rgba(61, 38, 69, 0.1);
	box-shadow: 0 8px 24px -4px rgba(30, 17, 36, 0.08);
	overflow: hidden;
	padding: 8px;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lgm-action-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -6px rgba(30, 17, 36, 0.12);
}

.lgm-action-img-box {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	overflow: hidden;
	background: #FAF8F5; /* subtle luxury warm ivory matte */
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Left main card */
.lgm-action-card-main {
	height: 350px;
}

.lgm-action-card-main .lgm-action-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	border-radius: 12px;
}

/* Right side cards: full uncropped view */
.lgm-action-card-side {
	height: 165px;
}

.lgm-action-card-side .lgm-action-img-box img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain !important; /* Full unclipped view */
	display: block;
	margin: auto;
}

.lgm-action-badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(30, 17, 36, 0.75);
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: var(--radius-pill, 999px);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	letter-spacing: 0.02em;
	pointer-events: none;
}

@media (max-width: 768px) {
	.lgm-action-card-main {
		height: 250px;
	}

	.lgm-action-card-side {
		height: 180px;
	}
}

