/* 
* Digital Detox Styles
* Styles for the digital-detox.html page
*/

/* Page Hero */
.learn-hero {
    background-color: var(--pale-blue-light);
    padding: calc(64px + var(--space-xxl)) 0 var(--space-xxl);
    text-align: center;
}

.learn-hero h1 {
    margin-bottom: var(--space-md);
}

/* Layout */
.learn-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--space-xxl);
}

/* Article Content */
.article-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xl);
}

.article-content h2 {
    margin-top: var(--space-xl);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: var(--space-lg) 0;
}

.article-content p {
    line-height: 1.6;
}

.article-content ul,
.article-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.article-content li {
    margin-bottom: var(--space-md);
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--cool-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-sm);
    color: var(--white);
}

.author-info {
    display: flex;
    flex-direction: column;
}

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

.publish-date {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.article-share {
    margin-left: auto;
}

.share-btn {
    background: none;
    border: none;
    color: var(--cool-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

/* Callouts */
.callout {
    background-color: var(--pale-blue-light);
    border-left: 3px solid var(--pale-blue);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.warning-callout {
    background-color: var(--warm-red-light);
    border-left: 3px solid var(--warm-red);
}

/* Sidebar styles moved to article-sidebar-layout.css */

/* Table of contents styles moved to article-sidebar-layout.css */











/* Related articles styles moved to article-sidebar-layout.css */











.related-meta {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

/* Source Links */
.source-link {
    display: block;
    padding: var(--space-sm) 0;
    margin-top: var(--space-xs);
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.source-citation {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: var(--space-xs);
}

/* Statistics and Charts */
.stat-highlight {
    font-size: 2rem;
    color: var(--cool-slate);
    font-weight: 700;
    margin: var(--space-xs) 0;
    display: block;
    font-family: var(--heading-font);
}

.chart-container {
    margin: var(--space-xl) 0;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    background-color: var(--white);
}

.chart-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: var(--space-md);
    text-align: center;
}

.chart-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.chart-caption {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
    margin-top: var(--space-md);
}

/* Quotes */
.quote-box {
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: var(--radius-sm);
    background-color: var(--light-gray);
    font-style: italic;
}

.quote-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.quote-citation {
    display: block;
    text-align: right;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
}

/* Action Steps */
.action-steps-container {
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.action-steps-container h3 {
    margin-top: 0;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

.action-steps-container h3 i {
    margin-right: var(--space-sm);
    color: var(--cool-slate);
}

.action-steps {
    margin: 0;
    padding-left: var(--space-xl);
}

.two-column-list {
    column-count: 2;
    column-gap: var(--space-xl);
}

/* Detox Method */
.detox-method {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--pale-blue);
}

.detox-method h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    color: var(--cool-slate);
}

.detox-method h3 i {
    margin-right: var(--space-sm);
    color: var(--cool-slate);
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--pale-blue-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--cool-slate);
}

.benefit-card h4 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--cool-slate);
    display: flex;
    align-items: center;
}

.benefit-card h4 i {
    margin-right: var(--space-sm);
    color: var(--cool-slate);
    font-size: 1.25rem;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

/* Tech Free Planner */
.tech-free-planner {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--pale-blue-light);
}

/* Resistance Cards */
.resistance-container {
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.resistance-scenario {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.scenario-objection {
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.scenario-response {
    padding-left: var(--space-md);
    border-left: 2px solid var(--pale-blue);
}

/* Download Buttons */
.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--pale-blue);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    margin-top: var(--space-md);
    transition: background-color var(--transition-fast);
}

.download-btn:hover {
    background-color: var(--cool-slate);
}

.download-btn i {
    margin-right: var(--space-sm);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .learn-container {
        grid-template-columns: 1fr;
    }
    
    /* Sidebar styles moved to article-sidebar-layout.css */
    
    /* Table of contents styles moved to article-sidebar-layout.css */
    
    .two-column-list {
        column-count: 1;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}