/**
 * iGBInsider — Header
 */

/* Topbar */
.topbar {
	background: var(--color-ink);
	border-bottom: 1px solid rgba(200, 168, 75, 0.15);
}

.tb,
.topbar-inner {
	max-width: var(--layout-max);
	margin-inline: auto;
	padding: 5px var(--layout-gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: var(--height-topbar);
}

.tb-links,
.topbar-links {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.tb-links a,
.topbar-links a {
	color: rgba(255, 255, 255, 0.45);
	font-size: 11.5px;
	font-weight: var(--font-weight-semibold);
	letter-spacing: 0.3px;
	transition: color var(--transition-fast);
}

.tb-links a:hover,
.topbar-links a:hover {
	color: var(--color-gold);
}

.tb-r,
.topbar-right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tb-date,
.topbar-date {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.3);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tb-socials,
.topbar-socials,
.soc {
	display: flex;
	gap: 4px;
}

.tb-socials a,
.topbar-socials a,
.soc a {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: var(--font-weight-extrabold);
	color: var(--color-white);
	transition: transform var(--transition-fast);
}

.tb-socials a:hover,
.topbar-socials a:hover,
.soc a:hover {
	transform: scale(1.18);
	color: var(--color-white);
}

/* Site header */
.site-header {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-line);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	position: sticky;
	top: 0;
	z-index: var(--z-sticky-header);
}

.hdr {
	max-width: var(--layout-max);
	margin-inline: auto;
	padding: 11px var(--layout-gutter);
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: var(--height-header);
}

.logo {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-shrink: 0;
}

.logo-box,
.logo-sq {
	width: 38px;
	height: 38px;
	background: var(--color-ink);
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.logo-sq {
	width: 40px;
	height: 40px;
	border-radius: 8px;
}

.logo-box span,
.logo-sq span {
	font-family: var(--font-heading);
	font-size: 11px;
	font-weight: var(--font-weight-extrabold);
	color: var(--color-gold);
	letter-spacing: -0.2px;
}

.logo-sq span {
	font-size: 12px;
}

.logo-name,
.logo-mark {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: var(--font-weight-extrabold);
	line-height: 1;
	letter-spacing: 0.5px;
}

.logo-mark {
	font-size: 26px;
	font-weight: var(--font-weight-bold);
}

.logo-name .i,
.logo-mark .li {
	color: var(--color-ink);
}

.logo-name .g,
.logo-mark .lg {
	color: var(--color-gold);
}

.logo-tag,
.logo-sub {
	font-size: 9px;
	color: var(--color-text-muted);
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-top: 1px;
}

.logo-sub {
	font-size: 10px;
	letter-spacing: 1px;
}

.hdr-leaderboard,
.hdr-ad {
	flex: 1;
	height: var(--height-header);
	background: #f7f8fa;
	border: 1.5px dashed var(--color-line-strong);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: var(--color-text-faint);
	letter-spacing: 1px;
	text-transform: uppercase;
	min-width: 0;
}

.hdr-ad {
	height: 74px;
	background: #f8f9fa;
}

.hdr-actions,
.hdr-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
	flex-shrink: 0;
}

.btn-sub {
	background: var(--color-gold);
	color: var(--color-ink);
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: 13px;
	padding: 8px 20px;
	border-radius: var(--radius-sm);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
	cursor: pointer;
	transition: all var(--transition-fast);
	white-space: nowrap;
}

.btn-sub:hover {
	background: var(--color-gold-bright);
	box-shadow: 0 4px 14px rgba(200, 168, 75, 0.35);
	color: var(--color-ink);
}

.hdr-search,
.search-box {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--color-line);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: #fafafa;
}

.hdr-search input,
.search-box input {
	border: none;
	outline: none;
	background: none;
	padding: 6px 11px;
	font-size: 13px;
	font-family: var(--font-body);
	width: 165px;
	color: var(--color-text-primary);
}

.search-box input {
	padding: 7px 12px;
	width: 170px;
}

.hdr-search input::placeholder,
.search-box input::placeholder {
	color: #bbb;
}

.hdr-search button,
.search-box button {
	background: var(--color-ink);
	border: none;
	color: var(--color-gold);
	padding: 7px 10px;
	cursor: pointer;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-box button {
	padding: 8px 11px;
	font-size: 14px;
}

.hdr-search button svg,
.search-box button svg {
	width: 16px;
	height: 16px;
}

/* Mobile menu toggle */
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid var(--color-line);
	border-radius: var(--radius-sm);
	color: var(--color-ink);
	flex-shrink: 0;
	margin-left: auto;
}

.nav-toggle svg {
	width: 20px;
	height: 20px;
}

/* Ticker */
.ticker,
.ticker-wrap {
	background: var(--color-ink-2);
	border-bottom: 1px solid rgba(200, 168, 75, 0.1);
	overflow: hidden;
}

.ticker-inner {
	max-width: var(--layout-max);
	margin-inline: auto;
	display: flex;
	align-items: center;
	height: var(--height-ticker);
}

.ticker-tag,
.t-badge {
	background: var(--color-gold);
	color: var(--color-ink);
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: 10.5px;
	letter-spacing: 1px;
	padding: 0 14px;
	height: var(--height-ticker);
	display: flex;
	align-items: center;
	gap: 5px;
	text-transform: uppercase;
	flex-shrink: 0;
}

.t-badge {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
}

.tick-dot,
.t-dot {
	width: 5px;
	height: 5px;
	background: var(--color-ink);
	border-radius: 50%;
	animation: blink 1s infinite;
	flex-shrink: 0;
}

.ticker-scroll,
.t-scroll {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.ticker-text,
.t-text {
	white-space: nowrap;
	animation: tickmove 32s linear infinite;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.58);
	padding-left: 22px;
}

.t-text {
	padding-left: 24px;
	animation-duration: 35s;
	color: rgba(255, 255, 255, 0.6);
}

.ticker-text a,
.t-text a {
	color: rgba(255, 255, 255, 0.75);
}

.ticker-text a:hover,
.t-text a:hover {
	color: var(--color-gold);
}
