/* Single Post Page Styles - Professional Blog Details */
.single-post-section {
    padding: 80px 0;
    background: #F6F6F6;
}

.single-post-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.single-post-article {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 161, 88, 0.1);
    text-align: start;
}

.post-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.post-meta-header {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.post-date,
.post-author,
.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-family: "SinkinSans-300Light";
}

.post-date {
    color: var(--golden);
    font-family: "SinkinSans-500Medium";
}

.date-icon,
.author-icon,
.category-icon {
    width: 16px;
    height: 16px;
    background: var(--golden);
    border-radius: 50%;
    display: inline-block;
}

.post-categories a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-family: "SinkinSans-500Medium";
    transition: color 0.3s ease;
}

.post-categories a:hover {
    color: var(--golden);
}

.post-title {
    font-size: 36px;
    font-weight: 600;
    font-family: "SinkinSans-600semiboald";
    color: #222;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.post-excerpt {
    margin-bottom: 0;
}

.post-excerpt p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    font-family: "SinkinSans-400Regular";
    margin: 0;
    font-style: italic;
}

.post-content {
    padding: 40px;
    font-family: "SinkinSans-400Regular";
    line-height: 1.8;
    color: #333;
}

/* Hide ALL images from post content - very aggressive approach */
.post-content img,
.post-content p img,
.post-content div img,
.post-content figure img,
.post-content .wp-caption img,
.entry-content img,
.single-post-article img,
article img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Hide WordPress default images by common patterns */
.post-content img[src*="wordpress"],
.post-content img[src*="wp-content"],
.post-content img[alt*="WordPress"],
.post-content img[alt*="wordpress"],
.post-content img[src*="wp-admin"],
.post-content img[src*="default"],
.post-content img[src*="hello-world"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Allow specific images if needed (add classes to allowed images) */
.post-content img.allow-image,
.post-content .wp-caption.allow-image img,
.post-content figure.allow-image img,
.post-content .gallery.allow-image img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: auto !important;
    height: auto !important;
}

/* Hide any WordPress default content */
.post-content .wp-block-image,
.post-content .wp-block-image img,
.post-content figure.wp-block-image {
    display: none !important;
    visibility: hidden !important;
}

/* Hide any remaining WordPress content that might be causing issues */
.post-content .aligncenter,
.post-content .alignleft,
.post-content .alignright,
.post-content .size-full,
.post-content .size-large,
.post-content .size-medium,
.post-content .size-thumbnail,
.post-content .attachment-post-thumbnail,
.post-content .wp-post-image {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Force hide any images with WordPress-related attributes */
.post-content img[class*="wp-"],
.post-content img[class*="attachment-"],
.post-content img[class*="size-"],
.post-content img[class*="align"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Ensure comment section is visible and properly styled */
.comments-area,
#comments,
.comment-reply-title,
.comment-list,
.comment-body,
.comment-respond {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
}

.comments-area {
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 161, 88, 0.1);
}

.comments-title {
    font-size: 24px;
    font-family: "SinkinSans-600semiboald";
    color: #222;
    margin-bottom: 30px;
    display: block !important;
    visibility: visible !important;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
}

.comment-body {
    padding: 20px;
    background: #F6F6F6;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block !important;
}

.comment-author {
    font-weight: 500;
    font-family: "SinkinSans-500Medium";
    color: #222;
    display: block !important;
}

.comment-metadata {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: block !important;
}

.comment-content {
    line-height: 1.6;
    color: #333;
    display: block !important;
}

/* Comment form styling */
.comment-respond {
    margin-top: 30px;
    padding: 30px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 12px;
    display: block !important;
}

.comment-reply-title {
    font-size: 20px;
    font-family: "SinkinSans-600semiboald";
    color: #222;
    margin-bottom: 20px;
    display: block !important;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(184, 161, 88, 0.3);
    border-radius: 8px;
    font-family: "SinkinSans-400Regular";
    font-size: 14px;
    margin-bottom: 15px;
    background: #fff;
    transition: border-color 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--golden);
}

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

.comment-form .submit {
    background: var(--golden);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: "SinkinSans-500Medium";
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    display: inline-block !important;
    visibility: visible !important;
}

.comment-form .submit:hover {
    background: transparent;
    color: var(--golden);
    border: 2px solid var(--golden);
    transform: translateY(-2px);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: "SinkinSans-600semiboald";
    color: #222;
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.post-content h1 { font-size: 32px; }
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 24px; }
.post-content h4 { font-size: 20px; }

.post-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.post-content blockquote {
    border-left: 4px solid var(--golden);
    padding-left: 30px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-family: "Arapey", serif;
    font-size: 18px;
}

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

.post-content ul {
    list-style: none !important;
    padding-left: 25px;
}

.post-content ul li {
    position: relative;
    list-style: none !important;
    margin-bottom: 10px;
    line-height: 1.6;
}

