/**
 * iGBInsider — Cards, Hero, Pills, Meta
 */

/* Section header */
.sec-hdr,
.sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	gap: 12px;
}

.sec-head {
	margin-bottom: 18px;
	gap: 10px;
}

.sec-hdr-left {
	display: flex;
	align-items: center;
	gap: 0;
}

.sec-accent {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	flex-shrink: 0;
	color: var(--color-ink);
}

.sec-accent svg {
	width: 17px;
	height: 17px;
}

.sec-name-block {
	background: var(--color-ink);
	padding: 6px 16px 6px 12px;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sec-name,
.sec-title {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: 20px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--color-white);
	line-height: 1;
}

.sec-title {
	font-size: 19px;
	color: var(--color-text-primary);
}

.sec-count {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
	padding: 2px 8px;
	border-radius: 10px;
	font-weight: var(--font-weight-semibold);
}

.sec-head .sec-count {
	color: var(--color-text-muted);
	background: #f3f4f6;
	padding: 3px 10px;
	font-size: 12px;
}

.sec-bar {
	width: 3px;
	height: 22px;
	background: var(--color-gold);
	border-radius: 2px;
	flex-shrink: 0;
}

.sec-line {
	flex: 1;
	height: 1px;
	background: var(--color-line);
}

.sec-live {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.5);
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.sec-live-dot {
	width: 6px;
	height: 6px;
	background: var(--color-breaking);
	border-radius: 50%;
	animation: blink 1s infinite;
	flex-shrink: 0;
}

.sec-view-all {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: var(--radius-sm);
	border: 1.5px solid;
	transition: all var(--transition-fast);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	flex-shrink: 0;
	color: var(--color-gold);
	border-color: var(--color-gold);
}

.sec-view-all:hover {
	background: var(--color-gold);
	color: var(--color-ink);
}

/* Pills */
.pill {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 10px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 3px;
	line-height: 1;
}

.p-gold {
	background: var(--color-gold);
	color: var(--color-ink);
}

.p-ink,
.p-navy {
	background: var(--color-ink);
	color: var(--color-white);
}

.p-green {
	background: var(--color-sports);
	color: var(--color-white);
}

.p-red {
	background: var(--color-lottery);
	color: var(--color-white);
}

.p-purple {
	background: var(--color-esports);
	color: var(--color-white);
}

.p-blue {
	background: var(--color-regulation);
	color: var(--color-white);
}

.p-teal {
	background: #2c7a7b;
	color: var(--color-white);
}

.p-gray {
	background: #4a5568;
	color: var(--color-white);
}

.p-outline {
	background: transparent;
	border: 1.5px solid var(--color-line);
	color: var(--color-text-secondary);
}

.pill-casino {
	background: var(--color-casino);
	color: var(--color-ink);
}

.pill-sports {
	background: var(--color-sports);
	color: var(--color-white);
}

.pill-lottery {
	background: var(--color-lottery);
	color: var(--color-white);
}

.pill-esports {
	background: var(--color-esports);
	color: var(--color-white);
}

.pill-regulation {
	background: var(--color-regulation);
	color: var(--color-white);
}

.pill-business {
	background: var(--color-business);
	color: var(--color-white);
}

.pill-finance {
	background: var(--color-finance);
	color: var(--color-white);
}

.pill-tech {
	background: var(--color-tech);
	color: var(--color-white);
}

.pill-ghost {
	background: rgba(255, 255, 255, 0.12);
	color: var(--color-white);
	font-size: 9px;
}

/* Meta */
.meta-date {
	font-size: 11.5px;
	color: var(--color-text-muted);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.meta-date svg {
	width: 11px;
	height: 11px;
	flex-shrink: 0;
}

.meta-author {
	font-size: 11.5px;
	color: var(--color-text-secondary);
	font-weight: var(--font-weight-bold);
}

.meta-read {
	font-size: 10.5px;
	color: var(--color-text-faint);
	background: var(--color-paper);
	padding: 2px 6px;
	border-radius: 2px;
}

.meta-sep {
	width: 3px;
	height: 3px;
	background: var(--color-line-strong);
	border-radius: 50%;
	flex-shrink: 0;
}

.meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--color-text-muted);
}

/* Hero layout */
.hero-layout {
	display: grid;
	grid-template-columns: 1fr var(--layout-hero-side);
	grid-template-rows: auto auto;
	gap: 12px;
}

.hero-main {
	grid-row: 1 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	background: var(--color-ink);
	cursor: pointer;
	box-shadow: var(--shadow-md);
	min-height: 420px;
}

.hero-main:hover .hero-img-wrap img {
	transform: scale(1.04);
}

.hero-img-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero-img-wrap img {
	transition: transform var(--transition-slow) ease;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.5) 50%, rgba(10, 22, 40, 0.1) 100%);
}

