/*
Theme Name: HotPackly
Description: Catálogo responsivo HotPackly para distribuição de conteúdo adulto por links.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acervo-downloads
*/

:root {
	color-scheme: dark;
	--background: #0b0a0c;
	--surface: #151316;
	--border: #332830;
	--text: #faf6f7;
	--muted: #c5b7bd;
	--accent: #ff596d;
	--accent-ink: #20060b;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--background);
	color: var(--text);
	font: 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow-wrap: anywhere;
}

a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, .gallery-track:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

.container { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100001;
	width: auto;
	height: auto;
	padding: .5rem .75rem;
	clip-path: none;
	background: var(--surface);
}

.site-header { background: #110e11; }

.site-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 6rem;
	padding-block: .85rem;
}

.site-brand { min-width: 0; }

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: .85rem;
	color: var(--text);
	line-height: 1;
	text-decoration: none;
}
.brand-link:hover { color: var(--text); }
.brand-mark {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 3.15rem;
	height: 3.15rem;
	border-radius: .9rem;
	background: linear-gradient(145deg, #26131f, #120d12);
	box-shadow: 0 0 1.1rem rgba(255, 49, 95, .18), inset 0 0 0 1px rgba(255, 89, 109, .12);
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; gap: .32rem; min-width: 0; }
.brand-wordmark {
	display: block;
	font-size: clamp(1.8rem, 4vw, 2.35rem);
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}
.brand-hot { color: #fff; }
.brand-packly { color: var(--accent); }
.brand-tagline {
	display: block;
	color: var(--muted);
	font-size: .72rem;
	font-weight: 550;
	letter-spacing: .015em;
	line-height: 1.25;
}
.custom-logo { width: auto; max-width: min(12rem, 100%); max-height: 3.5rem; object-fit: contain; }


/* Ferramentas do cabeçalho: tradutor à esquerda da busca. */
.header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .7rem;
	min-width: 0;
	flex: 0 1 auto;
}
.header-language-switcher {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 5.2rem;
	min-height: 2.75rem;
	padding: .2rem .45rem;
	border: 1px solid var(--border);
	border-radius: .5rem;
	background: var(--surface);
	color: var(--text);
}
.header-language-switcher .gtranslate_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}
.header-language-switcher img {
	vertical-align: middle;
}
.header-language-switcher select {
	max-width: 100%;
	min-height: 2.2rem;
	border: 0;
	background: transparent;
	color: var(--text);
	font: 650 .9rem/1.2 system-ui, sans-serif;
}
.header-language-switcher option {
	background: #151316;
	color: #faf6f7;
}

.search-form { display: flex; width: min(100%, 22rem); min-width: 0; gap: .4rem; }
.search-form label { flex: 1; min-width: 0; }
.search-form input, .search-form button {
	min-height: 2.75rem;
	border: 1px solid var(--border);
	border-radius: .45rem;
	font: inherit;
}
.search-form input { width: 100%; padding: .45rem .7rem; background: var(--background); color: var(--text); }
.search-form input::placeholder { color: var(--muted); }
.search-form button {
	padding: .45rem .8rem;
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	font-weight: 650;
}
.search-form button:hover { border-color: var(--accent); }

.site-navigation { border-block: 1px solid var(--border); }
.site-navigation ul { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.site-navigation a { display: block; padding: .7rem 0; color: var(--muted); font-weight: 650; text-decoration: none; }
.site-navigation a:hover, .site-navigation .current-menu-item > a, .site-navigation .current-cat > a { color: var(--accent); }

.site-main { min-height: 60vh; padding-block: clamp(1.5rem, 4vw, 3.5rem) 3.5rem; }
.catalog-heading { margin-bottom: 1.35rem; }
h1, h2, h3 { line-height: 1.17; }
h1 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.7rem); letter-spacing: -.045em; }
.archive-description { color: var(--muted); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }

.catalog-grid.catalog-home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
@media (min-width: 1001px) {
	.catalog-main-home { max-width: 1000px; }
	.site-bar-home { width: min(1800px, calc(100% - 2rem)); }
}

.catalog-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: .7rem;
	background: var(--surface);
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
	transform: translateY(0);
}

