/* Article-specific styles */
.article-main {
    margin-top: 70px;
    padding: 40px 0;
    background: #f8f9fa;
}

.article-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-header {
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
}

.article-image-inline {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

.article-image-section {
    margin: 30px 0;
}

.image-caption {
    margin-top: 10px;
    text-align: center;
}

.caption-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.article-body {
    padding: 40px;
    line-height: 1.8;
}

.article-body h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin: 40px 0 20px 0;
    border-bottom: 3px solid #f39c12;
    padding-bottom: 10px;
}

.article-body h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
}

.article-body h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
}

.article-body p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
    color: #555;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
}

.benefit-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    margin: 0;
    font-size: 1rem;
}

/* Price table */
.price-table {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
}

.price-row:last-child {
    border-bottom: none;
}

.power {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.price {
    font-weight: 700;
    color: #f39c12;
    font-size: 1.1rem;
}

.description {
    color: #666;
}

/* Cost breakdown */
.cost-breakdown {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.cost-breakdown h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.cost-item:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #2c3e50;
}

/* Savings calculator */
.savings-calc, .payback-calc {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.calc-row.highlight {
    font-weight: 700;
    font-size: 1.2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    padding-top: 15px;
}

.payback-calc {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Warning box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.warning-box h3 {
    color: #856404;
    margin-top: 0;
}

.warning-box ul {
    margin-bottom: 0;
}

.warning-box li {
    color: #856404;
}

/* Program cards */
.program-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.program-card h3 {
    margin-top: 0;
    color: white;
}

.program-details {
    margin-top: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 500;
}

.value {
    font-weight: 700;
}

/* Process steps */
.process-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background: #f39c12;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.step-content p {
    margin: 0;
    color: #666;
}

/* Support levels */
.support-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.level-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-top: 4px solid #3498db;
}

.level-card h4 {
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.level-card p {
    margin: 8px 0;
    font-size: 0.95rem;
}

/* Tax relief card */
.tax-relief-card {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.tax-relief-card h3 {
    margin-top: 0;
    color: white;
}

.tax-relief-card ul {
    margin-bottom: 0;
}

/* Regional programs */
.regional-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.region-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
}

.region-card h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.region-card p {
    margin: 5px 0;
    font-size: 0.95rem;
}

/* Strategy example */
.strategy-example {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.funding-breakdown {
    margin-top: 20px;
}

.funding-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.funding-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 10px 0;
    border-top: 2px solid #f39c12;
    margin-top: 10px;
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Timeline */
.timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.timeline-date {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.9rem;
}

.timeline-content h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.timeline-content p {
    margin: 0;
    color: #666;
}

/* Mistakes list */
.mistakes-list {
    margin: 20px 0;
}

.mistake-item {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 10px 10px 0;
}

.mistake-item h4 {
    margin: 0 0 10px 0;
    color: #856404;
}

.mistake-item p {
    margin: 0;
    color: #856404;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0 0 0;
}

.cta-section h3 {
    color: white;
    margin: 0 0 15px 0;
}

.cta-section p {
    margin: 0 0 25px 0;
    opacity: 0.9;
}

/* Logo link */
.logo a {
    text-decoration: none;
    color: inherit;
}

/* Responsive design */
@media (max-width: 768px) {
    .article-header {
        padding: 30px 20px 15px;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-body {
        padding: 30px 20px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .cost-item, .calc-row, .detail-row, .funding-item, .funding-total {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-date {
        align-self: flex-start;
    }

    .step {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cta-section {
        padding: 30px 20px;
    }
}