/* --- GENERIC COSMIC PAGE STYLES (For 404, Search, Archives, Default Pages) --- */

/* 1. Page Wrapper: Full Screen Background */
.cosmic-page-wrapper {
    background: url('../images/hero-bg.webp') no-repeat center center fixed; 
    background-size: cover;
    min-height: 100vh;
    padding-top: 160px; /* Space for fixed header */
    padding-bottom: 60px;
    position: relative;
    color: #fff;
}

/* Dark Overlay to make text readable */
.cosmic-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 3, 25, 0.85); /* Deep Cosmic Purple Overlay */
    z-index: 0;
}

/* Main Content Container */
.cosmic-container {
    position: relative;
    z-index: 2; /* Sits above the overlay */
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
}

/* 2. Page Headers */
.cosmic-page-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2); /* Subtle Gold Line */
    padding-bottom: 30px;
}

.cosmic-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4); /* Gold Glow */
    margin: 0;
}

.cosmic-subtitle {
    font-size: 1.1rem;
    color: #FFD700; /* Gold */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

/* 3. Glassmorphism Card for Readable Content */
.glass-content-card {
    background: rgba(255, 255, 255, 0.95); /* High readability white */
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    color: #333; /* Dark text for contrast inside the card */
    line-height: 1.8;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.glass-content-card h2, 
.glass-content-card h3, 
.glass-content-card h4 {
    color: #2E0B45; /* Dark Purple Headings */
    font-family: 'Cinzel', serif;
    margin-top: 30px;
}

/* 4. Links & Buttons */
.read-more-btn, .cosmic-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2E0B45;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid transparent;
}

.read-more-btn:hover, .cosmic-btn:hover {
    background: #FFD700;
    color: #2E0B45;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 5. Pagination & Navigation */
.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-numbers.current, .page-numbers:hover {
    background: #FFD700;
    color: #2E0B45;
    border-color: #FFD700;
}