/* Article Detail Page Styles */

/* Breadcrumb */
.breadcrumb-wrapper {
    padding-top: 120px;
    padding-bottom: 32px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-gray);
}

.breadcrumb-link {
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-gold);
}

.breadcrumb-separator {
    color: var(--color-border);
}

.breadcrumb-current {
    color: var(--color-dark);
    font-weight: 500;
}

/* Article Header */
.article-header {
    padding: 60px 0 40px;
    background: var(--color-white);
}

.article-header .article-category {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 32px;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 16px;
}

.publish-date {
    font-size: 14px;
    color: var(--color-gray);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.meta-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--color-gray);
    font-size: 14px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 14px;
    color: var(--color-gray);
    font-weight: 500;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: var(--color-white);
}

.share-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: var(--color-white);
}

.share-btn.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: var(--color-white);
}

.share-btn.copy:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--color-white);
}

/* Featured Image */
.featured-image-wrapper {
    padding: 40px 0;
    background: var(--color-white);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* Content Grid */
.content-section {
    padding: 60px 0 100px;
    background: var(--color-white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

/* Main Content */
.article-content {
    max-width: 800px;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-dark);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 32px;
    list-style-position: outside;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.article-body ul ul,
.article-body ol ul {
    list-style-type: circle;
    margin-top: 8px;
}

.article-body ul ol,
.article-body ol ol {
    list-style-type: lower-alpha;
    margin-top: 8px;
}

.article-body a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.article-body a:hover {
    color: #c9a02c;
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

/* Tags Section */
.tags-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.tags-label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    font-size: 16px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-light);
    color: var(--color-dark);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary-gold);
    color: var(--color-white);
}

/* Share Bottom */
.share-bottom {
    margin-top: 48px;
    padding: 32px;
    background: var(--color-light);
    border-radius: 12px;
    text-align: center;
}

.share-bottom-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.share-buttons-large {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.share-btn-large {
    padding: 12px 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-size: 14px;
}

.share-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.share-btn-large.whatsapp {
    background: #25D366;
    color: var(--color-white);
}

.share-btn-large.facebook {
    background: #1877F2;
    color: var(--color-white);
}

.share-btn-large.twitter {
    background: #1DA1F2;
    color: var(--color-white);
}

.share-btn-large.copy {
    background: var(--primary-gold);
    color: var(--color-white);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.sidebar-widget {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* Author Card */
.author-card-large {
    text-align: center;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    margin: 0 auto 16px;
}

.author-name-large {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.author-credentials {
    font-size: 14px;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.author-bio {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Related Articles Widget */
.related-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-item-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.related-item-link:hover {
    opacity: 0.7;
}

.related-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
}

.related-category {
    font-size: 11px;
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.related-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.related-meta {
    font-size: 12px;
    color: var(--color-gray);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c9a02c 100%);
    text-align: center;
    margin-top: 60px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

/* Copy Success Toast */
.copy-success {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #10B981;
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 32px;
    }

    .article-meta-bar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-sidebar {
        position: static;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 28px;
    }

    .article-body h3 {
        font-size: 22px;
    }

    .share-buttons-large {
        flex-direction: column;
    }

    .share-btn-large {
        width: 100%;
        justify-content: center;
    }

    .cta-title {
        font-size: 32px;
    }
}
