/* ===== ARTICLE HERO ===== */
.article-hero {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%232DD4BF" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #2DD4BF;
}

.article-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.article-category-badge {
    display: inline-block;
    background: #2DD4BF;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 25px;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.article-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.article-hero-meta i {
    color: #2DD4BF;
}

/* ===== AUTHOR BOX (Hero) ===== */
.article-author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.article-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #2DD4BF;
    overflow: hidden;
}

.article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.article-author-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.article-author-name a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-author-name a:hover {
    color: #2DD4BF;
}

.editor-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #2DD4BF 0%, #14b8a6 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editor-badge i {
    font-size: 0.7rem;
}

.article-author-specialty {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-author-link {
    color: #2DD4BF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.article-author-link:hover {
    gap: 10px;
}

/* ===== ARTICLE CONTENT ===== */
.article-main {
    padding: 60px 0;
    background: #f8fafc;
}

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

.article-content-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.article-featured-image {
    margin: -50px -50px 40px -50px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

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

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #374151;
}

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2DD4BF;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 30px 0 15px;
}

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

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

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

.article-body a {
    color: #2DD4BF;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.article-body a:hover {
    border-bottom-color: #2DD4BF;
}

.article-body blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border-left: 4px solid #2DD4BF;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: #374151;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 25px 0;
}

/* ===== TAGS ===== */
.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.article-tags-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

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

.article-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: #2DD4BF;
    color: #fff;
}

/* ===== SHARE ===== */
.article-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.article-share-title {
    font-weight: 600;
    color: #374151;
}

.article-share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* ===== AUTHOR CARD (Bottom) ===== */
.article-author-card {
    margin-top: 50px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-card-avatar {
    flex-shrink: 0;
}

.author-card-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #2DD4BF;
    object-fit: cover;
}

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

.author-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.author-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.author-card-name a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-card-name a:hover {
    color: #2DD4BF;
}

.author-card-specialty {
    color: #2DD4BF;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.author-card-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2DD4BF;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.author-card-link:hover {
    background: #14b8a6;
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.article-navigation {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-post {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-post-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-post-label i {
    color: #2DD4BF;
}

.nav-post-title {
    font-weight: 600;
    color: #1f2937;
}

.nav-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-post-title a:hover {
    color: #2DD4BF;
}

.nav-post.next {
    text-align: right;
}

.nav-post.next .nav-post-label {
    justify-content: flex-end;
}

/* ===== RELATED POSTS ===== */
.related-posts {
    margin-top: 60px;
}

.related-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    text-align: center;
}

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

.related-post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #2DD4BF;
}

.related-post-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .article-hero {
        padding: 80px 0 40px;
    }
    
    .article-hero h1 {
        font-size: 1.8rem;
    }
    
    .article-hero-meta {
        gap: 15px;
    }
    
    .article-author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .article-author-name {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .article-content-wrapper {
        padding: 30px 20px;
    }
    
    .article-featured-image {
        margin: -30px -20px 30px -20px;
    }
    
    .article-featured-image img {
        height: 250px;
    }
    
    .article-author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .author-card-header {
        justify-content: center;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-post.next {
        text-align: left;
    }
    
    .nav-post.next .nav-post-label {
        justify-content: flex-start;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
