/* =============================================
   SILVER SUPPLY TRACKER - BLOG STYLES
   Elite Web Design Framework Applied
   Golden Ratio spacing: 1.618 multiplier
   ============================================= */

/* Blog Header */
.blog-header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    margin-bottom: 2.618rem;
}

.blog-header h1 {
    font-size: 2.618rem;
    color: #c0c0c0;
    margin-bottom: 0.618rem;
    letter-spacing: -0.02em;
}

.blog-header p {
    font-size: 1.1rem;
    color: #888;
    max-width: 500px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.618rem;
    margin-bottom: 3rem;
}

/* Blog Card */
.blog-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-content {
    padding: 1.618rem;
}

.tag {
    display: inline-block;
    background: rgba(192, 192, 192, 0.1);
    color: #c0c0c0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.blog-card h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card h2 a {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover {
    color: #c0c0c0;
}

.blog-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.618;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
}

.date {
    color: #666;
    font-size: 0.8rem;
}

.read-more {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #ffffff;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 16px;
    padding: 2.618rem;
    text-align: center;
    margin: 2rem 0 3rem;
}

.cta-banner h2 {
    font-size: 1.8rem;
    color: #e8e8e8;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: #888;
    margin-bottom: 1.5rem;
}

/* Blog Post (Article) */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-header {
    margin-bottom: 2.618rem;
    padding-bottom: 1.618rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.15);
}

.post-header h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #e8e8e8;
    margin-bottom: 0.75rem;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
}

.post-content h2 {
    font-size: 1.5rem;
    color: #c0c0c0;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.post-content p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.post-content ul {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.post-content ul li {
    margin-bottom: 0.5rem;
}

/* CTA Box inside articles */
.cta-box {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    border: 1px solid rgba(192, 192, 192, 0.25);
    border-radius: 12px;
    padding: 1.618rem 2rem;
    margin: 2rem 0;
    text-align: center;
}

.cta-box h3 {
    color: #e8e8e8;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: #888;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 12px;
    padding: 1.618rem;
    margin-top: 2rem;
}

.faq-section h4 {
    color: #c0c0c0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1.2rem;
}

.faq-section h4:first-child {
    margin-top: 0;
}

.faq-section p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.618;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.618rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    color: #0a0a0a;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 192, 192, 0.2);
}

/* Header Nav */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

header h1 a {
    text-decoration: none;
    color: #c0c0c0;
    font-size: 1.3rem;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #c0c0c0;
}

/* Footer */
footer {
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    margin-top: 3rem;
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #c0c0c0;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .post-header h1 {
        font-size: 1.6rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
