/* Single Post Page Styles */

/* Single Post Wrapper */
.single-post-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Single Post Content */
.single-post-content {
    background: white;
}

.single-post {
    background: white;
}

/* Entry Header - Single Post */
.single-post .entry-header {
    margin-bottom: 30px;
}

.single-post .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-post .entry-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.single-post .post-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Post Categories - Single Post */
.single-post .post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.single-post .category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #ff6b35;
    color: white;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post .category-badge:hover,
.single-post .category-badge:focus {
    background: #e55a2b;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Post Thumbnail - Single Post */
.single-post .post-thumbnail {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Entry Content - Single Post */
.single-post .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post .entry-content p {
    margin-bottom: 20px;
    color: #333;
}

.single-post .entry-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.single-post .entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.single-post .entry-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.single-post .entry-content li {
    margin-bottom: 10px;
    color: #333;
}

.single-post .entry-content a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-post .entry-content a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.single-post .entry-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-post .entry-content blockquote {
    border-left: 4px solid #ff6b35;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.single-post .entry-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e55a2b;
}

.single-post .entry-content pre {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.single-post .entry-content pre code {
    background: transparent;
    color: #fff;
    padding: 0;
}

/* Entry Footer - Single Post */
.single-post .entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.single-post .post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.single-post .tags-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.single-post .tag-link {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #333;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post .tag-link:hover {
    background: #ff6b35;
    color: white;
    text-decoration: none;
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 8px;
    font-weight: 500;
}

.post-navigation .nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

.post-navigation .nav-title:hover {
    color: #ff6b35;
}

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

.topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.topic-link-block {
    flex: 1;
    min-width: 200px;
}

.topic-link-heading {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.topic-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b35;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.topic-link-btn:hover {
    color: #e55a2b;
    gap: 12px;
}

.topic-link-btn .btn-icon {
    width: 16px;
    height: 16px;
}

/* Single Post Sidebar */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sidebar Widget */
.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

/* Social Sharing Widget */
.social-sharing .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-sharing .social-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f9f9f9;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: left;
}

.social-sharing .social-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-sharing .social-button span {
    flex: 1;
}

.social-sharing .social-button:hover {
    background: #ff6b35;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.social-sharing .social-button.twitter:hover {
    background: #1da1f2;
}

.social-sharing .social-button.facebook:hover {
    background: #1877f2;
}

.social-sharing .social-button.linkedin:hover {
    background: #0077b5;
}

/* Newsletter Widget */
.newsletter p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #ff6b35;
}

.newsletter-form .btn {
    width: 100%;
    justify-content: center;
}

/* Recommended Articles Widget */
.recommended-articles .recommended-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommended-post {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recommended-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recommended-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.recommended-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-post-thumbnail:hover img {
    transform: scale(1.1);
}

.recommended-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recommended-post-content h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.recommended-post-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommended-post-content h4 a:hover {
    color: #ff6b35;
}

.recommended-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.recommended-post-read-more:hover {
    color: #e55a2b;
    transform: translateX(3px);
}

.recommended-post-read-more .btn-icon {
    width: 14px;
    height: 14px;
}

/* Page Links */
.page-links {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.page-links > span {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* Comments Area Styles */

.comments-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
}

.comments-title span {
    color: #ff6b35;
    font-weight: 600;
}

/* Comment List Styles */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

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

.comment {
    margin-bottom: 30px;
    padding: 0;
    position: relative;
}

.comment-body {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.comment-body:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

.comment-author {
    flex-shrink: 0;
}

.comment-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #e9ecef;
    display: block;
    object-fit: cover;
    transition: border-color 0.3s ease;
}

.comment-body:hover .comment-author .avatar {
    border-color: #ff6b35;
}

.comment-content {
    flex: 1;
    min-width: 0;
}

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

.comment-meta cite {
    font-style: normal;
}

.comment-meta .comment-metadata {
    margin-left: auto;
}

.comment-awaiting-moderation {
    display: block;
    padding: 10px 15px;
    background: #fff3cd;
    color: #856404;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    border-left: 4px solid #ffc107;
}

.comment-author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: inline-block;
}

.comment-author-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author-name a:hover {
    color: #ff6b35;
}

.comment-author-name .says {
    display: none; /* Hide "says:" text */
}

.comment-metadata {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-metadata a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: #ff6b35;
}

.comment-metadata time {
    display: inline-block;
}

.comment-text {
    color: #34495e;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.comment-text p {
    margin: 0 0 12px 0;
    color: #34495e;
    line-height: 1.7;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff6b35;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #ff6b35;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.comment-reply-link:hover {
    background: #ff6b35;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.2);
}

/* Nested Comments (Replies) */
.comment-list .children {
    list-style: none;
    margin: 25px 0 0 0;
    padding: 0;
    padding-left: 40px;
    border-left: 3px solid #e9ecef;
    margin-left: 20px;
}

.comment-list .children .comment-body {
    background: #f8f9fa;
    border-color: #e9ecef;
    padding: 20px;
}

.comment-list .children .comment-body:hover {
    background: #ffffff;
    border-color: #ff6b35;
}

.comment-list .children .children {
    border-left-color: #ff6b35;
    opacity: 0.7;
}

/* Comment Navigation */
.comments-navigation {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.comments-navigation .nav-previous,
.comments-navigation .nav-next {
    flex: 1;
    min-width: 150px;
}

.comments-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.comments-navigation a:hover {
    background: #ff6b35;
    color: #ffffff;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.2);
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 30px 0;
}

/* Comment Form Styles */
.comment-respond {
    margin-top: 40px;
    padding-top: 40px;
}

.comment-reply-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
}

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

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.comment-form .required {
    color: #ff6b35;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .form-submit {
    margin-top: 25px;
}

.comment-form .submit {
    padding: 12px 30px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.comment-form .submit:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.comment-form .logged-in-as {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.comment-form .logged-in-as a {
    color: #ff6b35;
    text-decoration: none;
}

.comment-form .logged-in-as a:hover {
    text-decoration: underline;
}

/* Comment Form Cookies Consent Checkbox */
.comment-form-cookies-consent,
.comment-form .comment-form-cookies-consent,
.comment-form p.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.comment-form-cookies-consent input[type="checkbox"],
.comment-form .comment-form-cookies-consent input[type="checkbox"],
.comment-form p.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 2px;
}

.comment-form-cookies-consent label,
.comment-form .comment-form-cookies-consent label,
.comment-form p.comment-form-cookies-consent label {
    display: inline;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

.faqistheclass .faq-item summary h3 {
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .single-post-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-post .entry-title {
        font-size: 2rem;
    }

    .single-post .entry-content {
        font-size: 1rem;
    }

    .single-post .entry-content h2 {
        font-size: 1.75rem;
    }

    .single-post .entry-content h3 {
        font-size: 1.35rem;
    }

    .faqistheclass .faq-item summary h3 {
        font-size: 1rem;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .recommended-post {
        flex-direction: column;
    }

    .recommended-post-thumbnail {
        width: 100%;
        height: 200px;
    }

    /* Comments Responsive */
    .comments-title {
        font-size: 1.5rem;
    }

    .comment-body {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .comment-author .avatar {
        width: 50px;
        height: 50px;
    }

    .comment-list .children {
        padding-left: 20px;
    }

    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .comments-navigation {
        flex-direction: column;
    }

    .comments-navigation .nav-previous,
    .comments-navigation .nav-next {
        width: 100%;
    }

    .comments-navigation a {
        width: 100%;
        justify-content: center;
    }
}
