/* POST PAGE STYLES */
.post-container {
    padding-top: 40px;
}

.breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--text-accent);
}

.breadcrumb .slash {
    color: #bbb;
}

.breadcrumb .current {
    color: #999;
    font-weight: 400;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
}

@media (max-width: 480px) {
    .breadcrumb .current {
        max-width: 140px;
    }
}

/* Master Container & Page Grid Alignment (Exact match with .nav-inner navbar edge) */
.post-container,
main.post-container,
.container {
    width: 90% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.breadcrumb-area-wrapper,
.post-layout,
.related-poems-section,
.e-con-inner,
.e-con,
div.e-con-inner,
.elementor-element .e-con-inner {
    --container-max-width: 1280px !important;
    max-width: 1280px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.post-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 30px !important;
    align-items: start !important;
}

.post-layout.no-sidebar {
    grid-template-columns: 1fr !important;
}

.post-content-area,
.poem-single-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

aside,
.post-sidebar,
aside.sidebar,
aside.write-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

aside .widget,
aside > div,
.sidebar-widget,
.author-profile-widget,
.author-card-widget,
.author-info-widget {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.post-cat-tag {
    display: inline-block;
    background: #4a1c1c;
    color: #fff;
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
}

.single-post-title {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

@media (max-width: 768px) {
    .single-post-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

.meta-dot {
    color: #ccc;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-share span {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.share-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.share-icon:hover {
    background: #f0e6d2;
    border-color: var(--text-accent);
    color: var(--text-accent);
}

.user-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #eee;
    background: #fcf9f2;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #fff;
    border-color: var(--text-accent);
    color: var(--text-accent);
}

.poem-text {
    font-size: 22px;
    line-height: 1.8;
    color: #2c2c2c;
    margin-bottom: 60px;
    font-family: 'Noto Serif Bengali', serif;
}

.poem-text p {
    margin-bottom: 30px;
}

.post-author-box {
    display: flex;
    gap: 25px;
    background: #fcfcfc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 50px;
}

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

.author-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.author-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-socials {
    display: flex;
    gap: 15px;
}

.author-socials a {
    color: #999;
    font-size: 16px;
    transition: color 0.3s;
}

.author-socials a:hover {
    color: var(--text-accent);
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-bottom: 50px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    width: 45%;
}

.nav-link i {
    font-size: 20px;
    color: #ccc;
}

.nav-text span {
    font-size: 12px;
    color: #888;
    display: block;
}

.nav-text strong {
    font-size: 16px;
    display: block;
    margin-top: 4px;
}

.nav-link:hover strong {
    color: var(--text-accent);
}

/* SIDEBAR WIDGETS */
.post-sidebar {
    flex: 1;
}

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

.sidebar-widget, .post-sidebar .widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    list-style: none;
}

/* DESKTOP STICKY SIDEBAR (Active when bottom is empty / scrolling) */
@media (min-width: 1025px) {
    .post-layout {
        align-items: start !important;
    }

    .post-sidebar,
    aside.post-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 85px !important;
        align-self: start !important;
        z-index: 15 !important;
        max-height: calc(100vh - 95px);
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .post-sidebar::-webkit-scrollbar,
    aside.post-sidebar::-webkit-scrollbar {
        display: none !important;
    }
}

.widget-title, .post-sidebar .widgettitle {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.widget-title::after, .post-sidebar .widgettitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    background: var(--text-accent);
}

/* Dynamic widget nested lists */
.post-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-sidebar .widget li li {
    padding-left: 10px;
}

.post-sidebar .widget ul li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color, #efe8d8);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.post-sidebar .widget ul li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.post-sidebar .widget ul li a:hover {
    color: var(--text-accent);
}

/* Dynamic widget form styles */
.post-sidebar .widget input[type="text"],
.post-sidebar .widget input[type="search"],
.post-sidebar .widget input[type="email"] {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-input, #dfd4c6);
    background: var(--bg-input, #ffffff);
    color: var(--text-primary, #1a1a1a);
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.post-sidebar .widget input[type="text"]:focus,
.post-sidebar .widget input[type="search"]:focus,
.post-sidebar .widget input[type="email"]:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 5px rgba(139, 74, 74, 0.2);
}

.post-sidebar .widget button,
.post-sidebar .widget input[type="submit"] {
    background: var(--btn-bg);
    color: var(--btn-text, #ffffff);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    font-family: inherit;
    margin-top: 10px;
    width: 100%;
}

.post-sidebar .widget button:hover,
.post-sidebar .widget input[type="submit"]:hover {
    background: var(--btn-hover-bg, #4a1515);
}

.widget-author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: block;
}

.widget-content {
    text-align: center;
}

.widget-content h4 {
    margin-bottom: 10px;
}

.widget-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.widget-btn {
    display: inline-block;
    background: #4a1c1c;
    color: #fff;
    padding: 8px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.widget-btn-outline {
    display: block;
    border: 1px solid #eee;
    padding: 10px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
}

.s-post-item {
    display: flex;
    gap: 12px;
    text-align: left;
    margin-bottom: 15px;
}

.s-post-item img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.s-post-info strong {
    font-size: 14px;
    display: block;
    line-height: 1.4;
}

.s-post-info span {
    font-size: 11px;
    color: #999;
}

.categories-widget ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.categories-widget li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.categories-widget li b {
    color: #888;
}

.sidebar-illustration img {
    width: 100%;
    opacity: 0.8;
}

/* COMMENTS SECTION */
.comments-area {
    margin-bottom: 50px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.comments-title {
    font-size: 20px;
    margin-bottom: 30px;
    color: #333;
}

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

.comment-item.reply {
    margin-left: 60px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

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

.comment-header strong {
    font-size: 16px;
    color: #4a1c1c;
}

.comment-header span {
    font-size: 12px;
    color: #999;
}

.comment-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.reply-link {
    font-size: 12px;
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 700;
}

.comment-form-area {
    margin-top: 50px;
    background: #fcf9f2;
    padding: 30px;
    border-radius: 12px;
}

.comment-form-area h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.comment-form-area textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 20px;
    resize: none;
}

.submit-btn {
    background: #4a1c1c;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2d1111;
}

@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .post-container,
    .container {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .post-content-area,
    .poem-header-banner-wrapper,
    .poem-main-columns-wrapper,
    .poem-engagement-section,
    .poem-comments-section-wrapper,
    .post-navigation-cards-premium {
        padding-left: 4px !important;
        padding-right: 4px !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    .single-post-title {
        font-size: 30px;
    }
    .author-info-widget {
        display: none !important;
    }
    .sidebar-illustration {
        display: none !important;
    }
}

/* Custom Single Poem Page Styles */
.single-poem .decorative-bar {
    width: 30px;
    height: 4px;
    background: #4a1c1c;
    margin-bottom: 20px;
    border-radius: 2px;
}

.single-poem .poem-text-content.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.single-poem .poem-featured-image {
    float: left;
    margin-right: 35px;
    margin-bottom: 25px;
    max-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.single-poem .poem-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-poem .post-author-box {
    background: transparent;
    border: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.single-poem .post-author-box .author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.single-poem .post-author-box .author-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.single-poem .post-author-box .author-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.single-poem .post-author-box .author-socials {
    display: flex;
    gap: 12px;
}

.single-poem .post-author-box .author-socials a {
    color: #999;
    font-size: 15px;
    transition: color 0.3s;
}

.single-poem .post-author-box .author-socials a:hover {
    color: #4a1c1c;
}

.single-poem .post-nav-links {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.single-poem .nav-link {
    width: 45%;
}

.single-poem .nav-link a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.single-poem .nav-link.next a {
    align-items: flex-end;
    text-align: right;
}

.single-poem .nav-link i {
    font-size: 20px;
    color: #4a1c1c;
    transition: transform 0.3s ease;
}

.single-poem .nav-link.prev a:hover i {
    transform: translateX(-5px);
}

.single-poem .nav-link.next a:hover i {
    transform: translateX(5px);
}

.single-poem .nav-text span {
    font-size: 12px;
    color: #888;
    display: block;
}

.single-poem .nav-text strong {
    font-size: 16px;
    color: #1a1a1a;
    display: block;
    margin-top: 3px;
    font-weight: 600;
}

.single-poem .nav-link:hover strong {
    color: #4a1c1c;
}

/* Sidebar button updates to match pill shape */
.single-poem .widget-btn {
    border-radius: 30px;
    font-weight: 600;
    padding: 8px 30px;
    background: #4a1c1c;
}

.single-poem .widget-btn:hover {
    background: #2d1111;
}

.single-poem .widget-btn-outline {
    border-radius: 30px;
    border-color: #ddd;
    color: #4a1c1c;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.single-poem .widget-btn-outline:hover {
    background: #4a1c1c;
    color: #fff;
    border-color: #4a1c1c;
}

.single-poem .comment-form-area .submit-btn {
    border-radius: 30px;
    padding: 10px 35px;
    background: #4a1c1c;
}

.single-poem .comment-form-area .submit-btn:hover {
    background: #2d1111;
}

@media (max-width: 799px) {
    .single-poem .poem-featured-image {
        float: none;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
}

/* Related Poems Section Styles */
.related-poems-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    width: 100%;
    clear: both;
}

.related-poems-section .related-title {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.related-poems-section .related-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #4a1c1c;
    border-radius: 2px;
}

.related-poems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.related-poem-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-poem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.related-poem-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-poem-thumb {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f7f7f7;
}

.related-poem-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.related-poem-card:hover .related-poem-thumb img {
    transform: scale(1.05);
}

.related-poem-meta {
    padding: 15px;
}

.related-poem-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px; /* Fixed height for two lines of title */
}

.related-poem-date {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-poem-date i {
    color: #4a1c1c;
}

/* Dark Mode Overrides */
body.dark-mode .related-poems-section {
    border-top-color: #333;
}

body.dark-mode .related-poems-section .related-title {
    color: var(--text-primary, #ffffff);
}

body.dark-mode .related-poem-card {
    background: var(--bg-card, #2d2d2d) !important;
    border-color: #383838;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .related-poem-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

body.dark-mode .related-poem-name {
    color: var(--text-primary, #ffffff);
}

body.dark-mode .related-poem-date {
    color: var(--text-muted, #aaaaaa);
}

body.dark-mode .related-poem-thumb {
    background: #1e1e1e;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .related-poems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .related-poems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .related-poem-thumb {
        height: 120px;
    }
    .related-poems-section .related-title {
        font-size: 20px;
    }
}

/* ==========================================================================
   REDESIGNED IMMERSIVE SINGLE POEM VIEW
   ========================================================================== */

/* Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}
.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--text-accent, #8b4a4a);
    transition: width 0.1s ease-out;
}

/* Category Badge wrapper */
.poem-category-badge-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}
.poem-category-badge {
    background: rgba(139, 74, 74, 0.08);
    color: var(--text-accent, #8b4a4a);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(139, 74, 74, 0.15);
    display: inline-block;
}

/* Cinematic Title */
.poem-title-cinematic {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Noto Serif Bengali', serif;
    letter-spacing: -0.5px;
    white-space: pre-line;
}

/* Author Subtitle under Cinematic Title */
.poem-author-subtitle {
    font-family: 'Noto Serif Bengali', serif;
    font-size: 35px;
    color: #555555;
    text-align: center;
    margin-top: -5px;
    margin-bottom: 25px;
    font-weight: 500;
    padding: 10px 0;
}
.poem-author-subtitle::before,
.poem-author-subtitle::after {
    content: '';
    display: block;
    width: 30%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.18);
    margin: 12px auto;
}

/* Premium Meta */
.poem-meta-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #666;
    font-size: 13px;
    margin-bottom: 40px;
    font-weight: 500;
}
.poem-meta-premium .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.poem-meta-premium .meta-item i {
    color: var(--text-accent, #8b4a4a);
    font-size: 14px;
}
.poem-meta-premium .meta-separator {
    color: #e5dcc6;
}

/* Cinematic Featured Image */
.poem-featured-image-premium {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 20px 40px rgba(74, 45, 28, 0.08);
    background: #faf6ee;
}
.poem-featured-image-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.poem-featured-image-premium:hover img {
    transform: scale(1.02);
}
.image-overlay-warm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(250, 246, 238, 0) 60%, rgba(250, 246, 238, 0.15) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 2;
}

/* Premium Toolbar */
.poem-toolbar-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: #faf8f5;
    border: 1px solid #ebdcc5;
    border-radius: 16px;
    margin-bottom: 50px;
}
.listen-audio-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--text-accent, #8b4a4a);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 74, 74, 0.15);
    transition: all 0.3s ease;
}
.listen-audio-btn:hover {
    background: #723c3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 74, 74, 0.25);
}
.listen-audio-btn.speaking {
    background: #2b2b2b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.right-toolbar-items {
    display: flex;
    gap: 12px;
}
.toolbar-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e1d2bf;
    color: #5c4a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}
.toolbar-icon-btn:hover {
    border-color: var(--text-accent, #8b4a4a);
    color: var(--text-accent, #8b4a4a);
    background: #fffdf9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 45, 28, 0.05);
}
.toolbar-icon-btn.active {
    background: var(--text-accent, #8b4a4a);
    color: #fff;
    border-color: var(--text-accent, #8b4a4a);
}

/* Immersive Poem Typography */
.poem-text-immersive,
.single-poem-content,
.poem-text-content {
    font-family: 'Noto Serif Bengali', serif;
    font-size: 16pt !important;
    line-height: 1.7 !important;
    color: #2b2b2b;
    text-align: left;
    max-width: 680px;
    margin: 0 auto 60px auto;
    letter-spacing: 0.2px;
}
.poem-text-immersive p,
.single-poem-content p,
.poem-text-content p {
    font-size: 16pt !important;
    line-height: 1.7 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important; /* Stanza break gap when author hits double Enter */
    color: #3a3a3a;
    transition: color 0.3s;
}
.poem-text-immersive br,
.single-poem-content br,
.poem-text-content br,
p.poem-stanza br {
    display: block !important;
    content: "" !important;
    margin: 0 !important;
    height: 0 !important;
}
.poem-text-immersive p:last-child,
.single-poem-content p:last-child,
.poem-text-content p:last-child {
    margin-bottom: 0 !important;
}
.poem-text-immersive p:hover,
.single-poem-content p:hover,
.poem-text-content p:hover {
    color: #1a1a1a;
}

/* Prominent Divider Bar & Clean Reference Text */
.poem-text-immersive .poem-solid-divider {
    height: 5px !important;
    background-color: #000000 !important;
    margin: 45px 0 25px 0 !important;
    width: 100% !important;
    border: none !important;
    display: block !important;
}
.poem-text-immersive .poem-reference-section {
    margin-top: 20px !important;
    padding-top: 5px !important;
    text-align: left !important;
}
.poem-text-immersive .poem-reference-section p {
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: #1e293b !important;
    text-align: left !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}
.poem-text-immersive .poem-reference-section p strong {
    color: #0f172a !important;
}

/* Engagement & Reactions */
.poem-engagement-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #ebdcc5;
    border-radius: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 45, 28, 0.03);
}
.poem-engagement-section > .section-label,
.reaction-wrapper .section-label {
    white-space: nowrap;
    margin: 0;
}
.section-label {
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.reaction-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    overflow: visible;
}
.reaction-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e1d2bf;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(74, 45, 28, 0.04);
}
.reaction-btn .emoji {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.reaction-btn:hover .emoji {
    transform: scale(1.25);
}
.reaction-btn .label {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1a1a1a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    z-index: 20;
}
.reaction-btn .label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}
.reaction-btn:hover .label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.reaction-btn .count {
    font-size: 13px;
    font-weight: 700;
    color: #9c8a77;
    background: #faf6ee;
    padding: 2px 8px;
    border-radius: 10px;
}
.reaction-btn .count:empty {
    display: none !important;
}
.reaction-btn:hover {
    transform: translateY(-2px);
    border-color: var(--text-accent, #8b4a4a);
    box-shadow: 0 6px 16px rgba(139, 74, 74, 0.1);
}
.reaction-btn.active {
    background: #fffbfa;
    border-color: var(--text-accent, #8b4a4a);
    box-shadow: 0 6px 16px rgba(139, 74, 74, 0.1);
}
.reaction-btn.active .count {
    background: rgba(139, 74, 74, 0.08);
    color: var(--text-accent, #8b4a4a);
}

.share-wrapper-premium {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-top: none;
    padding-top: 0;
    margin-left: auto;
}
.share-wrapper-premium .section-label {
    display: none !important;
}
.share-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .poem-engagement-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .share-social-icons {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
        border-top: 1px solid #f4efe6;
        padding-top: 10px;
    }
}
.share-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e1d2bf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c4a3c;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}
.share-icon-circle:hover {
    transform: translateY(-2px);
    color: #fff;
}
.share-icon-circle.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}
.share-icon-circle.twitter:hover {
    background: #1d9bf0;
    border-color: #1d9bf0;
}
.share-icon-circle.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

/* Author Card Premium */
.author-card-premium {
    display: none !important;
}
.author-card-avatar {
    flex-shrink: 0;
}
.author-card-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(74, 45, 28, 0.08);
}
.author-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.author-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}
.author-card-header-row .author-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.author-writings-count {
    font-size: 13px;
    font-weight: 600;
    color: #8b5e3c;
    background: rgba(139, 94, 60, 0.08);
    padding: 4px 12px;
    border-radius: 30px;
}
.author-bio {
    font-size: 15px;
    color: #5c4a3c;
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.author-social-links-premium {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-social-links-premium .social-link {
    color: #a49182;
    font-size: 18px;
    transition: color 0.3s;
}
.author-social-links-premium .social-link:hover {
    color: var(--text-accent, #8b4a4a);
}
.view-profile-link {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-accent, #8b4a4a);
    text-decoration: none;
    transition: transform 0.3s;
}
.view-profile-link:hover {
    transform: translateX(4px);
}

/* Post Navigation Cards Premium */
.post-navigation-cards-premium {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    border-top: 1px solid #f0e6d2;
    padding-top: 40px;
}
.nav-card-premium {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #e1d2bf;
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 45, 28, 0.02);
}
.nav-card-premium:hover {
    border-color: var(--text-accent, #8b4a4a);
    box-shadow: 0 10px 25px rgba(139, 74, 74, 0.08);
    transform: translateY(-2px);
}
.nav-card-premium.prev:hover .card-thumb img {
    transform: translateX(-3px);
}
.nav-card-premium.next:hover .card-thumb img {
    transform: translateX(3px);
}
.card-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-direction {
    font-size: 11px;
    font-weight: 700;
    color: #9c8a77;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-card-premium.next .card-info {
    text-align: right;
    align-items: flex-end;
}
.nav-card-premium.next .nav-direction {
    justify-content: flex-end;
}
.nav-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nav-card-empty {
    flex: 1;
}

/* Comments Area - Verses Interactive Redesign */
.comments-area, .verses-comments-area {
    margin-top: 50px;
    border-top: 1px solid #f0e6d2;
    padding-top: 40px;
}
.comments-header-row {
    margin-bottom: 20px;
}
.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Noto Serif Bengali', serif;
    margin: 0;
}

/* Verses Comment Input Form */
.comment-form-area, .verses-comment-form-area {
    margin-bottom: 35px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.verses-comment-input-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.verses-user-avatar {
    flex-shrink: 0;
}
.user-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guest-avatar {
    background: #e4e6eb;
    color: #65676b;
    font-size: 18px;
}
.verses-form-container {
    flex: 1;
}
.verses-form-container .comment-respond {
    margin: 0;
    padding: 0;
}
.verses-form-container .comment-reply-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-accent, #8b4a4a);
}
.verses-textarea-wrapper textarea, .comment-form-area textarea {
    background: #f0f2f5;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #050505;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 44px;
}
.verses-textarea-wrapper textarea:focus, .comment-form-area textarea:focus {
    background: #ffffff;
    border-color: var(--text-accent, #8b4a4a);
    box-shadow: 0 0 0 2px rgba(139, 74, 74, 0.12);
}
.verses-submit-btn, .comment-form-area .submit-btn {
    background: var(--text-accent, #8b4a4a);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(139, 74, 74, 0.15);
}
.verses-submit-btn:hover, .comment-form-area .submit-btn:hover {
    background: #723c3c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 74, 74, 0.25);
}

/* Verses Comment List & Bubbles */
.verses-comments-list, .comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.verses-comment-item, .comment-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 0;
}
.verses-comment-avatar-col {
    flex-shrink: 0;
}
.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: none;
    border: none;
}
.verses-comment-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.verses-comment-bubble, .comment-body {
    background: #f0f2f5;
    border-radius: 18px;
    padding: 10px 16px;
    max-width: 100%;
    display: inline-block;
    box-shadow: none;
    border: none;
}
.verses-comment-bubble .comment-author, .comment-header strong {
    font-size: 14px;
    font-weight: 700;
    color: #050505;
    display: block;
    margin-bottom: 2px;
    text-decoration: none;
}
.verses-comment-bubble .comment-author a, .comment-header strong a {
    color: #050505;
    text-decoration: none;
}
.verses-comment-bubble .comment-author a:hover, .comment-header strong a:hover {
    text-decoration: underline;
}
.comment-text-content p, .comment-body p {
    font-size: 14px;
    line-height: 1.45;
    color: #050505;
    margin: 0;
}
.comment-awaiting-moderation {
    font-size: 12px;
    color: #8b5e3c;
    font-style: italic;
    margin-bottom: 4px;
}

/* Verses Meta Actions Bar */
.verses-comment-meta-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    margin-left: 12px;
    font-size: 12px;
    color: #65676b;
    font-weight: 600;
}
.verses-comment-meta-bar .comment-time {
    color: #65676b;
    font-weight: 400;
}
.verses-comment-meta-bar .meta-bullet {
    color: #b0b3b8;
    font-size: 10px;
}
.verses-comment-meta-bar .reply-action a, .reply-link, .comment-reply-link {
    color: #65676b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.verses-comment-meta-bar .reply-action a:hover, .reply-link:hover, .comment-reply-link:hover {
    color: var(--text-accent, #8b4a4a);
    text-decoration: underline;
}

/* Nested Replies Threading */
.verses-comments-list .children, .comments-list .children {
    margin-left: 48px;
    margin-top: 10px;
    border-left: 2px solid #e4e6eb;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.verses-comments-list .children .comment-avatar, .comments-list .children .comment-avatar {
    width: 32px;
    height: 32px;
}

/* Dark Mode support for these premium features */
body.dark-mode .reading-progress-bar {
    background: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .poem-category-badge {
    background: rgba(255, 122, 122, 0.08);
    color: var(--text-accent-dark, #ff7a7a);
    border-color: rgba(255, 122, 122, 0.15);
}
body.dark-mode .poem-title-cinematic {
    color: #ffffff;
}
body.dark-mode .poem-author-subtitle {
    color: #cccccc;
}
body.dark-mode .poem-meta-premium {
    color: #aaaaaa;
}
body.dark-mode .poem-meta-premium .meta-separator {
    color: #444444;
}
body.dark-mode .poem-toolbar-premium {
    background: #252525;
    border-color: #383838;
}
body.dark-mode .listen-audio-btn {
    background: var(--text-accent-dark, #ff7a7a);
    color: #121212;
    box-shadow: 0 4px 15px rgba(255, 122, 122, 0.25);
}
body.dark-mode .listen-audio-btn:hover {
    background: #ff9999;
}
body.dark-mode .listen-audio-btn.speaking {
    background: #ffffff;
    color: #121212;
}
body.dark-mode .toolbar-icon-btn {
    background: #1e1e1e;
    border-color: #333333;
    color: #dddddd;
}
body.dark-mode .toolbar-icon-btn:hover {
    border-color: var(--text-accent-dark, #ff7a7a);
    color: var(--text-accent-dark, #ff7a7a);
    background: #222222;
}
body.dark-mode .toolbar-icon-btn.active {
    background: var(--text-accent-dark, #ff7a7a);
    color: #121212;
    border-color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .poem-text-immersive {
    color: #e0e0e0;
}
body.dark-mode .poem-text-immersive p {
    color: #cccccc;
}
body.dark-mode .poem-text-immersive p:hover {
    color: #ffffff;
}
body.dark-mode .poem-engagement-section {
    border-color: #333333;
}
body.dark-mode .reaction-btn {
    background: #1e1e1e;
    border-color: #333333;
}
body.dark-mode .reaction-btn .label {
    background: #2c2c2c;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
body.dark-mode .reaction-btn .label::after {
    border-color: #2c2c2c transparent transparent transparent;
}
body.dark-mode .reaction-btn .count {
    background: #252525;
    color: #aaaaaa;
}
body.dark-mode .reaction-btn:hover, body.dark-mode .reaction-btn.active {
    border-color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .reaction-btn.active .count {
    background: rgba(255, 122, 122, 0.15);
    color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .share-icon-circle {
    background: #1e1e1e;
    border-color: #333333;
    color: #cccccc;
}
body.dark-mode .author-card-premium {
    background: #1e1e1e;
    border-color: #333333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
body.dark-mode .author-card-header-row .author-name {
    color: #ffffff;
}
body.dark-mode .author-writings-count {
    color: #ff9999;
    background: rgba(255, 153, 153, 0.08);
}
body.dark-mode .author-bio {
    color: #cccccc;
}
body.dark-mode .author-social-links-premium .social-link {
    color: #888888;
}
body.dark-mode .author-social-links-premium .social-link:hover {
    color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .view-profile-link {
    color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .post-navigation-cards-premium {
    border-color: #333333;
}
body.dark-mode .nav-card-premium {
    background: #1e1e1e;
    border-color: #333333;
    color: #ffffff;
}
body.dark-mode .nav-card-premium:hover {
    border-color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .nav-title {
    color: #ffffff;
}
body.dark-mode .comments-area, body.dark-mode .verses-comments-area {
    border-color: #333333;
}
body.dark-mode .comments-title {
    color: #ffffff;
}
body.dark-mode .user-comment-avatar.guest-avatar {
    background: #3a3b3c;
    color: #b0b3b8;
}
body.dark-mode .verses-textarea-wrapper textarea, body.dark-mode .comment-form-area textarea {
    background: #242526;
    border-color: #3a3b3c;
    color: #e4e6eb;
}
body.dark-mode .verses-textarea-wrapper textarea:focus, body.dark-mode .comment-form-area textarea:focus {
    background: #18191a;
    border-color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .verses-submit-btn, body.dark-mode .comment-form-area .submit-btn {
    background: var(--text-accent-dark, #ff7a7a);
    color: #121212;
    box-shadow: 0 4px 15px rgba(255, 122, 122, 0.25);
}
body.dark-mode .verses-submit-btn:hover, body.dark-mode .comment-form-area .submit-btn:hover {
    background: #ff9999;
}
body.dark-mode .verses-comment-bubble, body.dark-mode .comment-body {
    background: #242526;
}
body.dark-mode .verses-comment-bubble .comment-author,
body.dark-mode .verses-comment-bubble .comment-author a,
body.dark-mode .verses-comment-bubble .comment-text-content p,
body.dark-mode .comment-header strong,
body.dark-mode .comment-body p {
    color: #e4e6eb;
}
body.dark-mode .verses-comment-meta-bar {
    color: #b0b3b8;
}
body.dark-mode .verses-comment-meta-bar .comment-time,
body.dark-mode .verses-comment-meta-bar .reply-action a,
body.dark-mode .reply-link, body.dark-mode .comment-reply-link {
    color: #b0b3b8;
}
body.dark-mode .verses-comment-meta-bar .reply-action a:hover,
body.dark-mode .reply-link:hover, body.dark-mode .comment-reply-link:hover {
    color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .verses-comments-list .children, body.dark-mode .comments-list .children {
    border-left-color: #3e4042;
}

.verses-comment-react-btn {
    background: none;
    border: none;
    padding: 0;
    color: #65676b;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.verses-comment-react-btn:hover {
    color: var(--text-accent, #8b4a4a);
    text-decoration: underline;
}
.verses-comment-react-btn.active {
    color: #1877f2;
}
.verses-comment-reaction-badge {
    position: absolute;
    bottom: -8px;
    right: 8px;
    background: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 12px;
    padding: 1px 6px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    cursor: pointer;
    z-index: 5;
}
.verses-comment-reaction-badge .badge-emoji {
    font-size: 11px;
    line-height: 1;
}
.verses-comment-reaction-badge .badge-count {
    font-size: 11px;
    font-weight: 600;
    color: #65676b;
}
body.dark-mode .verses-comment-react-btn {
    color: #b0b3b8;
}
body.dark-mode .verses-comment-react-btn:hover {
    color: var(--text-accent-dark, #ff7a7a);
}
body.dark-mode .verses-comment-react-btn.active {
    color: #4599ff;
}
body.dark-mode .verses-comment-reaction-badge {
    background: #242526;
    border-color: #3a3b3c;
}
body.dark-mode .verses-comment-reaction-badge .badge-count {
    color: #b0b3b8;
}
@media (max-width: 767px) {
    .poem-featured-image-premium {
        height: 250px;
        border-radius: 16px;
        margin-bottom: 25px;
    }
    .poem-title-cinematic {
        font-size: 32px;
    }
    .poem-author-subtitle {
        font-size: 24px;
        margin-top: -5px;
        margin-bottom: 15px;
    }
    .poem-meta-premium {
        margin-bottom: 25px;
        gap: 8px;
    }
    .poem-toolbar-premium {
        padding: 10px 15px;
        margin-bottom: 30px;
        border-radius: 12px;
    }
    .listen-audio-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    .toolbar-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .poem-text-immersive,
    .single-poem-content,
    .poem-text-content {
        font-family: 'Noto Serif Bengali', serif;
        font-size: 12pt !important;
        line-height: 1.8 !important;
        color: #2b2b2b;
        text-align: left;
        margin: 0 auto 30px auto;
        letter-spacing: 0.2px;
    }
    .poem-text-immersive p,
    .poem-text-immersive span,
    .poem-text-immersive div,
    .single-poem-content p,
    .single-poem-content span,
    .single-poem-content div {
        font-size: 12pt !important;
        line-height: 1.8 !important;
        margin-bottom: 20px;
    }
    .poem-engagement-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px 0;
    }
    .poem-engagement-section > .section-label {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .reaction-buttons-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        gap: 6px;
    }
    .reaction-btn {
        flex: 1;
        padding: 6px 8px;
        border-radius: 20px;
        gap: 4px;
        justify-content: center;
    }
    .reaction-btn .emoji {
        font-size: 16px;
    }
    .reaction-btn .count {
        font-size: 11px;
        padding: 1px 6px;
    }
    .share-social-icons {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
        border-top: 1px dashed #f0e6d2;
        padding-top: 12px;
        margin-top: 4px;
    }
    .share-icon-circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .author-card-premium {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    .view-profile-link {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        display: block;
    }
    .post-navigation-cards-premium {
        flex-direction: column;
        gap: 15px;
    }
    .nav-card-premium {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .post-navigation-cards-premium {
        flex-direction: column;
        gap: 15px;
    }
    .nav-card-premium {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-card-premium {
        padding: 10px 12px;
        gap: 10px;
    }
    .card-thumb {
        width: 50px;
        height: 50px;
    }
    .nav-direction {
        font-size: 10px;
    }
    .nav-title {
        font-size: 13px;
    }
}

/* Redesigned Single Poem Columns & Premium Elements */
.poem-main-columns-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}
.poem-column-left {
    flex: 0 0 280px;
    max-width: 280px;
}
.poem-column-right {
    flex: 1;
    min-width: 0;
}
.poem-left-illustration {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 45, 28, 0.08);
    border: 1px solid #ebdcc5;
    background: #fff;
}
.poem-left-illustration img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Full Width layout when sidebar is hidden */
.post-layout.no-sidebar {
    justify-content: center;
}
.post-layout.no-sidebar .post-content-area {
    flex: 0 0 100%;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(74, 45, 28, 0.04);
}

/* Redesigned Reactions to be pill-shaped row */
.reaction-wrapper .section-label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #9c8a77;
    margin-bottom: 5px;
}
.reaction-buttons-grid {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
}
.reaction-btn {
    border-radius: 30px !important;
    padding: 8px 18px !important;
    border: 1px solid #ebdcc5 !important;
    box-shadow: 0 2px 6px rgba(74, 45, 28, 0.03) !important;
    background: #fff !important;
}
.reaction-btn .count {
    background: #fcf9f2 !important;
    border: 1px solid #ebdcc5 !important;
    color: #8b5e3c !important;
}

/* Share Icons Outline Style */
.share-wrapper-premium {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 10px;
}
.share-wrapper-premium .section-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #9c8a77;
    margin: 0;
}
.share-social-icons {
    display: flex;
    gap: 10px;
}
.share-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #e1d2bf !important;
    color: #5c4a3c !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}
.share-icon-circle:hover {
    background: #8b5e3c !important;
    border-color: #8b5e3c !important;
    color: #fff !important;
}

/* Author Writings Badge & Form styling */
.author-writings-count {
    color: #8b5e3c !important;
    background: #fcf9f2 !important;
    border: 1px solid #ebdcc5 !important;
}
.comment-form-area .submit-btn {
    background: #4a1c1c !important;
    border-radius: 30px !important;
    padding: 12px 35px !important;
}
.comment-form-area .submit-btn:hover {
    background: #361414 !important;
}

/* Mobile responsive layout */
@media (max-width: 799px) {
    .poem-main-columns-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .poem-column-left {
        display: none; /* Hide decorative book stack illustration on mobile/tablet to clean up layout */
    }
    .reaction-buttons-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
}

/* --- Single Poem Split Widgets Style Customizations --- */

/* Wrapper classes styling */
.poem-header-banner-wrapper,
.poem-main-columns-wrapper,
.poem-engagement-section,
.poem-comments-section-wrapper,
.post-navigation-cards-premium {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #ebdcc5;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(74, 45, 28, 0.03);
    box-sizing: border-box;
}

/* Adjust margins to avoid double gaps */
.poem-header-banner-wrapper .poem-category-badge-wrapper {
    margin-top: 0 !important;
}
.poem-main-columns-wrapper {
    margin-bottom: 40px !important;
}
.poem-engagement-section {
    border-top: none !important;
    border-bottom: none !important;
    padding: 40px !important;
}

/* Author card background white */
.author-card-premium {
    background-color: #ffffff !important;
}

/* Related poems premium styles */
.related-poems-section-premium .related-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.related-poems-section-premium .related-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--text-accent, #8b4a4a);
    border-radius: 2px;
}
.related-poems-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.related-poem-card-premium {
    background: #ffffff;
    border: 1px solid #ebdcc5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(74, 45, 28, 0.03);
    transition: all 0.3s ease;
}
.related-poem-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(74, 45, 28, 0.08);
    border-color: var(--text-accent, #8b4a4a);
}
.related-poem-card-premium .card-image-wrapper {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.related-poem-card-premium .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.related-poem-card-premium:hover .card-image-wrapper img {
    transform: scale(1.08);
}
.related-poem-card-premium .card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 28, 28, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.related-poem-card-premium:hover .card-hover-overlay {
    opacity: 1;
}
.related-poem-card-premium .card-details {
    padding: 15px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.related-poem-card-premium .poem-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.related-poem-card-premium .poem-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}
.related-poem-card-premium .poem-card-title a:hover {
    color: var(--text-accent, #8b4a4a);
}
.related-poem-card-premium .poem-card-author {
    font-size: 13px;
    color: #8b5e3c;
    font-weight: 500;
}

/* Mobile responsive related premium */
@media (max-width: 991px) {
    .related-poems-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 575px) {
    .related-poems-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* Center poem content block when there is no left illustration image */
.poem-main-columns-wrapper.no-left-illustration {
    justify-content: center;
}
.poem-main-columns-wrapper.no-left-illustration .poem-column-right {
    flex: 0 1 800px;
    width: 100%;
    margin: 0 auto;
}

/* Enforce 1 single horizontal line on screens > 700px */
@media (min-width: 701px) {
    .poem-engagement-section {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .poem-engagement-section > .section-label {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .poem-engagement-section .reaction-buttons-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
    }
    .poem-engagement-section .share-social-icons {
        display: flex !important;
        gap: 8px !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
}
@media (max-width: 700px) {
    .poem-engagement-section {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 15px 10px !important;
        box-sizing: border-box !important;
    }
    .poem-engagement-section > .section-label {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }
    .poem-engagement-section .reaction-buttons-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 4px !important;
        box-sizing: border-box !important;
    }
    .poem-engagement-section .reaction-btn {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 5px 2px !important;
        border-radius: 20px !important;
        gap: 3px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .poem-engagement-section .reaction-btn .emoji {
        font-size: 15px !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
    }
    .poem-engagement-section .reaction-btn .count {
        font-size: 11px !important;
        padding: 1px 5px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .poem-engagement-section .share-social-icons {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: flex-end !important;
        border-top: 1px dashed #f0e6d2 !important;
        padding-top: 12px !important;
        margin-top: 4px !important;
    }
}

/* Single Post Header Meta PDF Download Button */
.poem-meta-premium .single-pdf-download-btn {
    transition: all 0.2s ease;
}
.poem-meta-premium .single-pdf-download-btn:hover {
    color: #c53030 !important;
}
.poem-meta-premium .single-pdf-download-btn i {
    color: #d9383a !important;
    transition: transform 0.2s ease;
}
.poem-meta-premium .single-pdf-download-btn:hover i {
    transform: scale(1.15);
}
.poem-meta-premium .single-pdf-download-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
