/*
Theme Name: Animaccord (Replica)
Theme URI: https://animaccord.com/
Author: Internal
Description: Theme scaffold to match animaccord.com structure (About Us / Media Catalog / Licensing & Advertising / Newsroom / Contacts).
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.3
Version: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: animaccord
*/

.ac-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 251, 244, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.mb-shop-header {
	position: sticky;
	top: 0;
	z-index: 1100;
	background: rgba(255, 251, 244, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.ac-footer {
	/* Match the header divider line, but separating content from footer. */
	border-top: 2px solid rgba(0, 0, 0, 0.08);
	background: transparent;
}

.ac-header__inner,
.mb-shop-header__inner {
	align-items: center;
	gap: 14px;
}

.ac-header__actions {
	margin-left: auto;
	align-items: center;
	gap: 12px;
}

.ac-header__lang {
	margin-left: auto;
}

.mb-shop-header__left {
	flex: 1 1 auto;
	min-width: 0;
}

.mb-shop-header__controls {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.ac-lang-switcher-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 10px;
	border: 2px solid rgba(17, 17, 17, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 8px 0 rgba(6, 137, 133, 0.1);
}

.ac-lang-switcher__label {
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.66);
}

.ac-lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ac-lang-switcher__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	padding: 4px 8px;
	border-radius: 999px;
	border: 1px solid rgba(17, 17, 17, 0.14);
	background: rgba(255, 255, 255, 0.92);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1;
	text-decoration: none;
}

.ac-lang-switcher__item.is-active {
	border-color: rgba(255, 128, 0, 0.45);
	background: rgba(255, 128, 0, 0.18);
	color: rgba(17, 17, 17, 0.96);
}

.ac-header .wp-block-navigation__container,
.mb-shop-header .wp-block-navigation__container {
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ac-header .wp-block-navigation__container::-webkit-scrollbar,
.mb-shop-header .wp-block-navigation__container::-webkit-scrollbar {
	display: none;
}

.ac-header :where(a) {
	color: rgba(17, 17, 17, 0.9);
	text-decoration: none;
}

.mb-shop-header :where(a) {
	color: rgba(17, 17, 17, 0.9);
	text-decoration: none;
}

.ac-header :where(a:hover) {
	color: rgb(0, 0, 0);
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.mb-shop-header :where(a:hover) {
	color: rgb(0, 0, 0);
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.ac-header .wp-block-site-logo img,
.ac-header .wp-block-site-logo svg {
	height: auto;
	max-height: 36px;
	width: auto;
}

.mb-shop-header .wp-block-site-logo img,
.mb-shop-header .wp-block-site-logo svg {
	height: auto;
	max-height: 36px;
	width: auto;
}

/* Mobile header navigation: use the core Navigation block overlay (hamburger).
 * IMPORTANT: the hamburger must never appear on desktop. */
@media (min-width: 761px) {
	.ac-header .wp-block-navigation__responsive-container-open,
	.mb-shop-header .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
}

@media (max-width: 760px) {
	/* Force hamburger behavior on mobile widths (WP core switches to inline menu at >=600px). */
	.ac-header .wp-block-navigation__responsive-container-open,
	.mb-shop-header .wp-block-navigation__responsive-container-open {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 999px;
		border: 2px solid rgba(17, 17, 17, 0.10);
		background: rgba(255, 255, 255, 0.86);
		box-shadow: 0 10px 0 rgba(255, 128, 0, 0.10);
		color: rgba(17, 17, 17, 0.92);
		transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	}

	.ac-header .wp-block-navigation__responsive-container-open:hover,
	.mb-shop-header .wp-block-navigation__responsive-container-open:hover {
		transform: translateY(-1px);
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 12px 0 rgba(6, 137, 133, 0.10);
	}

	/* Hide the inline menu until the overlay is opened. */
	.ac-header .wp-block-navigation__responsive-container:not(.is-menu-open),
	.mb-shop-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.ac-header .wp-block-navigation__responsive-container,
	.mb-shop-header .wp-block-navigation__responsive-container {
		background: rgba(255, 251, 244, 0.96);
		backdrop-filter: blur(10px);
	}

	.ac-header .wp-block-navigation__responsive-container-close,
	.mb-shop-header .wp-block-navigation__responsive-container-close {
		width: 44px;
		height: 44px;
		border-radius: 999px;
		border: 2px solid rgba(17, 17, 17, 0.10);
		background: rgba(255, 255, 255, 0.9);
		box-shadow: 0 10px 0 rgba(0, 0, 0, 0.06);
	}

	.ac-header .wp-block-navigation__responsive-container-close:hover,
	.mb-shop-header .wp-block-navigation__responsive-container-close:hover {
		background: rgba(255, 255, 255, 1);
	}

	.ac-header__actions {
		flex: 1 1 auto;
		justify-content: flex-end;
		gap: 8px;
	}

	.ac-header__lang {
		margin-left: 0;
	}

	.mb-shop-header__controls {
		gap: 8px;
	}

	.ac-lang-switcher-wrap {
		padding: 0 8px;
		gap: 6px;
	}

	.ac-lang-switcher__label {
		display: none;
	}

	.ac-lang-switcher__item {
		min-width: 30px;
		padding: 4px 7px;
		font-size: 0.68rem;
	}
}

/* Explicitly hide the legacy mobile bottom navigation (user requested removal). */
.mb-bottom-nav-wrap {
	display: none !important;
}

/* Desktop nav: make links feel like playful "tabs" (leave /shop/ styling to the Mashabear Design plugin). */
:where(.mb-main-nav) {
	/* Keep a small buffer so button shadows don't hit the header divider. */
	padding-bottom: 6px;
}

:where(.mb-main-nav) a.wp-block-navigation-item__content:not([href="/shop/"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	border: 2px solid rgba(17, 17, 17, 0.08);
	box-shadow: 0 6px 0 rgba(255, 128, 0, 0.10);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

:where(.mb-main-nav) a.wp-block-navigation-item__content:not([href="/shop/"]):hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 8px 0 rgba(6, 137, 133, 0.10);
	text-decoration: none;
}

/* Active nav item (header + footer). Gutenberg sets current classes and/or aria-current. */
:where(.mb-main-nav) .current-menu-item > a.wp-block-navigation-item__content:not([href="/shop/"]),
:where(.mb-main-nav) .current_page_item > a.wp-block-navigation-item__content:not([href="/shop/"]),
:where(.mb-main-nav) a.wp-block-navigation-item__content[aria-current="page"]:not([href="/shop/"]) {
	background: rgba(255, 128, 0, 0.16);
	border-color: rgba(255, 128, 0, 0.34);
	box-shadow: 0 8px 0 rgba(6, 137, 133, 0.12);
	transform: translateY(-1px);
}

/* Footer: still make the Shop link look like other menu items (header Shop is styled by the plugin). */
.mb-footer-nav a.wp-block-navigation-item__content[href="/shop/"] {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	border: 2px solid rgba(17, 17, 17, 0.08);
	box-shadow: 0 6px 0 rgba(255, 128, 0, 0.10);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.mb-footer-nav a.wp-block-navigation-item__content[href="/shop/"]:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 8px 0 rgba(6, 137, 133, 0.10);
	text-decoration: none;
}

.mb-footer-nav a.wp-block-navigation-item__content[aria-current="page"][href="/shop/"] {
	background: rgba(255, 128, 0, 0.16);
	border-color: rgba(255, 128, 0, 0.34);
	box-shadow: 0 8px 0 rgba(6, 137, 133, 0.12);
	transform: translateY(-1px);
}

/* Anchor offsets for sticky header */
[id] {
	/* Header is intentionally removed; keep a small offset for in-page anchors. */
	scroll-margin-top: 22px;
}

body {
	background:
		radial-gradient(circle at 18px 18px, rgba(255, 128, 0, 0.12) 0 6px, transparent 7px 26px),
		radial-gradient(circle at 78px 62px, rgba(6, 137, 133, 0.10) 0 5px, transparent 6px 24px),
		linear-gradient(180deg, #fffbf4, #fffaf0 55%, #ffffff 100%);
	background-size: 120px 120px, 140px 140px, auto;
}

/* Desktop primary navigation: button grid (mobile uses bottom nav). */
.mb-quick-nav__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0 0;
}

@media (max-width: 1000px) {
	.mb-quick-nav__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.mb-quick-nav {
		display: none;
	}
}

.mb-quick-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 10px 0 rgba(6, 137, 133, 0.10);
	color: rgba(17, 17, 17, 0.92);
	font-weight: 900;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.mb-quick-nav__btn:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 0 rgba(255, 128, 0, 0.12);
}

.mb-quick-nav__btn:active {
	transform: translateY(1px);
}

.mb-quick-nav__btn[aria-current="page"],
.mb-quick-nav__btn.is-current {
	background: rgba(255, 128, 0, 0.14);
	border-color: rgba(255, 128, 0, 0.34);
	box-shadow: 0 12px 0 rgba(6, 137, 133, 0.12);
}

/* Default "window" wrapper for page/post content. */
.ac-window {
	position: relative;
	background: rgba(255, 255, 255, 0.86);
	border: 2px solid rgba(17, 17, 17, 0.08);
	border-radius: 34px;
	box-shadow: 0 18px 0 rgba(255, 128, 0, 0.10), 0 34px 70px rgba(0, 0, 0, 0.06);
	padding: 46px 24px 24px;
}

.ac-window::before {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	top: 16px;
	height: 12px;
	border-radius: 999px;
	background:
		radial-gradient(circle at 10px 6px, rgba(255, 128, 0, 0.85) 0 3px, transparent 4px),
		radial-gradient(circle at 28px 6px, rgba(6, 137, 133, 0.85) 0 3px, transparent 4px),
		radial-gradient(circle at 46px 6px, rgba(17, 17, 17, 0.30) 0 3px, transparent 4px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
	opacity: 0.85;
	pointer-events: none;
}

.ac-section {
	padding: 64px 0;
	position: relative;
	border-radius: 34px;
	background: rgba(255, 255, 255, 0.86);
	border: 2px solid rgba(17, 17, 17, 0.08);
	box-shadow: 0 18px 0 rgba(255, 128, 0, 0.10), 0 34px 70px rgba(0, 0, 0, 0.06);
	margin: 18px 0;
}

.ac-section.is-alt {
	background: rgba(230, 246, 255, 0.75);
	border-color: rgba(6, 137, 133, 0.18);
	box-shadow: 0 18px 0 rgba(6, 137, 133, 0.10), 0 34px 70px rgba(0, 0, 0, 0.06);
}

.ac-section::before {
	content: "";
	position: absolute;
	left: 20px;
	right: 20px;
	top: 16px;
	height: 12px;
	border-radius: 999px;
	background:
		radial-gradient(circle at 10px 6px, rgba(255, 128, 0, 0.85) 0 3px, transparent 4px),
		radial-gradient(circle at 28px 6px, rgba(6, 137, 133, 0.85) 0 3px, transparent 4px),
		radial-gradient(circle at 46px 6px, rgba(17, 17, 17, 0.30) 0 3px, transparent 4px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
	opacity: 0.85;
	pointer-events: none;
}

.ac-kicker {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ff8000;
	font-size: 12px;
}

.ac-hero {
	padding: 92px 0 48px;
	border-radius: 40px;
	background:
		radial-gradient(circle at 16% 26%, rgba(255, 128, 0, 0.18), transparent 44%),
		radial-gradient(circle at 86% 18%, rgba(6, 137, 133, 0.16), transparent 40%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.70));
	border: 2px solid rgba(17, 17, 17, 0.08);
	box-shadow: 0 22px 0 rgba(6, 137, 133, 0.10), 0 44px 90px rgba(0, 0, 0, 0.06);
}

.ac-hero h1 {
	font-weight: 300;
	letter-spacing: -0.01em;
}

	/* News index (/news/) */
	.ac-news-hero {
		position: relative;
		isolation: isolate;
		overflow: hidden;
		background:
			linear-gradient(108deg, rgba(6, 13, 26, 0.76) 0%, rgba(6, 13, 26, 0.24) 56%, rgba(6, 13, 26, 0.08) 100%),
			radial-gradient(circle at 18% 24%, rgba(255, 128, 0, 0.26), transparent 44%),
			radial-gradient(circle at 86% 18%, rgba(6, 137, 133, 0.24), transparent 40%),
			url("assets/news-cover-2560x1440.jpg") center/cover no-repeat;
		border-color: rgba(17, 17, 17, 0.18);
		box-shadow: 0 22px 0 rgba(255, 128, 0, 0.16), 0 44px 90px rgba(0, 0, 0, 0.22);
	}

	.ac-news-hero .ac-kicker {
		color: #ffd980;
	}

	.ac-news-hero :where(h1, p) {
		color: #fff;
		text-shadow: 0 2px 18px rgba(0, 0, 0, 0.30);
	}

	@media (max-width: 760px) {
		.ac-news-hero {
			background-position: 58% center;
		}
	}

	.ac-news-query {
		margin-top: 28px;
	}

	.ac-news-grid {
		list-style: none;
		padding: 0;
		margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

@media (max-width: 1000px) {
	.ac-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ac-news-grid {
		grid-template-columns: 1fr;
	}
}

.ac-news-grid > li {
	margin: 0;
}

.ac-news-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 34px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.92);
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 18px 0 rgba(255, 128, 0, 0.10), 0 34px 70px rgba(0, 0, 0, 0.06);
	transform: rotate(-0.3deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ac-news-grid > li:nth-child(2n) .ac-news-card {
	transform: rotate(0.3deg);
}

.ac-news-grid > li:hover .ac-news-card {
	transform: translateY(-2px) rotate(0deg);
	box-shadow: 0 20px 0 rgba(6, 137, 133, 0.10), 0 40px 84px rgba(0, 0, 0, 0.08);
}

.ac-news-card__img {
	/* placeholder in case a post has no thumbnail/meta image */
	background:
		radial-gradient(circle at 24% 34%, rgba(255, 128, 0, 0.20), transparent 46%),
		radial-gradient(circle at 78% 24%, rgba(6, 137, 133, 0.18), transparent 44%),
		linear-gradient(180deg, rgba(230, 246, 255, 0.72), rgba(255, 255, 255, 0.92));
	min-height: 190px;
	border-bottom: 2px solid rgba(17, 17, 17, 0.08);
}

.ac-news-card__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ac-news-card__body {
	padding: 18px 18px 20px;
}

.ac-news-card__title {
	margin: 0 0 6px;
	font-weight: 900;
	font-size: 20px;
	line-height: 1.1;
}

.ac-news-card__title a {
	color: inherit;
	text-decoration: none;
}

.ac-news-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

.ac-news-card__date {
	margin: 0 0 10px;
	color: rgba(17, 17, 17, 0.70);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ac-news-card__excerpt {
	margin: 0;
	color: rgba(17, 17, 17, 0.78);
	font-weight: 700;
}

.ac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 2px solid #ff8000;
	padding: 12px 28px;
	background: #ff8000;
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ac-btn:hover {
	background: #e67300;
	border-color: #e67300;
}

/* Mashabear homepage sections: extra round, extra colorful, extra "cartoon". */
.mb-home-hero {
	padding: 76px 0 44px;
	border-radius: 44px;
	background:
		radial-gradient(circle at 10% 22%, rgba(255, 128, 0, 0.20), transparent 46%),
		radial-gradient(circle at 86% 14%, rgba(6, 137, 133, 0.20), transparent 44%),
		radial-gradient(circle at 70% 74%, rgba(255, 128, 0, 0.14), transparent 48%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
	border: 3px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 22px 0 rgba(255, 128, 0, 0.14), 0 44px 92px rgba(0, 0, 0, 0.06);
}

.mb-home-hero h1 {
	font-weight: 900;
	letter-spacing: -0.02em;
}

.mb-section {
	padding: 56px 0;
	position: relative;
	border-radius: 40px;
	background: rgba(255, 255, 255, 0.88);
	border: 3px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 18px 0 rgba(6, 137, 133, 0.12), 0 34px 70px rgba(0, 0, 0, 0.06);
	margin: 18px 0;
}

	.mb-section.is-alt {
		background:
			radial-gradient(circle at 14% 34%, rgba(255, 128, 0, 0.16), transparent 42%),
			linear-gradient(180deg, rgba(230, 246, 255, 0.84), rgba(255, 255, 255, 0.80));
		border-color: rgba(6, 137, 133, 0.18);
		box-shadow: 0 18px 0 rgba(255, 128, 0, 0.12), 0 34px 70px rgba(0, 0, 0, 0.06);
	}

	/* Shared page header: "title + description on yellow background". */
	.mb-page-hero {
		margin: 0 0 18px;
		padding: 22px 20px;
		border-radius: 28px;
		border: 3px solid rgba(17, 17, 17, 0.10);
		box-shadow: 0 14px 0 rgba(255, 128, 0, 0.12), 0 28px 60px rgba(0, 0, 0, 0.06);
	}

	.mb-page-hero--yellow {
		background:
			radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.70), transparent 44%),
			radial-gradient(circle at 82% 26%, rgba(6, 137, 133, 0.12), transparent 46%),
			linear-gradient(180deg, rgba(255, 234, 120, 0.96), rgba(255, 204, 0, 0.62));
	}

	.mb-page-hero h1 {
		margin: 0 0 8px;
		font-weight: 900;
		letter-spacing: -0.02em;
	}

	.mb-page-hero p {
		margin: 0;
		max-width: 72ch;
		font-weight: 800;
		color: rgba(17, 17, 17, 0.78);
	}

	/* Games page banners. */
	.mb-game-banners {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
		margin: 18px 0 10px;
	}

	@media (max-width: 1000px) {
		.mb-game-banners {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}

	@media (max-width: 760px) {
		.mb-game-banners {
			grid-template-columns: 1fr;
		}
	}

	.mb-game-banner {
		position: relative;
		display: grid;
		grid-template-columns: 124px 1fr;
		gap: 14px;
		align-items: center;
		padding: 14px 14px;
		border-radius: 28px;
		background: rgba(255, 255, 255, 0.92);
		border: 2px solid rgba(17, 17, 17, 0.10);
		box-shadow: 0 14px 0 rgba(255, 128, 0, 0.10), 0 26px 60px rgba(0, 0, 0, 0.06);
		text-decoration: none;
		color: inherit;
		transform: rotate(-0.25deg);
		transition: transform 0.15s ease, box-shadow 0.15s ease;
		overflow: hidden;
	}

	.mb-game-banner:nth-child(2n) {
		transform: rotate(0.25deg);
	}

	.mb-game-banner:hover {
		transform: translateY(-2px) rotate(0deg);
		box-shadow: 0 16px 0 rgba(6, 137, 133, 0.10), 0 32px 70px rgba(0, 0, 0, 0.08);
	}

	.mb-game-banner__img img {
		width: 124px;
		height: 88px;
		border-radius: 22px;
		border: 2px solid rgba(17, 17, 17, 0.10);
		background: rgba(6, 137, 133, 0.08);
		object-fit: cover;
		display: block;
	}

	.mb-game-banner__img--placeholder {
		display: block;
		width: 124px;
		height: 88px;
		border-radius: 22px;
		border: 2px solid rgba(17, 17, 17, 0.10);
		background:
			radial-gradient(circle at 16% 28%, rgba(255, 128, 0, 0.22), transparent 46%),
			radial-gradient(circle at 82% 22%, rgba(6, 137, 133, 0.20), transparent 48%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.50));
	}

	.mb-game-banner__copy {
		display: grid;
		gap: 8px;
		min-width: 0;
	}

	.mb-game-banner__title {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: fit-content;
		max-width: 100%;
		padding: 6px 12px;
		border-radius: 999px;
		border: 2px solid rgba(17, 17, 17, 0.10);
		background: rgba(255, 255, 255, 0.92);
		box-shadow: 0 10px 0 rgba(6, 137, 133, 0.10);
		color: rgba(17, 17, 17, 0.92);
		font-weight: 900;
		font-size: 14px;
		letter-spacing: 0.02em;
		line-height: 1.2;
		text-align: center;
	}

	.mb-game-banner__desc {
		margin: 0;
		color: rgba(17, 17, 17, 0.72);
		font-weight: 800;
	}

	@media (max-width: 760px) {
		/* Mobile: avoid clipping in featured game banners. */
		.mb-game-banner,
		.mb-game-banner:nth-child(2n) {
			transform: none;
		}

		.mb-game-banner__img img {
			object-fit: contain;
			object-position: center;
			background: rgba(255, 255, 255, 0.96);
		}
	}

	.mb-feature-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
		margin-top: 18px;
}

@media (max-width: 1000px) {
	.mb-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.mb-feature-grid {
		grid-template-columns: 1fr;
	}
}

.mb-feature-card {
	position: relative;
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 14px;
	align-items: center;
	padding: 18px 18px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.92);
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 14px 0 rgba(255, 128, 0, 0.10), 0 26px 60px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: inherit;
	transform: rotate(-0.3deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mb-feature-card:nth-child(2n) {
	transform: rotate(0.3deg);
}

.mb-feature-card:hover {
	transform: translateY(-2px) rotate(0deg);
	box-shadow: 0 16px 0 rgba(6, 137, 133, 0.10), 0 32px 70px rgba(0, 0, 0, 0.08);
}

.mb-feature-card__img img {
	width: 72px;
	height: 72px;
	border-radius: 22px;
	border: 2px solid rgba(17, 17, 17, 0.10);
	background: rgba(6, 137, 133, 0.08);
}

.mb-feature-card__title {
	margin: 0 0 4px;
	font-weight: 900;
	font-size: 18px;
}

.mb-feature-card__desc {
	margin: 0;
	color: rgba(17, 17, 17, 0.72);
	font-weight: 700;
}

.mb-character-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

@media (max-width: 1000px) {
	.mb-character-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.mb-character-grid {
		grid-template-columns: 1fr;
	}
}

.mb-character-card {
	text-decoration: none;
	color: inherit;
	display: block;
	padding: 18px 18px 16px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.92);
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 14px 0 rgba(6, 137, 133, 0.10), 0 28px 60px rgba(0, 0, 0, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mb-character-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 0 rgba(6, 137, 133, 0.12), 0 34px 70px rgba(0, 0, 0, 0.08);
}

.mb-character-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 22px;
	border: 2px solid rgba(17, 17, 17, 0.10);
	background: rgba(255, 128, 0, 0.10);
}

.mb-character-card h3 {
	margin: 12px 0 6px;
	font-weight: 900;
	font-size: 18px;
}

.mb-character-card p {
	margin: 0;
	color: rgba(17, 17, 17, 0.74);
	font-weight: 700;
}

.mb-character-single .wp-block-image {
	margin: 18px 0;
}

.mb-character-single .wp-block-image img {
	width: min(560px, 100%);
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	margin: 0 auto;
	border-radius: 28px;
	border: 2px solid rgba(17, 17, 17, 0.10);
	background: rgba(255, 128, 0, 0.10);
	box-shadow: 0 14px 0 rgba(6, 137, 133, 0.10), 0 28px 60px rgba(0, 0, 0, 0.06);
}

/* Characters page: align visual language with News cards/hero while keeping Mashabear content. */
.mb-characters-page.mb-section {
	background:
		radial-gradient(circle at 16% 24%, rgba(255, 128, 0, 0.14), transparent 44%),
		radial-gradient(circle at 84% 18%, rgba(6, 137, 133, 0.14), transparent 40%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 18px 0 rgba(255, 128, 0, 0.10), 0 34px 70px rgba(0, 0, 0, 0.06);
}

.mb-characters-page .mb-characters-banner {
	position: relative;
	margin: 0 0 26px;
	padding: clamp(18px, 3.6vw, 34px);
	min-height: clamp(260px, 37vw, 460px);
	border-radius: 34px;
	border: 2px solid rgba(17, 17, 17, 0.14);
	box-shadow: 0 18px 0 rgba(255, 128, 0, 0.10), 0 34px 70px rgba(0, 0, 0, 0.16);
	overflow: hidden;
	isolation: isolate;
	background:
		linear-gradient(108deg, rgba(8, 20, 28, 0.88) 0%, rgba(8, 20, 28, 0.56) 44%, rgba(8, 20, 28, 0.30) 100%),
		radial-gradient(circle at 14% 24%, rgba(0, 184, 217, 0.44), transparent 46%),
		radial-gradient(circle at 85% 16%, rgba(114, 255, 214, 0.24), transparent 42%),
		linear-gradient(180deg, #3cbde6 0%, #248bb3 36%, #194d61 74%, #143f2d 100%);
}

.mb-characters-page .mb-characters-banner::before {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: 14%;
	height: 50%;
	z-index: 1;
	background:
		radial-gradient(48px 82px at 4% 100%, rgba(8, 52, 32, 0.92) 0 72%, transparent 73%),
		radial-gradient(56px 100px at 13% 100%, rgba(6, 45, 29, 0.9) 0 72%, transparent 73%),
		radial-gradient(52px 92px at 23% 100%, rgba(8, 58, 36, 0.9) 0 72%, transparent 73%),
		radial-gradient(62px 108px at 34% 100%, rgba(5, 41, 26, 0.92) 0 72%, transparent 73%),
		radial-gradient(50px 88px at 46% 100%, rgba(8, 54, 32, 0.9) 0 72%, transparent 73%),
		radial-gradient(58px 102px at 57% 100%, rgba(6, 43, 27, 0.92) 0 72%, transparent 73%),
		radial-gradient(54px 95px at 69% 100%, rgba(8, 58, 35, 0.9) 0 72%, transparent 73%),
		radial-gradient(60px 108px at 80% 100%, rgba(5, 41, 26, 0.9) 0 72%, transparent 73%),
		radial-gradient(54px 95px at 91% 100%, rgba(7, 52, 32, 0.92) 0 72%, transparent 73%);
	opacity: 0.94;
}

.mb-characters-page .mb-characters-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34%;
	z-index: 2;
	background:
		radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.20), transparent 44%),
		radial-gradient(circle at 78% 0%, rgba(255, 255, 255, 0.15), transparent 40%),
		linear-gradient(180deg, rgba(40, 115, 80, 0.22), rgba(14, 68, 45, 0.84));
}

.mb-characters-page .mb-characters-banner__copy {
	position: relative;
	z-index: 4;
	max-width: min(64ch, 56%);
}

.mb-characters-page .mb-characters-banner__kicker {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffd980;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.mb-characters-page .mb-characters-banner__title {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: clamp(34px, 4.8vw, 64px);
	font-weight: 900;
	line-height: 0.96;
	letter-spacing: -0.02em;
	color: #ffffff;
	text-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.mb-characters-page .mb-characters-banner__lead {
	margin: 0;
	max-width: 42ch;
	font-size: clamp(15px, 1.8vw, 22px);
	font-weight: 700;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.94);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.34);
}

.mb-characters-page .mb-characters-banner__lineup {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 10px;
	z-index: 5;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}

.mb-characters-page .mb-characters-banner__lineup::before {
	content: "";
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: 44%;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.34);
}

.mb-characters-page .mb-characters-banner__char {
	position: relative;
	z-index: 2;
	width: clamp(40px, 5vw, 82px);
	margin-left: -11px;
}

.mb-characters-page .mb-characters-banner__char:first-child {
	margin-left: 0;
}

.mb-characters-page .mb-characters-banner__char img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.40));
}

