/* Layout Container */
.page-layout.single-3-cols {
    display: grid;
    grid-template-columns: 20% 55% 22%;
    gap: 1.5%;
    margin-bottom: 30px;
    align-items: start;
}

.single-left-sidebar {
    background-color: transparent;
    padding: 0 20px 0 0;
    position: sticky;
    top: 80px;
    border-right: 1px solid var(--border-color);
}

.single-right-sidebar {
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    padding: 20px;
    position: sticky;
    top: 80px;
}

/* Single Post */
.single-post-article {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 32px;
    line-height: 1.4;
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.post-thumbnail.has-overlay {
    position: relative;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 2;
}

.thumbnail-overlay .entry-title {
    color: #ffffff;
    margin: 0;
}

.post-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.entry-meta {
    display: flex;
    gap: 15px;
    color: var(--light-text);
    font-size: 13px;
    margin-top: 5px;
    flex-wrap: wrap;
}

/* Reporter Profile Block */
.reporter-info-block {
    margin-bottom: 0; /* Reset margin since wrapper handles it */
}

.reporter-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reporter-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.reporter-details {
    display: flex;
    flex-direction: column;
}

.reporter-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
}

.reporter-designation {
    font-size: 13px;
    color: var(--light-text);
}

/* Social Share Buttons */
.single-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 0; /* Reset padding */
    border-bottom: none; /* Reset border */
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.3s, opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.share-btn.photocard-btn { background-color: #ff4757; }
.share-btn.fb-share { background-color: #1877f2; }
.share-btn.tw-share { background-color: #1da1f2; }
.share-btn.wa-share { background-color: #25d366; }
.share-btn.copy-share { background-color: #6c757d; }

.entry-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.post-thumbnail {
    margin-bottom: 25px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    text-align: justify; /* Justified text as requested */
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2, .entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.post-tags strong {
    font-size: 16px;
    margin-right: 5px;
}

.post-tags a {
    background-color: #f1f5f9;
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Single Sidebar Widgets */
.single-sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-ad img {
    max-width: 100%;
    height: auto;
    display: block;
}

.single-sidebar-widget:last-child {
    margin-bottom: 0;
}

.single-sidebar-widget .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-post-item {
    display: flex;
    gap: 12px;
    align-items: start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.related-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    line-height: 1.4;
}

.related-content h4 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.related-content h4 a:hover {
    color: var(--primary-color);
}

.related-date {
    font-size: 12px;
    color: var(--light-text);
}

/* Sidebar Tabs */
.sidebar-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Infinite Scroll Divider & Loader */
.infinite-post-divider {
    display: flex;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.infinite-post-divider .divider-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
}

.infinite-post-divider .divider-icon {
    margin: 0 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #fff;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.infinite-post-divider .divider-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infinite-scroll-trigger {
    text-align: center;
    padding: 20px 0 40px 0;
    color: var(--light-text);
    font-size: 16px;
}

.loader-spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Comments Area */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.comments-title, .comment-reply-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list .comment {
    margin-bottom: 25px;
}

.comment-body {
    display: flex;
    gap: 15px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.comment-author.vcard {
    flex-shrink: 0;
}

.comment-author.vcard img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-meta {
    flex-grow: 1;
}

.comment-meta .fn {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
}

.comment-meta .fn a {
    color: inherit;
    text-decoration: none;
}

.comment-metadata {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 10px;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.comment-content p {
    margin: 0 0 10px 0;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.comment-list .children {
    list-style: none;
    padding-left: 50px;
    margin-top: 25px;
}

/* Comment Form */
.custom-comment-form {
    background-color: #fff;
}

.comment-form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.comment-form-author, .comment-form-email {
    flex: 1;
}

.custom-comment-form input[type="text"],
.custom-comment-form input[type="email"],
.custom-comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fdfdfd;
}

.custom-comment-form input:focus,
.custom-comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}

.comment-form-comment {
    margin-bottom: 20px;
}

.custom-comment-form .submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.3s;
}

.custom-comment-form .submit-btn:hover {
    opacity: 0.85;
}

.comment-notes, .logged-in-as {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-layout.single-3-cols {
        display: flex;
        flex-direction: column;
    }
    
    .single-post-article {
        order: 1;
    }
    
    .single-right-sidebar {
        order: 2;
        position: static;
        margin-top: 30px;
    }

    .single-left-sidebar {
        order: 3;
        position: static;
        border-right: none;
        padding: 0;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .post-thumbnail.has-overlay {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
    .single-post-article {
        padding: 0;
    }
    .single-right-sidebar {
        border: none;
        box-shadow: none;
        padding: 0 15px;
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        overflow: hidden;
    }
    .entry-title {
        font-size: 24px;
    }
    .entry-content {
        font-size: 16px;
    }
    .comment-form-group {
        flex-direction: column;
        gap: 15px;
    }
    .comment-list .children {
        padding-left: 20px;
    }
}


