/* Enjoy — Frontend styles (minimalist, Apple-like) */

.enjoy-fe-card,
.enjoy-fe-card * {
	box-sizing: border-box;
}

.enjoy-fe-card {
	max-width: 560px;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.enjoy-fe-card:hover {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 16px 32px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
}

.enjoy-fe-card-media img {
	display: block;
	width: 100%;
	height: auto;
}

.enjoy-fe-card-body {
	padding: 24px 26px 28px;
}

.enjoy-fe-card-title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #1d1d1f;
}

.enjoy-fe-card-meta {
	font-size: 13px;
	color: #86868b;
	margin-bottom: 14px;
}

.enjoy-fe-card-meta span + span::before {
	content: "•";
	margin: 0 6px;
	color: #d2d2d7;
}

.enjoy-fe-card-body > .enjoy-fe-taxonomy-list {
	margin-bottom: 14px;
}

.enjoy-fe-card-summary {
	font-size: 15px;
	line-height: 1.55;
	color: #1d1d1f;
	margin: 0 0 16px;
}

.enjoy-fe-card-button {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: #06c;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.enjoy-fe-card-button:hover {
	opacity: 0.7;
	color: #06c;
	text-decoration: underline;
}

/* Badges / taxonomy pills */

.enjoy-fe-taxonomy-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.enjoy-fe-badge {
	display: inline-block;
	background: #f5f5f7;
	color: #1d1d1f;
	font-size: 12px;
	font-weight: 500;
	padding: 5px 12px;
	border-radius: 999px;
}

.enjoy-fe-badge a {
	color: inherit;
	text-decoration: none;
}

.enjoy-fe-badge a:hover {
	text-decoration: underline;
}

.enjoy-fe-card-meta a,
.enjoy-fe-template-meta a {
	color: inherit;
	text-decoration: none;
}

.enjoy-fe-card-meta a:hover,
.enjoy-fe-template-meta a:hover {
	text-decoration: underline;
}

/* Text fields */

.enjoy-fe-alt-title {
	color: #6e6e73;
	font-style: italic;
}

.enjoy-fe-date {
	color: #1d1d1f;
	font-weight: 500;
}

.enjoy-fe-summary,
.enjoy-fe-storyline {
	font-size: 16px;
	line-height: 1.6;
	color: #1d1d1f;
}

.enjoy-fe-website-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	background: #1d1d1f;
	padding: 9px 18px;
	border-radius: 980px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.enjoy-fe-website-link:hover {
	opacity: 0.8;
	color: #fff;
}

/* Images */

.enjoy-fe-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

/* Gallery */

.enjoy-fe-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

.enjoy-fe-gallery-img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	transition: opacity 0.2s ease;
}

.enjoy-fe-gallery-link {
	display: block;
	cursor: zoom-in;
}

.enjoy-fe-gallery-link:hover .enjoy-fe-gallery-img {
	opacity: 0.85;
}

/* Video */

.enjoy-fe-video-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
}

.enjoy-fe-video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Auto frontend template */

/* Standalone minimal template (header/content/footer only) */

.enjoy-single-main {
	max-width: 760px;
	margin: 0 auto;
	padding: 40px 20px 60px;
}

.enjoy-fe-template {
	max-width: 720px;
}

.enjoy-fe-woo-tab {
	max-width: 720px;
}

.enjoy-fe-template .enjoy-fe-taxonomy-list {
	margin-bottom: 0;
}

.enjoy-fe-template-section {
	margin-bottom: 28px;
}

.enjoy-fe-section-title {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #1d1d1f;
	margin: 0 0 12px;
}

/* Hero: poster over background artwork/screenshot */

.enjoy-fe-hero {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-color: #f5f5f7;
	min-height: 260px;
	margin-bottom: 28px;
	display: flex;
	align-items: flex-end;
}

.enjoy-fe-hero-pastel {
	background-image: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 55%, #fce7f3 100%) !important;
}

