/**
 * sharenting.css
 * Styles for the Sharenting article page
 */

/* Page Hero Section
------------------------------------------*/
.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);
}

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

.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 Metadata
------------------------------------------*/
.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;
}

/* Callout Boxes
------------------------------------------*/
.callout {
    background-color: var(--light-gray);
    border-left: 3px solid var(--cool-slate);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Statistics callout - first callout in the article */
.article-content > .callout:first-of-type {
    background-color: var(--pale-blue-light);
}

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

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











/* Related Articles
------------------------------------------*/
/* 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.75rem;
    color: var(--medium-gray);
}

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

/* Risk Cards
------------------------------------------*/
.risk-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--warm-red);
}

.risk-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.risk-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--warm-red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
    flex-shrink: 0;
}

.risk-icon i {
    color: var(--warm-red);
}

.risk-title {
    margin: 0 0 var(--space-xs);
    font-size: 1.25rem;
}

.risk-description {
    margin: 0;
}

/* Scenarios
------------------------------------------*/
.scenario {
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.scenario h3 {
    margin-top: 0;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

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

.scenario-example:last-child {
    margin-bottom: 0;
}

.scenario-title {
    margin-top: 0;
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
    font-weight: 700;
}

.scenario-description {
    margin: 0 0 var(--space-sm);
}

.scenario-impact {
    margin: 0;
    font-style: italic;
    color: var(--warm-red);
}

/* Best Practices
------------------------------------------*/
.best-practice {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    display: flex;
    align-items: flex-start;
    border-top: 3px solid var(--pale-blue);
}

.practice-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--pale-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
    flex-shrink: 0;
}

.practice-icon i {
    color: var(--pale-blue);
}

.practice-content {
    flex-grow: 1;
}

.practice-title {
    margin-top: 0;
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.practice-description {
    margin: 0;
}

/* Checklist
------------------------------------------*/
.checklist {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.checklist h3 {
    margin-top: 0;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.checklist h3 i {
    margin-right: var(--space-sm);
    color: var(--pale-blue);
}

.checklist-item {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--space-md);
}

.checklist-item:last-child {
    margin-bottom: 0;
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--pale-blue);
    border-radius: var(--radius-xs);
    margin-right: var(--space-md);
    flex-shrink: 0;
}

.checklist-text {
    flex-grow: 1;
}

/* 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 */
}