
/* -------------------------------------------------------------------------- */
/*                                Blog Listing Styles                         */
/* -------------------------------------------------------------------------- */

.mz-blog-page {
    background-color: var(--mz-bg-light);
    min-height: 100vh;
}

/* Breadcrumbs */
.mz-breadcrumbs-container {
    background: transparent;
    padding: 15px 0;
    border-bottom: none;
}

.mz-breadcrumbs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--mz-text-light);
}

.mz-breadcrumbs li + li::before {
    content: "/";
    margin: 0 10px;
    color: var(--mz-border-color);
}

.mz-breadcrumbs a {
    color: var(--mz-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.mz-breadcrumbs a:hover {
    color: var(--mz-primary);
}

.mz-breadcrumbs .active {
    color: var(--mz-text-main);
}

/* Blog Hero */
.mz-blog-hero {
    background: transparent;
    padding: 60px 0;
    text-align: center;
    border-bottom: none;
}

.mz-blog-main-title {
    font-size: 32px;
    font-family: var(--mz-font-bold);
    color: var(--mz-text-dark);
    margin-bottom: 15px;
}

.mz-blog-description {
    color: var(--mz-text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid */
.mz-blog-list-section {
    padding: 60px 0;
}

.mz-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.mz-blog-card {
    background: var(--mz-white);
    border: 1px solid var(--mz-border-color);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mz-blog-card:hover {
}

.mz-blog-thumb {
    position: relative;
    padding-top: 60%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.mz-blog-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mz-blog-card:hover .mz-blog-thumb img {
}

.mz-blog-cat {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--mz-primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--mz-font-bold);
    z-index: 1;
}

.mz-blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mz-blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--mz-text-light);
    margin-bottom: 15px;
}

.mz-blog-meta i {
    margin-left: 5px;
    color: var(--mz-primary);
}

.mz-blog-title {
    font-size: 18px;
    font-family: var(--mz-font-bold);
    margin-bottom: 15px;
    line-height: 1.5;
}

.mz-blog-title a {
    color: var(--mz-text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.mz-blog-title a:hover {
    color: var(--mz-primary);
}

.mz-blog-excerpt {
    font-size: 14px;
    color: var(--mz-text-main);
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mz-blog-read-more {
    color: var(--mz-primary);
    font-size: 14px;
    font-family: var(--mz-font-bold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mz-blog-read-more:hover {
    gap: 12px;
}

/* Pagination */
.mz-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.mz-pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mz-white);
    color: var(--mz-text-main);
    text-decoration: none;
    border: 1px solid var(--mz-border-color);
}

.mz-pagination .page-numbers.current,
.mz-pagination .page-numbers:hover {
    background: var(--mz-primary);
    color: #fff;
    border-color: var(--mz-primary);
}

/* -------------------------------------------------------------------------- */
/*                                Single Post Styles                          */
/* -------------------------------------------------------------------------- */

.mz-single-post-page {
    /* background-color: #f9f9f9;  Removed background */
    padding-bottom: 80px;
}

.mz-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .mz-post-layout {
        grid-template-columns: 1fr;
    }
}

/* Post Article */
.mz-post-article {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative; /* For scroll spy context if needed */
}

.mz-post-header {
    margin-bottom: 30px;
}

.mz-post-badges {
    margin-bottom: 15px;
}

.mz-post-category {
    background: rgba(0, 137, 138, 0.1);
    color: var(--mz-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.mz-post-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.mz-post-meta-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-top: 20px;
}

.mz-post-meta {
    display: flex;
    gap: 25px;
    color: #666;
    font-size: 0.9rem;
}

.mz-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mz-meta-item svg {
    color: var(--mz-primary);
}

.mz-post-featured-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
}

.mz-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer; /* Lightbox trigger */
}
.mz-post-featured-image img:hover {
}

/* Post Body Typography */
.mz-post-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
}

.mz-post-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
    scroll-margin-top: 100px; /* Sticky Header offset */
}

.mz-post-body h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    scroll-margin-top: 100px;
}

.mz-post-body p {
    margin-bottom: 20px;
}

.mz-post-body ul, .mz-post-body ol {
    margin-bottom: 20px;
    padding-right: 20px;
}

.mz-post-body li {
    margin-bottom: 10px;
}

.mz-post-body code {
    background: #f4f6f8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #c7254e;
    font-size: 0.9em;
}

.mz-post-body pre {
    background: #2d3436;
    color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    direction: ltr;
    text-align: left;
}

.mz-post-body blockquote {
    border-right: 4px solid var(--mz-primary);
    background: #f9fbfb;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

.mz-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
}
.mz-post-body img:hover {
}

/* Figures */
.mz-post-image {
    margin: 30px 0;
    text-align: center;
}

.mz-post-image img {
    max-width: 100%;
    border-radius: 10px;
}

.mz-post-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* TOC (In-Content) - Keeping for mobile or fallback */
.mz-toc-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.mz-toc-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
}

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

.mz-toc-list li {
    margin-bottom: 10px;
}

