/*
Theme Name: Recovery Underground
Description: Custom Dark Theme WordPress stylesheet for Recovery Underground online NA community.
Version: 1.0
*/

/* ==========================================================================
   1. CSS Reset & Variables (Dark Theme)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #6366f1;
    --accent-blue-hover: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --border-color: #334155;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --max-width: 1140px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
header {
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(15, 23, 42, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.nav-cta-btn {
    background-color: var(--accent-blue);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.nav-cta-btn:hover {
    background-color: var(--accent-blue-hover);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
}

/* ==========================================================================
   3. Buttons & Badges
   ========================================================================== */
.cta-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background-color: var(--accent-blue);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent-glow);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pulse-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 90px 0 70px;
    text-align: center;
    overflow: hidden;
    
    /* Background Image Configuration */
    background-image: 
        /* Subtle dark gradient overlay to guarantee text readability */
        linear-gradient(rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.46)),
        /* Replace with the actual path or URL to your saved image */
        url('https://recoveryunderground.org/wp-content/uploads/2026/07/rubg2.png'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}



/* Ensures content layers cleanly above the background image and glows */
.hero-container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Hero CTA Card */
.hero-cta-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    max-width: 440px;
    margin: 0 auto;
    text-align: left;
    box-shadow: var(--shadow-lg);
}

.pricing-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.plan-title {
    font-weight: 600;
    color: var(--text-muted);
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-trust {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pay-badge {
    background-color: #334155;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   5. Sections & Cards (Features, Topics, Philosophy)
   ========================================================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card, .topic-card, .philosophy-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .topic-card:hover, .philosophy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-md);
}

.step-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #818cf8;
    background-color: var(--accent-glow);
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.card h3, .topic-card h4, .philosophy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card p, .topic-card p, .philosophy-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.philosophy-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

/* ==========================================================================
   6. About Section & Page
   ========================================================================== */
.about-card, .about-story-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.story-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.story-body p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.story-body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   7. FAQ Section
   ========================================================================== */
.faq-grid, .about-qa-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.faq-item, .qa-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3, .qa-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.faq-item p, .qa-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   8. Banner / CTA Sections
   ========================================================================== */
.cta-banner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ==========================================================================
   9. Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-toggle { display: flex; }
    .main-nav { display: none; }
    .pricing-headline { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ==========================================================================
   10. Footer Styling (Dark Theme)
   ========================================================================== */
footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 30px;
    margin-top: 60px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.disclaimer {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    line-height: 1.5;
    text-align: left;
    font-size: 0.825rem;
}

.disclaimer strong {
    color: var(--text-primary);
}

/* Logo Flex Container */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Logo Text Styling */
.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
}

/* Accent color for 'Underground' */
.logo-text span {
    color: var(--accent-blue);
}

/* ==========================================================================
   11. Schedule Page Styles
   ========================================================================== */
.meeting-instructions-card {
    background-color: var(--bg-card);
    border-left: 4px solid var(--accent-blue);
    margin-bottom: 40px;
}

.instruction-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.instruction-item code {
    background-color: #334155;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #818cf8;
}

.weekly-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.schedule-card {
    padding: 24px;
}

.day-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.day-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.meeting-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meeting-list li {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.meeting-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meeting-time {
    font-weight: 700;
    color: #818cf8;
    font-size: 0.9rem;
}

.meeting-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.meeting-chair {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meeting-chair.open {
    color: #fbbf24;
    font-weight: 600;
}

.timezone-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 24px;
    text-align: center;
}

.monthly-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.monthly-card h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.schedule-frequency {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #818cf8;
    background-color: var(--accent-glow);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.about-page section {
    padding: 48px 0;
}

.about-page section:first-of-type {
    padding-top: 60px;
}

.about-page section:last-of-type {
    padding-bottom: 60px;
}

.about-hero {
    padding: 40px 0 20px;
    text-align: center;
}

.about-hero .badge {
    margin-bottom: 12px;
}

.about-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 12px;
}

.about-hero .hero-subtext,
.about-hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted);
}

.about-story-section {
    padding-top: 16px;
}

.about-story-card {
    max-width: 860px;
    margin: 0 auto;
}

/* ==========================================================================
   12. Blog Page & Post Cards
   ========================================================================== */
.blog-posts-section {
    padding: 32px 0 60px;
}

.blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.blog-card-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #334155;
}

.blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumb-img {
    transform: scale(1.04);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
}

