/*
Theme Name: Assessments
Description: Block theme cho website dịch vụ DISC của Assessments365 (VI/JA). Ngôn ngữ thiết kế: B2B Nhật, khối vuông, đường kẻ mảnh, bộ màu DISC.
Version: 0.4.4
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: assessments
License: Proprietary
*/

/* ---------- Nền tảng ---------- */

:root {
	--asm-d: var(--wp--preset--color--disc-d);
	--asm-i: var(--wp--preset--color--disc-i);
	--asm-s: var(--wp--preset--color--disc-s);
	--asm-c: var(--wp--preset--color--disc-c);
	--asm-deep: var(--wp--preset--color--deep);
	--asm-ink: var(--wp--preset--color--contrast);
	--asm-muted: var(--wp--preset--color--muted);
	--asm-line: var(--wp--preset--color--line);
	--asm-pale: var(--wp--preset--color--surface);
	--asm-yellow: var(--wp--preset--color--accent);
	--asm-yellow-ink: var(--wp--preset--color--accent-ink);
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	container-type: inline-size;
}

/* Tiếng Nhật dùng font gothic Nhật trước; tiếng Việt cần font Latin có đủ dấu (Segoe UI/Noto Sans). */
html:lang(ja) body {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans JP", "Segoe UI", sans-serif;
}
html:lang(vi) body {
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

a { text-underline-offset: .2em; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--asm-deep);
	outline-offset: 3px;
}

.asm-skip-link { position: absolute; left: -9999px; }
.asm-skip-link:focus {
	left: 1rem; top: 1rem; z-index: 1000;
	background: var(--wp--preset--color--base);
	color: var(--asm-deep);
	padding: .6rem 1rem;
	border: 2px solid var(--asm-deep);
}

/* ---------- Header & điều hướng ---------- */

.asm-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--asm-line);
}
.asm-header > .wp-block-group { flex-wrap: nowrap; gap: clamp(1rem, 2vw, 2rem); }
.asm-header .asm-lang { flex: 0 0 auto; }
.asm-header__cta { flex: 0 0 auto; }
.asm-header__cta .asm-btn { min-height: 42px; padding: .65rem 1.1rem; font-size: .875rem; }

.asm-logo {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--asm-deep);
	text-decoration: none;
}
.asm-logo img { display: block; width: auto; height: 34px; }

.asm-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.35rem; list-style: none; margin: 0; padding: 0; }
.asm-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; }
.asm-nav a, .asm-nav__toggle {
	color: var(--asm-deep);
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .01em;
}
.asm-nav__link:hover, .asm-nav__toggle:hover { color: var(--asm-ink); }
.asm-nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; text-decoration-color: var(--asm-yellow); }
.asm-nav__toggle { background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1; padding: .45rem .3rem; }
.asm-nav__item.is-active > .asm-nav__link { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; text-decoration-color: var(--asm-yellow); }

.asm-nav__submenu {
	position: absolute; top: 100%; left: 0; z-index: 70;
	display: none; flex-direction: column; flex-basis: 100%;
	min-width: 14rem; list-style: none; margin: .45rem 0 0; padding: .4rem 0;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--asm-line);
	border-top: 3px solid var(--asm-yellow);
	box-shadow: 0 12px 28px rgba(35, 58, 99, .12);
}
.asm-nav__submenu li { margin: 0; }
.asm-nav__submenu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: .45rem; }
.asm-nav__submenu a { display: block; padding: .65rem 1.1rem; font-size: .875rem; }
.asm-nav__submenu a:hover { background: var(--asm-pale); }
.asm-nav__item.is-open > .asm-nav__submenu { display: flex; }

@media (hover: hover) and (min-width: 783px) {
	.asm-nav__item--parent:hover > .asm-nav__submenu,
	.asm-nav__item--parent:focus-within > .asm-nav__submenu { display: flex; }
}

.asm-nav__toggle--labeled { font-size: .8125rem; font-weight: 700; }

