﻿:root {
	--ys-red: #ed1c24;
	--power-black: #1a1a1a;
	--news-gray: #f2f2f2;
	--border: 1px solid #ddd;
}

* {
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto', sans-serif;
	margin: 0;
	background: #fff;
	color: #333;
	line-height: 1.6;
}

/* --- MASTHEAD --- */
header {
	padding: 30px 5%;
	text-align: center;
	border-bottom: 4px solid var(--power-black);
	background: white;
}

.logo {
	font-family: 'Playfair Display', serif;
	font-size: 3.8rem;
	color: var(--power-black);
	text-decoration: none;
	letter-spacing: -2px;
	font-style: italic;
}

	.logo span {
		color: var(--ys-red);
		font-style: normal;
	}

.tagline {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 0.85rem;
	color: #666;
	margin-top: 10px;
}

/* --- NAVIGATION --- */
nav {
	background: var(--power-black);
	padding: 0 5%;
	display: flex;
	justify-content: center;
	position: sticky;
	top: 0;
	z-index: 1000;
}

	nav a {
		color: white;
		text-decoration: none;
		padding: 15px 20px;
		font-family: 'Oswald', sans-serif;
		font-size: 0.85rem;
		transition: 0.3s;
		text-transform: uppercase;
	}

		nav a:hover {
			background: var(--ys-red);
		}

/* --- GRID LAYOUT --- */
.container {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 40px;
	padding: 40px 5%;
}

/* Hero Cover */
.cover-story {
	border-bottom: 5px solid var(--power-black);
	margin-bottom: 40px;
	padding-bottom: 40px;
}

.cover-badge {
	background: var(--ys-red);
	color: white;
	padding: 5px 12px;
	font-weight: bold;
	font-size: 0.75rem;
	display: inline-block;
	margin-bottom: 20px;
}

.cover-title {
	font-family: 'Playfair Display', serif;
	font-size: 3.2rem;
	margin: 0 0 20px 0;
	line-height: 1.1;
}

.cover-img {
	width: 100%;
	height: 480px;
	background: #eee url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200') center/cover;
	border-radius: 4px;
}

/* News Grid */
.news-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.story-card {
	border-top: 1px solid #000;
	padding-top: 15px;
}

	.story-card .tag {
		color: var(--ys-red);
		font-weight: bold;
		font-size: 0.7rem;
		text-transform: uppercase;
	}

	.story-card h3 {
		font-family: 'Playfair Display', serif;
		font-size: 1.4rem;
		margin: 10px 0;
	}

/* SIDEBAR */
.sidebar-widget {
	background: var(--news-gray);
	padding: 25px;
	margin-bottom: 30px;
	border-radius: 4px;
	border-top: 3px solid var(--power-black);
}

	.sidebar-widget h4 {
		font-family: 'Oswald', sans-serif;
		border-bottom: 2px solid var(--ys-red);
		padding-bottom: 10px;
		margin-top: 0;
		text-transform: uppercase;
	}

/* CONTRIBUTOR FORM */
.portal-form input, .portal-form select, .portal-form textarea {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border: var(--border);
	box-sizing: border-box;
	font-family: inherit;
}

.btn-submit {
	background: var(--ys-red);
	color: white;
	border: none;
	padding: 12px;
	width: 100%;
	font-weight: bold;
	cursor: pointer;
	text-transform: uppercase;
}

/* ADVISORY SECTION */
.service-wing {
	background: #000;
	color: white;
	padding: 80px 5%;
	margin-top: 40px;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.service-item {
	border-left: 2px solid var(--ys-red);
	padding-left: 20px;
}

	.service-item h3 {
		font-family: 'Oswald', sans-serif;
		color: var(--ys-red);
		margin-top: 0;
		font-size: 1.3rem;
		text-transform: uppercase;
	}

.cta-button {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 20px;
	border: 1px solid var(--ys-red);
	color: var(--ys-red);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: bold;
	transition: 0.3s;
}

	.cta-button:hover {
		background: var(--ys-red);
		color: white;
	}

/* SMB TV */
.video-section {
	padding: 80px 5%;
	background: #f9f9f9;
	text-align: center;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	max-width: 850px;
	margin: 30px auto;
	background: #000;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

	.video-container iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

/* EVENTS */
.event-section {
	padding: 80px 5%;
}

.event-carousel {
	display: flex;
	overflow-x: auto;
	gap: 20px;
	padding-bottom: 20px;
}

.event-card {
	min-width: 300px;
	border: var(--border);
	border-radius: 4px;
	overflow: hidden;
	background: white;
}

	.event-card img {
		width: 100%;
		height: 180px;
		object-fit: cover;
	}

.event-details {
	padding: 20px;
}

.event-date {
	color: var(--ys-red);
	font-weight: bold;
	font-size: 0.85rem;
}

footer {
	background: #1a1a1a;
	color: #777;
	text-align: center;
	padding: 60px;
	font-size: 0.8rem;
}

@media (max-width: 1024px) {
	.container {
		grid-template-columns: 1fr;
	}

	nav {
		justify-content: flex-start;
		overflow-x: auto;
	}
}


/*Alter start*/
/* Modal Overlay */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85); /* Matches your dark theme */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
}

/* Modal Box */
.modal-content {
	background: #fff;
	width: 90%;
	max-width: 400px;
	padding: 30px;
	border-top: 5px solid #d4af37; /* Gold accent */
	box-shadow: 0 15px 35px rgba(0,0,0,0.5);
	text-align: center;
}

.modal-header .logo-small {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.2rem;
	letter-spacing: 1px;
}

.modal-header span {
	color: #d4af37;
}

.modal-body p {
	font-family: 'Roboto', sans-serif;
	color: #333;
	margin: 20px 0;
	line-height: 1.6;
}

/* Reusing your existing btn-submit style logic */
.modal-footer .btn-submit {
	background: #000;
	color: #fff;
	border: none;
	padding: 10px 30px;
	font-family: 'Oswald', sans-serif;
	cursor: pointer;
	transition: 0.3s;
}

	.modal-footer .btn-submit:hover {
		background: #d4af37;
	}
/*Alter end*/

/* Full-screen overlay */
.loader-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.9); /* Subtle white blur */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
}

.spinner-container {
	text-align: center;
}

/* The Spinner */
.smb-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #d4af37; /* Your brand Gold */
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: 0 auto;
}

.loader-text {
	margin-top: 15px;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