.hero-ph,
.nc-ph,
.hsc-ph,
.lc-ph,
.fb-ph {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-ph {
	font-size: 60px;
}

.hero-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 24px;
}

.hero-pill-row {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.hero-title {
	font-family: var(--font-heading);
	font-size: 34px;
	line-height: var(--line-height-tight);
	color: var(--color-white);
	letter-spacing: 0.5px;
	margin-bottom: 10px;
	font-weight: var(--font-weight-extrabold);
	text-transform: uppercase;
}

.hero-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	flex-wrap: wrap;
}

.hero-meta .sep {
	width: 3px;
	height: 3px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
}

.hero-breaking {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 4px 12px;
	border-radius: var(--radius-full);
	font-family: var(--font-heading);
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.7);
}

.br-dot {
	width: 6px;
	height: 6px;
	background: var(--color-breaking);
	border-radius: 50%;
	animation: blink 1s infinite;
	flex-shrink: 0;
}

/* Hero side cards */
.hero-side-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hsc {
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	cursor: pointer;
	display: flex;
	box-shadow: var(--shadow-md);
	transition: all var(--transition-base);
	border-left: 3px solid transparent;
	flex: 1;
}

.hsc:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
	border-left-color: var(--color-gold);
}

.hsc-thumb {
	width: 90px;
	height: 72px;
	flex-shrink: 0;
	overflow: hidden;
}

.hsc-ph {
	font-size: 22px;
}

.hsc-body {
	padding: 9px 12px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-width: 0;
}

.hsc-title {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 13px;
	line-height: var(--line-height-snug);
	color: var(--color-text-primary);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hsc-meta {
	font-size: 11px;
	color: var(--color-text-muted);
}

.latest-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-top: 12px;
}

/* Standard news card */
.nc,
.news-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	cursor: pointer;
	box-shadow: var(--shadow-md);
	transition: all var(--transition-base);
	display: flex;
	flex-direction: column;
}

.nc:hover,
.news-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
}

.nc.nc-horizontal,
.news-card.is-horizontal {
	flex-direction: row;
}

.nc-thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
	flex-shrink: 0;
}

.nc.nc-horizontal .nc-thumb,
.news-card.is-horizontal .nc-thumb {
	width: 180px;
	aspect-ratio: auto;
	min-height: 120px;
	border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.nc-ph {
	font-size: 28px;
	transition: transform 0.35s;
}

.nc:hover .nc-ph {
	transform: scale(1.06);
}

.nc-thumb-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 22, 40, 0.3) 0%, transparent 55%);
}

.nc-pill-pos {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}

.nc-date-pos {
	position: absolute;
	bottom: 7px;
	left: 8px;
	z-index: 2;
}

.nc-date-pos .meta-date {
	color: rgba(255, 255, 255, 0.82);
}

.nc-body {
	padding: 12px 13px 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.nc-title {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 15px;
	line-height: 1.27;
	color: var(--color-text-primary);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nc-excerpt {
	font-size: 12.5px;
	color: var(--color-text-muted);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nc-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--color-line);
	padding-top: 8px;
	margin-top: auto;
	gap: 8px;
}

.nc-author {
	font-size: 11.5px;
	color: var(--color-text-secondary);
	font-weight: var(--font-weight-bold);
}

/* Featured big card */
.featured-big {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	cursor: pointer;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	box-shadow: var(--shadow-md);
	transition: box-shadow var(--transition-base);
	border-top: 3px solid var(--color-gold);
	margin-bottom: 14px;
}

.featured-big:hover {
	box-shadow: var(--shadow-lg);
}

.fb-thumb {
	position: relative;
	overflow: hidden;
	min-height: 250px;
}

.fb-ph {
	font-size: 52px;
}

.fb-pills {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
	z-index: 2;
	flex-wrap: wrap;
}

.fb-body {
	padding: 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 11px;
}

.fb-cat {
	font-size: 11px;
	color: var(--color-gold-dark);
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.fb-title {
	font-family: var(--font-heading);
	font-size: 26px;
	line-height: 1.15;
	color: var(--color-text-primary);
	font-weight: var(--font-weight-extrabold);
	text-transform: uppercase;
}

.fb-excerpt {
	font-size: 13.5px;
	color: var(--color-text-muted);
	line-height: var(--line-height-relaxed);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fb-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	border-top: 1px solid var(--color-line);
	padding-top: 11px;
	font-size: 12px;
	color: var(--color-text-muted);
	flex-wrap: wrap;
}

.fb-read {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	color: var(--color-gold-dark);
	margin-top: 4px;
}

.fb-read:hover {
	color: var(--color-gold);
}

/* List card (compact horizontal) */
.lc,
.compact-news-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	cursor: pointer;
	display: flex;
	box-shadow: var(--shadow-md);
	transition: all var(--transition-base);
	border-left: 3px solid transparent;
}

.lc:hover,
.compact-news-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
	border-left-color: var(--color-gold);
}

