/* Article Detail Page Styles - EgyDead Theme */

/* Breadcrumb Section */
.breadcrumb-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 20px 0;
    border-bottom: 1px solid rgba(173, 255, 47, 0.1);
}

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

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

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

.breadcrumb .separator {
    color: #666;
    font-size: 12px;
}

.breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

/* Article Layout */
.article-detail {
    background: #1a1a1a;
    padding: 40px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.article-main {
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(173, 255, 47, 0.1);
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
    text-align: center;
}

.article-category {
    background: linear-gradient(45deg, #adff2f, #7dd32f);
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: right;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #999;
    font-size: 14px;
    padding: 20px 0;
    border-top: 1px solid rgba(173, 255, 47, 0.1);
    border-bottom: 1px solid rgba(173, 255, 47, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #adff2f;
    font-size: 16px;
}

/* Banner Areas */
.banner-area {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-top, .banner-middle, .banner-bottom {
    background: linear-gradient(135deg, rgba(173, 255, 47, 0.1) 0%, rgba(173, 255, 47, 0.05) 100%);
    border: 2px dashed rgba(173, 255, 47, 0.3);
}

.banner-sidebar-top, .banner-sidebar-middle, .banner-sidebar-bottom {
    background: linear-gradient(135deg, rgba(173, 255, 47, 0.08) 0%, rgba(173, 255, 47, 0.03) 100%);
    border: 2px dashed rgba(173, 255, 47, 0.2);
    min-height: 250px;
}

.banner-placeholder {
    text-align: center;
    color: #adff2f;
    font-weight: 600;
    opacity: 0.7;
}

.banner-placeholder p {
    margin: 0;
    font-size: 16px;
}

/* Article Image */
.article-image-container {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

/* Article Content */
.article-content {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 40px 0;
}

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

.article-content h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(173, 255, 47, 0.3);
}

.article-content h3 {
    color: #adff2f;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

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

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

.article-content blockquote {
    background: rgba(173, 255, 47, 0.1);
    border-right: 4px solid #adff2f;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
    color: #fff;
}

/* Article Tags */
.article-tags-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(173, 255, 47, 0.1);
}

.article-tags-section h3 {
    color: #adff2f;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.article-tag {
    background: rgba(173, 255, 47, 0.1);
    color: #adff2f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(173, 255, 47, 0.2);
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: rgba(173, 255, 47, 0.2);
    transform: translateY(-2px);
}

/* Social Share */
.social-share {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(173, 255, 47, 0.1);
    text-align: center;
}

.social-share h3 {
    color: #adff2f;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.share-btn.facebook {
    background: #1877f2;
}

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

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

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

.share-btn.copy {
    background: linear-gradient(45deg, #adff2f, #7dd32f);
    color: #000;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(173, 255, 47, 0.1);
}

.widget-title {
    color: #adff2f;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(173, 255, 47, 0.2);
}

/* Related Articles */
.related-article-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(173, 255, 47, 0.1);
}

.related-article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-article-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-article-content {
    flex: 1;
}

.related-article-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-title:hover {
    color: #adff2f;
}

.related-article-meta {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Popular Articles */
.popular-article-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.popular-article-item:hover {
    background: rgba(173, 255, 47, 0.1);
    transform: translateX(5px);
}

.popular-article-number {
    background: linear-gradient(45deg, #adff2f, #7dd32f);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-article-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-article-title:hover {
    color: #adff2f;
}

/* More Articles Section */
.more-articles {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 60px 0;
}

.more-articles .section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.more-articles .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #adff2f, #7dd32f);
    border-radius: 2px;
}

.more-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.more-article-card {
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(173, 255, 47, 0.1);
    text-decoration: none;
    color: inherit;
}

.more-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(173, 255, 47, 0.3);
}

.more-article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.more-article-content {
    padding: 20px;
}

.more-article-category {
    background: rgba(173, 255, 47, 0.2);
    color: #adff2f;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.more-article-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-article-excerpt {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-sidebar {
        order: -1;
    }
    
    .banner-sidebar-top, .banner-sidebar-middle, .banner-sidebar-bottom {
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 25px;
        border-radius: 15px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 200px;
        justify-content: center;
    }
    
    .more-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .article-detail {
        padding: 20px 0;
    }
    
    .article-main {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .banner-area {
        min-height: 100px;
        margin: 20px 0;
    }
}

/* Loading Animation */
.loading-article {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(173, 255, 47, 0.3);
    border-top: 4px solid #adff2f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Copy Link Success Message */
.copy-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(173, 255, 47, 0.9);
    color: #000;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