.catalog-card:hover, .catalog-card:focus-within {
	border-color: var(--accent);
	transform: translateY(-5px);
	box-shadow: 0 .8rem 1.8rem rgba(0, 0, 0, .38);
}
.card-link:focus-visible { outline-offset: -3px; }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.card-cover {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #110e11;
}

.card-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .38s cubic-bezier(.2, .75, .25, 1), filter .38s ease;
	transform: scale(1);
}

.catalog-card:hover .card-cover img,
.catalog-card:focus-within .card-cover img {
	transform: scale(1.065);
	filter: brightness(1.06);
}
.catalog-home .catalog-card:hover,
.catalog-home .catalog-card:focus-within {
	transform: none;
}

.catalog-home .card-cover img {
	transition-duration: .55s;
}

.catalog-home .card-link:hover .card-cover img,
.catalog-home .card-link:focus-visible .card-cover img {
	transform: scale(1.22);
}
.cover-fallback { display: block; height: 100%; background: radial-gradient(ellipse at 25% 15%, #391322, transparent 75%), #171216; }

.card-play {
	position: absolute;
	inset: 50% auto auto 50%;
	display: grid;
	place-items: center;
	width: 2.35rem;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border: 1px solid #ff6e81;
	border-radius: 50%;
	background: #ac1736ed;
	box-shadow: 0 .25rem .85rem #0009;
	color: white;
	pointer-events: none;
}

.play-triangle {
	width: .7rem;
	height: .85rem;
	margin-left: .12rem;
	background: currentColor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.card-link:hover .card-play, .card-link:focus-visible .card-play { background: #d7193d; }

.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1rem; }
.card-title { margin: 0; font-size: 1.07rem; line-height: 1.35; }

.pagination { display: flex; justify-content: center; margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers { display: grid; min-width: 2.7rem; min-height: 2.7rem; place-items: center; padding: .35rem .65rem; border: 1px solid var(--border); border-radius: .45rem; text-decoration: none; }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); font-weight: 800; }

.empty-state, .download-panel { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--border); border-radius: .7rem; background: var(--surface); }
.empty-state p:first-child { margin-top: 0; }
.empty-state p:last-child { margin-bottom: 0; }

.single-entry { max-width: 50rem; margin-inline: auto; }
.entry-header { margin-bottom: 1.2rem; }
.entry-cover, .entry-gallery { width: min(100%, 32.5rem); margin-inline: auto; }

.entry-cover, .gallery-stage {
	overflow: hidden;
	border-radius: .7rem;
	background: #110e11;
}

.entry-cover img {
	display: block;
	width: auto;
	max-height: clamp(13rem, 57vw, 22rem);
	margin-inline: auto;
	object-fit: contain;
}

.gallery-stage { position: relative; }
.gallery-track {
	display: flex;
	direction: ltr;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	scrollbar-color: #66404b #110e11;
}
.gallery-track:focus-visible { outline-offset: -3px; }
.gallery-slide {
	display: grid;
	flex: 0 0 100%;
	min-width: 0;
	place-items: center;
	height: clamp(13rem, 57vw, 22rem);
	margin: 0;
	scroll-snap-align: start;
}
.gallery-slide img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-arrow {
	position: absolute;
	top: 50%;
	width: 2.65rem;
	height: 2.65rem;
	transform: translateY(-50%);
	border: 1px solid #ff6479;
	border-radius: 50%;
	background: #200b14e8;
	color: white;
	font: 1.8rem/1 system-ui, sans-serif;
	cursor: pointer;
}
.gallery-arrow:hover { background: #7a1a32; }
.gallery-arrow[aria-disabled="true"] { opacity: .48; cursor: default; }
.gallery-prev { left: .55rem; }
.gallery-next { right: .55rem; }
.gallery-count { margin: .35rem 0 0; color: var(--muted); text-align: center; font-size: .85rem; }

.post-layout { max-width: 50rem; margin-inline: auto; }
.post-layout.has-pack-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(12rem, 17.5rem);
	align-items: start;
	gap: 1.15rem;
	max-width: none;
}

.hotpack-post, .pack-sidebar {
	min-width: 0;
	padding: clamp(.85rem, 3vw, 1.75rem);
	border: 1px solid var(--border);
	border-radius: .7rem;
	background: var(--surface);
}

.hotpack-post .entry-cover, .hotpack-post .entry-gallery { width: min(100%, 22.875rem); }
.hotpack-post .entry-cover, .hotpack-post .gallery-slide { position: relative; aspect-ratio: 9 / 16; }
.hotpack-post .entry-cover img, .hotpack-post .gallery-slide img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}
.hotpack-post .gallery-slide { height: auto; }
.hotpack-post .download-panel { margin-top: .85rem; }
.hotpack-post .entry-content { max-width: 38rem; margin-inline: auto; }

