/* Guide Pages Styles */

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 60px 0 40px;
    color: white;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.article-category {
    background: #f79009;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.article-read-time {
    color: #ccc;
}

.article-date {
    color: #ccc;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f79009;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    display: block;
}

.author-title {
    font-size: 14px;
    opacity: 0.7;
}

/* Article Content */
.article-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #f79009;
}

.table-of-contents h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #f79009;
}

/* Content Sections */
.main-content section {
    margin-bottom: 50px;
}

.main-content h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f79009;
}

.main-content h3 {
    font-size: 1.5rem;
    color: #2d2d2d;
    margin: 30px 0 15px;
}

.main-content h4 {
    font-size: 1.2rem;
    color: #2d2d2d;
    margin: 20px 0 10px;
}

.main-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

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

.main-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #f79009 0%, #ff6b35 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.highlight-box h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.highlight-box ul {
    margin: 0;
    padding-left: 20px;
}

.highlight-box li {
    color: white;
    margin-bottom: 8px;
}

/* Info Boxes */
.info-box {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.info-box h4 {
    color: #1976d2;
    margin-bottom: 10px;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    color: #1976d2;
}

/* Warning Boxes */
.warning-box {
    background: #fff3e0;
    border: 1px solid #ff9800;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.warning-box h4 {
    color: #f57c00;
    margin-bottom: 10px;
}

.warning-box p {
    color: #f57c00;
    margin: 0;
}

/* Grid Layouts */
.exchanges-comparison,
.hardware-wallets,
.mining-pools,
.protocols-grid,
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.exchange-card,
.hardware-wallet,
.pool-card,
.protocol-card,
.software-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exchange-card:hover,
.hardware-wallet:hover,
.pool-card:hover,
.protocol-card:hover,
.software-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.exchange-card h3,
.hardware-wallet h4,
.pool-card h4,
.protocol-card h4,
.software-card h4 {
    margin-bottom: 10px;
    color: #1a1a1a;
}

.exchange-rating,
.manufacturer-rating,
.protocol-rating,
.software-rating {
    color: #f79009;
    font-weight: 600;
    margin-bottom: 10px;
}

.pool-hashrate {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f79009;
    margin-bottom: 10px;
}

/* Step-by-step processes */
.mining-steps,
.lightning-process,
.wbtc-process,
.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.step-item,
.lightning-step,
.process-step,
.setup-step {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #f79009;
}

.step-item h4,
.lightning-step h4,
.process-step h4,
.setup-step h4 {
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f79009;
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #f79009;
}

.related-guides {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-guide h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-guide h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-guide h4 a:hover {
    color: #f79009;
}

.related-guide p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Checklists */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.checklist input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #f79009;
}

/* Stats and Data */
.market-data,
.mining-stats,
.defi-stats,
.tax-deadlines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.data-item,
.stat-item,
.deadline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.data-label,
.stat-label,
.deadline-label {
    font-weight: 600;
    color: #666;
}

.data-value,
.stat-value,
.deadline-value {
    font-weight: 700;
    color: #f79009;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    background: #f79009;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #e67e00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .exchanges-comparison,
    .hardware-wallets,
    .mining-pools,
    .protocols-grid,
    .software-grid {
        grid-template-columns: 1fr;
    }
    
    .mining-steps,
    .lightning-process,
    .wbtc-process,
    .setup-steps {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 40px 0 30px;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}