.blog-title {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: #818cf8;
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-excerpt p {
    margin-bottom: 0;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.read-more-link {
    color: #818cf8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Pagination Styling */
.blog-pagination {
    margin-top: 48px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.blog-pagination a,
.blog-pagination .current {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    background-color: var(--bg-card);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-pagination .current,
.blog-pagination a:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

/* Single Post Layout Container */
.single-post-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.single-post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.single-post-header {
    margin-bottom: 24px;
}

.single-post-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 8px;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-category a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.entry-content p {
    margin-bottom: 1.25em;
}

.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

/* ==========================================================================
   13. Single Post Layout, Comments & Search Form
   ========================================================================== */

.single-post-featured-image {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 32px;
}

.post-tags {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-tags a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
}

/* ==========================================================================
   14. WordPress Comments Styling
   ========================================================================== */
#comments {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.comments-title, 
.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list .comment {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    list-style: none;
}

.comment-list .children {
    list-style: none;
    padding-left: 24px;
    margin-top: 16px;
    border-left: 2px solid var(--border-color);
}

.comment-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.comment-meta .avatar {
    border-radius: 50%;
}

.comment-meta .fn {
    font-weight: 700;
    color: var(--text-primary);
    font-style: normal;
}

.comment-meta a {
    color: var(--text-muted);
    text-decoration: none;
}

.comment-content p {
    font-size: 0.975rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.reply a {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #818cf8;
    text-decoration: none;
}

.reply a:hover {
    text-decoration: underline;
}

.comment-respond {
    background-color: var(--bg-card);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-form p {
    margin-bottom: 0;
}

.comment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-field:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background-color: var(--bg-main);
}

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

.comment-form input[type="submit"],
.search-submit,
.sidebar-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-blue);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.comment-form input[type="submit"]:hover,
.search-submit:hover,
.sidebar-btn:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-1px);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comment-form-cookies-consent input {
    accent-color: var(--accent-blue);
}

/* ==========================================================================
   15. Sidebar & Search Widget
   ========================================================================== */
.search-form {
    display: flex;
    gap: 8px;
}

.search-field {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-widget ul li {
    font-size: 0.925rem;
}

.sidebar-widget ul li a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-widget ul li a:hover {
    color: #818cf8;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.825rem !important;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tag-cloud a:hover {
    background-color: var(--accent-glow);
    border-color: var(--accent-blue);
    color: #818cf8;
}

/* --- Dark-Theme Discord CTA Section --- */
.discord-cta-section {
    padding: 60px 0;
}

.discord-cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.discord-cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.discord-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(88, 101, 242, 0.2);
    color: #818cf8;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(88, 101, 242, 0.4);
    margin-bottom: 20px;
}

.discord-cta-card h2 {
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.discord-cta-card p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.discord-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #5865F2;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6);
}

.discord-action .subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.schedule-hero { padding-top: 60px; padding-bottom: 0; }

@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-toggle { display: flex; }
    
    .main-nav { 
        display: none; 
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

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

    .main-nav a {
        display: block;
        font-size: 1.2rem;
        padding: 12px 16px;
        font-weight: 600;
        width: 100%;
    }

    .main-nav .nav-cta-btn {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 14px 20px;
        margin-top: 8px;
    }

    .hero-cta-card {
        text-align: center;
    }

    .pricing-headline {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

.nav-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Archive Page Layout & Styling (Dark Theme)
   ========================================================================== */

/* Main Container */
.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    color: #e5e7eb;
}

/* Header Section */
.archive-header {
    margin-bottom: 3rem;
    text-align: center;
}

.archive-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.archive-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #f9fafb;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.archive-description {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.6;
}

/* Two-Column Layout Grid */
.single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .single-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Post Cards */
.archive-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.archive-post-card {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 1.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.archive-post-card:hover {
    border-color: #4b5563;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.single-post-header .post-meta {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.single-post-header h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.single-post-header h2 a {
    color: #f9fafb;
    text-decoration: none;
    transition: color 0.15s ease;
}

.single-post-header h2 a:hover {
    color: #60a5fa;
}

/* Featured Images */
.single-post-featured-image {
    margin-bottom: 1.25rem;
    border-radius: 6px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-post-featured-image a:hover img {
    transform: scale(1.02);
}

/* Excerpt & Footer */
.entry-summary {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.single-post-footer .read-more-link {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.single-post-footer .read-more-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Sidebar */
.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 1.5rem;
}

.sidebar-widget h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #f9fafb;
}

.sidebar-widget p {
    color: #d1d5db;
    line-height: 1.5;
    margin: 0;
}

/* Pagination */
.archive-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.archive-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    border-radius: 6px;
    border: 1px solid #374151;
    background-color: #1f2937;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.archive-pagination a.page-numbers:hover {
    background-color: #374151;
    color: #ffffff;
    border-color: #4b5563;
}

.archive-pagination .page-numbers.current {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
/* ==========================================================================
   List Styles (ul / ol) for Entry Content
   ========================================================================== */

.entry-content ul,
.entry-content ol {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    padding-left: 1.75rem; /* Ensures numbers/bullets aren't clipped */
}

/* Individual List Items */
.entry-content li {
    margin-bottom: 0.85rem; /* Adds breathing room between list items */
    line-height: 1.6;
    color: #d1d5db; /* Light gray text for dark theme */
}

.entry-content li:last-child {
    margin-bottom: 0;
}

/* Unordered Lists */
.entry-content ul {
    list-style-type: disc;
}

/* Ordered Lists */
.entry-content ol {
    list-style-type: decimal;
}

/* Bullet / Number Color Highlight (Optional) */
.entry-content li::marker {
    color: #60a5fa; /* Blue accent for numbers and bullets */
    font-weight: 600;
}

/* Paragraphs inside lists (if WordPress wraps them) */
.entry-content li > p {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}