/* =========================================================
   GÁI GÚ VIỆT — GLOBAL TYPOGRAPHY
   Body/UI: Inter | Headings/brand: Quicksand
   ========================================================= */
:root {
  --ggv-font-body: "Inter", Arial, sans-serif;
  --ggv-font-heading: "Quicksand", "Inter", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.entry,
.widget,
.commentlist,
.search-form,
.themeform,
.nav,
.post-meta,
.post-list,
.sidebar,
#footer,
#header {
  font-family: var(--ggv-font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-description,
.entry-title,
.post-title,
.post-title a,
.widget-title,
.archive-header h1,
.page-title,
.section-title,
[class*="ggv-"] h1,
[class*="ggv-"] h2,
[class*="ggv-"] h3,
[class*="ggv-"] h4,
[class*="ggv-"] .title,
[class*="ggv-"] .heading,
.homepage-wrapper h1,
.homepage-wrapper h2,
.homepage-wrapper h3,
.homepage-wrapper h4 {
  font-family: var(--ggv-font-heading) !important;
  letter-spacing: -0.02em;
}

.nav > li > a,
.sidebar .widget-title,
#footer .widget-title,
button,
input[type="submit"],
input[type="button"],
.themeform button,
.gg-filter-group label,
.ggv-account-widget__button,
.ggv-member-button {
  font-family: var(--ggv-font-heading) !important;
  font-weight: 700;
}

.entry,
.entry p,
.entry li,
.entry td,
.entry th,
.post-meta,
.post-byline,
.comment-body,
.widget,
input,
select,
textarea {
  font-family: var(--ggv-font-body) !important;
}

.uix_red {
  font-size: 12px;
  color: #fff;
  background: #FF0000;
  border-radius: 4px;
  padding-top: 1px;
  padding-right: 4px;
  padding-bottom: 1px;
  padding-left: 4px;
}

.uix_green {
  font-size: 12px;
  color: #fff;
  background: #8BC34A;
  border-radius: 4px;
  padding-top: 1px;
  padding-right: 4px;
  padding-bottom: 1px;
  padding-left: 4px;
}

/* Widget Support */
.gx-support-widget,
.gx-support-widget * {
  box-sizing: border-box;
}

.gx-support-widget {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  padding: 18px;
  color: #f7f7f7;
  background:
    radial-gradient(circle at top right, rgba(216, 22, 47, .16), transparent 38%),
    linear-gradient(145deg, #111114 0%, #070708 58%, #101012 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  border-top: 3px solid #eea115;
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .32);
}

.gx-support-widget:before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  pointer-events: none;
}

.gx-support-widget__head {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.gx-support-widget__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #f04b62;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.2;
}

.gx-support-widget__title {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.gx-support-widget__desc {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 1.55;
}

.gx-support-widget__list {
  display: grid;
  gap: 9px;
}

.gx-support-widget__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.gx-support-widget__item:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: currentColor;
  opacity: .9;
}

.gx-support-widget__item:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(255, 255, 255, .085);
  border-color: rgba(255, 255, 255, .27);
  box-shadow: 0 9px 18px rgba(0, 0, 0, .24);
}

.gx-support-widget__item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gx-support-widget__item--admin {
  color: #f23a51;
}

.gx-support-widget__item--telegram {
  color: #33bce9;
}

.gx-support-widget__item--x {
  color: #d9d9d9;
}

.gx-support-widget__item--bot {
  color: #b8ee53;
}

.gx-support-widget__icon {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 6px;
}