.mz-toc-list a {
    color: var(--mz-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.mz-toc-list a:hover {
    color: #006061;
}

/* Alerts */
.mz-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-right: 4px solid;
}

.mz-alert-warning {
    background-color: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.mz-alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #0d47a1;
}

/* Post Footer */
.mz-post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mz-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mz-post-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mz-meta-label, .mz-tags-label {
    color: #666;
    font-weight: 600;
    min-width: 70px; /* Align labels */
}

.mz-category-link {
    color: var(--mz-primary);
    text-decoration: none;
    font-weight: 500;
}
.mz-category-link:hover {
    text-decoration: underline;
}

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

.mz-tags-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-weight: 600;
}

.mz-tag {
    background: #f1f1f1;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.mz-tag:hover {
    background: var(--mz-primary);
    color: #fff;
}

.mz-post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mz-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #666;
    transition: background-color 0.2s, color 0.2s;
}

.mz-share-btn:hover {
}

.mz-share-telegram { background: #f3f4f6; }
.mz-share-twitter { background: #f3f4f6; }
.mz-share-linkedin { background: #f3f4f6; }

.mz-share-telegram:hover { background: #0088cc; color: #fff; }
.mz-share-twitter:hover { background: #1da1f2; color: #fff; }
.mz-share-linkedin:hover { background: #0077b5; color: #fff; }

.mz-share-btn svg,
.mz-float-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2; /* Make icons slightly bolder/clearer */
    transition: all 0.2s;
}

/* Author Box */
.mz-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

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

.mz-author-info {
    flex: 1;
}

.mz-author-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.mz-author-name {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #333;
}

.mz-author-bio {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/*                                Comments Section                            */
/* -------------------------------------------------------------------------- */

.mz-comments-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.mz-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mz-comments-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.mz-comments-count {
    background: #f1f1f1;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Comment Form */
.mz-comment-form-container {
    margin-bottom: 50px;
}

.mz-reply-indicator {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.mz-reply-indicator button {
    background: none;
    border: none;
    color: #0d47a1;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.85rem;
}

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

.mz-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mz-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mz-form-group label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.mz-form-group input,
.mz-form-group textarea {
    padding: 12px;
    border: 1px solid #ddd; /* Minimal border */
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background: #fff;
}

.mz-form-group input:focus,
.mz-form-group textarea:focus {
    border-color: var(--mz-primary);
    outline: none;
}

.mz-btn-submit {
    background: var(--mz-primary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.mz-btn-submit:hover {
    background: #006061;
}

.mz-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Comments List */
.mz-comments-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mz-comment-item {
    position: relative;
}

.mz-comment-content-wrapper {
    /* Minimal design: No background, no shadow */
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mz-comment-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mz-comment-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mz-comment-author-name {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.mz-badge-admin {
    background: var(--mz-primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.mz-comment-time {
    font-size: 0.8rem;
    color: #999;
}

.mz-btn-reply {
    background: none;
    border: 1px solid #ddd;
    color: #666;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mz-btn-reply:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-comment-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Nested Comments */
.mz-comment-children {
    margin-top: 20px;
    margin-right: 40px; /* Indentation for RTL */
    border-right: 2px solid #eee; /* Visual thread line */
    padding-right: 20px;
}

/* Admin Specifics */
.mz-comment-admin .mz-comment-author-name {
    color: var(--mz-primary);
}

/* No Comments */
.mz-no-comments {
    text-align: center;
    color: #888;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .mz-form-row {
        grid-template-columns: 1fr;
    }
    
    .mz-comment-children {
        margin-right: 20px;
        padding-right: 15px;
    }
}

/* Sidebar Widgets */
.mz-sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.mz-sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
    color: #333;
}

.mz-widget-about p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.mz-btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--mz-primary);
    color: var(--mz-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.mz-btn-outline:hover {
    background: var(--mz-primary);
    color: #fff;
}

.mz-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mz-recent-posts li {
    margin-bottom: 15px;
}

.mz-recent-posts li:last-child {
    margin-bottom: 0;
}

.mz-recent-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    align-items: center;
}

.mz-recent-post-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.mz-recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mz-recent-post-info {
    display: flex;
    flex-direction: column;
}

.mz-recent-post-title {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.mz-recent-post-link:hover .mz-recent-post-title {
    color: var(--mz-primary);
}

.mz-recent-post-date {
    font-size: 0.8rem;
    color: #999;
}

/* Sticky Widget (General) */
.mz-sticky-widget {
    position: sticky;
    top: 20px;
}

.mz-promo-box {
    text-align: center;
    background: linear-gradient(135deg, var(--mz-primary), #006061);
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.mz-promo-box h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.mz-promo-box p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.mz-promo-box .mz-btn {
    background: #fff;
    color: var(--mz-primary);
    border: none;
    width: 100%;
    display: block;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.mz-promo-box .mz-btn:hover {
}

/* -------------------------------------------------------------------------- */
/*                                New Features                                */
/* -------------------------------------------------------------------------- */

/* Sticky TOC Widget */
.mz-toc-widget {
    position: sticky;
    top: 20px;
    z-index: 10;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.mz-toc-widget nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mz-toc-widget nav li {
    margin-bottom: 10px;
    position: relative;
}

.mz-toc-widget nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: block;
    padding-right: 15px; /* RTL Indent */
    border-right: 2px solid transparent;
}

.mz-toc-widget nav a:hover,
.mz-toc-widget nav a.active {
    color: var(--mz-primary);
    border-right-color: var(--mz-primary);
    font-weight: 600;
}

.mz-toc-widget nav .mz-toc-h3 {
    padding-right: 30px;
    font-size: 0.9rem;
}

/* Related Posts Bottom */
.mz-related-posts-bottom {
    margin-top: 50px;
}

.mz-section-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.mz-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.mz-related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.mz-related-card:hover {
}

.mz-related-thumb {
    display: block;
    height: 160px;
    overflow: hidden;
}

.mz-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mz-related-card:hover .mz-related-thumb img {
}

.mz-related-content {
    padding: 15px;
}

.mz-related-content h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.4;
}

.mz-related-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.mz-related-content h4 a:hover {
    color: var(--mz-primary);
}

.mz-related-date {
    font-size: 0.8rem;
    color: #999;
}

/* Floating Share */
.mz-floating-share {
    position: fixed;
    left: 20px;
    bottom: 20px; /* Moves up if back-to-top is present */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

@media (max-width: 768px) {
    .mz-floating-share {
        display: none; /* Hide on mobile to avoid clutter, or change to bottom bar */
    }
}

.mz-float-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background-color 0.2s, color 0.2s;
}

.mz-float-btn:hover {
}

.mz-share-whatsapp { color: #555; }
.mz-share-whatsapp:hover { background: #25d366; color: #fff; }

/* Back to Top */
.mz-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: var(--mz-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mz-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.mz-back-to-top:hover {
    background: #006061;
    transform: translateY(-3px);
}

/* Lightbox */
.mz-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mz-lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
}



.mz-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.mz-lightbox-close:hover {
    color: #bbb;
}

#mz-lightbox-caption {
    margin-top: 20px;
    color: #ccc;
    font-size: 1.1rem;
}

/* Accordion / FAQ */
.mz-accordion {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mz-accordion-item {
    border-bottom: 1px solid #ddd;
}

.mz-accordion-item:last-child {
    border-bottom: none;
}

.mz-accordion-header {
    background: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mz-accordion-header:hover {
    background: #f1f1f1;
}

.mz-accordion-header::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--mz-primary);
}

.mz-accordion-item.active .mz-accordion-header::after {
    content: '-';
}

.mz-accordion-body {
    display: none;
    padding: 20px;
    background: #fff;
    line-height: 1.6;
}

.mz-accordion-item.active .mz-accordion-body {
    display: block;
}

/* -------------------------------------------------------------------------- */
/*                                Table of Contents (In-Content)              */
/* -------------------------------------------------------------------------- */
.mz-toc-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    font-size: 0.95rem;
}

.mz-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--mz-text-main);
}

.mz-toc-title {
    font-size: 1.1rem;
}

.mz-toc-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mz-text-light);
    padding: 0;
}

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

.mz-toc-list.hidden {
    display: none;
}

.mz-toc-item {
    margin-bottom: 8px;
}

.mz-toc-item a {
    color: var(--mz-text-main);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 5px 0;
}

.mz-toc-item a:hover {
    color: var(--mz-primary);
}

.mz-toc-h2 {
    font-weight: 600;
}

.mz-toc-h3 {
    padding-right: 20px; /* Indent for H3 in RTL */
    font-size: 0.9em;
    color: var(--mz-text-light);
}

/* Auto Links */
.mz-auto-link {
    color: var(--mz-primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed var(--mz-primary);
}

.mz-auto-link:hover {
    background-color: rgba(0, 137, 138, 0.1);
}

 
 / *   R e p l y   I n d i c a t o r   * / 
 
 . m z - r e p l y - i n d i c a t o r   { 
 
         d i s p l a y :   n o n e ;   / *   H i d d e n   b y   d e f a u l t   * / 
 
         a l i g n - i t e m s :   c e n t e r ; 
 
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
 
         b a c k g r o u n d :   # f 0 f 8 f f ; 
 
         p a d d i n g :   1 0 p x   1 5 p x ; 
 
         b o r d e r - r a d i u s :   8 p x ; 
 
         m a r g i n - b o t t o m :   1 5 p x ; 
 
         b o r d e r :   1 p x   d a s h e d   v a r ( - - m z - p r i m a r y ) ; 
 
         c o l o r :   v a r ( - - m z - p r i m a r y ) ; 
 
         f o n t - s i z e :   0 . 9 r e m ; 
 
 } 
 
 
 
 . m z - r e p l y - i n d i c a t o r   b u t t o n   { 
 
         b a c k g r o u n d :   t r a n s p a r e n t ; 
 
         b o r d e r :   n o n e ; 
 
         c o l o r :   # f f 4 d 4 d ; 
 
         c u r s o r :   p o i n t e r ; 
 
         f o n t - w e i g h t :   b o l d ; 
 
         f o n t - s i z e :   0 . 9 r e m ; 
 
 } 
 
 