.asm-nav__burger { display: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */

.asm-hero {
	box-sizing: border-box;
	width: 100cqi;
	max-width: none;
	margin-inline: calc(50% - 50cqi) !important;
	padding-inline: clamp(1rem, 4vw, 2.5rem) !important;
	background: var(--wp--preset--color--base, #fff);
	border-bottom: 1px solid var(--asm-line);
}
.asm-hero:not(.asm-hero--with-visual) {
	padding-inline: max(1rem, calc((100cqi - 1140px) / 2)) !important;
}
.asm-hero:not(.asm-hero--with-visual) > :where(.asm-hero__disc-bar, h1, .asm-lead, .wp-block-group) {
	margin-left: 0 !important;
	margin-right: auto !important;
}
.asm-hero:not(.asm-hero--with-visual) > h1 { max-width: 100%; }
.asm-hero__disc-bar { display: flex; width: 80px; height: 6px; margin: 0 0 1.75rem; }
.asm-hero__disc-bar span { flex: 1 1 25%; }
.asm-hero__disc-bar span:nth-child(1) { background: var(--asm-d); }
.asm-hero__disc-bar span:nth-child(2) { background: var(--asm-i); }
.asm-hero__disc-bar span:nth-child(3) { background: var(--asm-s); }
.asm-hero__disc-bar span:nth-child(4) { background: var(--asm-c); }
.asm-hero h1 { max-width: 22em; }
.asm-hero .wp-block-group { margin-top: .5rem; }
.asm-hero--with-visual > .wp-block-group { width: min(1140px, calc(100% - 3rem)); margin-right: auto; margin-left: auto; }
.asm-hero--with-visual > .asm-hero__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 0; }
.asm-hero--with-visual > .asm-hero__layout:has(.asm-hero__visual--banner) { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.asm-hero--with-visual .asm-hero__copy { min-width: 0; }
.asm-hero--with-visual .asm-hero__copy > * { max-width: 100%; }
.asm-hero--with-visual .asm-hero__visual { width: 100%; max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}
.asm-hero--with-visual .asm-hero__visual img { display: block; width: 100%; max-width: 100%; height: auto; }
.asm-hero--with-visual .asm-hero__visual--banner img { object-fit: contain; }
.asm-disc-service-logo { width: 112px; max-width: 100%; margin: 0 0 1.25rem !important; }
.asm-disc-service-logo img { display: block; width: 100%; height: auto; }

/* ---------- Nội dung ---------- */

.wp-block-post-content > .asm-section + .asm-section { margin-block-start: 0; }
main#main:has(.wp-block-post-content > .asm-section--cta:last-child) { padding-bottom: 0 !important; }

.asm-section.alignfull {
	box-sizing: border-box;
	width: 100cqi;
	max-width: none;
	margin-inline: calc(50% - 50cqi) !important;
}

.asm-section--surface,
.asm-section--deep,
.asm-section--accent {
	padding-block: clamp(3.75rem, 7vw, 6.25rem) !important;
}

.asm-section--deep {
	color: #ffffff;
	background-color: #233a63 !important;
}
.asm-section--deep :where(h1, h2, h3, h4, h5, h6, strong) { color: #ffffff; }
.asm-section--deep :where(p, li, .asm-lead, .asm-note) { color: #dce5f0; }
.asm-section--deep a:not(.asm-btn) { color: #ffffff; text-decoration-color: var(--asm-yellow); }
.asm-section--deep :where(a, button, input, select, textarea, summary):focus-visible { outline-color: var(--asm-yellow); }
.asm-section--deep h2.wp-block-heading::after { background: var(--asm-yellow); }

.asm-section--accent { color: var(--asm-yellow-ink); }
.asm-section--accent :where(h2, h3, p, li) { color: var(--asm-yellow-ink); }

.asm-section--cta { text-align: left; }
.asm-section--cta > :where(h2, p, .wp-block-group) {
	width: min(100%, 1140px);
	margin-right: auto !important;
	margin-left: auto !important;
}
.asm-section--cta h2 { max-width: 22em; }
.asm-section--cta > p { max-width: 1140px; font-size: 1.0625rem; }
.asm-section--cta > .wp-block-group { margin-top: 2rem; }

h2.wp-block-heading { padding-bottom: .85rem; position: relative; }
h2.wp-block-heading::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 42px; height: 2px;
	background: var(--asm-yellow);
}

.asm-lead { font-size: 1.0625rem; line-height: 1.85; color: var(--asm-muted); max-width: 44rem; margin-left: 0 !important; margin-right: auto !important; }
.asm-note { font-size: .8125rem; color: var(--asm-muted); }
.asm-team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.75rem; margin-top: 2rem; }
.asm-team__card { margin: 0; }
.asm-team__photo { margin: 0 0 1rem; }
.asm-team__photo img { display: block; width: 100%; height: auto; aspect-ratio: 37 / 21; object-fit: contain; background: var(--asm-line); }
.asm-team__card h3 { margin: 0 0 .15rem; font-size: 1.0625rem; }
.asm-team__role { margin: 0; color: var(--asm-muted); font-size: .9375rem; }
.asm-about__company .asm-about__company-grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); margin-top: 2rem; }
.asm-about__company .asm-about__logo { width: 100%; max-width: 280px; margin: 0; }
.asm-about__company .asm-about__logo img { display: block; width: 100%; height: auto; object-fit: contain; }
.asm-about__company-details h3 { margin-top: 0; }
.asm-about__company-details p { overflow-wrap: anywhere; }
@media (max-width: 782px) {
	.asm-team__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.asm-team__photo { max-width: 370px; }
	.asm-about__company .asm-about__company-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.asm-about__company .asm-about__logo { max-width: 240px; }
}
.asm-placeholder-note {
	font-size: .875rem;
	color: var(--asm-muted);
	background: var(--wp--preset--color--base);
	border-left: 4px solid var(--asm-yellow);
	padding: .9rem 1.1rem;
}

.wp-block-details {
	border-top: 1px solid var(--asm-line);
	padding: 1.15rem 0;
}
.wp-block-details:last-child { border-bottom: 1px solid var(--asm-line); }
.wp-block-details summary {
	font-weight: 700;
	color: var(--asm-deep);
	font-size: 1rem;
	line-height: 1.6;
	cursor: pointer;
}
.wp-block-details summary::marker { color: var(--asm-yellow); }
.wp-block-details > p { margin: .7rem 0 0; color: var(--asm-muted); font-size: .9375rem; }

/* ---------- Thẻ ---------- */

.asm-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--asm-line);
	border-top: 4px solid var(--asm-yellow);
	border-radius: 4px;
	padding: 1.6rem 1.5rem;
	height: 100%;
	transition: transform .2s ease, box-shadow .2s ease;
}
.asm-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35, 58, 99, .08); }
.asm-card h3 { margin-top: 0; font-size: 1.0625rem; }
.asm-card p { color: var(--asm-muted); font-size: .9375rem; }
.asm-card .wp-block-list { padding-left: 1.1em; margin: 0; color: var(--asm-muted); font-size: .9375rem; }

