/* ===================================
   Article Page Styles
   =================================== */

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--light-gray);
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb li:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Article Page */
.article-page {
    padding: 30px 0;
}

/* Article Main */
.article-main {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

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

.article-header .category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--dark);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

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

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
}

.share-buttons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.share-buttons a:hover {
    transform: translateY(-3px);
}

.share-buttons .facebook {
    background: #3b5998;
}

.share-buttons .twitter {
    background: #1da1f2;
}

.share-buttons .whatsapp {
    background: #25d366;
}

.share-buttons .telegram {
    background: #0088cc;
}

.share-buttons .copy-link {
    background: var(--gray);
}

/* Article Image */
.article-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

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

.article-image figcaption {
    background: var(--light-bg);
    padding: 12px 15px;
    font-size: 14px;
    color: var(--gray);
    text-align: center;
}

/* Article Content */
.article-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--dark);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content .lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    border-right: 4px solid var(--primary-color);
    padding-right: 20px;
    margin-bottom: 25px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.article-content blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 25px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--secondary-color);
}

.article-content blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    font-style: normal;
    color: var(--gray);
}

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

.article-content li {
    margin-bottom: 10px;
    position: relative;
    list-style: disc;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tags span {
    font-weight: 600;
    color: var(--gray);
}

.article-tags a {
    background: var(--light-bg);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray);
    transition: var(--transition);
}

.article-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.author-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--gray);
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-item h4 {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.related-item span {
    display: block;
    padding: 0 15px 15px;
    font-size: 12px;
    color: var(--light-gray);
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
}

.comments-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-section h3 i {
    color: var(--primary-color);
}

/* Comment Form */
.comment-form {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    margin-bottom: 15px;
    transition: var(--transition);
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-form input {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.comment-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form button {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form button:hover {
    background: var(--primary-dark);
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.comment img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header h5 {
    font-size: 16px;
    font-weight: 600;
}

.comment-header span {
    font-size: 13px;
    color: var(--light-gray);
}

.comment-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 10px;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reply-btn:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .article-header h1 {
        font-size: 26px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content .lead {
        font-size: 18px;
    }
    
    .article-content h2 {
        font-size: 20px;
    }
    
    .article-content blockquote {
        font-size: 17px;
        padding: 20px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box img {
        margin: 0 auto;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment img {
        width: 50px;
        height: 50px;
    }
}
