/* 
* Smart Devices Styles
* Styles for the smart-devices.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.75rem;
    color: var(--medium-gray);
}

/* Statistics and Charts */
.stat-highlight {
    font-size: 2rem;
    color: var(--pale-blue);
    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(--pale-blue);
}

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

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

/* Device Comparison Table */
.device-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.device-comparison-table th {
    background-color: var(--cool-slate);
    color: var(--white);
    text-align: left;
    padding: var(--space-md);
}

.device-comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.device-comparison-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
}

.device-comparison-table tr:last-child td {
    border-bottom: none;
}

/* Device Cards */
.device-card {
    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);
}

.device-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.device-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cool-slate);
}

.age-range {
    background-color: var(--pale-blue-light);
    color: var(--cool-slate);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Device Pros/Cons */
.device-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.device-pros, .device-cons {
    background-color: var(--light-gray);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
}

.device-pros h4, .device-cons h4 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.device-pros h4 i {
    margin-right: var(--space-sm);
    color: var(--it-gold);
}

.device-cons h4 i {
    margin-right: var(--space-sm);
    color: var(--warm-red);
}

.device-pros ul, .device-cons ul {
    margin: 0;
    padding-left: var(--space-xl);
}

.device-pros li, .device-cons li {
    margin-bottom: var(--space-xs);
}

.device-description {
    margin-bottom: var(--space-md);
}

.price-range {
    font-weight: 600;
    color: var(--cool-slate);
    margin-top: var(--space-md);
}

/* Decision Tree */
.decision-tree {
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

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

.decision-question h4 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--cool-slate);
}

.decision-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.decision-option {
    background-color: var(--pale-blue-light);
    border-radius: var(--radius-full);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Needs Assessment */
.needs-assessment {
    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);
}

.needs-checklist {
    margin: var(--space-md) 0;
}

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

.needs-item i {
    margin-right: var(--space-sm);
    color: var(--pale-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* 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;
    }
    
    .device-pros-cons {
        grid-template-columns: 1fr;
    }
}