/* ==========================================================================
   FUGA — footer
   ========================================================================== */
.fg-footer { background: var(--fg-black); color: var(--fg-white); border-top: 1px solid var(--fg-ink); letter-spacing: normal; }
.fg-footer__content { padding-block: 76.8px; }
.fg-footer__blocks { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.fg-footer__title { font-size: 16px; line-height: 20px; font-weight: 700; }
.fg-footer__menu { display: grid; gap: 18px; align-content: start; max-width: 160px; }
/* Chữ tiếng Việt dài hơn: cột menu rộng hơn để ít xuống dòng */
html[lang^="vi"] .fg-footer__menu { max-width: 200px; }
.fg-footer__list { display: grid; gap: 10px; }
.fg-footer__link { display: inline; font-size: 16px; line-height: 32px; padding-block: 0; }
.fg-footer__menu .fg-footer__link { background-position: 100% 100%; }

.fg-footer__newsletter { display: grid; gap: 18px; align-content: start; width: 448px; flex: none; }
.fg-footer__nl-body { display: grid; gap: 16px; }
.fg-nl__row, .fg-nl .wpcf7-form .fg-nl__row { display: flex; gap: 12px; }
.fg-nl .fg-input, .fg-nl input[type="email"] { flex: 1; min-width: 0; min-height: 62px; padding: 12px 16px; font-size: 16px; line-height: 32px; }
.fg-nl .fg-btn, .fg-nl input[type="submit"], .fg-nl button[type="submit"] {
	flex: none; width: 158px; min-height: 62px; padding: 0 16px;
	font-size: 16px; font-weight: 400; letter-spacing: normal; background: var(--fg-white); color: var(--fg-black); border: 0; cursor: pointer;
}
.fg-nl .wpcf7-form-control-wrap { display: flex; flex: 1; min-width: 0; }
.fg-nl .wpcf7-spinner { display: none; }
.fg-nl .wpcf7-response-output { margin: 12px 0 0; padding: 8px 12px; font-size: 14px; border-width: 1px; }
.fg-nl .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; }
.fg-footer__consent { font-size: 16px; line-height: 32px; color: rgba(255, 255, 255, .6); }
/* Khoảng trống một dòng dưới đoạn đồng ý (như bản gốc) */
.fg-footer__consent::after { content: ""; display: block; height: 32px; }
.fg-footer__consent a { color: inherit; background: linear-gradient(to right, currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.fg-footer__social { justify-content: center; gap: 32px; }
.fg-social { display: flex; align-items: center; }
.fg-social a { display: block; transition: opacity .2s; }
/* Logo mạng xã hội vẽ kín khung: chừa lề để cỡ hiển thị giống bản gốc */
.fg-social svg { padding: 10%; }
.fg-social a:hover { opacity: .7; }

.fg-footer__sep { height: 1px; background: var(--fg-ink); }
.fg-footer__aside { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 40px; }
.fg-footer__copy { font-size: 12px; line-height: 16.8px; letter-spacing: .48px; }
.fg-lang { position: relative; }
.fg-lang__btn { display: flex; align-items: center; gap: 8px; height: 14px; font-size: 12px; line-height: 14px; letter-spacing: .48px; }
.fg-lang__btn .fg-icon { width: 10px; height: 9px; }
.fg-lang__list { position: absolute; left: 0; bottom: calc(100% + 12px); min-width: 140px; padding: 12px 0; background: var(--fg-white); color: var(--fg-black); box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.fg-lang__list a { display: block; padding: 6px 16px; font-size: 14px; }
.fg-lang__list a[aria-current] { font-weight: 600; }

@media (min-width: 700px) and (max-width: 1149px) { .fg-footer__newsletter { width: 384px; } }
@media (max-width: 768px) {
	.fg-footer__content { padding-block: 44.8px; }
	.fg-footer__aside { flex-direction: column; justify-content: center; gap: 26.4px; padding-block: 24px; }
}

/* Dưới 700px: cột menu thành accordion */
@media (max-width: 699px) {
	.fg-footer__content { padding-block: 12.8px 44.8px; }
	.fg-footer__blocks { flex-direction: column; gap: 0; }
	.fg-footer__col { box-shadow: 0 1px 0 var(--fg-ink); }
	.fg-footer__acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
	.fg-footer__acc summary .fg-icon { width: 11px; height: 7px; flex: none; transition: transform .2s; }
	.fg-footer__acc[open] summary .fg-icon { transform: rotate(180deg); }
	.fg-footer__acc .fg-footer__list { padding-bottom: 14px; }
	.fg-footer__newsletter { width: 100%; margin-top: 32px; }
	.fg-nl__row, .fg-nl .wpcf7-form .fg-nl__row { gap: 8px; }
	.fg-nl .fg-input, .fg-nl input[type="email"] { min-height: 58px; padding-block: 10.4px; }
	.fg-nl .fg-btn, .fg-nl input[type="submit"], .fg-nl button[type="submit"] { width: 126px; min-height: 58px; }
	.fg-footer__aside { flex-direction: column; justify-content: center; gap: 26.4px; padding-block: 24px; }
}
