/* Journal Page Styles */
.journal-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Journal Title Animation */
.journal-container h1 {
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    opacity: 0;
    animation: journalTitleReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.journal-container .section-subtitle {
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0;
    animation: journalSubtitleReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

/* Dark Mode Journal Subtitle */
body.dark-mode .journal-container .section-subtitle {
    color: #d0d0d0;
}

@keyframes journalTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Coming Soon Section */
.journal-coming-soon {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 3rem auto;
    box-shadow: 0 2px 10px var(--shadow);
    animation: fadeInUp 0.6s ease;
}

/* Dark Mode Coming Soon Box */
body.dark-mode .journal-coming-soon {
    background: rgba(20, 20, 20, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.journal-coming-soon h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.journal-coming-soon p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Dark Mode Coming Soon Text */
body.dark-mode .journal-coming-soon p {
    color: #d0d0d0;
}

.journal-coming-soon ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.journal-coming-soon ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

/* Dark Mode Coming Soon List */
body.dark-mode .journal-coming-soon ul li {
    color: #d0d0d0;
}

.journal-coming-soon ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

@keyframes journalSubtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.journal-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    animation: journalCardFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger journal card animations */
.journal-card:nth-child(1) { animation-delay: 0.5s; }
.journal-card:nth-child(2) { animation-delay: 0.6s; }
.journal-card:nth-child(3) { animation-delay: 0.7s; }
.journal-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes journalCardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.journal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(164, 207, 165, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.journal-card:hover::after {
    opacity: 1;
}

.journal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.journal-content {
    padding: 1.5rem;
}

.journal-date {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.journal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.journal-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Article Page Styles */
.article-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.95rem;
}

.article-image {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 3rem;
    display: block;
}

.article-hero-image {
    max-width: 900px;
    margin: 2rem auto 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-content strong {
    font-weight: 600;
    color: var(--text-color);
}

.article-comments {
    max-width: 700px;
    margin: 4rem auto;
    padding-top: 2rem;
    border-top: 1px solid var(--bar-bg);
}

.comment {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px var(--shadow);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 500;
}

.comment-date {
    color: #666;
    font-size: 0.875rem;
}

.comment-text {
    color: #666;
    line-height: 1.6;
}

/* Legislation Resources Section */
.legislation-section {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

.legislation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.legislation-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.legislation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.legislation-logo {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 10px;
    padding: 1rem;
}

.legislation-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.legislation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legislation-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.legislation-content p {
    color: var(--text-color-muted);
    line-height: 1.6;
    margin: 0;
}

.legislation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.legislation-card:hover .legislation-link {
    gap: 0.75rem;
}

.legislation-link i {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legislation-card {
        flex-direction: column;
        text-align: center;
    }
    
    .legislation-logo {
        width: 100%;
        height: 150px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-hero-image {
        margin: 1.5rem 0 2rem;
        border-radius: 12px;
    }
    
    .article-hero-image img {
        max-height: 300px;
    }
    
    .article-content {
        font-size: 1rem;
    }
}

/* Product Recommendations Section */
.product-recommendations {
    background: linear-gradient(135deg, var(--accent-color-light), var(--accent-color));
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(247, 233, 142, 0.2);
}

.product-recommendations h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.recommendation-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.recommendation-buttons .cta-button {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    border: 2px solid transparent;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recommendation-buttons .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
}

.recommendation-buttons .cta-button.secondary {
    background: rgba(255, 255, 255, 0.85);
}

.recommendation-buttons .cta-button i {
    font-size: 1.1rem;
}

/* Article Call to Action */
.article-cta {
    background: var(--accent-color-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0 2rem;
}

.article-cta h4 {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.article-cta .cta-button.large {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(247, 233, 142, 0.3);
}

.article-cta .cta-button.large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 233, 142, 0.4);
    background: #f5e85f;
}

/* Featured Article Styling */
.journal-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 6px 20px rgba(247, 233, 142, 0.15);
    position: relative;
    overflow: visible;
}

.journal-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-color), #f5e85f);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.journal-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(247, 233, 142, 0.25);
}

.featured-badge {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(247, 233, 142, 0.4);
}

/* Research Sources Section */
.research-sources {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid var(--accent-color);
}

.research-sources h4 {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.research-sources h4::before {
    content: '📚';
    font-size: 1.2rem;
}

.research-sources p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.reference-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.reference-button {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reference-button:hover {
    border-color: var(--accent-color);
    background: #fefefe;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.reference-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reference-info strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.reference-info span {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.reference-button i {
    color: var(--accent-color);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.reference-button:hover i {
    opacity: 1;
}

/* Acetate Alternatives Modal (Article-Specific) */
.acetate-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.acetate-modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.acetate-modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-color-light);
}

.acetate-modal-header h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.acetate-modal-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.acetate-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.acetate-alternative-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.acetate-alternative-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.acetate-alternative-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.acetate-alternative-card .product-brand {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.acetate-alternative-card .product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.acetate-alternative-card .product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.acetate-alternative-card .product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.acetate-alternative-card .add-to-cart-btn {
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(247, 233, 142, 0.3);
}

.acetate-alternative-card .add-to-cart-btn:hover {
    background: #f5e85f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 233, 142, 0.4);
}

.acetate-alternative-card .safety-note {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    border: 2px solid #c8e6c8;
}

.acetate-modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    background: var(--accent-color-light);
    border-radius: 0 0 20px 20px;
}

.acetate-modal-footer .safety-message {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.acetate-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.acetate-modal .modal-close:hover {
    color: var(--text-color);
}

/* Responsive for product recommendations */
@media (max-width: 768px) {
    .recommendation-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .product-recommendations {
        padding: 1.5rem;
    }
    
    .article-cta {
        padding: 1.5rem;
    }
    
    .recommendation-buttons .cta-button {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .reference-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .research-sources {
        padding: 1.5rem;
    }
    
    .reference-button {
        padding: 0.9rem 1rem;
    }
    
    /* Acetate modal responsive */
    .acetate-modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 90vh;
    }
    
    .acetate-alternatives-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .acetate-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .acetate-modal-header h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   DARK MODE OVERRIDES FOR JOURNAL PAGE
   ============================================ */

/* Article Cards */
body.dark-mode .journal-card {
    background: rgba(20, 20, 20, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Article Excerpts and Text */
body.dark-mode .journal-excerpt {
    color: #d0d0d0;
}

/* Article Metadata */
body.dark-mode .article-meta {
    color: #a8a8a8;
}

/* Article Content Text */
body.dark-mode .article-content {
    color: #d0d0d0;
}

body.dark-mode .article-content p {
    color: #d0d0d0;
}

body.dark-mode .article-content h3,
body.dark-mode .article-content h4 {
    color: #ffffff;
}

body.dark-mode .article-content strong {
    color: #ffffff;
}

/* Comments */
body.dark-mode .comment {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .comment-date,
body.dark-mode .comment-text {
    color: #d0d0d0;
}

/* Product Recommendations */
body.dark-mode .product-recommendations {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Research Sources */
body.dark-mode .research-sources {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .research-sources p {
    color: #d0d0d0;
}

body.dark-mode .reference-info span {
    color: #a8a8a8;
}

/* Acetate Modal */
body.dark-mode .acetate-modal-content {
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .acetate-modal-header p {
    color: #d0d0d0;
}

body.dark-mode .acetate-alternative-card {
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .acetate-alternative-card .product-description {
    color: #d0d0d0;
}

/* ============================================
   ENHANCED DARK MODE CONTRAST FIXES
   ============================================ */

/* Fix: Product Recommendation Section */
body.dark-mode .product-recommendations {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8)) !important;
    border: 1px solid rgba(122, 166, 123, 0.3);
}

body.dark-mode .product-recommendations h4 {
    color: #ffffff !important;
}

body.dark-mode .product-recommendations p {
    color: #d0d0d0 !important;
}

/* Fix: VIEW SAFE ALTERNATIVES Button */
body.dark-mode .recommendation-buttons .cta-button {
    background: rgba(30, 30, 30, 0.9) !important;
    color: #ffffff !important;
    border: 2px solid #7AA67B !important;
}

body.dark-mode .recommendation-buttons .cta-button:hover {
    background: rgba(40, 40, 40, 0.95) !important;
    border-color: #8bc68d !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(122, 166, 123, 0.3) !important;
}

/* Fix: Research Sources Section */
body.dark-mode .research-sources {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(40, 40, 40, 0.8)) !important;
    border-left: 4px solid #7AA67B !important;
}

body.dark-mode .research-sources h4 {
    color: #ffffff !important;
}

body.dark-mode .research-sources p {
    color: #d0d0d0 !important;
}

/* Fix: Reference Citation Buttons */
body.dark-mode .reference-button {
    background: rgba(30, 30, 30, 0.9) !important;
    border: 2px solid rgba(122, 166, 123, 0.3) !important;
    color: #ffffff !important;
}

body.dark-mode .reference-button:hover {
    background: rgba(40, 40, 40, 0.95) !important;
    border-color: #7AA67B !important;
    box-shadow: 0 6px 20px rgba(122, 166, 123, 0.2) !important;
}

body.dark-mode .reference-info strong {
    color: #ffffff !important;
}

body.dark-mode .reference-info span {
    color: #b0b0b0 !important;
}

body.dark-mode .reference-button i {
    color: #7AA67B !important;
    opacity: 1 !important;
}

/* Fix: Article CTA Section */
body.dark-mode .article-cta {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(122, 166, 123, 0.3);
}

body.dark-mode .article-cta h4 {
    color: #ffffff !important;
}

/* Fix: Return to Home Button */
body.dark-mode .article-cta .cta-button.large {
    background: #7AA67B !important;
    color: #ffffff !important;
    border: 2px solid #8bc68d;
}

body.dark-mode .article-cta .cta-button.large:hover {
    background: #8bc68d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(122, 166, 123, 0.4) !important;
}

body.dark-mode .article-cta .cta-button.large i {
    color: #ffffff !important;
}

/* Fix: Article Hero Image Visibility */
body.dark-mode .article-image {
    opacity: 0.95;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

body.dark-mode .article-hero-image {
    opacity: 0.95;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix: Legislation Cards */
body.dark-mode .legislation-card {
    background: rgba(20, 20, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .legislation-logo {
    background: rgba(40, 40, 40, 0.5) !important;
}

body.dark-mode .legislation-content p {
    color: #d0d0d0 !important;
}

body.dark-mode .legislation-link {
    color: #7AA67B !important;
} 