.asm-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 0 1.25rem;
	background: var(--asm-pale);
	border: 1px solid var(--asm-line);
}
.asm-card__icon svg { display: block; width: 42px; height: 42px; overflow: visible; }
.asm-card__icon :where(path, circle, rect) {
	fill: none;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.asm-card__icon-d { stroke: var(--asm-d); }
.asm-card__icon-i { stroke: var(--asm-i); }
.asm-card__icon-s { stroke: var(--asm-s); }
.asm-card__icon-c { stroke: var(--asm-c); }

.asm-style-letter {
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 .6rem;
	color: var(--asm-deep);
}
.asm-style-letter.asm-style-letter--d { color: var(--asm-d); }
.asm-style-letter.asm-style-letter--i { color: var(--asm-i); }
.asm-style-letter.asm-style-letter--s { color: var(--asm-s); }
.asm-style-letter.asm-style-letter--c { color: var(--asm-c); }

.asm-section--deep .asm-card {
	background: rgba(255, 255, 255, .065);
	border-color: rgba(255, 255, 255, .2);
	border-top-color: var(--asm-yellow);
}
.asm-section--deep .asm-card:hover { box-shadow: 0 14px 28px rgba(1, 13, 34, .22); }
.asm-section--deep .asm-card :where(h3, strong) { color: #ffffff; }
.asm-section--deep .asm-card :where(p, li, .wp-block-list) { color: #dce5f0; }
.asm-section--deep .asm-card__icon { background: #ffffff; border-color: #ffffff; }
.asm-section--deep .asm-style-letter--d { color: #ff8580; }
.asm-section--deep .asm-style-letter--i { color: #ffd45c; }
.asm-section--deep .asm-style-letter--s { color: #72d99d; }
.asm-section--deep .asm-style-letter--c { color: #82b9ff; }

.wp-block-columns { gap: 1.25rem; }
.asm-section:has(.asm-form) .wp-block-column:nth-child(2) h2.wp-block-heading {
	font-size: clamp(1.375rem, 2vw, 1.5rem);
	line-height: 1.35;
}

/* ---------- Giá ---------- */

.asm-price {
	display: inline-block;
	background: var(--wp--preset--color--base);
	border-top: 7px solid var(--asm-deep);
	padding: 1.4rem 1.6rem;
	box-shadow: 0 1px 0 var(--asm-line);
}
.asm-price p { margin: 0; }
.asm-price__unit { font-size: .8125rem; color: var(--asm-muted); }
.asm-price__amount { font-size: 2.125rem; font-weight: 700; line-height: 1.2; color: var(--asm-deep); }
.asm-price__amount--contact { font-size: 1.5rem; }
.asm-price__tax { font-size: .9375rem; font-weight: 400; margin-left: .3rem; color: var(--asm-muted); }
.asm-price-inline { font-weight: 700; }

/* ---------- Nút ---------- */

.asm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	box-sizing: border-box;
	font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.35;
	padding: .85rem 1.5rem; min-height: 48px;
	background: var(--asm-yellow);
	color: var(--asm-yellow-ink);
	border: 0;
	border-radius: 0;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}
.asm-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -4px rgba(29, 42, 51, .25); }
.asm-btn:active { transform: translateY(0); box-shadow: none; }
.asm-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.asm-btn--secondary { background: var(--asm-deep); color: var(--wp--preset--color--base); }
.asm-btn--secondary:hover { box-shadow: 0 8px 0 -4px rgba(35, 58, 99, .3); }
.asm-section--deep .asm-btn--secondary { background: #ffffff; color: var(--asm-deep); }

@media (max-width: 1100px) {
	.asm-header__cta { display: none !important; }
	.asm-nav { margin-left: auto; }
}

/* ---------- Form ---------- */

.asm-form { display: grid; gap: 1.15rem; max-width: 42rem; }
.asm-field { display: grid; gap: .35rem; }
.asm-field label, .asm-field legend { font-weight: 700; color: var(--asm-deep); font-size: .9375rem; }
.asm-field input[type="text"], .asm-field input[type="email"], .asm-field input[type="tel"], .asm-field select, .asm-field textarea {
	font: inherit; padding: .7rem .8rem; min-height: 48px;
	border: 1px solid var(--asm-line); border-radius: 0;
	background: var(--wp--preset--color--base); width: 100%; box-sizing: border-box;
}
.asm-field input:focus, .asm-field select:focus, .asm-field textarea:focus { border-color: var(--asm-deep); }
.asm-field fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.asm-field [aria-invalid="true"] { border-color: var(--wp--preset--color--error); }
.asm-error { color: var(--wp--preset--color--error); font-size: .8125rem; }
.asm-form-summary { border: 2px solid var(--wp--preset--color--error); padding: .8rem 1rem; }
.asm-form-summary:empty { display: none; }
.asm-hp { position: absolute !important; left: -9999px !important; }

/* ---------- Breadcrumb ---------- */

.asm-breadcrumb { color: var(--asm-muted); }
.asm-breadcrumb a { color: var(--asm-deep); }

/* ---------- Footer ---------- */

.asm-footer { color: #d7e5ec; font-size: .8125rem; }
.asm-footer p { color: #d7e5ec; }
.asm-footer a { color: #ffffff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.asm-footer a:hover { border-bottom-color: var(--asm-yellow); }
.asm-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-bottom: 1.75rem; }
.asm-footer__brand img { display: block; width: auto; }
.asm-footer__logo-24 { height: 26px; }
.asm-footer__logo-gs { height: 30px; }
.asm-footer__bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.asm-footer__copyright { margin: 0; color: #c9d8e1; font-size: .8125rem; }
.asm-footer__contact { display: grid; gap: .3rem; color: #d7e5ec; font-style: normal; line-height: 1.65; }
.asm-footer__company { color: #ffffff; font-size: .9375rem; }
.asm-footer__contact span { overflow-wrap: anywhere; }
.asm-footer__contact a { width: fit-content; }
.asm-footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.asm-footer__legal { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; list-style: none; margin: 0; padding: 0; }

.asm-lang ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.asm-lang a {
	display: grid; place-items: center;
	box-sizing: border-box;
	width: 40px; min-height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .45);
	color: #ffffff;
}
.asm-lang a img { display: block; width: 30px; height: 20px; box-shadow: 0 0 0 1px rgba(35, 58, 99, .22); }
.asm-lang a:hover { background: rgba(255, 255, 255, .12); }
.asm-lang .current-lang a { background: var(--asm-yellow); border-color: var(--asm-yellow); color: var(--asm-yellow-ink); }
.asm-header .asm-lang a { border-color: var(--asm-line); }
.asm-header .asm-lang a:hover { background: var(--asm-pale); }
.asm-header .asm-lang .current-lang a { background: var(--asm-pale); border-color: var(--asm-deep); box-shadow: inset 0 -2px var(--asm-yellow); }
.asm-footer .asm-lang a:focus-visible { outline-color: var(--asm-yellow); }

/* ---------- Màn hình hẹp ---------- */

@media (max-width: 782px) {
	.asm-header > .wp-block-group { flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .75rem; }
	.asm-logo { min-width: 0; }
	.asm-logo img { height: 28px; }
	.asm-nav { margin-left: auto; }
	.asm-nav__burger {
		display: grid; place-items: center;
		width: 44px; height: 44px;
		background: transparent; border: 1px solid var(--asm-line);
		color: var(--asm-deep); font-size: 1.25rem; line-height: 1; cursor: pointer;
	}
	.asm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.asm-nav--js .asm-nav__list {
		position: absolute; left: 0; right: 0; top: 100%; z-index: 65;
		display: none; padding: 1rem 1.1rem 1.25rem;
		background: var(--wp--preset--color--base);
		border-bottom: 1px solid var(--asm-line);
		box-shadow: 0 16px 28px rgba(35, 58, 99, .12);
	}
	.asm-nav--js.is-open .asm-nav__list { display: flex; }
	.asm-nav__item { justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--asm-line); }
	.asm-nav__item:last-child { border-bottom: 0; }
	.asm-nav__link, .asm-nav__toggle--labeled { font-size: .9375rem; }
	.asm-nav__submenu {
		position: static; width: 100%; flex-basis: 100%; min-width: 0;
		margin: .45rem 0 .15rem; padding: .2rem 0 .2rem 1rem;
		border: 0; border-left: 2px solid var(--asm-yellow); box-shadow: none;
	}
	.asm-hero__disc-bar { margin-bottom: 1.25rem; }
	.asm-hero--with-visual { width: 100%; max-width: 100%; overflow-x: clip; box-sizing: border-box; }
	.asm-hero.asm-hero--with-visual { width: 100cqi; max-width: none; margin-inline: calc(50% - 50cqi) !important; }
	.asm-hero--with-visual > .wp-block-group { width: calc(100% - 2rem); }
	.asm-hero--with-visual > .asm-hero__layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: calc(100% - 2rem); }
	.asm-hero--with-visual > .asm-hero__layout:has(.asm-hero__visual--banner) { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.asm-hero--with-visual .asm-hero__copy { width: 100%; max-width: 100%; }
	.asm-hero--with-visual .asm-hero__visual { padding: 0; border: 0; }
	.asm-hero--with-visual h1,
	.asm-hero--with-visual .asm-lead { overflow-wrap: anywhere; }
	.asm-hero--with-visual h1 { font-size: clamp(2rem, 8.5vw, 2.25rem); }
	.asm-disc-service-logo { width: 80px; margin-bottom: 1rem !important; }
	.asm-section--surface,
	.asm-section--deep,
	.asm-section--accent { padding-block: 3.5rem !important; }
	.asm-btn { width: 100%; }
	.asm-footer { text-align: left; }
	.asm-footer__bottom, .asm-footer__links { flex-direction: column; align-items: flex-start; }
	.asm-footer__legal a { display: inline-flex; min-height: 44px; align-items: center; }
}

@media (max-width: 400px) {
	.asm-header > .wp-block-group { gap: .4rem; }
	.asm-logo img { height: 20px; }
	.asm-header .asm-lang ul { gap: .125rem; }
	.asm-header .asm-lang a { width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
