/* =========================================
   1. Global Adjustments for this page
   ========================================= */
body {
    font-family: var(--font-work);
    color: #444;
    background-color: #fff;
}

.blog-details-container {
    padding: 80px 0;
}

/* =========================================
   2. Blog Hero Section
   ========================================= */
.blog-hero-section {
    background: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.blog-cat-badge {
    background: #6C5CE7;
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.blog-title {
    font-family: var(--font-playfair);
    font-size: 3rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.blog-meta .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-meta .author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-meta .meta-item {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta .meta-item i {
    color: #6C5CE7;
}

/* =========================================
   3. Layout
   ========================================= */
.blog-content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

@media (max-width: 992px) {
    .blog-content-layout {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   4. Article Styling
   ========================================= */
.blog-featured-img {
    margin-bottom: 40px;
}

.blog-featured-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.blog-article {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.blog-article p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.blog-article .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
}

.blog-article h3 {
    font-family: var(--font-playfair);
    font-size: 2rem;
    color: #000;
    margin: 40px 0 20px;
}

.blog-article blockquote {
    background: #f5efff;
    border-left: 5px solid #6C5CE7;
    padding: 40px;
    margin: 40px 0;
    font-size: 1.5rem;
    font-family: var(--font-playfair);
    font-style: italic;
    color: #333;
    position: relative;
}

.blog-article blockquote cite {
    display: block;
    font-size: 1rem;
    font-family: var(--font-work);
    font-style: normal;
    margin-top: 15px;
    color: #666;
}

.blog-inline-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.blog-inline-images img {
    border-radius: 15px;
    width: 100%;
}

.blog-share-box {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
}

.share-title {
    font-weight: 700;
    color: #000;
}

.blog-share-box .social-links {
    display: flex;
    gap: 15px;
}

.blog-share-box .social-links a {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.blog-share-box .social-links a:hover {
    background: #6C5CE7;
    color: #fff;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.post-navigation div span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.post-navigation div a {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    transition: 0.3s;
}

.post-navigation div a:hover {
    color: #6C5CE7;
}

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

/* =========================================
   5. Author Box
   ========================================= */
.blog-author-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.blog-author-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 10px;
    font-weight: 700;
}

.author-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.author-social a {
    color: #666;
    font-size: 18px;
    transition: 0.3s;
}

.author-social a:hover {
    color: #6C5CE7;
}

/* =========================================
   6. Comments
   ========================================= */
.comments-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-family: var(--font-playfair);
}

.comment-list {
    margin-bottom: 60px;
}

.comment-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-header h5 {
    font-weight: 700;
    margin: 0;
}

.comment-header span {
    font-size: 13px;
    color: #888;
}

.reply-btn {
    font-size: 14px;
    font-weight: 600;
    color: #6C5CE7;
    margin-top: 10px;
    display: inline-block;
}

.comment-form-box {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 20px;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #f9f9f9;
}

.comment-form textarea {
    height: 150px;
    margin-bottom: 20px;
}

/* =========================================
   7. Sidebar Widgets
   ========================================= */
.blog-sidebar {
    align-self: flex-start;
    position: sticky;
    top: 30px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #6C5CE7;
    display: inline-block;
}

.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #f9f9f9;
}

.search-form button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6C5CE7;
    font-size: 18px;
}

.categories-widget ul li {
    margin-bottom: 15px;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    transition: 0.3s;
}

.categories-widget ul li a:hover {
    color: #6C5CE7;
    padding-left: 5px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.recent-post-item h5 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-post-item span {
    font-size: 12px;
    color: #888;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.tag-cloud a:hover {
    background: #6C5CE7;
    color: #fff;
}

.sidebar-promo-banner {
    background: linear-gradient(rgba(108, 92, 231, 0.9), rgba(108, 92, 231, 0.9)), url('https://images.unsplash.com/photo-1500835556837-99ac94a94552?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    padding: 40px 30px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
}

.sidebar-promo-banner h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sidebar-promo-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}