.lc-thumb {
	width: 88px;
	height: 68px;
	flex-shrink: 0;
	overflow: hidden;
}

.lc-ph {
	font-size: 22px;
}

.lc-body {
	padding: 9px 12px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-width: 0;
}

.lc-title {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 13px;
	line-height: var(--line-height-snug);
	color: var(--color-text-primary);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lc-meta {
	font-size: 11px;
	color: var(--color-text-muted);
	margin-top: 1px;
}

/* Region card */
.region-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.rc-head {
	padding: 11px 16px;
	display: flex;
	align-items: center;
	gap: 9px;
	border-bottom: 2px solid;
}

.rc-flag svg {
	width: 22px;
	height: 22px;
}

.rc-name {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--color-white);
	flex: 1;
}

.rc-count {
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.08);
	padding: 2px 7px;
	border-radius: 8px;
}

.rc-items {
	padding: 0;
}

.rc-item {
	padding: 9px 16px;
	border-bottom: 1px solid #f5f7fa;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	gap: 7px;
	transition: background var(--transition-fast);
}

.rc-item:last-child {
	border-bottom: none;
}

.rc-item:hover {
	background: var(--color-gold-bg);
}

.rc-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 5px;
	background: var(--color-gold);
}

.rc-title {
	font-size: 12.5px;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
	line-height: 1.3;
	margin-bottom: 1px;
}

.rc-meta {
	font-size: 10.5px;
	color: var(--color-text-muted);
}

/* Trending widget */
.tw {
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	margin-bottom: 16px;
}

.tw-head {
	background: var(--color-ink);
	padding: 11px 15px;
	display: flex;
	align-items: center;
	gap: 7px;
	border-bottom: 2px solid var(--color-gold);
}

.tw-head-dot {
	width: 7px;
	height: 7px;
	background: var(--color-gold);
	border-radius: 50%;
	flex-shrink: 0;
}

.tw-head-title {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-white);
	display: flex;
	align-items: center;
	gap: 6px;
}

.tw-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid #f5f7fa;
	cursor: pointer;
	transition: background var(--transition-fast);
}

.tw-item:last-child {
	border-bottom: none;
}

.tw-item:hover {
	background: var(--color-gold-bg);
}

.tw-num {
	font-family: var(--font-heading);
	font-size: 26px;
	color: var(--color-line);
	line-height: 1;
	width: 24px;
	flex-shrink: 0;
	font-weight: var(--font-weight-extrabold);
}

.tw-title {
	font-size: 12.5px;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
	line-height: 1.28;
	margin-bottom: 2px;
}

.tw-views {
	font-size: 10.5px;
	color: var(--color-text-muted);
}

/* Social follow widget */
.sw {
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: 15px;
	margin-bottom: 16px;
}

.sw-title {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-ink);
	padding-bottom: 9px;
	border-bottom: 2px solid var(--color-gold);
	margin-bottom: 10px;
}

.sw-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 0;
	border-bottom: 1px solid #f5f7fa;
}

.sw-item:last-child {
	border-bottom: none;
}

.sw-icon {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: var(--font-weight-extrabold);
	flex-shrink: 0;
	color: var(--color-white);
}

.sw-count {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
}

.sw-lbl {
	font-size: 10.5px;
	color: var(--color-text-muted);
}

.sw-follow {
	font-size: 10.5px;
	font-weight: var(--font-weight-bold);
	color: var(--color-ink);
	background: var(--color-gold-light);
	padding: 3px 9px;
	border-radius: var(--radius-full);
	margin-left: auto;
	border: 1px solid rgba(200, 168, 75, 0.28);
	cursor: pointer;
	transition: all var(--transition-fast);
	white-space: nowrap;
}

.sw-follow:hover {
	background: var(--color-gold);
	color: var(--color-ink);
}

/* View all */
.view-all-row {
	text-align: center;
	padding: 14px 0 4px;
}

.va-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 12.5px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 9px 30px;
	border-radius: var(--radius-sm);
	border: 1.5px solid;
	transition: all var(--transition-fast);
	color: var(--color-gold);
	border-color: var(--color-gold);
}

.va-btn:hover {
	background: var(--color-gold);
	color: var(--color-ink);
}

/* Author card */
.author-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: var(--space-6);
	display: flex;
	gap: var(--space-5);
	align-items: flex-start;
}

.author-card-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid var(--color-gold);
}

.author-card-name {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-extrabold);
	font-size: var(--font-size-xl);
	color: var(--color-text-primary);
	margin-bottom: var(--space-1);
}

.author-card-bio {
	font-size: var(--font-size-base);
	color: var(--color-text-muted);
	line-height: var(--line-height-relaxed);
}