.enjoy-fe-hero-overlay {
	position: relative;
	width: 100%;
	display: flex;
	align-items: flex-end;
	gap: 20px;
	padding: 24px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0) 100%);
}

.enjoy-fe-hero-pastel .enjoy-fe-hero-overlay {
	background: none;
}

.enjoy-fe-hero-poster {
	flex-shrink: 0;
	width: 120px;
	aspect-ratio: 2 / 3;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	background: #fff;
}

.enjoy-fe-hero-poster-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.enjoy-fe-hero-info {
	color: #fff;
	padding-bottom: 4px;
}

.enjoy-fe-hero-pastel .enjoy-fe-hero-info {
	color: #1d1d1f;
}

.enjoy-fe-hero-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 4px;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.enjoy-fe-hero-pastel .enjoy-fe-hero-title {
	text-shadow: none;
}

.enjoy-fe-hero-year {
	font-size: 15px;
	font-weight: 500;
	opacity: 0.85;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.enjoy-fe-hero-pastel .enjoy-fe-hero-year {
	text-shadow: none;
}

/* Detail rows: Release Date, Alternative Title */

.enjoy-fe-details {
	margin-bottom: 28px;
	border-top: 1px solid #e5e5ea;
}

.enjoy-fe-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	padding: 11px 0;
	border-bottom: 1px solid #e5e5ea;
	font-size: 14px;
}

.enjoy-fe-detail-label {
	color: #6e6e73;
	flex-shrink: 0;
}

.enjoy-fe-detail-value {
	color: #1d1d1f;
	text-align: right;
	font-weight: 500;
}

.enjoy-fe-detail-value a {
	color: inherit;
}

/* Supported Languages table */

.enjoy-fe-lang-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.enjoy-fe-lang-table th,
.enjoy-fe-lang-table td {
	text-align: left;
	padding: 9px 12px;
	border-bottom: 1px solid #e5e5ea;
}

.enjoy-fe-lang-table th {
	color: #6e6e73;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Centers the text in <th> and <td> of columns 2, 3 and 4 */
.enjoy-fe-lang-table th:nth-child(n+2),
.enjoy-fe-lang-table td:nth-child(n+2) {
  text-align: center;
}

.enjoy-fe-lang-table td:not(:first-child) {
	text-align: center;
	color: #1d1d1f;
}

.enjoy-fe-lang-table td svg {
	vertical-align: middle;
}

.enjoy-fe-lang-table tbody tr:last-child td {
	border-bottom: none;
}

/* Collapsible wrapper: average height, bottom fade, "See all" toggle */

.enjoy-fe-lang-wrap {
	position: relative;
	--enjoy-fe-fade-color: #fff;
}

.enjoy-fe-lang-scroll {
	position: relative;
	max-height: 280px;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.enjoy-fe-lang-wrap.is-expanded .enjoy-fe-lang-scroll {
	max-height: 3000px;
}

.enjoy-fe-lang-fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 56px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--enjoy-fe-fade-color) 85%);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.enjoy-fe-lang-wrap.is-expanded .enjoy-fe-lang-fade {
	opacity: 0;
}

.enjoy-fe-lang-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 8px;
	padding: 10px 0 0;
	background: none;
	border: 0;
	border-top: 1px solid #e5e5ea;
	font-size: 13px;
	font-weight: 500;
	color: #06c;
	cursor: pointer;
}

.enjoy-fe-lang-toggle:hover {
	opacity: 0.75;
}

.enjoy-fe-lang-chevron {
	display: inline-block;
	transition: transform 0.3s ease;
	font-size: 11px;
}

.enjoy-fe-lang-wrap.is-expanded .enjoy-fe-lang-chevron {
	transform: rotate(180deg);
}

/* Age Ratings */

.enjoy-fe-rating-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.enjoy-fe-rating-icon {
	height: 56px;
	width: auto;
	border-radius: 6px;
	border: 1px solid #d3d3d3;
}

.enjoy-fe-rating-fallback {
	font-size: 12px;
}
