.tmdbwp {
	--tmdbwp-logo: 56px;
	--tmdbwp-gap: 14px;
	--tmdbwp-logo-radius: 22%;
	--tmdbwp-accent: currentColor;
	box-sizing: border-box;
	width: 100%;
}
.tmdbwp *, .tmdbwp *::before, .tmdbwp *::after { box-sizing: border-box; }

.tmdbwp__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 18px;
}
.tmdbwp__title { margin: 0; font-size: 1.25em; line-height: 1.2; }

.tmdbwp__country { margin: 0; }
.tmdbwp__select {
	max-width: 100%;
	min-width: 160px;
	padding: 8px 32px 8px 12px;
	font: inherit;
	font-size: .9em;
	color: inherit;
	background-color: transparent;
	border: 1px solid currentColor;
	border-radius: 8px;
	cursor: pointer;
	opacity: .9;
}
.tmdbwp__select:focus-visible,
.tmdbwp__select:hover { opacity: 1; outline: 2px solid var(--tmdbwp-accent); outline-offset: 2px; }

.tmdbwp__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tmdbwp__group { margin: 0 0 20px; }
.tmdbwp__group:last-child { margin-bottom: 0; }

.tmdbwp__label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 10px;
	font-size: .72em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.4;
	border: 1px solid var(--tmdbwp-accent);
	border-radius: 999px;
}

.tmdbwp__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tmdbwp-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.tmdbwp__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: calc(var(--tmdbwp-logo) + 20px);
	margin: 0;
	text-align: center;
}
.tmdbwp__logo {
	display: block;
	width: var(--tmdbwp-logo);
	height: var(--tmdbwp-logo);
	object-fit: cover;
	border-radius: var(--tmdbwp-logo-radius);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .15s ease;
}
.tmdbwp__item:hover .tmdbwp__logo { transform: translateY(-2px) scale(1.04); }
.tmdbwp__logo--text {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	background: rgba(127, 127, 127, .2);
}
.tmdbwp__name {
	font-size: .72em;
	line-height: 1.25;
	overflow-wrap: anywhere;
	opacity: .85;
}

.tmdbwp__empty { margin: 0; opacity: .8; }

.tmdbwp__attr {
	margin: 20px 0 0;
	font-size: .7em;
	line-height: 1.5;
	opacity: .65;
}
.tmdbwp__attr a { color: inherit; text-decoration: underline; }

.tmdbwp-notice {
	padding: 10px 12px;
	font-size: 13px;
	background: #fff7c7;
	color: #291d18;
	border-left: 3px solid #ffc421;
}

@media (max-width: 480px) {
	.tmdbwp__head { flex-direction: column; align-items: stretch; }
	.tmdbwp__select { width: 100%; }
	.tmdbwp__list { gap: calc(var(--tmdbwp-gap) * .75); }
}

@media (prefers-reduced-motion: reduce) {
	.tmdbwp__logo { transition: none; }
	.tmdbwp__item:hover .tmdbwp__logo { transform: none; }
}
