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

.container-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Article Content Layout */
.article-content {
    margin-top: 40px;
}

.article-content > .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-body {
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

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

.breadcrumb a:hover {
    color: #FF6B35;
}

.breadcrumb i {
    font-size: 10px;
    color: #999;
}

.breadcrumb span {
    color: #1a252f;
    font-weight: 500;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.article-main-title {
    font-size: 40px;
    font-weight: 900;
    color: #1a252f;
    line-height: 1.4;
    margin-bottom: 30px;
}

.article-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e8edf2;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name-main {
    font-size: 16px;
    font-weight: 700;
    color: #1a252f;
}

.author-role {
    font-size: 13px;
    color: #999;
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-date-main,
.read-time-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date-main i,
.read-time-main i {
    color: #999;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Body */
.article-body {
    font-size: 17px;
    line-height: 2;
    color: #333;
}

.article-lead {
    font-size: 20px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-left: 5px solid #FF6B35;
    border-radius: 8px;
}

.article-lead p {
    margin-bottom: 15px;
}

.article-lead p:last-child {
    margin-bottom: 0;
}

.article-section-title {
    font-size: 28px;
    font-weight: 900;
    color: #1a252f;
    margin: 60px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e8edf2;
    position: relative;
}

.article-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35 0%, #FF8C42 100%);
}

.article-body p {
    margin-bottom: 30px;
}

.article-body strong {
    font-weight: 700;
    color: #1a252f;
}

/* Quote */
.article-quote {
    position: relative;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 40px 50px;
    margin: 50px 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.2);
}

.article-quote p {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

/* Highlight Box */
.article-highlight, .highlight-box {
    background: #f0f8ff;
    border: 2px solid #2DD4A8;
    border-radius: 12px;
    padding: 35px;
    margin: 40px 0;
}

.article-highlight h3, .highlight-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-highlight h3 i, .highlight-box h4 i {
    color: #2DD4A8;
    font-size: 22px;
}

.highlight-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.article-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-highlight li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(45, 212, 168, 0.2);
    font-size: 16px;
    line-height: 1.7;
}

.article-highlight li:last-child {
    border-bottom: none;
}

/* Warning Box */
.warning-box {
    background: #fff5f0;
    border: 2px solid #FF6B35;
    border-radius: 12px;
    padding: 35px;
    margin: 40px 0;
}

.warning-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box h4 i {
    color: #FF6B35;
    font-size: 22px;
}

.warning-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* Success Box */
.success-box {
    background: #f0fdf4;
    border: 2px solid #2DD4A8;
    border-radius: 12px;
    padding: 35px;
    margin: 40px 0;
}

.success-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-box h4 i {
    color: #2DD4A8;
    font-size: 22px;
}

.success-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* Image Wrapper */
.article-image-wrapper {
    margin: 50px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 15px 20px;
    background: #f8f9fa;
    font-size: 14px;
    color: #666;
    text-align: center;
    font-style: italic;
    margin: 0;
}

/* Steps */
.article-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.step-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: white;
    border: 2px solid #e8edf2;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: #FF6B35;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8edf2 100%);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0;
}

.article-cta h3 {
    font-size: 28px;
    font-weight: 900;
    color: #1a252f;
    margin-bottom: 15px;
}

.article-cta p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.cta-buttons-article {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-large {
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
}

/* Author Card */
.author-card {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: white;
    border: 2px solid #e8edf2;
    border-radius: 12px;
    margin: 60px 0;
}

.author-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #e8edf2;
}

.author-card-content {
    flex: 1;
}

.author-card-name {
    font-size: 22px;
    font-weight: 900;
    color: #1a252f;
    margin-bottom: 5px;
}

.author-card-title {
    font-size: 14px;
    color: #FF6B35;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.author-card-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Back to List */
.back-to-list {
    text-align: center;
    margin-top: 50px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: white;
    color: #1a252f;
    text-decoration: none;
    border: 2px solid #e8edf2;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #1a252f;
    color: white;
    border-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 37, 47, 0.2);
}

/* Article Footer - Tags & Share */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin: 40px 0;
    border-top: 2px solid #e8edf2;
    border-bottom: 2px solid #e8edf2;
    gap: 30px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.article-tags .tag {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #555;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-tags .tag:hover {
    background: #FF6B35;
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-share span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.article-share .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.article-share .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-share .share-btn i {
    font-size: 18px;
}

/* X (Twitter) specific styling */
.article-share .share-btn-x:hover {
    background: #000000;
    color: white;
}

/* Facebook specific styling */
.article-share .share-btn:has(.fa-facebook):hover {
    background: #1877f2;
    color: white;
}

/* LINE specific styling */
.article-share .share-btn:has(.fa-line):hover {
    background: #00B900;
    color: white;
}

/* Hide Sidebar */
.article-sidebar {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container-article {
        padding: 30px 15px 60px;
    }

    .article-main-title {
        font-size: 28px;
    }

    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .article-featured-image {
        height: 300px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-lead {
        font-size: 18px;
        padding: 25px 20px;
    }

    .article-section-title {
        font-size: 24px;
        margin: 50px 0 20px;
    }

    .article-quote {
        padding: 30px 25px;
    }

    .article-quote p {
        font-size: 18px;
    }

    .article-highlight {
        padding: 25px 20px;
    }

    .step-item {
        flex-direction: column;
    }

    .article-cta {
        padding: 35px 25px;
    }

    .article-cta h3 {
        font-size: 24px;
    }

    .cta-buttons-article {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    /* Article Footer - Mobile Layout */
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .article-tags {
        width: 100%;
    }

    .article-share {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .article-main-title {
        font-size: 24px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .article-featured-image {
        height: 250px;
    }

    .article-lead {
        font-size: 16px;
        padding: 20px 15px;
    }

    .article-section-title {
        font-size: 20px;
    }

    .article-quote {
        padding: 25px 20px;
    }

    .article-quote p {
        font-size: 16px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-content h4 {
        font-size: 18px;
    }

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

    .article-cta h3 {
        font-size: 22px;
    }

    .author-card-image {
        width: 100px;
        height: 100px;
    }
}
