﻿: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);
	}
}


/*artice popup*/
/* Making the existing modal wider for the content */
.modal-content {
	max-width: 600px; /* Increased from standard alert size */
	width: 90%;
	border-radius: 0; /* Matches your professional/news theme */
	border-top: 8px solid #000;
}

.modal-overlay {
	background: rgba(0, 0, 0, 0.85); /* Darker backdrop for focus */
}
/* Custom Scrollbar for the Modal Area */
.modal-scroll-area::-webkit-scrollbar {
	width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
	background: #000; /* Matches your site's black accents */
	border-radius: 10px;
}

	.modal-scroll-area::-webkit-scrollbar-thumb:hover {
		background: #444;
	}


/* Apply this to links within your article body */
.article-content a {
	color: #1a1a1a; /* Dark professional color */
	text-decoration: none;
	border-bottom: 2px solid #e0e0e0; /* Subtle underline */
	transition: all 0.3s ease;
	padding-bottom: 1px;
}

	.article-content a:hover {
		border-bottom-color: #d4af37; /* Gold/Brand color on hover */
		color: #d4af37;
	}

.active{
	background-color: red;
}

.event-date {
	background: #000;
	color: #fff;
	padding: 5px 15px;
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	font-size: 0.85rem;
	margin-bottom: 15px;
}

.footer {
	margin-top: 15px;
	color: #555;
}

.article-content {
	line-height: 1.8;
	font-size: 1.1rem;
	color: #333;
}

.article-header {
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}

.article-meta {
	font-family: 'Oswald', sans-serif;
	color: #888;
	text-transform: uppercase;
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.back-link {
	display: inline-block;
	margin-bottom: 20px;
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

	.back-link:hover {
		text-decoration: underline;
	}

.submission-form {
	background: #fff;
	padding: 40px;
	border: 1px solid #eee;
	margin-top: 30px;
}

.form-group {
	margin-bottom: 25px;
}

	.form-group label {
		display: block;
		font-family: 'Oswald', sans-serif;
		text-transform: uppercase;
		font-size: 0.9rem;
		margin-bottom: 8px;
		color: #333;
	}

.form-control {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	box-sizing: border-box;
}

	.form-control:focus {
		outline: none;
		border-color: #000;
	}

.btn-submit {
	background: #000;
	color: #fff;
	padding: 15px 40px;
	border: none;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: 0.3s;
}

	.btn-submit:hover {
		background: #333;
	}

.guidelines {
	margin-bottom: 40px;
	padding: 20px;
	background: #fdfdfd;
	border-left: 4px solid #000;
}

/* Prime Video Style Carousel Slider Wrapper */
.carousel-wrapper {
	position: relative;
	width: 100%;
	clear: both;
}

/* Amazon Prime Video Style Horizontal Scrollable Container */
.video-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 10px 0 25px 0;
	-webkit-overflow-scrolling: touch; /* Inertia scrolling on iOS devices */
}

	/* Hide native browser scrollbars for clean Prime Video layout aesthetic */
	.video-carousel::-webkit-scrollbar {
		display: none;
	}

.video-carousel {
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}

/* Prime Video Style Thumbnail Cards */
.video-card {
	flex: 0 0 280px; /* Precise item width boundary */
	background: #1a242f; /* Deep background contrast similar to Prime streaming deck */
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

	/* Hover effect inspired by Prime Video */
	.video-card:hover {
		transform: scale(1.03);
		box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
	}

	.video-card iframe {
		width: 100%;
		height: 158px; /* 16:9 native streaming aspect standard */
		display: block;
		border: none;
	}

.video-details {
	padding: 12px;
}

.video-title {
	font-weight: bold;
	font-size: 0.9rem;
	color: #ffffff; /* High visibility contrast title text */
	margin-top: 4px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis; /* Clean clip truncation handling long titles */
}

.video-tag {
	font-size: 0.7rem;
	text-transform: uppercase;
	color: #79b8ff; /* Vivid accent banner text color mapping */
	font-weight: bold;
	letter-spacing: 0.5px;
}

/* Layout isolation wrapper to protect main feature layout rules */
.main-video-wrapper {
	position: relative;
	width: 100%;
	margin-bottom: 35px;
	clear: both;
	display: block;
}

/* Absolute Navigational Slider Control Buttons */
.slider-arrow {
	position: absolute;
	top: 0;
	bottom: 25px; /* Aligns with container padding layout */
	width: 45px;
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease, color 0.3s ease;
	opacity: 0; /* Hidden by default, shown on wrapper hover like Prime Video */
}

.carousel-wrapper:hover .slider-arrow {
	opacity: 1;
}

.slider-arrow:hover {
	background: rgba(0, 0, 0, 0.8);
	font-size: 1.8rem;
}

.arrow-left {
	left: 0;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.arrow-right {
	right: 0;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}


/* Card Container */
.article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
    font-family: sans-serif;
}

/* Card Sub-sections */
.article-card-header {
    background-color: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.article-card-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.25rem;
}

.article-card-body {
    padding: 20px;
}

.article-card-footer {
    background-color: #f8fafc;
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    text-align: right; /* Aligns the submit button nicely to the right */
}

/* Form Styling Inside Card */
.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #475569;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #334155;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6; /* Subtle blue focus highlight */
}

/* Submit Button styling */
.btn-submit {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background-color: #1d4ed8;
}

/* Modern Toggle Button Layout */
.btn-toggle-card {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Spaces the icon and text perfectly */
    background-color: #0f172a; /* Slate 900 - sleek dark theme */
    color: #ffffff;
    border: 1px solid transparent;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: sans-serif;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
}

/* Hover State - Slightly lighter, subtle lift */
.btn-toggle-card:hover {
    background-color: #1e293b; /* Slate 800 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Active State - Provides tactile feedback when clicked */
.btn-toggle-card:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    background-color: #0f172a;
}

/* Focus Indicator for accessibility */
.btn-toggle-card:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Custom Icon Spacing Adjustment */
.btn-icon {
    font-size: 1rem;
    line-height: 1;
}