﻿:root {
    --primary-color: #35B9E0;
    --primary-light: #0e1f2b;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --surface-primary: #1a1a1a;
    --surface-secondary: #0d0d0d;
    --border-color: #333333;
    --quote-bg: #11171f;
}

.main-body {
    background-color: var(--surface-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px 0;
}

.blog-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    background-color: var(--surface-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.navigation-link {
    display: inline-flex;
    align-Models: center;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

    .navigation-link:hover {
        color: var(--primary-color);
    }

    .navigation-link svg {
        margin-right: 0.5rem;
    }

.article-header {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-Models: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.category-badge {
    display: inline-block;
    color: #35B9E0;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid #35B9E0;  
}

.publication-date {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-size: 0.9rem;
}

    .publication-date svg {
        margin-right: 0.35rem;
    }

.content-wrapper {
    padding: 2rem;
}

    .content-wrapper ul {
        padding-left: 40px;
    }

    .content-wrapper ol {
        padding-left: 40px;
    }
    .content-wrapper p {
        padding-left: 0 !important
    }
    .content-wrapper hr {
        margin: 10px auto;
    }

    .article-title {
        font-size: 1.3rem;
        line-height: 1.3;
        color: var(--text-dark);
        font-weight: 500;
        font-family: 'poppins'
    }

.article-summary {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    background-color: var(--primary-light);
    padding: 1rem;
    border-radius: 6px;
}

.writer-profile {
    display: flex;
    align-Models: center;
    margin-bottom: 2rem;
}

.writer-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.writer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.writer-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-body {
    margin-top:10px;
    color: var(--text-dark);
    line-height: 1.8;
    font-family: 'Poppins';
}

    /* .article-body p { */
    /*     margin-bottom: 1.5rem; */
    /* } */

    .article-body h2 {
        font-size: 1.5rem;
        /* margin-top: 2.5rem; */
        /* margin-bottom: 1rem; */
        color: var(--text-dark);
    }

    .article-body h3 {
        font-size: 1.25rem;
        /* margin-top: 2rem; */
        /* margin-bottom: 0.75rem; */
        color: var(--text-dark);
    }

    /* .article-body ul, .article-body ol { */
    /*     margin-bottom: 1.5rem; */
    /*     margin-left: 1.5rem; */
    /* } */

    /* .article-body li { */
    /*     margin-bottom: 0.5rem; */
    /* } */

    .article-body blockquote {
        background-color: var(--quote-bg);
        border-left: 4px solid var(--primary-color);
        padding: 1.5rem;
        margin: 1.5rem 0;
        font-style: italic;
    }

    .article-body img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 1.5rem 0;
    }

.content-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 3rem 0;
}

.sharing-section {
    margin-top: 2rem;
}

.sharing-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-Models: center;
    justify-content: center;
    background-color: #2a2a2a;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

    .social-link:hover {
        background-color: var(--primary-color);
        color: #000000;
        border-color: var(--primary-color);
    }

.suggestions-section {
    margin-top: 3rem;
}

.suggestions-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

    .suggestions-header::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 40px;
        height: 3px;
        background-color: var(--primary-color);
    }

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom:20px;
}

.suggestion-card {
    display: flex;
    align-Models: center;
    text-decoration: none;
    background-color: #262626;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

    .suggestion-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(53, 185, 224, 0.2);
        border-color: var(--primary-color);
    }

.suggestion-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 1rem;
}

.suggestion-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.feedback-section {
    margin-top: 1rem;
}

.feedback-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

    .feedback-header::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 40px;
        height: 3px;
        background-color: var(--primary-color);
    }

.feedback-form {
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #262626;
    color: var(--text-dark);
}

    .input-field:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(53, 185, 224, 0.2);
    }

textarea.input-field {
    min-height: 120px;
    resize: vertical;
}

.action-button {
    background-color: var(--primary-color);
    color: var(--surface-primary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .action-button:hover {
        background-color: #2a9cc4;
        box-shadow: 0 4px 12px rgba(53, 185, 224, 0.3);
    }

@media screen and (max-width: 768px) {
    .hero-image {
        height: 300px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-meta-bar {
        flex-direction: column;
        align-Models: flex-start;
        gap: 0.75rem;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
    }

    .category-badge {
        display: inline-block;
        background-color: #4c4c4c;
        color: #fff;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        width: 100%;
        max-width: 30%;
    }
}

@media screen and (max-width: 480px) {
    .blog-container {
        width: 95%;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .hero-image {
        height: 220px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .writer-profile {
        flex-direction: column;
        align-Models: flex-start;
    }

    .writer-image {
        margin-bottom: 0.5rem;
    }
}

/*.blog-comments-section {
    background-color: #1a1a1a;
    padding: 40px 0 0 0;
}*/

.blog-comments-wrapper {
    max-width: 100%;
/*    padding: 0 20px;*/
}

.blog-comments-header {
     display:flex;
     gap:10px;
     margin-bottom:5px;
     margin-top:15px;
     font-family:'poppins'
}

.blog-comments-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.blog-comments-count {
    font-size: 0.95rem;
    color: #999;
}

/* Individual Comment */
.blog-comment {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #2a2a2a;
}

    .blog-comment.hidden {
        display: none;
    }

    .blog-comment:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.blog-comment-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.blog-comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}
.blog-comment-avatar img{
    height:45px;
    width:45px;
    border-radius:50%;
}
.blog-comment-info {
    flex: 1;
    min-width: 0;
}

.blog-comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.blog-comment-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.blog-comment-badge {
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    flex-wrap: wrap;
}

.blog-comment-date {
    color: #999;
}

.blog-comment-role {
    color: #3b82f6;
    font-weight: 500;
}

.blog-comment-content {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.blog-comment-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-comment-like,
.blog-comment-dislike,
.blog-comment-reply {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: 5px 0;
    transition: color 0.2s ease;
}

  

    .blog-comment-reply:hover {
        color: #ffffff;
    }

/* Reply Comments */
.blog-comment-replies {
    margin-top: 20px;
    margin-left: 35px;
    padding-left: 20px;
    border-left: 2px solid #333;
    display: none;
}

    .blog-comment-replies.show {
        display: block;
    }

.blog-comment-reply-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

    .blog-comment-reply-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .blog-comment-reply-item .blog-comment-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

/* Load More Button */
.blog-comments-load-more {
    text-align: center;
    margin-top: 40px;
}

.blog-load-more-btn {
    background: transparent;
    color: #35b9e0;
    border: 1px solid #333;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .blog-load-more-btn:hover {
        border-color: #35b9e0;
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-comments-wrapper {
        padding: 0 15px;
    }

    .blog-comments-section {
        padding: 30px 0 40px 0;
    }

    .blog-comments-title {
        font-size: 1.5rem;
    }

    .blog-comment-header {
        gap: 10px;
    }

    .blog-comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .blog-comment-replies {
        margin-left: 25px;
        padding-left: 15px;
    }

    .blog-comment-meta {
        gap: 10px;
    }

    .blog-comment-actions {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .blog-comments-wrapper {
        padding: 0 10px;
    }

    .blog-comment-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .blog-comment-replies {
        margin-left: 15px;
        padding-left: 10px;
    }

    .blog-comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