.post-heading { margin-top: 1rem; text-align: center; }
.post-heading:first-child { margin-top: 0; }
.post-heading h1 { font-size: clamp(1.45rem, 3.5vw, 2.25rem); }

.pack-sidebar { padding: .85rem; background: #242424; }
.pack-sidebar > h2 { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 600; }
.pack-widget + .pack-widget { margin-top: .75rem; }
.pack-widget-title { margin: 0 0 .5rem; font-size: 1rem; }
.pack-widget figure { margin: 0; }
.pack-widget img { height: auto; border-radius: .4rem; }
.popular-packs-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: .5rem;
	width: min(100%, 250px);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.popular-packs-list.popular-packs-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}
.popular-packs-list > li { min-width: 0; }
.popular-pack-cover {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	overflow: hidden;
	background: #191619;
	color: var(--text);
	text-align: center;
	text-decoration: none;
}
.popular-pack-cover:hover { color: var(--accent); }
.popular-pack-cover:focus-visible { outline-offset: -3px; }
.popular-pack-cover > span:not(.screen-reader-text) { padding: .65rem; }
.popular-pack-cover img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	border-radius: 0;
}
.popular-packs-empty { margin: 0; color: var(--muted); font-size: .85rem; }


@media (max-width: 760px) {
	.post-layout.has-pack-sidebar { grid-template-columns: minmax(0, 1fr); max-width: 50rem; }
}

.entry-content { margin-block: 1.25rem; }
.entry-content iframe, .entry-content video, .entry-content input { max-width: 100%; }
.entry-content pre { overflow: auto; }
.entry-content .wp-block-table { overflow: auto; }

.download-panel { width: min(100%, 32.5rem); margin: 1.5rem auto 0; }
.download-panel h2 { margin: 0 0 1rem; text-align: center; font-size: 1.35rem; }
.hotpack-post-actions [data-download-panel]:not(.downloads-ready) .download-links-notice { display: none; }
.download-processing-message {
	display: block;
	margin-bottom: .45rem;
	color: #46db88;
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.45;
}
.download-links-notice {
	margin: 0 0 .8rem;
	color: #ff5366;
	font-size: .98rem;
	font-weight: 750;
	line-height: 1.35;
	text-align: center;
}
.download-message-typing { border-inline-end: .08em solid currentColor; }
.download-list { display: grid; gap: .7rem; }
.hotpack-post-actions [data-download-panel]:not(.downloads-ready) .download-list { display: none; }

