/* === CELESTIAL PEACE PALETTE === */
:root {
	--deep-blue: #2c5aa0;
	--serene-blue: #4a7bc1;
	--earth-brown: #8b4513;
	--soft-white: #f8f9fa;
	--warm-gray: #333333;
	--black: #000;
	--red: #ff0000;
	--white: #fff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--soft-white);
	color: var(--warm-gray);
	line-height: 1.6;
	min-height: 100vh;
}

/* Animated Christmas Header Banner */
.christmas-header {
    background: linear-gradient(90deg, 
                #1e4a2b, /* Dark Green */
                #2a6b3c, /* Medium Green */
                #3a8c4e, /* Light Green */
                #2a6b3c, 
                #1e4a2b);
    background-size: 200% 100%; /* Needed for the animation */
    color: gold;
    text-align: center;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.8px;
    
    /* Animation Properties */
    animation: 
        gentlePulse 4s infinite ease-in-out, /* Gentle glow */
        slideIn 0.8s ease-out; /* Smooth entrance */
    
    /* Text shadow for better readability */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    
    /* Ensure it stays above other content */
    position: relative;
    z-index: 1001;
}

/* Gentle pulse and color flow animation */
@keyframes gentlePulse {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 3px 10px rgba(46, 139, 87, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 5px 15px rgba(46, 139, 87, 0.5);
    }
}

/* Smooth slide-in from top animation */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Optional: Add a subtle shake to the emojis */
.christmas-header p {
    display: inline-block;
}

.christmas-header p:hover {
    animation: gentleShake 0.5s ease;
}

@keyframes gentleShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* === MAIN NAVIGATION STYLES === */
nav {
    background-color: var(--deep-blue);
    padding: 0.5rem 1rem; /* Reduced side padding for mobile */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 120px;
    width: auto;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* === HAMBURGER BUTTON (Hidden on Desktop) === */
.hamburger-btn {
    display: none; /* Hidden by default on desktop */
    font-size: 28px;
    background: none;
    border: none;
    color: var(--white); /* Changed to WHITE for your dark blue nav */
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1001;
}

/* === DESKTOP MENU (Default State) === */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-decoration: underline;
}

.nav-menu a:focus {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

/* === MOBILE STYLES (Screens smaller than 768px) === */
@media (max-width: 768px) {
    /* Show the hamburger button */
    .hamburger-btn {
        display: block;
    }

    /* Hide the desktop menu, replace with mobile overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 70%;
        height: 100vh;
        background-color: var(--deep-blue); /* Matches your nav color */
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding-top: 80px; /* Space below the header */
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    /* Style links inside the mobile menu */
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: none; /* Remove the lift effect on mobile */
    }

    /* When the menu has the 'active' class, slide it in */
    .nav-menu.active {
        right: 0;
    }
}

#languageSelector {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 6px 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

#languageSelector:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

#languageSelector:focus {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

/* === TIME DISPLAY === */
#time-display {
	background: linear-gradient(
		135deg,
		var(--serene-blue) 0%,
		var(--deep-blue) 100%
	);
	color: var(--white);
	padding: 10px;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.5px;
}

#current-time,
#countdown {
	font-weight: bold;
	color: #ffd700;
}

/* === HEADER/HERO === */
header {
	text-align: center;
	padding: 3rem 1rem;
	background: linear-gradient(
		135deg,
		var(--serene-blue) 0%,
		var(--deep-blue) 100%
	);
	color: var(--white);
	position: relative;
	overflow: hidden;
}

header::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 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
	background-size: cover;
}

.tagline {
	font-size: 1.8rem;
	font-weight: 300;
	margin-bottom: 0.5rem;
	letter-spacing: 1px;
	position: relative;
	z-index: 1;
}

h2 {
	color: var(--white);
	font-style: italic;
	margin: 10px 0 0;
	font-size: 1.6rem;
	opacity: 0.95;
	position: relative;
	z-index: 1;
	font-weight: 400;
}