.gx-support-widget__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.gx-support-widget__content strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.gx-support-widget__content small {
  margin-top: 2px;
  overflow: hidden;
  color: rgba(255, 255, 255, .57);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gx-support-widget__arrow {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.gx-support-widget__footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  line-height: 1.4;
}

.gx-support-widget__status {
  width: 7px;
  height: 7px;
  background: #56d674;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(86, 214, 116, .1);
}

@media (max-width: 480px) {
  .gx-support-widget {
    padding: 14px;
  }

  .gx-support-widget__title {
    font-size: 17px;
  }

  .gx-support-widget__item {
    min-height: 58px;
    padding: 9px 10px;
  }
}

/*GTranslate*/
/* ===== GTranslate Switcher — Center Premium Box ===== */
.ggv-translate-switcher{
	display:flex;
	justify-content:center;
	align-items:center;
	width:100%;
	margin:0 auto 18px;
	padding:12px 14px;
	box-sizing:border-box;
}

.ggv-translate-switcher > *{
	display:flex;
	align-items:center;
	justify-content:center;
	flex-wrap:wrap;
	gap:8px;
	max-width:100%;
	padding:10px 12px;
	border:1px solid rgba(247,217,147,.28);
	border-radius:14px;
	background:
		radial-gradient(circle at 0% 0%,rgba(233,189,103,.16),transparent 34%),
		linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.08),
		0 12px 28px rgba(0,0,0,.24);
}

/* Select dạng dropdown */
.ggv-translate-switcher select,
.ggv-translate-switcher .gt_selector{
	min-height:38px;
	padding:8px 12px;
	border:1px solid rgba(255,255,255,.18);
	border-radius:10px;
	color:#fff;
	background:#17121b;
	font-size:13px;
	font-weight:800;
	line-height:1.2;
	outline:none;
	box-shadow:0 6px 14px rgba(0,0,0,.18);
}

/* Link / icon / flag của GTranslate */
.ggv-translate-switcher a,
.ggv-translate-switcher .glink,
.ggv-translate-switcher .nturl{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	min-width:38px;
	min-height:38px;
	padding:7px 9px!important;
	border:1px solid rgba(255,255,255,.16);
	border-radius:10px;
	color:#f8f3f5!important;
	background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.08),
		0 7px 16px rgba(0,0,0,.18);
	font-size:12px;
	font-weight:900;
	line-height:1;
	text-decoration:none!important;
	transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.ggv-translate-switcher a:hover,
.ggv-translate-switcher .glink:hover,
.ggv-translate-switcher .nturl:hover{
	transform:translateY(-2px);
	border-color:rgba(247,217,147,.56);
	background:linear-gradient(180deg,rgba(247,217,147,.18),rgba(255,255,255,.055));
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.1),
		0 10px 22px rgba(0,0,0,.24);
}

/* Ảnh cờ */
.ggv-translate-switcher img{
	display:block!important;
	width:24px!important;
	height:24px!important;
	margin:0!important;
	border-radius:50%;
	object-fit:cover;
	box-shadow:0 0 0 1px rgba(255,255,255,.22);
}

/* Text cạnh icon nếu GTranslate có hiển thị */
.ggv-translate-switcher a span,
.ggv-translate-switcher .glink span,
.ggv-translate-switcher .nturl span{
	margin-left:6px;
	color:#f8f3f5;
	font-size:11px;
	font-weight:800;
	line-height:1;
}

/* Fix vài wrapper phổ biến của GTranslate */
.ggv-translate-switcher .gt_switcher,
.ggv-translate-switcher .gt_switcher_wrapper,
.ggv-translate-switcher .gtranslate_wrapper{
	position:static!important;
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	flex-wrap:wrap!important;
	gap:8px!important;
	width:auto!important;
	max-width:100%!important;
	background:transparent!important;
	box-shadow:none!important;
}

/* Mobile */
@media(max-width:650px){
	.ggv-translate-switcher{
		margin-bottom:14px;
		padding:10px;
	}

	.ggv-translate-switcher > *{
		gap:7px;
		padding:9px;
		border-radius:12px;
	}

	.ggv-translate-switcher a,
	.ggv-translate-switcher .glink,
	.ggv-translate-switcher .nturl{
		min-width:36px;
		min-height:36px;
		padding:6px 8px!important;
	}

	.ggv-translate-switcher img{
		width:22px!important;
		height:22px!important;
	}
}