/*
Theme Name: Prashant Redesign
Theme URI: https://prashantsingh.dev
Author: Prashant Singh
Author URI: mailto:prashant12it@gmail.com
Description: Modern portfolio website redesign with Elementor integration for Prashant Singh - Senior Laravel & AI Automation Engineer
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prashant-redesign
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Elementor Tested Up to: 3.15.0
Elementor Requires at least: 3.0.0
*/

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #139bfd;
    --text-color: #333333;
    --light-bg: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

/* ========================================
   47. Blog Single Post Styling
   ======================================== */

.blog-single-wrapper {
    padding: 40px 0;
}

.blog-post {
    background: transparent;
}

/* -- Blog Post Header/Title -- */
.blog-entry-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.blog-entry-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff;
    word-break: break-word;
}

@media (max-width: 768px) {
    .blog-entry-title {
        font-size: 32px;
    }
}

/* -- Blog Post Meta Info -- */
.blog-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.blog-entry-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-entry-meta i {
    color: #139bfd;
}

.blog-entry-meta a {
    color: #139bfd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-entry-meta a:hover {
    color: #139bfd;
}

/* -- Blog Post Thumbnail -- */
.blog-post-thumbnail {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease;
}

.blog-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.blog-post-thumbnail:hover img {
    transform: scale(1.03);
}

/* -- Blog Post Content -- */
.blog-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 40px 0;
}

.blog-entry-content p {
    margin-bottom: 20px;
}

.blog-entry-content h2,
.blog-entry-content h3,
.blog-entry-content h4,
.blog-entry-content h5,
.blog-entry-content h6 {
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.4;
}

.blog-entry-content h2 {
    font-size: 32px;
}

.blog-entry-content h3 {
    font-size: 28px;
}

.blog-entry-content h4 {
    font-size: 24px;
}

.blog-entry-content h5 {
    font-size: 20px;
}

.blog-entry-content h6 {
    font-size: 18px;
}

.blog-entry-content ul,
.blog-entry-content ol {
    margin: 20px 0 20px 30px;
}

.blog-entry-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-entry-content a {
    color: #139bfd;
    text-decoration: none;
    /* border-bottom: 2px solid #139bfd; */
    transition: all 0.3s ease;
}

.blog-entry-content a:hover {
    color: #139bfd;
    border-bottom-color: #139bfd;
}

.blog-entry-content blockquote {
    border-left: 4px solid #139bfd;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(13, 69, 107, 0.75);
    padding: 20px;
    border-radius: 4px;
}

.blog-entry-content code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    color: #ffb347;
    font-family: 'Courier New', monospace;
}

.blog-entry-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.blog-entry-content pre code {
    background: transparent;
    padding: 0;
    color: #00ff00;
}

.blog-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.02);
}

.blog-entry-content table th,
.blog-entry-content table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    text-align: left;
}

.blog-entry-content table th {
    background: rgba(13, 69, 107, 0.75);
    color: #139bfd;
    font-weight: 700;
}

/* -- Page Links (Pagination in content) -- */
.page-links {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-links span,
.page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: rgba(13, 69, 107, 0.75);
    color: #139bfd;
    border: 1px solid #139bfd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #139bfd;
    color: #ffffff;
}

.page-links span.page-numbers {
    background: #139bfd;
    color: #ffffff;
}

/* -- Blog Post Footer (Tags & Categories) -- */
.blog-entry-footer {
    margin: 40px 0;
    padding: 30px;
    background: rgba(21, 155, 253 , 0.1);
    border-left: 4px solid #139bfd;
    border-radius: 8px;
}

.post-taxonomies {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-categories,
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.post-categories strong,
.post-tags strong {
    color: #139bfd;
    min-width: 100%;
}

.cat-link,
.tag-link {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(13, 69, 107, 0.75);
    color: #139bfd;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.cat-link:hover,
.tag-link:hover {
    background: #139bfd;
    color: #ffffff;
    transform: translateY(-2px);
}

/* -- Post Navigation (Previous/Next) -- */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-previous,
.nav-next {
    display: flex;
    align-items: center;
}

.nav-previous {
    justify-content: flex-start;
}

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

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(21, 155, 253 , 0.1);
    color: #139bfd;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #139bfd;
    color: #ffffff;
    gap: 15px;
}

.nav-previous a i,
.nav-next a i {
    transition: all 0.3s ease;
}

.nav-previous a:hover i,
.nav-next a:hover i {
    color: #ffffff;
}

@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        justify-content: center;
    }
}

/* -- Comments Section -- */
#comments {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 107, 107, 0.03);
    border-radius: 12px;
}

#comments-title,
#reply-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid #139bfd;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-author b,
.comment-author cite {
    color: #ffffff;
    cursor: pointer;
}

.comment-metadata {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.comment-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
}

.comment-reply-link {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 107, 107, 0.15);
    color: #139bfd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: #139bfd;
    color: #ffffff;
}

.children {
    margin-left: 40px;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

/* -- Comments Form -- */
#respond {
    margin-top: 40px;
    padding: 40px;
    background: rgba(21, 155, 253 , 0.1);
    border-radius: 12px;
}

#respond h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #139bfd;
    box-shadow: 0 0 0 3px rgba(13, 69, 107, 0.75);
}

.comment-form-cookies-consent label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-submit {
    margin-top: 20px;
}

.form-submit input {
    padding: 12px 30px !important;
    background: #139bfd;
    color: #ffffff;
    border: none !important;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-submit input:hover {
    background: #139bfd;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}
.code .line::after{background: none;}
.blog-image img{width: 100%;}
.blog-content{padding: 20px;}
.blog-content p{margin-bottom: 15px;}

/* -- Animations -- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

