/* ==========================================
   ARTICLE PAGE STYLES
   ========================================== */

.article-page {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.article-header {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
}

.article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--light-blue);
}

.article-content {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.article-intro {
    border-left: 5px solid var(--light-blue);
    padding-left: 25px;
    margin-bottom: 40px;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-weight: 500;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 40px 0 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-content h2 i {
    color: var(--light-blue);
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 20px 0 10px;
    font-weight: 600;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* Price Highlight Box */
.price-highlight-box {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 35px;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.3);
}

.price-highlight-box h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.price-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.price-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 10px;
    opacity: 0.95;
}

.price {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Info Boxes */
.info-box {
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-left: 5px solid;
}

.info-box.warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.info-box.success {
    background: #d4edda;
    border-color: #28a745;
}

.info-box i {
    font-size: 2rem;
    margin-top: 5px;
}

.info-box.warning i {
    color: #856404;
}

.info-box.success i {
    color: #155724;
}

.info-box strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Cost Table */
.cost-table {
    overflow-x: auto;
    margin: 30px 0;
}

.cost-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    overflow: hidden;
}

.cost-table thead {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-blue) 100%);
    color: white;
}

.cost-table th {
    padding: 18px;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
}

.cost-table td {
    padding: 18px;
    border-bottom: 1px solid #e9ecef;
    color: var(--text-medium);
}

.cost-table tbody tr:hover {
    background: #f8f9fa;
}

/* Styled Lists */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding-left: 35px;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-medium);
}

.styled-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.3rem;
}

.styled-list strong {
    color: var(--text-dark);
}

/* Parts Pricing Cards */
.parts-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.part-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.part-card:hover {
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.part-card h4 {
    color: var(--primary-blue);
    margin: 0 0 15px 0;
}

.part-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--light-blue);
    margin: 10px 0;
}

.part-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Location Pricing */
.location-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.location-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
}

.location-box h4 {
    color: var(--primary-blue);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tip-card {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: var(--light-blue);
    box-shadow: var(--shadow-md);
}

.tip-card i {
    font-size: 2.5rem;
    color: var(--light-blue);
    margin-bottom: 15px;
}

.tip-card h4 {
    color: var(--primary-blue);
    margin: 0 0 10px 0;
}

.tip-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Warning Box */
.warning-box {
    background: #f8d7da;
    border: 3px solid #dc3545;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.warning-box h4 {
    color: #721c24;
    margin: 0 0 15px 0;
}

.warning-box ul {
    list-style: none;
    padding: 0;
}

.warning-box li {
    padding: 10px 0;
    color: #721c24;
    font-weight: 500;
}

/* CTA Box in Article */
.cta-box-article {
    background: linear-gradient(135deg, var(--success-green) 0%, #229954 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.3);
}

.cta-box-article h3 {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.cta-box-article p {
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    opacity: 0.95;
}

.btn-cta-article {
    display: inline-block;
    background: white;
    color: var(--success-green);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta-article:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Scenario Boxes */
.scenario-box {
    background: #f8f9fa;
    border-left: 5px solid var(--light-blue);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.scenario-box h4 {
    color: var(--primary-blue);
    margin: 0 0 15px 0;
}

.scenario-box p {
    margin: 8px 0;
    font-size: 1rem;
}

/* Article Footer Navigation */
.article-footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
}

.btn-back,
.btn-find {
    flex: 1;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-back {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-back:hover {
    background: var(--border-color);
}

.btn-find {
    background: var(--light-blue);
    color: white;
}

.btn-find:hover {
    background: var(--secondary-blue);
    transform: translateX(3px);
}

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

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

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

    .article-content h2 {
        font-size: 1.6rem;
    }

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

    .parts-pricing {
        grid-template-columns: 1fr;
    }

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

    .article-footer-nav {
        flex-direction: column;
    }

    .cost-table {
        font-size: 0.9rem;
    }

    .cost-table th,
    .cost-table td {
        padding: 12px 8px;
    }
}
