/**
 * Latest Promotions — self-contained front-end styles.
 * List rules are scoped under .lp-list and reset defensively so a theme's
 * "content ul/li" styles cannot leak into the bullet list.
 */

.lp-list {
	margin: 0 0 24px;
}

.lp-card {
	display: flex;
	gap: 26px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 16px;
	padding: 22px;
	margin-bottom: 18px;
	box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}

.lp-card:last-child {
	margin-bottom: 0;
}

/* Media column (tag badge above the image) */
.lp-media {
	flex: 0 0 40%;
	max-width: 40%;
	display: flex;
	flex-direction: column;
}

.lp-tag {
	align-self: flex-start;
	background: #e8f1fd;
	color: #2b7fd4;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 7px;
	margin-bottom: 12px;
}

.lp-image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	object-fit: cover;
}

/* Body column */
.lp-body {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.lp-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
	color: #111827;
}

/* Bullet list — reset against theme list styling */
.lp-list .lp-bullets {
	list-style: none !important;
	margin: 0 0 auto !important;
	padding: 0 !important;
}

.lp-list .lp-bullets li {
	position: relative;
	padding: 4px 0 4px 20px !important;
	margin: 0 !important;
	text-indent: 0 !important;
	list-style: none !important;
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
}

.lp-list .lp-bullets li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.85em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #9db8d6;
}

/* CTAs */
.lp-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.lp-cta {
	flex: 1 1 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	color: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
	transition: filter 0.2s ease, transform 0.05s ease;
}

/* Keep the label white in every link state (a:visited from the theme would
   otherwise darken the internal "details" link once it has been visited). */
.lp-cta,
.lp-cta:link,
.lp-cta:visited,
.lp-cta:hover,
.lp-cta:focus,
.lp-cta:active {
	color: #fff !important;
}

.lp-cta:hover {
	filter: brightness(1.05);
}

.lp-cta:active {
	transform: translateY(1px);
}

.lp-cta-icon {
	flex-shrink: 0;
}

/* Ayaka palette: brand red for details, register-green for the strong CTA */
.lp-cta-details {
	background: linear-gradient(to right, #BB0713 0%, #e0313c 100%);
}

.lp-cta-get {
	background: linear-gradient(to right, #2ea62e 5%, #47d147 100%);
}

/* Responsive: stack the card */
@media (max-width: 720px) {
	.lp-card {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px;
	}

	.lp-media {
		flex-basis: auto;
		max-width: 100%;
	}

	.lp-title {
		font-size: 18px;
	}

	/* Simple stacked column (no wrap) so each button stretches full width */
	.lp-ctas {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	.lp-cta {
		flex: 0 0 auto;
		width: 100%;
	}
}
