/* Feast-day notice: a small card in the lower-left corner, above the page's scroll buttons on phones. */
.lltf-notice-region {
	bottom: 1.25rem;
	left: 1.25rem;
	margin: 0;
	max-width: min(21rem, calc(100vw - 2rem));
	width: max-content;
	position: fixed;
	z-index: 90;
}

.lltf-notice {
	--lltf-color: #b08d2e;
	background: var(--llt-color-surface, #fff);
	border: 1px solid var(--llt-color-line, #d8d8d8);
	border-block-start: 4px solid var(--lltf-color);
	border-radius: 0.6rem;
	box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 18%);
	color: var(--llt-color-ink, #1e1e1e);
	font-size: 0.9375rem;
	line-height: 1.5;
	padding: 1rem 1.1rem 1.05rem;
	position: relative;
}

.lltf-notice .lltf-notice__close {
	align-items: center;
	appearance: none;
	background: transparent;
	background-image: none;
	border: 0;
	box-shadow: none;
	border-radius: 999px;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.5rem;
	height: 2.75rem;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 0.25rem;
	margin: 0;
	min-height: 0;
	padding: 0;
	text-transform: none;
	top: 0.25rem;
	width: 2.75rem;
}

.lltf-notice .lltf-notice__close::before,
.lltf-notice .lltf-notice__close::after {
	content: none;
}

.lltf-notice .lltf-notice__close:hover {
	background: color-mix(in srgb, currentColor 10%, transparent);
}

.lltf-notice .lltf-notice__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.lltf-notice__art {
	color: var(--lltf-color);
	margin: 0 0 0.6rem;
}

.lltf-notice__symbol {
	display: block;
	height: 3.25rem;
	width: 3.25rem;
}

.lltf-notice__image {
	aspect-ratio: 4 / 3;
	border-radius: 0.35rem;
	display: block;
	height: auto;
	max-height: 9rem;
	object-fit: cover;
	width: 100%;
}

.lltf-notice p {
	margin: 0;
}

.lltf-notice__eyebrow {
	color: var(--llt-color-muted, #50575e);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lltf-notice .lltf-notice__title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0.15rem 2rem 0.35rem 0;
}

.lltf-notice__credit {
	color: var(--llt-color-muted, #50575e);
	font-size: 0.8125rem;
	margin-block-start: 0.5rem !important;
}

@media (max-width: 600px) {
	.lltf-notice-region {
		bottom: 5rem;
		left: 1rem;
		max-width: none;
		right: 1rem;
		width: auto;
	}

	.lltf-notice__art {
		float: left;
		margin: 0.1rem 0.8rem 0.25rem 0;
	}

	.lltf-notice__symbol {
		height: 2.5rem;
		width: 2.5rem;
	}

	.lltf-notice__image {
		max-height: 4rem;
		width: 5rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.lltf-notice {
		opacity: 0;
		transform: translateY(0.75rem);
		transition: opacity 0.25s ease, transform 0.25s ease;
	}

	.lltf-notice.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* Theme dark scheme: the card takes the theme's surface and ink; the accent stays readable. */
:root[data-llt-scheme="dark"] .lltf-notice {
	box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 45%);
}

:root[data-llt-scheme="dark"] .lltf-notice__art {
	color: color-mix(in srgb, var(--lltf-color) 55%, #fff);
}

@media print {
	.lltf-notice-region {
		display: none;
	}
}
