/* Desktop - Article/Insight Detail Page */

.article-detail-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-detail-header {
    margin-bottom: 30px;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.article-category {
    background-color: rgb(164, 11, 94);
    color: white;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 15px;
}

.article-detail-date {
    color: #666;
    font-size: 15px;
}

.article-detail-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.article-detail-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    font-weight: 500;
}

.article-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-full-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.content-paragraph {
    margin-bottom: 20px;
}

.article-detail-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 35px 0 15px;
    color: #333;
}

.article-detail-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 12px;
    color: #333;
}

.article-detail-content a {
    color: rgb(164, 11, 94);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-detail-content a:hover {
    text-decoration: underline;
}

.article-detail-content ul,
.article-detail-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-detail-content li {
    margin-bottom: 10px;
}

.article-detail-content code.inline-code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 90%;
}

.article-detail-content .code-block {
    position: relative;
    margin: 25px 0;
}

.article-detail-content pre {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0;
}

.article-detail-content pre code {
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    color: #333;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: #fff;
    border-color: #ccc;
}

.copy-success {
    background-color: rgb(164, 11, 94);
    color: white;
    border-color: rgb(164, 11, 94);
}

.article-detail-footer {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.article-author-box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.article-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.article-author-info {
    flex: 1;
}

.article-author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.article-author-role {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.article-author-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.article-back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(164, 11, 94);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.article-back-button:hover {
    background-color: rgba(164, 11, 94, 0.8);
}

.article-detail-not-found {
    text-align: center;
    padding: 50px 20px;
}

.article-detail-not-found h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.article-detail-not-found p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Article tags styling */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
}

.article-tag {
    background-color: #f0f0f0;
    padding: 5px 12px;
    border-radius: 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-tag:hover {
    background-color: #e0e0e0;
}