.mb-characters-page .mb-characters-banner__char:nth-child(3n) {
	transform: translateY(-4px);
}

.mb-characters-page .mb-characters-banner__char:nth-child(4n) {
	transform: translateY(3px);
}

.mb-characters-page .mb-characters-banner__char:nth-child(5n) {
	transform: translateY(-7px);
}

@media (max-width: 760px) {
	.mb-characters-page .mb-characters-banner {
		min-height: 320px;
		padding: 18px 16px 16px;
	}

	.mb-characters-page .mb-characters-banner__copy {
		max-width: 100%;
	}

	.mb-characters-page .mb-characters-banner__title {
		font-size: clamp(30px, 12vw, 44px);
	}

	.mb-characters-page .mb-characters-banner__lead {
		max-width: 28ch;
		font-size: 15px;
	}

	.mb-characters-page .mb-characters-banner__lineup {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}

	.mb-characters-page .mb-characters-banner__char {
		width: clamp(30px, 8.3vw, 44px);
		margin-left: -8px;
	}
}

.mb-characters-page .mb-character-grid {
	margin-top: 22px;
	gap: 18px;
}

.mb-characters-page .mb-character-grid .mb-character-card {
	border-radius: 34px;
	box-shadow: 0 18px 0 rgba(255, 128, 0, 0.10), 0 34px 70px rgba(0, 0, 0, 0.06);
	transform: rotate(-0.3deg);
}