header p {
	color: #ffd700;
	font-size: 28px;
	margin-top: 5px;
	font-weight: bold;
	position: relative;
	z-index: 1;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* === MAIN CONTENT AREA === */
.container {
	max-width: 800px;
	margin: 2rem auto;
	padding: 0 1rem;
}

/* ============================================= */
/* UPDATED DEVOTIONAL SECTIONS - 6-PART FORMAT */
/* ============================================= */

/* ALL DEVOTIONAL SECTIONS - CONSISTENT STYLING */
.verse-section,
.insight-section,
.lessons-section,
.application-section,
.prayer-section,
.declarations-section,
.comments-section {
	background: var(--white);
	padding: 2rem;
	margin-bottom: 1.8rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.verse-section:hover,
.insight-section:hover,
.lessons-section:hover,
.application-section:hover,
.prayer-section:hover,
.declarations-section:hover,
.comments-section:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* SECTION SPECIFIC BORDER COLORS */
.verse-section {
	border-left: 5px solid var(--deep-blue);
	background: linear-gradient(to right, #f0f7ff, #ffffff);
}

.insight-section {
	border-left: 5px solid #4a7bc1;
	background: linear-gradient(to right, #f8fbff, #ffffff);
}

.lessons-section {
	border-left: 5px solid #ffd700;
	background: linear-gradient(to right, #fffdf0, #ffffff);
}

.application-section {
	border-left: 5px solid #2ecc71;
	background: linear-gradient(to right, #f0fdf5, #ffffff);
}

.prayer-section {
	border-left: 5px solid #9b59b6;
	background: linear-gradient(to right, #faf5ff, #ffffff);
}

.declarations-section {
	border-left: 5px solid #e74c3c;
	background: linear-gradient(to right, #fff5f5, #ffffff);
}

.comments-section {
	border-left: 5px solid var(--serene-blue);
	background: linear-gradient(to right, #f8f9fa, #ffffff);
}

/* SECTION HEADERS */
.verse-section h3,
.insight-section h3,
.lessons-section h3,
.application-section h3,
.prayer-section h3,
.declarations-section h3,
.comments-section h3 {
	color: var(--deep-blue);
	margin-bottom: 1.2rem;
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid rgba(44, 90, 160, 0.1);
	font-weight: 600;
}

/* VERSE TEXT ENHANCEMENT */
#verse-text {
	font-size: 1.25rem;
	line-height: 1.7;
	color: var(--warm-gray);
	font-style: italic;
	margin: 0.8rem 0;
	padding: 15px;
	background: rgba(44, 90, 160, 0.03);
	border-radius: 8px;
	border-left: 3px solid var(--deep-blue);
}

#verse-reference {
	color: var(--earth-brown);
	font-weight: 600;
	font-size: 1.05rem;
	margin-top: 0.8rem;
	text-align: right;
	padding-right: 10px;
	font-style: italic;
}

/* LESSONS LIST STYLING */
.lessons-section ul {
	padding-left: 1.8rem;
	margin: 0;
	list-style: none;
}

.lessons-section li {
	margin-bottom: 1rem;
	color: var(--warm-gray);
	line-height: 1.6;
	padding: 8px 12px;
	background: rgba(255, 215, 0, 0.05);
	border-radius: 6px;
	border-left: 3px solid #ffd700;
	position: relative;
}

.lessons-section li::before {
	content: '✓';
	color: var(--deep-blue);
	font-weight: bold;
	position: absolute;
	left: -1.5rem;
	top: 8px;
}

.lessons-section li strong {
	color: var(--deep-blue);
	font-weight: 600;
}

/* DECLARATIONS STYLING */
.declarations-section p {
	line-height: 2;
	color: var(--warm-gray);
	font-size: 1.05rem;
}

.declarations-section br {
	display: block;
	content: '';
	margin: 0.8rem 0;
}

/* APPLICATION TEXT */
.application-section p {
	line-height: 1.7;
	color: var(--warm-gray);
	font-size: 1.05rem;
}

.application-section p strong {
	color: var(--deep-blue);
	display: block;
	margin: 1.2rem 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.application-section p strong:first-child {
	margin-top: 0;
}

/* PRAYER TEXT */
.prayer-section p {
	line-height: 1.7;
	color: var(--warm-gray);
	font-style: italic;
	padding: 15px;
	background: rgba(155, 89, 182, 0.03);
	border-radius: 8px;
	border-left: 3px solid #9b59b6;
	font-size: 1.05rem;
}

/* ============================================= */
/* SIMPLIFIED AUDIO SECTION - ONE MAIN BUTTON */
/* ============================================= */

.audio-section {
	margin: 2.5rem 0;
}

.audio-instruction {
	text-align: center;
	margin-bottom: 1.2rem;
	color: var(--deep-blue);
	font-style: italic;
	font-size: 1rem;
}

/* Main audio container */
.main-audio-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	margin: 2rem 0;
}

/* Main play button */
.main-audio-btn {
	background: linear-gradient(
		135deg,
		var(--serene-blue) 0%,
		var(--deep-blue) 100%
	);
	color: white;
	border: none;
	padding: 1.3rem 3rem;
	border-radius: 50px;
	font-size: 1.15rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(74, 123, 193, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 320px;
	position: relative;
	overflow: hidden;
}

.main-audio-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.7s ease;
}

.main-audio-btn:hover::before {
	left: 100%;
}

.main-audio-btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(74, 123, 193, 0.5);
	background: linear-gradient(135deg, var(--deep-blue) 0%, #2a5298 100%);
}

.main-audio-btn:active {
	transform: translateY(-1px);
}

.main-audio-btn:focus {
	outline: 3px solid var(--serene-blue);
	outline-offset: 3px;
}

.main-audio-btn.playing {
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	animation: audioPulse 2s infinite;
}

/* Stop button */
.stop-btn {
	background: var(--earth-brown);
	color: white;
	border: none;
	padding: 0.9rem 1.8rem;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 1rem;
	box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
}

.stop-btn:hover {
	background: #a0522d;
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(139, 69, 19, 0.4);
}

.stop-btn:active {
	transform: translateY(0);
}

.stop-btn:focus {
	outline: 3px solid var(--earth-brown);
	outline-offset: 3px;
}

/* Remove old audio button styles */
.audio-btn,
.audio-buttons-container {
	display: none;
}

.audio-note {
	text-align: center;
	margin-top: 1.5rem;
	color: var(--earth-brown);
	font-size: 0.95rem;
	padding: 10px;
	background: rgba(139, 69, 19, 0.05);
	border-radius: 6px;
}

/* Audio status display */
#audio-status {
	text-align: center;
	margin-top: 1.2rem;
	padding: 12px;
	border-radius: 8px;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	font-weight: 500;
}

#audio-status.playing {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

#audio-status.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

#audio-status.loading {
	background: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

/* ============================================= */
/* COMMENT SECTION */
/* ============================================= */

.comment {
	border-bottom: 1px solid #eee;
	padding: 1.2rem 0;
	margin-bottom: 1rem;
}

.comment:last-child {
	border-bottom: none;
}

.comment-form textarea {
	width: 100%;
	padding: 1rem;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
	margin-bottom: 1rem;
	resize: vertical;
	transition: all 0.3s ease;
	font-size: 1rem;
	min-height: 120px;
}

.comment-form textarea:focus {
	outline: none;
	border-color: var(--serene-blue);
	box-shadow: 0 0 0 3px rgba(74, 123, 193, 0.1);
}

.comment-form button {
	background-color: var(--deep-blue);
	color: var(--white);
	border: none;
	padding: 0.9rem 2rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 1rem;
}

.comment-form button:hover {
	background-color: var(--serene-blue);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.comment-form button:focus {
	outline: 3px solid var(--serene-blue);
	outline-offset: 3px;
}

.submit-button {
	display: inline-block;
	background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
	color: white;
	padding: 14px 35px;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	margin: 20px 0;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.submit-button:hover {
	background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.submit-button:focus {
	outline: 3px solid #27ae60;
	outline-offset: 3px;
}

/* ============================================= */
/* FOOTER */
/* ============================================= */

footer {
	background: linear-gradient(135deg, var(--deep-blue) 0%, #1a3a73 100%);
	color: var(--white);
	text-align: center;
	padding: 2.5rem 1rem;
	margin-top: 3rem;
	border-top: 5px solid var(--serene-blue);
}

footer p {
	margin: 0.5rem 0;
	font-size: 1rem;
}

.footer-links {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
	color: white;
	text-decoration: none;
	margin: 0 12px;
	opacity: 0.9;
	transition: all 0.3s ease;
	padding: 5px 10px;
	border-radius: 4px;
}

.footer-links a:hover {
	opacity: 1;
	text-decoration: underline;
	background-color: rgba(255, 255, 255, 0.1);
}

.footer-links a:focus {
	outline: 2px solid white;
	outline-offset: 4px;
}

span.f {
	color: var(--red);
	font-size: 28px;
	animation: heartbeat 1.5s ease-in-out infinite;
}

/* ============================================= */
/* ANIMATIONS */
/* ============================================= */

/* Heartbeat animation for love symbol */
@keyframes heartbeat {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
}

/* Pulse animation when audio is playing */
@keyframes audioPulse {
	0% {
		box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
	}
	50% {
		box-shadow: 0 6px 25px rgba(46, 204, 113, 0.7);
	}
	100% {
		box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
	}
}

/* Fade in animation for sections */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.verse-section,
.insight-section,
.lessons-section,
.application-section,
.prayer-section,
.declarations-section {
	animation: fadeInUp 0.6s ease-out;
}

.verse-section {
	animation-delay: 0.1s;
}
.insight-section {
	animation-delay: 0.2s;
}
.lessons-section {
	animation-delay: 0.3s;
}
.application-section {
	animation-delay: 0.4s;
}
.prayer-section {
	animation-delay: 0.5s;
}
.declarations-section {
	animation-delay: 0.6s;
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */

@media (max-width: 768px) {
	nav {
		flex-direction: column;
		padding: 1rem;
		gap: 15px;
	}

	.site-logo {
		height: 100px;
		margin-bottom: 0.5rem;
	}

	.nav-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
		margin-top: 0.5rem;
	}

	.nav-links a {
		padding: 6px 10px;
		font-size: 0.95rem;
	}

	.audio-section {
		flex-direction: column;
		align-items: center;
	}

	.main-audio-btn {
		min-width: 100%;
		padding: 1.1rem 2rem;
		font-size: 1.05rem;
	}

	header {
		padding: 2rem 1rem;
	}

	h2 {
		font-size: 1.3rem;
	}

	.tagline {
		font-size: 1.4rem;
	}

	header p {
		font-size: 24px;
	}

	/* Mobile adjustments for devotional sections */
	.verse-section,
	.insight-section,
	.lessons-section,
	.application-section,
	.prayer-section,
	.declarations-section {
		padding: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.lessons-section ul {
		padding-left: 1.2rem;
	}

	.lessons-section li {
		margin-bottom: 0.8rem;
		font-size: 0.95rem;
		padding: 6px 10px;
	}

	#verse-text {
		font-size: 1.15rem;
		padding: 12px;
	}

	.footer-links a {
		display: block;
		margin: 8px 0;
	}
}

@media (max-width: 480px) {
	.nav-links {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.nav-links a {
		width: 100%;
		text-align: center;
		padding: 10px;
	}

	.site-logo {
		height: 85px;
	}

	.main-audio-btn {
		font-size: 1rem;
		padding: 1rem 1.5rem;
		gap: 8px;
	}

	.stop-btn {
		padding: 0.8rem 1.5rem;
		font-size: 0.95rem;
	}

	.verse-section h3,
	.insight-section h3,
	.lessons-section h3,
	.application-section h3,
	.prayer-section h3,
	.declarations-section h3 {
		font-size: 1.15rem;
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.declarations-section p {
		font-size: 0.95rem;
		line-height: 1.8;
	}

	#verse-text {
		font-size: 1.1rem;
		line-height: 1.6;
	}

	.container {
		padding: 0 0.8rem;
	}

	footer {
		padding: 2rem 0.8rem;
	}

	footer p {
		font-size: 0.9rem;
	}
}

/* ============================================= */
/* ARCHIVE PAGE STYLES */
/* ============================================= */

.archive-controls {
	background: white;
	padding: 1.8rem;
	border-radius: 12px;
	margin-bottom: 2.5rem;
	display: flex;
	gap: 1.2rem;
	flex-wrap: wrap;
	align-items: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.archive-search {
	flex: 1;
	min-width: 250px;
	padding: 1rem;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.archive-search:focus {
	outline: none;
	border-color: var(--serene-blue);
	box-shadow: 0 0 0 3px rgba(74, 123, 193, 0.1);
}

.archive-filter {
	padding: 1rem;
	border: 2px solid #ddd;
	border-radius: 8px;
	background: white;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.archive-filter:focus {
	outline: none;
	border-color: var(--serene-blue);
	box-shadow: 0 0 0 3px rgba(74, 123, 193, 0.1);
}

.verse-archive {
	display: grid;
	gap: 1.8rem;
}

.archive-item {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	border-left: 5px solid var(--serene-blue);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.archive-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.archive-date {
	color: var(--deep-blue);
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

.archive-date::before {
	content: '📅';
	font-size: 1rem;
}

.archive-verse {
	font-style: italic;
	margin: 1rem 0;
	color: var(--warm-gray);
	font-size: 1.1rem;
	line-height: 1.7;
	padding: 15px;
	background: rgba(44, 90, 160, 0.03);
	border-radius: 8px;
	border-left: 3px solid var(--deep-blue);
}

.archive-reference {
	color: var(--earth-brown);
	font-size: 0.95rem;
	font-weight: 500;
	text-align: right;
	font-style: italic;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 0.8rem;
	margin: 3rem 0;
	flex-wrap: wrap;
}

.page-button {
	padding: 0.8rem 1.5rem;
	border: 2px solid #ddd;
	background: white;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	min-width: 45px;
	text-align: center;
}

.page-button:hover:not(.active) {
	background: var(--soft-white);
	border-color: var(--serene-blue);
	transform: translateY(-2px);
}

.page-button:focus {
	outline: 3px solid var(--serene-blue);
	outline-offset: 2px;
}

.page-button.active {
	background: var(--deep-blue);
	color: white;
	border-color: var(--deep-blue);
	box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

/* ============================================= */
/* THEMES/COMMENTS PAGE STYLES */
/* ============================================= */

/* Title improvements */
.container h1 {
	color: var(--deep-blue);
	text-align: center;
	margin-bottom: 15px;
	font-size: 2.5rem;
	font-weight: 600;
	position: relative;
	padding-bottom: 15px;
}

.container h1::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, var(--deep-blue), var(--serene-blue));
	border-radius: 2px;
}

.container > p {
	text-align: center;
	color: #666;
	margin-bottom: 40px;
	font-size: 1.2rem;
	line-height: 1.6;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Card enhancements */
.reflection-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 2.5rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	margin-bottom: 2rem;
	border-left: 8px solid #ffd700;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reflection-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.reflection-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.1) 1px,
		transparent 1px
	);
	background-size: 20px 20px;
	opacity: 0.1;
}

.reflection-text {
	font-size: 1.3rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	font-style: italic;
	position: relative;
	z-index: 1;
}

.reflection-author {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	z-index: 1;
}

.reflection-author::before {
	content: '👤';
	font-size: 1rem;
}

.reflection-date {
	font-size: 0.95rem;
	opacity: 0.9;
	position: relative;
	z-index: 1;
}

/* Mobile responsiveness for themes/comments */
@media (max-width: 768px) {
	.container h1 {
		font-size: 2rem;
	}

	.container > p {
		font-size: 1.1rem;
		padding: 0 1rem;
	}

	.reflection-card {
		padding: 2rem;
		margin: 0 1rem 1.5rem;
	}

	.reflection-text {
		font-size: 1.15rem;
	}
}

/* PRINT STYLES */
@media print {
	nav,
	.audio-section,
	.comment-form,
	.footer-links,
	#time-display {
		display: none;
	}

	.verse-section,
	.insight-section,
	.lessons-section,
	.application-section,
	.prayer-section,
	.declarations-section {
		box-shadow: none;
		border: 1px solid #ddd;
		page-break-inside: avoid;
	}

	body {
		background: white;
		color: black;
		font-size: 12pt;
	}

	.container {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
}

/* ========== DYNAMIC ARCHIVE STYLES ========== */
.archive-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	border-radius: 15px;
	margin-bottom: 30px;
	text-align: center;
}

.archive-subtitle {
	opacity: 0.9;
	margin-bottom: 20px;
	font-size: 1.1rem;
}

.archive-meta {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.meta-item {
	background: rgba(255, 255, 255, 0.2);
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 0.9rem;
}

.archive-section {
	margin: 40px 0;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 10px;
	border: 1px solid #e9ecef;
}

.section-title {
	color: #2c3e50;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid #dee2e6;
}

.section-count {
	background: #667eea;
	color: white;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 0.9rem;
	margin-left: 10px;
}

.archive-item {
	background: white;
	padding: 25px;
	margin-bottom: 20px;
	border-radius: 10px;
	border: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.archive-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-color: #667eea;
}

.archive-item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.archive-date {
	color: #6c757d;
	font-size: 0.9rem;
}

.archive-type {
	background: #e8f4f8;
	color: #2c5282;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: 600;
}

.archive-title {
	color: #2c3e50;
	margin: 15px 0;
	font-size: 1.4rem;
}

.archive-link {
	color: inherit;
	text-decoration: none;
}

.archive-link:hover {
	color: #667eea;
}

.archive-excerpt {
	color: #495057;
	line-height: 1.6;
	margin: 15px 0;
}

.archive-topics {
	margin: 15px 0;
}

.topic-tag {
	display: inline-block;
	background: #e8f4f8;
	color: #2c5282;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 0.8rem;
	margin: 2px;
	border: 1px solid #90cdf4;
}

.archive-actions {
	margin-top: 20px;
	text-align: right;
}

.read-article-btn {
	display: inline-block;
	background: #667eea;
	color: white;
	padding: 8px 20px;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.read-article-btn:hover {
	background: #5a67d8;
	transform: translateX(5px);
}

/* Verse items */
.verse-item {
	background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.verse-text {
	font-style: italic;
	font-size: 1.2rem;
	color: #2c3e50;
	margin: 20px 0;
	padding-left: 20px;
	border-left: 3px solid #667eea;
}

.verse-reference {
	text-align: right;
	font-weight: bold;
	color: #4a5568;
	margin-top: 10px;
}

/* Empty archive */
.empty-archive {
	text-align: center;
	padding: 50px 20px;
	background: #f8f9fa;
	border-radius: 15px;
	border: 2px dashed #dee2e6;
}

.empty-icon {
	font-size: 3rem;
	margin-bottom: 20px;
}

.archive-features {
	list-style: none;
	padding: 0;
	max-width: 500px;
	margin: 20px auto;
	text-align: left;
}

.archive-features li {
	padding: 10px 0;
	border-bottom: 1px solid #e9ecef;
}

.archive-features li:last-child {
	border-bottom: none;
}

.archive-note {
	font-style: italic;
	color: #6c757d;
	margin-top: 20px;
}

/* Archive footer */
.archive-footer {
	margin-top: 40px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 10px;
	text-align: center;
}

.auto-update-notice {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #d4edda;
	color: #155724;
	padding: 10px 20px;
	border-radius: 20px;
	margin-bottom: 15px;
}

.notice-icon {
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.archive-info {
	color: #6c757d;
	font-size: 0.9rem;
	max-width: 600px;
	margin: 0 auto;
}

/* Statistics */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.stat-item {
	background: white;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	border: 1px solid #e9ecef;
}

.stat-number {
	font-size: 2rem;
	font-weight: bold;
	color: #667eea;
	margin-bottom: 10px;
}

.stat-label {
	color: #6c757d;
	font-size: 0.9rem;
}

.stats-note {
	font-style: italic;
	color: #6c757d;
	margin-top: 10px;
	font-size: 0.9rem;
}

/* Loading state */
.archive-loading {
	text-align: center;
	padding: 50px 20px;
}

.loading-spinner {
	font-size: 3rem;
	animation: pulse 1.5s infinite;
	margin-bottom: 20px;
}

@keyframes pulse {
	0% {
		opacity: 0.6;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0.6;
	}
}

.loading-note {
	color: #6c757d;
	margin-top: 10px;
	font-size: 0.9rem;
}

/* Error state */
.archive-error {
	text-align: center;
	padding: 40px 20px;
	background: #f8d7da;
	color: #721c24;
	border-radius: 10px;
	border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
	.archive-meta {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.archive-item-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
	}
}


.view-comments-link {
    color: var(--deep-blue);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed var(--deep-blue);
}
.view-comments-link:hover {
    border-bottom-style: solid;
}
/* END OF CSS */
