/* ==========================================================================
   FootGoal UEFA Champions League Inspired Homepage Stage Styles
   Clean, Lightweight, Zero-Dependency CSS
   Theme Accent: #005683
   ========================================================================== */

/* Full-Width Broadcast Stage spanning edge to edge */
.fg-broadcast-stage {
	width: 100%;
	background: #005683;
	color: #ffffff;
	padding: 24px 0 35px 0;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	box-sizing: border-box;
}

/* 1. Circle Stories Bar */
.fg-stories-section {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 15px 12px 15px;
	position: relative;
	box-sizing: border-box;
}

.fg-stories-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.fg-stories-arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	flex-shrink: 0;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.2s ease;
	outline: none;
	padding: 0;
}

.fg-stories-arrow:hover {
	background: #0284c7;
	border-color: #38bdf8;
	transform: scale(1.1);
	box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.fg-stories-arrow:active {
	transform: scale(0.95);
}

@media (max-width: 767px) {
	.fg-stories-arrow {
		display: none;
	}
}

.fg-stories-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 6px 8px 10px 8px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	width: 100%;
}

.fg-stories-track::-webkit-scrollbar {
	display: none;
}

.fg-story-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none !important;
	flex-shrink: 0;
	width: 84px;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	cursor: pointer;
}

.fg-story-item:hover {
	transform: translateY(-4px);
}

.fg-story-circle-border {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	padding: 2.5px;
	position: relative;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
	transition: box-shadow 0.25s, transform 0.25s;
}

.fg-story-item:hover .fg-story-circle-border {
	box-shadow: 0 0 18px rgba(56, 189, 248, 0.85);
	transform: scale(1.05);
}

.fg-story-circle-inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #003e60;
	border: 2px solid #005683;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.fg-story-title {
	font-size: 11.5px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin-top: 8px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 82px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.fg-story-subtitle {
	font-size: 10px;
	font-weight: 600;
	color: #bae6fd;
	text-align: center;
	margin-top: 2px;
}

/* 2. AdSense 728x90 Banner */
.fg-ad-wrapper {
	max-width: 1240px;
	margin: 14px auto 24px auto;
	padding: 0 15px;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.fg-ad-container-728x90 {
	width: 728px;
	min-height: 90px;
	max-width: 100%;
	background: rgba(0, 50, 78, 0.5);
	border: 1px dashed rgba(255, 255, 255, 0.25);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

@media (max-width: 767px) {
	.fg-ad-container-728x90 {
		width: 100%;
		min-height: 60px;
	}
}

/* 3. Hero & Headlines Section */
.fg-hero-section {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

.fg-hero-container {
	display: grid;
	grid-template-columns: 1.62fr 1fr;
	gap: 24px;
	align-items: stretch;
}

@media (max-width: 991px) {
	.fg-hero-container {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

/* Left Featured Hero Card */
.fg-hero-col-main {
	display: flex;
}

.fg-featured-card {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	width: 100%;
	min-height: 440px;
	background: #003e60;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.fg-featured-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.fg-featured-card:hover .fg-featured-bg-img {
	transform: scale(1.04);
}

.fg-featured-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 38, 62, 0.98) 0%, rgba(0, 52, 82, 0.55) 45%, rgba(0, 52, 82, 0.05) 100%);
	z-index: 1;
}

/* Double Frame Outlines (UEFA/Mastercard Signature Design) */
.fg-frame-outer {
	position: absolute;
	inset: 12px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-radius: 12px;
	pointer-events: none;
	z-index: 2;
	box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.fg-frame-inner {
	position: absolute;
	inset: 16px;
	border: 1.5px solid rgba(239, 68, 68, 0.85);
	border-radius: 9px;
	pointer-events: none;
	z-index: 2;
}

/* Mastercard Style Intersecting Circles Logo Badge in top-left */
.fg-mc-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 4;
	display: flex;
	align-items: center;
	width: 44px;
	height: 28px;
	pointer-events: none;
}

.fg-mc-circle {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	position: absolute;
}

.fg-mc-red {
	background: #eb001b;
	left: 0;
	opacity: 0.95;
}

.fg-mc-yellow {
	background: #f79e1b;
	left: 16px;
	opacity: 0.92;
	mix-blend-mode: hard-light;
}

.fg-thumb-play-icon {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.fg-featured-bottom-content {
	position: relative;
	z-index: 3;
	padding: 24px 28px;
}

.fg-featured-title {
	font-size: 26px;
	font-weight: 800;
	color: #ffffff !important;
	line-height: 1.25;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 600px) {
	.fg-featured-card {
		min-height: 320px;
	}
	.fg-featured-title {
		font-size: 19px;
	}
	.fg-featured-bottom-content {
		padding: 18px 20px;
	}
}

/* Right Headlines Column */
.fg-hero-col-headlines {
	display: flex;
}

.fg-headlines-box {
	background: rgba(0, 48, 76, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	width: 100%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	box-sizing: border-box;
}

.fg-headlines-heading {
	font-size: 21px;
	font-weight: 800;
	color: #ffffff !important;
	margin: 0 0 12px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.25);
	letter-spacing: -0.3px;
}

.fg-headlines-list {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	gap: 6px;
}

.fg-headline-row {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 8px 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-decoration: none !important;
	border-radius: 6px;
	transition: background 0.2s;
}

.fg-headline-row:last-child {
	border-bottom: none;
}

.fg-headline-row:hover {
	background: rgba(255, 255, 255, 0.08);
}

.fg-headline-thumb-wrap {
	width: 96px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: #002d44;
	position: relative;
}

.fg-headline-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.fg-headline-row:hover .fg-headline-thumb {
	transform: scale(1.08);
}

.fg-headline-text-wrap {
	flex: 1;
	min-width: 0;
}

.fg-headline-title {
	font-size: 13.5px;
	font-weight: 600;
	color: #f8fafc !important;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s ease;
}

.fg-headline-row:hover .fg-headline-title {
	color: #7dd3fc !important;
}

/* Publication Date Badges & Meta */
.fg-featured-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.fg-meta-date {
	font-size: 12px;
	font-weight: 600;
	color: #e0f2fe;
	background: rgba(0, 30, 50, 0.65);
	padding: 4px 10px;
	border-radius: 6px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: inline-flex;
	align-items: center;
	letter-spacing: 0.2px;
}

.fg-headline-meta {
	margin-top: 5px;
	display: flex;
	align-items: center;
}

.fg-headline-date {
	font-size: 11.5px;
	font-weight: 500;
	color: #93c5fd;
	display: inline-flex;
	align-items: center;
	letter-spacing: 0.15px;
}

