/* Blog Details Page Specific Styles */

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: var(--gray-light);
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--gray-dark);
    font-weight: 500;
}

.breadcrumb i {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #145f33 0%, #084824 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-meta .category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content */
.article-content {
    padding: 4rem 0;
    background-color: var(--white);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Main Article */
.main-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Section */
.video-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 2rem 0;
    border-radius: 12px;
}

.video-section .section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.video-info {
    text-align: center;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.75rem;
}

.video-info p {
    color: var(--neutral-medium);
    line-height: 1.6;
}

/* Article Body */
.article-body {
    padding: 2rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin: 2.5rem 0 1rem;
    position: relative;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #145f33, #084824);
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin: 2rem 0 1rem;
}

.article-body p {
    font-size: 1.05rem;
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-right: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: var(--neutral-medium);
    line-height: 1.6;
}

.article-body strong {
    color: var(--neutral-dark);
    font-weight: 600;
}

.article-body blockquote {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-right: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    right: 1rem;
    font-family: serif;
    opacity: 0.3;
}

.article-body blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.article-body blockquote cite {
    color: var(--primary-color);
    font-weight: 500;
    font-style: normal;
}

/* Article Footer */
.article-footer {
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    background: #f8fafc;
}

.article-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.social-sharing h4 {
    font-size: 1.1rem;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn.telegram {
    background: #0088cc;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



/* Comments Section */
.comments-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.comments-section .section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.comment-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 3rem;
}

.comment-form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
}

.comment-form button {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1.5rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-dark);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.comment-content p {
    color: var(--neutral-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.like-btn,
.reply-btn {
    background: none;
    border: none;
    color: var(--gray-dark);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.like-btn:hover,
.reply-btn:hover {
    color: var(--primary-color);
}

.like-btn.liked {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-meta {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 3rem 0;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-content {
        padding: 2rem 0;
    }
    
    .video-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .article-body {
        padding: 1.5rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-footer {
        padding: 1.5rem;
    }
    
    .article-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .comment {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .article-body {
        padding: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.25rem;
    }
    
    .article-body h3 {
        font-size: 1.1rem;
    }
    
    .article-body p {
        font-size: 1rem;
    }
    
    .video-section {
        padding: 1.5rem 1rem;
    }
    
    .video-section .section-title {
        font-size: 1.5rem;
    }
    

    
    .comment-form {
        padding: 1.5rem;
    }
    
    .comment {
        padding: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
