/* Additional styles for the blog article page */
.article-header {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 120px 0 50px;
}

.article-header h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-meta div {
    display: flex;
    align-items: center;
}

.article-meta svg {
    margin-right: 8px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    line-height: 1.8;
    color: var(--text);
}

.article-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.article-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 20px var(--shadow);
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-sources {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--shadow);
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-sources h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.share-section {
    margin-top: 50px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.related-posts {
    background-color: var(--background);
    padding: 80px 0;
}

.cta-section {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.science-fact {
    background-color: var(--background);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px var(--shadow);
}

.science-fact h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.science-fact h4 svg {
    margin-right: 10px;
}

.author-section {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    margin: 50px 0;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.author-bio p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.affirmation-card {
    background-color: var(--background);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 4px solid var(--primary);
}

.affirmation-card h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.affirmation-card p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content p, 
    .article-content li {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
    }
}
/* Styling for the listen button */
.affirmation-card .listen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Initial width for the rounded button */
    height: 40px;
    background-color: var(--background); /* Page background */
    color: var(--primary); /* Heading brown color */
    border-radius: 50%; /* Makes it a circle */
    text-decoration: none;
    font-size: 1rem; /* Icon size */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Minor shadow */
    /* Removed transition as animation is no longer desired */
    overflow: hidden; /* Hide any overflowing content */
    margin-left: 15px; /* Space from the affirmation text */
    flex-shrink: 0; /* Prevent shrinking */
    padding: 0; /* Ensure no extra padding */
    border: 1px solid var(--primary); /* Subtle border for definition */
}

.affirmation-card .listen-btn .listen-text {
    display: none; /* Keep text hidden */
}

/* Removed hover styles as animation and text on hover are no longer desired */
.affirmation-card .listen-btn:hover {
    background-color: var(--background); /* Keep background same on hover */
    color: var(--primary); /* Keep color same on hover */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Keep shadow same on hover */
    /* Removed width, border-radius, padding, justify-content changes */
}

/* Ensure the button is aligned to the right within the h4 and prevents wrapping */
.affirmation-card h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping of h4 content */
}

/* App Feature Highlight Styles */
.app-feature-highlight {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--background) 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 109, 76, 0.1);
}

.app-feature-highlight .feature-image {
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.app-feature-highlight .feature-content h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.app-feature-highlight .feature-content p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.app-feature-highlight .link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    background-color: rgba(214, 109, 76, 0.1);
}

.app-feature-highlight .link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* App Showcase Styles */
.app-showcase {
    background: linear-gradient(135deg, var(--primary) 0%, #c85d42 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    text-align: center;
}

.app-showcase h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.app-showcase p {
    margin-bottom: 25px;
    opacity: 0.95;
}

.app-showcase ul {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.app-showcase li {
    margin-bottom: 15px;
    color: white;
}

.app-showcase li strong {
    color: #ffd700;
}

.app-cta {
    margin-top: 30px;
}

.app-cta .cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.app-cta .app-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Link styling */
.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link:hover {
    color: #c85d42;
    text-decoration: underline;
}

/* Adjustments for smaller screens if necessary */
@media (max-width: 768px) {
    .affirmation-card .listen-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem; /* Further reduced font size for smaller screens */
    }
    
    .app-feature-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .app-feature-highlight .feature-image {
        width: 150px;
    }
    
    .app-showcase {
        padding: 25px;
    }
    
    .app-showcase h3 {
        font-size: 1.5rem;
    }
    
    .app-showcase ul {
        padding: 20px;
    }
}