.download-countdown {
	margin: 0;
	padding: .6rem 0;
	color: var(--accent);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.download-button {
	display: grid;
	grid-template-columns: 1.6rem minmax(0, 1fr) 1rem;
	align-items: center;
	gap: .7rem;
	min-height: 3.45rem;
	padding: .65rem .95rem;
	border: 1px solid #ffffff26;
	border-radius: .55rem;
	background: var(--provider);
	color: white;
	font-weight: 750;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.download-button:hover, .download-button:focus-visible {
	background: var(--provider-hover);
	box-shadow: 0 .45rem 1rem #0008;
	transform: translateY(-3px);
}
.download-button:active { transform: translateY(0); }
.provider-mega { --provider: #c51330; --provider-hover: #d81b39; }
.provider-dropbox { --provider: #124cb7; --provider-hover: #1a58c8; }
.provider-workupload { --provider: #28644f; --provider-hover: #317c61; }
.provider-mediafire { --provider: #23558f; --provider-hover: #2a62a3; }
.provider-icon { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; }
.workupload-letter { display: inline-block; font: 900 1.15rem/1 system-ui, sans-serif; }
.provider-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.provider-mega .provider-icon {
	border-radius: 50%;
	background: white;
	color: #a9112c;
	font: 900 .95rem/1 system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
	.download-button { transition: none; }
	.download-button:hover, .download-button:focus-visible { transform: none; }
}

.related-packs { margin-top: 1.75rem; }
.related-packs > h2 {
	margin: 0 0 .85rem;
	font-size: 1.2rem;
	letter-spacing: .035em;
}
.catalog-grid.related-grid { gap: .75rem; }
.related-grid .card-body { padding: .7rem; }
.related-grid .card-title { font-size: .95rem; }

@media (max-width: 660px) {
	.catalog-grid.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.post-share { width: min(100%, 32.5rem); margin: 1rem auto 0; text-align: center; }
.post-share h2 { margin: 0 0 .65rem; font-size: .95rem; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.share-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	min-height: 2.6rem;
	padding: .4rem .65rem;
	border: 1px solid var(--border);
	border-radius: .45rem;
	background: #1f1920;
	color: var(--text);
	font: 650 .85rem/1.2 system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.share-action:hover { border-color: var(--accent); }
.share-action[hidden] { display: none; }
.share-action svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.share-whatsapp svg { color: #4ce88a; }
.share-telegram svg { color: #54caff; }
.share-status { margin: 0; color: var(--muted); font-size: .85rem; }
.share-status:not(:empty) { margin-top: .5rem; }

.site-footer { padding-block: 1.4rem; border-top: 1px solid var(--border); color: var(--muted); }
.site-footer a { color: inherit; text-decoration: none; }

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

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

@media (max-width: 660px) {
	.container { width: calc(100% - 2rem); }
	.site-bar { flex-direction: column; align-items: stretch; gap: .8rem; }
	.site-brand { display: flex; justify-content: center; }
	.brand-link { max-width: 100%; }
	.brand-tagline { font-size: .68rem; }
	.header-tools {
		width: 100%;
		justify-content: stretch;
		gap: .5rem;
	}
	.header-language-switcher {
		min-width: 4.8rem;
		padding-inline: .3rem;
	}
	.search-form {
		width: auto;
		flex: 1 1 auto;
		min-width: 0;
	}
	.catalog-grid { gap: .75rem; }
	.catalog-grid.catalog-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-body { padding: .75rem; }
}

@media (max-width: 380px) {
	.header-tools { gap: .35rem; }
	.header-language-switcher { min-width: 4.35rem; }
	.search-form { gap: .25rem; }
	.search-form button { padding-inline: .5rem; font-size: .88rem; }
}

@media (max-width: 520px) {
	.catalog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
	.catalog-grid.catalog-home { grid-template-columns: 1fr; }
}


@media (prefers-reduced-motion: reduce) {
	.catalog-card,
	.card-cover img {
		transition: none !important;
	}
	.catalog-card:hover,
	.catalog-card:focus-within {
		transform: none;
	}
	.catalog-card:hover .card-cover img,
	.catalog-card:focus-within .card-cover img,
	.catalog-home .card-link:hover .card-cover img,
	.catalog-home .card-link:focus-visible .card-cover img {
		transform: none;
		filter: none;
	}
}



/* HotPackly 1.4.0 — cabeçalho corrigido: marca à esquerda, ferramentas à direita. */
.site-bar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-width: 0;
}
.site-brand {
	flex: 0 1 auto;
	min-width: 0;
}
.header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .55rem;
	margin-left: auto;
	min-width: 0;
	flex: 0 1 auto;
}
.header-language-switcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: #f7f2f5;
}
.header-language-switcher .gtranslate_wrapper {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

/* Aparência "Agradável lista suspensa com bandeiras" do GTranslate */
.header-language-switcher .gt_float_switcher {
	display: inline-block !important;
	position: relative !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 120px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #3b2a35 !important;
	border-radius: 7px !important;
	background: #191419 !important;
	color: #f7f2f5 !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px !important;
	line-height: 1.15 !important;
	overflow: visible !important;
}
.header-language-switcher .gt_float_switcher .gt-selected {
	background: #191419 !important;
	color: #f7f2f5 !important;
}
.header-language-switcher .gt_float_switcher .gt-selected .gt-current-lang {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	min-height: 32px !important;
	padding: 5px 8px !important;
	background: #191419 !important;
	color: #f7f2f5 !important;
	font-size: 13px !important;
	font-weight: 650 !important;
}
.header-language-switcher .gt_float_switcher .gt-selected .gt-current-lang,
.header-language-switcher .gt_float_switcher .gt-selected .gt-current-lang * {
	background-color: #191419 !important;
	color: #f7f2f5 !important;
}
.header-language-switcher .gt_float_switcher .gt-selected .gt-current-lang:hover {
	background: #241b23 !important;
}
.header-language-switcher .gt_float_switcher img {
	width: 16px !important;
	height: 12px !important;
	max-width: 16px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 1px !important;
	object-fit: cover !important;
	vertical-align: middle !important;
}
.header-language-switcher .gt_float_switcher .gt_options {
	min-width: 100% !important;
	max-height: 260px !important;
	border: 1px solid #3b2a35 !important;
	border-radius: 6px !important;
	background: #191419 !important;
	box-shadow: 0 8px 22px rgba(0,0,0,.42) !important;
	overflow-y: auto !important;
}
.header-language-switcher .gt_float_switcher .gt_options a,
.header-language-switcher .gt_float_switcher .gt_options a span {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 6px 8px !important;
	background: #191419 !important;
	color: #f7f2f5 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}
.header-language-switcher .gt_float_switcher .gt_options a:hover,
.header-language-switcher .gt_float_switcher .gt_options a:hover span {
	background: #30232d !important;
	color: #ffffff !important;
}

/* Compatibilidade caso o widget selecionado gere o markup clássico gt_switcher. */
.header-language-switcher .gt_switcher {
	width: auto !important;
	max-width: 120px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #3b2a35 !important;
	border-radius: 7px !important;
	background: #191419 !important;
	box-shadow: none !important;
}
.header-language-switcher .gt_switcher,
.header-language-switcher .gt_switcher .gt_selected,
.header-language-switcher .gt_switcher .gt_selected a,
.header-language-switcher .gt_switcher .gt_option,
.header-language-switcher .gt_switcher .gt_option a {
	background-color: #191419 !important;
	color: #f7f2f5 !important;
}
.header-language-switcher .gt_switcher .gt_selected a {
	min-height: 32px !important;
	padding: 5px 8px !important;
	font-size: 13px !important;
}
.header-language-switcher .gt_switcher .gt_option a {
	padding: 6px 8px !important;
	font-size: 12px !important;
}
.header-language-switcher .gt_switcher img {
	width: 16px !important;
	height: 12px !important;
	max-width: 16px !important;
}

.header-tools > .search-form {
	width: min(100%, 22rem);
	margin: 0;
	flex: 0 1 22rem;
	min-width: 12rem;
}

@media (max-width: 660px) {
	.site-bar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand language"
			"search search";
		align-items: center;
		column-gap: .55rem;
		row-gap: .65rem;
		width: calc(100% - 1.5rem);
		min-height: 0;
		padding-block: .7rem;
	}
	.site-brand {
		grid-area: brand;
		display: flex;
		justify-content: flex-start;
		min-width: 0;
	}
	.brand-link {
		gap: .55rem;
		max-width: 100%;
	}
	.brand-mark {
		width: 2.65rem;
		height: 2.65rem;
	}
	.brand-copy {
		min-width: 0;
	}
	.brand-wordmark {
		font-size: clamp(1.45rem, 6vw, 1.8rem);
	}
	.brand-tagline {
		font-size: .61rem;
		white-space: nowrap;
	}
	.header-tools {
		display: contents;
	}
	.header-language-switcher {
		grid-area: language;
		justify-self: end;
		align-self: center;
	}
	.header-language-switcher .gt_float_switcher {
		max-width: 105px !important;
	}
	.header-language-switcher .gt_float_switcher .gt-selected .gt-current-lang {
		min-height: 30px !important;
		padding: 4px 7px !important;
		font-size: 12px !important;
	}
	.header-tools > .search-form {
		grid-area: search;
		width: 100%;
		max-width: none;
		min-width: 0;
		margin: 0;
		flex: none;
	}
}
@media (max-width: 380px) {
	.site-bar {
		width: calc(100% - 1.25rem);
		column-gap: .35rem;
	}
	.brand-mark {
		width: 2.35rem;
		height: 2.35rem;
	}
	.brand-link {
		gap: .4rem;
	}
	.brand-wordmark {
		font-size: 1.35rem;
	}
	.brand-tagline {
		font-size: .55rem;
	}
	.header-language-switcher .gt_float_switcher .gt-selected .gt-current-lang {
		padding-inline: 6px !important;
	}
}
