/* Blog and Content Page Styles */

/* Base content page wrapper */
.content-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* Hero section */
.content-hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.content-hero h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Hero stat/highlight box */
.content-hero-stat {
    display: inline-block;
    background: linear-gradient(135deg, #f5a623 0%, #e8965a 100%);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.content-hero-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.content-hero-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.content-hero-stat .stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

.content-hero-stat .stat-note {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Content sections */
.content-body section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
}

.content-body h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Content grids */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Content cards */
.content-card {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e1e1e1;
}

.content-card h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.content-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-card li {
    padding: 0.5rem 0;
    color: #64748b;
}

/* Highlighted card (PikaSim branding) */
.content-card-highlight {
    border-color: #f5a623;
    background: linear-gradient(135deg, #fff8ed 0%, #fff4e6 100%);
}

/* Explanation boxes */
.content-explanation {
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff8ed 0%, #fff4e6 100%);
    border-radius: 8px;
    border-left: 4px solid #f5a623;
}

.content-explanation p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* Info boxes */
.content-info {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.content-info p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* Feature example box */
.feature-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e1e1e1;
}

.feature-example .amount {
    color: #1e293b;
    font-weight: 500;
}

.feature-example .price {
    font-size: 1.3rem;
    font-weight: 700;
}

.content-card-highlight .feature-example {
    border-color: #f5a623;
}

.content-card-highlight .price {
    color: #d4824a;
}

/* Tags and badges */
.content-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f5a623 0%, #e8965a 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
}

.content-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff8ed 0%, #fff4e6 100%);
    color: #d4824a;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #f5a623;
}

/* Chart note / footnote */
.content-note {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* FAQ section */
.content-faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.content-faq-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.content-faq-item h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.content-faq-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Bottom line / summary section */
.content-summary {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.content-summary .lead {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.content-summary .emphasis {
    font-size: 1.3rem;
    font-weight: 600;
    color: #d4824a;
    margin-bottom: 1.5rem;
}

.content-summary p:last-child {
    color: #555;
    line-height: 1.7;
}

/* Inline links */
.content-body a {
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px dashed #f5a623;
}

.content-body a:hover {
    color: #f5a623;
}

/* Blog Index Page Styles */
.blog-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.blog-hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.blog-hero h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #64748b;
}

.blog-content {
    padding: 0 1rem;
}

.blog-category {
    margin-bottom: 3rem;
}

.blog-category h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f5a623;
    display: inline-block;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #f5a623;
}

.blog-card h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.blog-card-tag {
    display: inline-block;
    background: linear-gradient(135deg, #fff8ed 0%, #fff4e6 100%);
    color: #d4824a;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .content-hero h1,
    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .content-subtitle,
    .blog-hero p {
        font-size: 1.1rem;
    }

    .content-hero-stat {
        padding: 1rem 2rem;
    }

    .content-hero-stat .stat-value {
        font-size: 1.8rem;
    }

    .content-body section {
        padding: 1.5rem;
    }

    .content-body h2 {
        font-size: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-faq {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-category h2 {
        font-size: 1.3rem;
    }
}