.post-content ul li::before {
    content: "•";
    position: absolute;
    left: -20px;
    top: 0px;
    color: var(--golden);
    font-size: 18px;
    font-weight: bold;
}

.post-content ol {
    list-style-type: decimal !important;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.post-footer {
    padding: 30px 40px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 249, 250, 0.5);
}

.post-tags {
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 500;
    color: #222;
    font-family: "SinkinSans-500Medium";
    margin-right: 10px;
}

.tag-link {
    display: inline-block;
    background: rgba(184, 161, 88, 0.1);
    color: var(--golden);
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--golden);
    color: var(--white);
    text-decoration: none;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.nav-links .nav-previous,
.nav-links .nav-next {
    flex: 1;
    max-width: 48%;
}

.nav-links .nav-previous {
    text-align: left;
}

.nav-links .nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--golden);
    font-family: "SinkinSans-500Medium";
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-size: 14px;
    color: #222;
    font-family: "SinkinSans-500Medium";
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-title:hover {
    color: var(--golden);
    text-decoration: none;
}

/* Hide default WordPress comments and avatars */
.comment-list .comment,
.comment-list .pingback,
.comment-list .trackback {
    display: none !important;
    visibility: hidden !important;
}

/* Hide specific WordPress default comment */
.comment-list li:contains("WordPress Commenter"),
.comment-list li:contains("Hi, this is a comment"),
.comment-list li:contains("To get started with moderating"),
.comment-author:contains("WordPress Commenter") {
    display: none !important;
    visibility: hidden !important;
}

/* Hide all comment avatars */
.comment-avatar img,
.avatar img,
.comment-author img,
.comment-author .avatar {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* Hide comment metadata for default comments */
.comment-metadata:contains("March 5, 2025"),
.comment-metadata:contains("7:14 am"),
.comment-metadata:contains("Edit") {
    display: none !important;
    visibility: hidden !important;
}

/* Hide comment content for default WordPress comment */
.comment-content:contains("Hi, this is a comment"),
.comment-content:contains("To get started with moderating"),
.comment-content:contains("please visit the Comments screen"),
.comment-content:contains("Commenter avatars come from Gravatar") {
    display: none !important;
    visibility: hidden !important;
}

/* Hide entire comment if it contains default WordPress text */
.comment-body:contains("WordPress Commenter"),
.comment-body:contains("Hi, this is a comment"),
.comment-body:contains("To get started with moderating") {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Comments Section */
.comments-area {
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 161, 88, 0.1);
}

/* Always show comment form */
.comment-respond,
#respond {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
}

/* Ensure comment submit button is visible */
.comment-form .submit,
input[type="submit"].submit {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    background: var(--golden) !important;
    color: var(--white) !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 25px !important;
    font-family: "SinkinSans-500Medium" !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
}

.comment-form .submit:hover,
input[type="submit"].submit:hover {
    background: transparent !important;
    color: var(--golden) !important;
    border: 2px solid var(--golden) !important;
    transform: translateY(-2px) !important;
}

.comments-title {
    font-size: 24px;
    font-family: "SinkinSans-600semiboald";
    color: #222;
    margin-bottom: 30px;
}

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

.comment-body {
    padding: 20px;
    background: #F6F6F6;
    border-radius: 12px;
    margin-bottom: 20px;
}

.comment-author {
    font-weight: 500;
    font-family: "SinkinSans-500Medium";
    color: #222;
}

.comment-metadata {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.6;
    color: #333;
}

/* Hide comment avatars if not wanted */
.comment-avatar img {
    display: none;
}

/* Responsive Design */
@media (max-width: 820px) {
    .single-post-section {
        padding: 60px 0;
    }
    
    .post-header {
        padding: 30px 30px 25px;
    }
    
    .post-content {
        padding: 30px;
    }
    
    .post-footer {
        padding: 25px 30px 30px;
    }
    
    .post-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .main-post-heading{
        font-size: 23px;
    }
    .post-content h2 {
    text-align: left;
    font-size: 20px;
    line-height: 27px;
}
    .single-post-section {
        padding: 40px 0;
    }
    .single-post-wrapper h1 , .single-post-wrapper p{
        text-align: left;
        padding: 0px;
    }
    
    .post-header {
        padding: 25px 20px 20px;
    }
    
    .post-meta-header {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 20px;
    }
 
    
    .post-title {
        font-size: 28px;
    }
    
    .post-excerpt p {
        font-size: 16px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h1 { font-size: 28px; }
    .post-content h2 { font-size: 24px; }
    .post-content h3 { font-size: 20px; }
    
    .post-footer {
        padding: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    
    .nav-links .nav-previous,
    .nav-links .nav-next {
        max-width: 100%;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 200px;
        justify-content: center;
    }
    
    .comments-area {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: 20px 15px 15px;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .post-footer {
        padding: 15px;
    }
    
    .comments-area {
        padding: 20px 15px;
    }
}