.mb-characters-page .mb-character-grid .mb-character-card:nth-child(2n) {
	transform: rotate(0.3deg);
}

.mb-characters-page .mb-character-grid .mb-character-card:hover {
	transform: translateY(-2px) rotate(0deg);
	box-shadow: 0 20px 0 rgba(6, 137, 133, 0.10), 0 40px 84px rgba(0, 0, 0, 0.08);
}

.mb-characters-page .mb-character-grid .mb-character-card img {
	aspect-ratio: 16 / 10;
	border-radius: 24px;
}

.mb-characters-page .mb-character-grid .mb-character-card h3 {
	font-size: 20px;
	line-height: 1.1;
}

/* Footer social icons: make them look like "stickers" instead of plain glyphs. */
.wp-block-social-links {
	gap: 10px;
}

.wp-block-social-links .wp-social-link {
	border-radius: 999px;
	border: 2px solid rgba(17, 17, 17, 0.10);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 0 rgba(255, 128, 0, 0.10);
	transform: rotate(-2deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Footer layout: make each group look like the rest of the UI (framed "windows"). */
.mb-footer-grid {
	gap: 18px !important;
}

.mb-footer-card {
	position: relative;
	padding: 18px 18px 16px;
	border-radius: 28px;
	/* Keep the "window" framing, but let the site's background show through. */
	background: rgba(255, 251, 244, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 14px 0 rgba(6, 137, 133, 0.10), 0 28px 60px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.mb-footer-card::before {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	top: 12px;
	height: 10px;
	border-radius: 999px;
	background:
		radial-gradient(circle at 10px 5px, rgba(255, 128, 0, 0.85) 0 3px, transparent 4px),
		radial-gradient(circle at 28px 5px, rgba(6, 137, 133, 0.85) 0 3px, transparent 4px),
		radial-gradient(circle at 46px 5px, rgba(17, 17, 17, 0.30) 0 3px, transparent 4px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.02));
	opacity: 0.95;
	pointer-events: none;
}

.mb-footer-card > *:first-child {
	margin-top: 10px;
}

.mb-footer-nav a.wp-block-navigation-item__content {
	width: 100%;
	justify-content: flex-start;
}

/* About page: highlights and contact cards */
.mb-about-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 14px 0 18px;
}

.mb-about-card {
	padding: 18px;
	border-radius: 22px;
	border: 2px solid rgba(17, 17, 17, 0.10);
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 12px 0 rgba(255, 128, 0, 0.10), 0 22px 50px rgba(0, 0, 0, 0.06);
}

.mb-about-card h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.mb-about-card p {
	margin: 0;
	line-height: 1.6;
}

.mb-contact-list {
	margin: 0;
	padding-left: 18px;
}

.mb-contact-list li {
	margin: 0 0 8px;
}

.mb-about-map-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.mb-about-map-links a:not(.ac-btn) {
	font-weight: 800;
	color: #0f5f5c;
	text-underline-offset: 3px;
}


/* Contacts: responsive map embed */
.mb-map-embed iframe {
	width: 100%;
	height: 340px;
	border: 0;
	border-radius: 22px;
	box-shadow: 0 14px 0 rgba(6, 137, 133, 0.10), 0 28px 60px rgba(0, 0, 0, 0.06);
	background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 760px) {
	.mb-about-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mb-map-embed iframe {
		height: 300px;
	}
}

.wp-block-social-links .wp-social-link:nth-child(2n) {
	transform: rotate(2deg);
}

.wp-block-social-links .wp-social-link:hover {
	transform: translateY(-2px) rotate(0deg);
	box-shadow: 0 12px 0 rgba(6, 137, 133, 0.10);
}

.wp-block-social-links .wp-social-link a {
	padding: 10px;
}

.wp-block-social-links .wp-social-link-instagram { background: rgba(255, 128, 0, 0.14); }
.wp-block-social-links .wp-social-link-youtube { background: rgba(255, 77, 77, 0.14); }
.wp-block-social-links .wp-social-link-tiktok { background: rgba(0, 0, 0, 0.06); }
.wp-block-social-links .wp-social-link-facebook { background: rgba(66, 103, 178, 0.12); }
.wp-block-social-links .wp-social-link-x { background: rgba(17, 17, 17, 0.06); }
.wp-block-social-links .wp-social-link-pinterest { background: rgba(230, 0, 35, 0.12); }
.wp-block-social-links .wp-social-link-linkedin { background: rgba(10, 102, 194, 0.12); }

/* Shop header icons (account/cart). */
.mb-shop-header__right {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.mb-shop-header__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 2px solid rgba(17, 17, 17, 0.10);
	background: rgba(255, 255, 255, 0.76);
	color: rgba(17, 17, 17, 0.92);
	box-shadow: 0 8px 0 rgba(255, 128, 0, 0.10);
	text-decoration: none;
}

.mb-shop-header__icon:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 0 rgba(6, 137, 133, 0.10);
}

/* Match store-like hover for Gutenberg buttons too */
.wp-element-button:hover,
.wp-block-button__link:hover {
	background: #e67300;
	border-color: #e67300;
}

/* Keep WooCommerce pages on the same background as the site. */
body.woocommerce,
body.woocommerce-shop,
body.woocommerce-page {
	background:
		radial-gradient(circle at 18px 18px, rgba(255, 128, 0, 0.12) 0 6px, transparent 7px 26px),
		radial-gradient(circle at 78px 62px, rgba(6, 137, 133, 0.10) 0 5px, transparent 6px 24px),
		linear-gradient(180deg, #fffbf4, #fffaf0 55%, #ffffff 100%);
	background-size: 120px 120px, 140px 140px, auto;
}

@media (max-width: 760px) {
	/* Shop switcher wrapper uses inline block padding; tighten it on mobile. */
	.mb-shop-header__lang .ac-lang-switcher-wrap {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

/* WooCommerce collection grid (Mashabear-like).
 * Some shortcodes/themes omit the `.woocommerce` wrapper, so style both.
 */
.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
	padding-left: 0;
}

/* Use a slightly higher breakpoint so mobile "desktop mode" (often ~980px layout viewport)
 * still switches to a readable 2-column grid.
 */
@media (max-width: 1000px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.woocommerce ul.products,
	ul.products {
		gap: 12px;
		margin-top: 16px;
	}
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category,
ul.products li.product,
ul.products li.product-category {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.woocommerce ul.products li.product,
ul.products li.product {
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product > a,
ul.products li.product > a {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-category:hover,
ul.products li.product:hover,
ul.products li.product-category:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
	border-color: rgba(255, 128, 0, 0.35);
}

.woocommerce ul.products li.product a,
.woocommerce ul.products li.product-category a,
ul.products li.product a,
ul.products li.product-category a {
	text-decoration: none;
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product-category a img,
ul.products li.product a img,
ul.products li.product-category a img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Single product images: avoid any accidental stretching from theme/global styles. */
.woocommerce div.product div.images img,
.woocommerce div.product div.images .wp-post-image {
	max-width: 100%;
	height: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	padding: 14px 16px 6px;
	font-size: var(--wp--preset--font-size--m, 16px);
	font-weight: 800;
	color: var(--wp--preset--color--text, #111111);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	/* Keep cards tidy when product names are long. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.woocommerce ul.products li.product .price,
ul.products li.product .price {
	padding: 0 16px 14px;
	font-size: var(--wp--preset--font-size--m, 16px);
	font-weight: 800;
	color: rgba(6, 137, 133, 0.95);
}

.woocommerce ul.products li.product .button,
ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 16px 16px;
	border-radius: 999px;
	border: 2px solid #ff8000;
	background: #ff8000;
	color: #ffffff;
	font-weight: 800;
	font-size: var(--wp--preset--font-size--s, 14px);
	line-height: 1;
	padding: 12px 18px;
}

@media (max-width: 760px) {
	.woocommerce ul.products li.product,
	ul.products li.product {
		border-radius: 16px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	ul.products li.product .woocommerce-loop-product__title {
		padding: 12px 12px 4px;
		font-size: var(--wp--preset--font-size--s, 14px);
		line-height: 1.15;
	}

	.woocommerce ul.products li.product .price,
	ul.products li.product .price {
		padding: 0 12px 10px;
		font-size: var(--wp--preset--font-size--s, 14px);
	}

	.woocommerce ul.products li.product .button,
	ul.products li.product .button {
		display: flex; /* full-width */
		margin: 0 12px 12px;
		padding: 11px 12px;
		font-size: var(--wp--preset--font-size--s, 14px);
	}
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
	background: #e67300;
	border-color: #e67300;
}

/* Single product (mobile-friendly defaults for the WooCommerce block). */
.woocommerce div.product {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 22px;
	padding: 18px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}

@media (max-width: 760px) {
	.woocommerce div.product {
		padding: 14px;
		border-radius: 18px;
	}
}

/* Cartoons: season grouping + horizontal episode slider. */
.mb-season {
	margin-top: 26px;
}

.mb-season__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.mb-season__title {
	margin: 0;
	font-weight: 900;
	font-size: 22px;
	letter-spacing: -0.01em;
}

.mb-slider-controls {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.mb-slider-btn {
	appearance: none;
	border: 2px solid rgba(17, 17, 17, 0.14);
	background: rgba(255, 255, 255, 0.92);
	color: rgba(17, 17, 17, 0.92);
	border-radius: 999px;
	padding: 8px 12px;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: 12px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	box-shadow: 0 10px 0 rgba(6, 137, 133, 0.10), 0 20px 46px rgba(0, 0, 0, 0.06);
}

.mb-slider-btn:hover {
	transform: translateY(-1px);
	border-color: rgba(6, 137, 133, 0.32);
}

.mb-slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(220px, 70vw, 320px);
	gap: 14px;
	overflow-x: auto;
	padding: 8px 2px 14px;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 10px;
	-webkit-overflow-scrolling: touch;
}

.mb-slider > * {
	scroll-snap-align: start;
}

.mb-slider::-webkit-scrollbar {
	height: 10px;
}

.mb-slider::-webkit-scrollbar-thumb {
	background: rgba(17, 17, 17, 0.18);
	border-radius: 999px;
}

.mb-episode-card {
	position: relative;
	display: grid;
	grid-template-rows: 160px auto;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.92);
	border: 2px solid rgba(17, 17, 17, 0.10);
	box-shadow: 0 14px 0 rgba(255, 128, 0, 0.10), 0 26px 60px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transform: rotate(-0.2deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mb-episode-card:nth-child(2n) {
	transform: rotate(0.2deg);
}

.mb-episode-card:hover {
	transform: translateY(-2px) rotate(0deg);
	box-shadow: 0 16px 0 rgba(6, 137, 133, 0.10), 0 32px 70px rgba(0, 0, 0, 0.08);
}

.mb-episode-card__img {
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(6, 137, 133, 0.08);
}

.mb-episode-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.06) contrast(1.04);
}

.mb-episode-card__body {
	padding: 12px 14px 14px;
	display: grid;
	gap: 6px;
}

.mb-episode-card__kicker {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.mb-episode-card__title {
	margin: 0;
	font-weight: 900;
	font-size: 16px;
	line-height: 1.12;
}

.mb-episode-card__desc {
	margin: 0;
	color: rgba(17, 17, 17, 0.72);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
}

.mb-episode-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 12px 0 4px;
}

.mb-crumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 12px;
	color: rgba(6, 137, 133, 0.95);
	text-decoration: none;
}

.mb-crumb:hover {
	text-decoration: underline;
}

/* Home Page News Slider */
.ac-home-news-slider-section {
	max-width: 1280px;
	margin: 40px auto 56px;
	padding: 0 10px;
}

.ac-slider-header {
	margin-bottom: 20px;
	align-items: center;
}

.ac-slider-header h2 {
	margin: 0;
	font-weight: 900;
	font-size: 30px;
	letter-spacing: -0.02em;
}

.ac-news-slider-relative-wrap {
	position: relative;
	padding: 34px 0 34px;
	background-color: transparent;
	border-radius: 26px;
	overflow: hidden;
}

.ac-news-slider-relative-wrap::before,
.ac-news-slider-relative-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 168px;
	pointer-events: none;
	z-index: 60;
	backdrop-filter: blur(4.5px) saturate(1.06);
}

.ac-news-slider-relative-wrap::before {
	left: 0;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0.74) 0%,
		rgba(255, 255, 255, 0.46) 56%,
		rgba(255, 255, 255, 0) 100%
	);
}

.ac-news-slider-relative-wrap::after {
	right: 0;
	background: linear-gradient(
		to left,
		rgba(255, 255, 255, 0.74) 0%,
		rgba(255, 255, 255, 0.46) 56%,
		rgba(255, 255, 255, 0) 100%
	);
}

@media (min-width: 1025px) {
	.ac-news-slider-relative-wrap::before,
	.ac-news-slider-relative-wrap::after {
		width: 68px;
		backdrop-filter: blur(2.2px) saturate(1.04);
	}

	.ac-news-slider-relative-wrap::before {
		background: linear-gradient(
			to right,
			rgba(255, 255, 255, 0.32) 0%,
			rgba(255, 255, 255, 0.14) 58%,
			rgba(255, 255, 255, 0) 100%
		);
	}

	.ac-news-slider-relative-wrap::after {
		background: linear-gradient(
			to left,
			rgba(255, 255, 255, 0.32) 0%,
			rgba(255, 255, 255, 0.14) 58%,
			rgba(255, 255, 255, 0) 100%
		);
	}
}

.ac-home-news-slider-plugin {
	position: relative;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 {
	visibility: visible;
	opacity: 1;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	min-height: 356px;
	align-items: stretch;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-carousel-slides:nth-child(n + 4) {
	display: none;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-carousel-slides {
	min-height: 356px;
}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 {
		--ac-news-arrow-size: 84px;
		--ac-news-arrow-blur-offset: 10px;
	}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-list {
		margin: 0 -12px;
		padding-top: 6px;
		overflow: visible;
	}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-slide {
		margin: 0 12px;
		padding: 0;
		box-sizing: border-box;
		position: relative;
		z-index: 1;
		transform: scale(1);
		transition: transform 0.3s ease;
		will-change: transform;
	}

	@media (min-width: 1025px) {
		.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-list {
			margin: 0 -16px;
		}

		.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-slide {
			margin: 0 16px;
		}
	}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-track {
	padding-bottom: 32px;
}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-carousel-slides {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	border: 0;
	box-shadow: 0 18px 34px rgba(12, 18, 24, 0.12);
	min-height: 328px;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
	opacity: 1;
	filter: none;
	transition: box-shadow 0.24s ease;
}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-slide.slick-center {
		z-index: 50;
		transform: scale(1.08);
	}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-slide.slick-center .wppsac-carousel-slides {
		z-index: 50;
		position: relative;
		box-shadow: 0 24px 42px rgba(12, 18, 24, 0.16);
	}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-image-bg {
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0 0 10px;
	background: #f0f3f7;
	position: relative;
	overflow: hidden;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-image-bg a {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	position: relative;
	z-index: 1;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-image-bg img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-content-position {
	padding: 0 14px 14px;
	min-height: 132px;
	height: 100%;
	display: flex;
	align-items: flex-start;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-post-image-bg,
.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-post-image-bg a {
	aspect-ratio: 16 / 9;
	flex: 0 0 auto;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-post-image-bg img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-post-content-position {
	height: auto;
	min-height: 132px;
	flex: 1 0 auto;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-title {
	margin: 0;
	line-height: 1.25;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-title a {
	color: #141414;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.006em;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 :is(.wppsac-post-image-bg a, .wppsac-post-title a) > br {
	display: none;
}

		.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: var(--ac-news-arrow-size);
		height: var(--ac-news-arrow-size);
		display: flex;
		align-items: center;
		justify-content: center;
		background: transparent;
	border: 0;
	border-radius: 0;
	color: #00bcdf;
	box-shadow: none;
	filter: drop-shadow(0 10px 18px rgba(2, 52, 78, 0.18));
		isolation: isolate;
		display: flex !important;
		visibility: visible !important;
		pointer-events: auto;
		z-index: 140 !important;
		opacity: 0.95;
	}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% + (var(--ac-news-arrow-blur-offset) * 2));
	height: calc(100% + (var(--ac-news-arrow-blur-offset) * 2));
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	pointer-events: none;
	z-index: 0;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-prev {
	left: 0 !important;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-next {
	right: 0 !important;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow:hover {
	color: #00BCDF;
	opacity: 1;
}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-prev::before,
	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-next::before {
		content: none !important;
	}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow svg {
		fill: currentColor;
		/* Scale the arrow icon up x3 relative to the base size. */
		width: calc(var(--ac-news-arrow-size) / 3);
		height: calc(var(--ac-news-arrow-size) / 3);
		padding: 0;
		transform: scale(3);
		transform-origin: 50% 50%;
		position: relative;
		z-index: 1;
	}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow svg path {
	fill: currentColor;
}

.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .ac-news-arrow--next svg {
	transform: rotate(180deg) scale(3);
}



		@media (max-width: 1024px) {
			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 {
				--ac-news-arrow-size: 72px;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) {
				gap: 16px;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-prev {
				left: 0 !important;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-next {
				right: 0 !important;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow {
				z-index: 140 !important;
				touch-action: manipulation;
			}
		}

@media (max-width: 760px) {
	.ac-home-news-slider-section {
		margin: 18px auto 32px;
		padding: 0 4px;
	}

	.ac-news-slider-relative-wrap {
		padding-top: 24px;
	}

	.ac-slider-header h2 {
		font-size: 24px;
	}

	.ac-news-slider-relative-wrap::before,
	.ac-news-slider-relative-wrap::after {
		width: 72px;
	}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-title a {
		font-size: 14px;
	}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .wppsac-post-content-position {
		min-height: 96px;
		height: auto;
		padding: 0 14px 14px;
	}
}

		@media (max-width: 639px) {
			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) {
				grid-template-columns: 1fr;
				gap: 12px;
				min-height: 280px;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-carousel-slides:nth-child(n + 2) {
				display: none;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1:not(.slick-initialized) .wppsac-carousel-slides {
				min-height: 280px;
			}

			.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-slide {
				width: 80vw !important;
			}

	.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-track {
		padding-bottom: 0;
	}

		.ac-home-news-slider-plugin .wppsac-post-carousel.design-1 .slick-arrow {
			top: 50% !important;
			bottom: auto !important;
			transform: translateY(-50%) !important;
		}
	}
