* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--navy: #0a1628;
	--navy-light: #1e3a5f;
	--red: #c41e3a;
	--red-hover: #e63946;
	--blue: #003f88;
	--blue-hover: #0066cc;
	--white: #ffffff;
	--gray-light: #f8f9fa;
	--gray: #6c757d;
	--gray-dark: #343a40;
	--text-primary: #212529;
	--text-secondary: #495057;
	--border: #dee2e6;
	--shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	--shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body {
	font-family: "Georgia", "Times New Roman", serif;
	background: var(--white);
	color: var(--text-primary);
	line-height: 1.7;
}

/* Header */
header {
	background: var(--navy);
	color: var(--white);
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
	position: relative;
}

.header-top {
	background: var(--navy-light);
	padding: 0.5rem 0;
	text-align: center;
	font-size: 0.875rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.date-ticker {
	color: var(--gray-light);
}

nav {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo and Branding */
.logo {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.logo .chronicles {
	background: linear-gradient(
		135deg,
		#c41e3a 0%,
		#c41e3a 20%,
		#ff6b6b 25%,
		#ffffff 35%,
		#ffffff 45%,
		#e8e8e8 50%,
		#4a90e2 55%,
		#003f88 65%,
		#003f88 80%,
		#002855 90%,
		#c41e3a 100%
	);
	background-size: 300% 300%;
	background-position: 0% 50%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 800;
	display: inline-block;
	position: relative;
	letter-spacing: 0.5px;
}

.logo .chronicles:hover {
	animation: patrioticShift 3s ease-in-out infinite;
}

.logo .chronicles::before {
	content: attr(data-text);
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	background: linear-gradient(45deg, #c41e3a 0%, #ffffff 50%, #003f88 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: blur(8px);
	opacity: 0.5;
}

/* Geezzers Images */
.geezzers-wrapper {
	display: flex;
	position: absolute;
	align-items: center;
	justify-content: center;
	column-gap: 1rem;
	padding: 2rem;
}

.geezzers {
	width: 10rem;
	top: 3rem;
	filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
	transition: transform 0.3s ease;
}

.geezzers:hover {
	transform: scale(1.05);
}

.geezzers img {
	height: 80px;
	width: auto;
	border-radius: 50%;
	border: 3px solid #fff;
	background-color: #f0f0f0;
}

.geezzers img:nth-child(2) {
	margin-left: -15px;
	z-index: 1;
}

/* Tagline and Established */
.tagline-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 9rem;
	margin-bottom: 0.5rem;
}

.tagline {
	position: relative;
	font-size: 0.875rem;
	color: var(--gray-light);
	font-style: italic;
	padding-top: 0.25rem;
	font-family: "Georgia", serif;
}

.established {
	position: relative;
	font-size: 0.75rem;
	color: var(--gray-light);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 0.25rem;
	opacity: 0.8;
}

/* Navigation */
.navbar-container {
	background: var(--navy);
	color: var(--white);
	padding: 0.75rem;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav-links a {
	color: var(--white);
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 0.5px;
}

.nav-links a:hover {
	color: var(--red);
}

/* Hamburger Menu (Hidden by default) */
.hamburger {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	position: absolute;
	top: 3rem;
	right: 1.5rem;
	z-index: 1000;
	flex-direction: column;
	justify-content: space-between;
	width: 35px;
	height: 30px;
}

.hamburger-line {
	display: block;
	width: 100%;
	height: 3px;
	background: var(--white);
	border-radius: 2px;
	transition: all 0.3s ease;
	position: absolute;
	left: 0;
}

.hamburger-line:nth-child(1) {
	top: 0;
}

.hamburger-line:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
	bottom: 0;
}

.hamburger.active .hamburger-line:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

/* Alert Bar */
.alert-bar {
	background: var(--red);
	color: var(--white);
	padding: 0.75rem;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.alert-bar span {
	font-weight: 700;
	margin-right: 0.5rem;
}

.breaking {
	animation: pulse 2s infinite;
}

/* Main Layout */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 2rem;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3rem;
}

/* Featured Article */
.featured-article {
	background: var(--gray-light);
	border-left: 4px solid var(--red);
	padding: 2rem;
	margin-bottom: 2rem;
	animation: slideIn 0.6s ease-out;
}

.featured-badge {
	display: inline-block;
	background: var(--red);
	color: var(--white);
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 700;
	margin-bottom: 1rem;
}

/* Article Cards */
.article-card {
	background: var(--white);
	border: 1px solid var(--border);
	margin-bottom: 2rem;
	transition: all 0.3s ease;
	animation: fadeIn 0.6s ease-out both;
	animation-delay: calc(var(--i) * 0.1s);
}

.article-card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

.article-header {
	border-bottom: 1px solid var(--border);
	padding: 1.5rem;
}

.article-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	color: var(--gray);
	margin-bottom: 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.article-category {
	background: var(--blue);
	color: var(--white);
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.article-card h2 {
	font-size: 1.75rem;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	color: var(--navy);
}

.article-card h2:hover {
	color: var(--blue-hover);
}

.article-subtitle {
	font-size: 1.125rem;
	color: var(--text-secondary);
	font-style: italic;
	line-height: 1.5;
}

.article-body {
	padding: 1.5rem;
}

.article-body p {
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.read-more {
	display: inline-flex;
	align-items: center;
	color: var(--blue);
	text-decoration: none;
	font-weight: 600;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	transition: color 0.3s ease;
}

.read-more:hover {
	color: var(--blue-hover);
}

.read-more::after {
	content: "→";
	margin-left: 0.5rem;
	transition: transform 0.3s ease;
}

.read-more:hover::after {
	transform: translateX(3px);
}

.disclaimer {
	font-size: 1em;
	color: var(--gray);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Tags */
.tags {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border);
	background: var(--gray-light);
}

.tag {
	display: inline-block;
	background: var(--white);
	color: var(--text-secondary);
	padding: 0.25rem 0.75rem;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	text-decoration: none;
	border: 1px solid var(--border);
	transition: all 0.3s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tag:hover {
	background: var(--blue);
	color: var(--white);
	border-color: var(--blue);
}

/* Main Featured Articles */
.main-article {
	background: var(--white);
	border: 2px solid var(--navy);
	margin-bottom: 3rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-header-main {
	padding: 2rem;
	background: var(--gray-light);
	border-bottom: 3px solid var(--red);
}

.article-header-main h1 {
	font-size: 2rem;
	line-height: 1.3;
	color: var(--navy);
	margin-bottom: 1rem;
}

.article-full-content {
	padding: 2rem;
}

.article-lead {
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--text-secondary);
	font-style: italic;
	margin-bottom: 2rem;
	padding: 1rem 1rem 0rem 3rem;
	border-bottom: 1px solid var(--border);
}

.article-full-content h3 {
	font-size: 1.5rem;
	color: var(--navy);
	margin: 2rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--gray-light);
}

.article-full-content p {
	line-height: 1.8;
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
}

/* Sidebar */
.sidebar {
	position: sticky;
	top: 100px;
	height: fit-content;
}

.sidebar-section {
	background: var(--white);
	border: 1px solid var(--border);
	margin-bottom: 2rem;
	padding: 1.5rem;
}

.sidebar-section h3 {
	font-size: 1.125rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--red);
	color: var(--navy);
}

.trending-item {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border);
}

.trending-item:last-child {
	border-bottom: none;
}

.trending-number {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: var(--red);
	color: var(--white);
	text-align: center;
	line-height: 24px;
	font-size: 0.875rem;
	font-weight: 700;
	margin-right: 0.75rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.trending-title {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.4;
	display: block;
	margin-top: 0.5rem;
	transition: color 0.3s ease;
}

.trending-title:hover {
	color: var(--blue);
}

.about-box {
	background: var(--navy);
	color: var(--white);
	padding: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

.about-box h3 {
	color: var(--white);
	border-bottom-color: var(--red);
}

/* Comments Section */
.comments-section {
	background: var(--gray-light);
	border-top: 3px solid var(--navy);
	padding: 2rem;
}

.comments-header {
	font-size: 1.5rem;
	color: var(--navy);
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--red);
}

.comment-policy {
	background: #fff3cd;
	border: 1px solid #ffc107;
	padding: 1rem;
	margin-bottom: 2rem;
	font-size: 0.95rem;
	line-height: 1.6;
	border-radius: 4px;
}

.comment-form {
	background: var(--white);
	padding: 1.5rem;
	margin-bottom: 2rem;
	border: 1px solid var(--border);
}

.comment-name,
.comment-text {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1rem;
	border: 1px solid var(--border);
	font-size: 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.comment-text {
	min-height: 120px;
	resize: vertical;
}

.comment-submit {
	background: var(--blue);
	color: var(--white);
	padding: 0.75rem 2rem;
	border: none;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.3s ease;
	font-weight: 600;
}

.comment-submit:hover {
	background: var(--blue-hover);
}

.existing-comments {
	margin-top: 2rem;
}

.comment {
	background: var(--white);
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-left: 3px solid var(--blue);
	border: 1px solid var(--border);
}

.comment-author {
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 0.5rem;
}

.comment-time {
	font-weight: 400;
	color: var(--gray);
	font-size: 0.875rem;
	margin-left: 0.5rem;
}

.comment p {
	line-height: 1.6;
	color: var(--text-primary);
	margin: 0.5rem 0;
}

.reply-btn {
	background: transparent;
	color: var(--blue);
	border: 1px solid var(--blue);
	padding: 0.25rem 1rem;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 0.5rem;
}

.reply-btn:hover {
	background: var(--blue);
	color: var(--white);
}

/* Mission Hero Section */
.mission-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
	color: var(--white);
	padding: 3rem 2rem 4rem;
	position: relative;
	overflow: hidden;
}

.mission-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400" opacity="0.1"><path d="M0,200 Q300,100 600,200 T1200,200" stroke="white" stroke-width="2" fill="none"/></svg>');
	opacity: 0.1;
}

.mission-container {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.mission-quote {
	text-align: center;
	font-size: 1.75rem;
	font-style: italic;
	margin-bottom: 2rem;
	color: var(--gray-light);
	position: relative;
}

.quote-mark {
	font-size: 3rem;
	color: var(--red);
	position: relative;
	top: 10px;
	line-height: 0;
}

.quote-attribution {
	font-size: 1rem;
	margin-top: 0.5rem;
	font-style: normal;
	color: var(--gray-light);
}

.mission-content h1 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.mission-divider {
	width: 100px;
	height: 4px;
	background: var(--red);
	margin: 0 auto 2rem;
}

.mission-lead {
	font-size: 1.25rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.mission-content p {
	line-height: 1.8;
	margin-bottom: 1.25rem;
	font-size: 1.05rem;
}

.mission-content strong {
	color: var(--white);
	font-weight: 600;
}

.mission-cta {
	background: rgba(255, 255, 255, 0.1);
	padding: 1.5rem;
	border-left: 4px solid var(--red);
	margin: 2rem 0;
}

.mission-signature {
	text-align: center;
	margin-top: 2rem;
	font-size: 1.125rem;
	color: var(--gray-light);
}

/* Footer */
footer {
	background: var(--navy);
	color: var(--white);
	text-align: center;
	padding: 3rem 2rem;
	margin-top: 4rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-links {
	margin-top: 1rem;
}

.footer-links a {
	color: var(--gray-light);
	text-decoration: none;
	margin: 0 1rem;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--red);
}

/* Animations */
@keyframes patrioticShift {
	0% {
		background-position: 0% 0%;
	}
	50% {
		background-position: 50% 50%;
	}
	100% {
		background-position: 0% 0%;
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.7;
	}
	100% {
		opacity: 1;
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Media Queries */
@media (max-width: 968px) {
	/* Layout Changes */
	.container {
		grid-template-columns: 1fr;
		padding: 2rem 1rem;
	}

	.sidebar {
		position: static;
		margin-top: 2rem;
	}

	/* Prevent scroll when menu is open */
	body.menu-open {
		overflow: hidden;
	}

	/* Navigation Mobile */
	nav {
		flex-direction: column;
		align-items: center;
		position: relative;
		padding: 1rem;
		padding-right: 4rem; /* Make room for hamburger */
	}

	.hamburger {
		display: flex;
	}

	.nav-links {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--navy);
		flex-direction: column;
		padding: 5rem 0 2rem;
		gap: 0;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		z-index: 998;
		animation: slideDown 0.3s ease-out;
		align-items: center;
		justify-content: flex-start;
		overflow-y: auto;
	}

	.nav-links.active {
		display: flex;
	}

	.nav-links li {
		width: 100%;
		text-align: center;
	}

	.nav-links a {
		display: block;
		padding: 1rem 2rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		transition: background 0.3s ease;
		font-size: 1.125rem;
	}

	.nav-links a:hover {
		background: var(--navy-light);
		color: var(--red);
	}

	.nav-links li:last-child a {
		border-bottom: none;
	}

	/* When menu is active, change hamburger z-index */
	.hamburger.active {
		z-index: 1001;
		position: fixed;
		top: 1.5rem;
		right: 1.5rem;
	}

	/* Logo and Branding Mobile */
	.geezzers-wrapper {
		position: static;
		padding: 1rem;
		order: 1;
		width: 100%;
	}

	.geezzers {
		position: relative;
		top: 0;
		width: auto;
		display: flex;
		justify-content: center;
		margin: 0 auto;
	}

	.geezzers img {
		height: 60px;
	}

	.logo {
		font-size: 1.5rem;
		padding-left: 0;
		order: 2;
		margin-top: 0.5rem;
	}

	.tagline-wrapper {
		margin-top: 0.5rem;
		order: 3;
	}

	/* Article Adjustments */
	.article-header-main h1 {
		font-size: 1.5rem;
	}

	.article-card h2 {
		font-size: 1.5rem;
	}

	.article-lead {
		font-size: 1.125rem;
	}

	.article-full-content h3 {
		font-size: 1.25rem;
	}

	/* Featured Article Mobile */
	.featured-article {
		padding: 1.5rem;
	}

	/* Mission Section Mobile */
	.mission-hero {
		padding: 2rem 1rem;
	}

	.mission-content h1 {
		font-size: 1.75rem;
	}

	.mission-quote {
		font-size: 1.25rem;
	}

	.mission-lead {
		font-size: 1.125rem;
	}

	/* Comments Mobile */
	.comments-section {
		padding: 1.5rem;
	}

	.comment-form {
		padding: 1rem;
	}

	.comment-submit {
		width: 100%;
		padding: 1rem;
	}

	/* Footer Mobile */
	footer {
		padding: 2rem 1rem;
	}

	.footer-links a {
		display: block;
		margin: 0.5rem 0;
	}
}

@media (max-width: 640px) {
	/* Extra small devices */
	.logo {
		font-size: 1.25rem;
	}

	.geezzers img {
		height: 50px;
	}

	.article-header-main h1 {
		font-size: 1.25rem;
	}

	.article-card h2 {
		font-size: 1.25rem;
	}

	.mission-content h1 {
		font-size: 1.5rem;
	}

	.trending-number {
		width: 20px;
		height: 20px;
		line-height: 20px;
		font-size: 0.75rem;
	}
}

@media (max-width: 480px) {
	/* Phone portrait */
	.header-top {
		font-size: 0.75rem;
		padding: 0.25rem 0;
	}

	.alert-bar {
		font-size: 0.875rem;
		padding: 0.5rem;
	}

	.geezzers img {
		height: 45px;
	}

	.article-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.tags {
		padding: 0.75rem;
	}

	.tag {
		font-size: 0.75rem;
		padding: 0.2rem 0.5rem;
		margin-bottom: 0.25rem;
	}

	.sidebar-section {
		padding: 1rem;
	}

	.about-box {
		padding: 1rem;
		font-size: 0.875rem;
	}
}
