/* ========================================
   LAYOUT WRAPPER
======================================== */

.mrhost-post-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* SIDEBAR */
.mrhost-post-toc {
    width: 280px;
    position: sticky;
    top: 120px;

    background: #F4F5FF;
    border: 1px solid #D5DFFF;
    border-radius: 14px;

    padding: 20px;
    font-family: "DM Sans", sans-serif;
}

/* CONTENT */
.mrhost-post {
    flex: 1;
    font-family: "DM Sans", sans-serif;
}

/* ========================================
   TERMS / CATEGORIES + TAGS
======================================== */

.mrhost-post-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.mrhost-post-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #eee;
    color: #000;
    text-decoration: none;
	transition: background 0.25s ease;
}

.mrhost-post-tag:hover {
    background: #e9e9ff;
}

.mrhost-post-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.mrhost-post-category {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #F4F5FF;
    color: #000;
    text-decoration: none;
	transition: background 0.25s ease;
}

.mrhost-post-category:hover {
    background: #e9e9ff;
}

/* ========================================
   TITLE
======================================== */

.mrhost-post-title {
    font-size: 34px;
    margin-bottom: 10px;
    color: #000;
}

/* ========================================
   META
======================================== */

.mrhost-post-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
}

/* ========================================
   IMAGE
======================================== */

.mrhost-post-image img {
    width: 100%;
    border-radius: 10px !important;
    margin-bottom: 10px;
}

/* ========================================
   BODY
======================================== */

.mrhost-post-body {
    font-size: 16px;
    line-height: 1.7em;
    font-family: "DM Sans", sans-serif;
}

/* LINKS (fix 2) */
.mrhost-post-body a {
    color: #7253ED;
    text-decoration: none;
    transition: color 0.25s ease;
}

.mrhost-post-body a:hover {
    color: #4f39c6;
}

/* ========================================
   SHARE
======================================== */

.mrhost-post-share {
    margin-top: 30px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.mrhost-post-share a {
    color: #7253ED;
    font-size: 16px;
    transition: color 0.25s ease;
}

.mrhost-post-share a:hover {
    color: #4f39c6;
}

/* ========================================
   TOC
======================================== */

.mrhost-post-toc-title {
    font-weight: 600;
    margin: 10px 0;
    font-family: "DM Sans", sans-serif;
}

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

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

.mrhost-post-toc-item a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.mrhost-post-toc-item a:hover {
    color: #7253ED;
}

/* LEVEL INDENT */
.mrhost-level-h3 { margin-left: 10px; }
.mrhost-level-h4 { margin-left: 20px; }
.mrhost-level-h5 { margin-left: 30px; }
.mrhost-level-h6 { margin-left: 40px; }

/* BACK BUTTON */
.mrhost-post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 10px;
    color: #7253ED;
    text-decoration: none;

    transition: color 0.25s ease;
    width: fit-content;
    font-family: "DM Sans", sans-serif;
}

.mrhost-post-back:hover {
    color: #4f39c6;
}

.mrhost-post-back i {
    font-size: 14px;
}

/* ========================================
   TOC EMPTY
======================================== */

.mrhost-post-toc-empty {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4em;
    font-family: "DM Sans", sans-serif;
}

/* ========================================
   COPY TOAST (fix 4 - z-index)
======================================== */

.mrhost-post-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999999 !important;

    background: #7253ED;
    color: #fff;

    padding: 10px 14px;
    border-radius: 10px;

    font-size: 13px;

    opacity: 0;
    transform: translateY(10px);
    transition: 0.25s ease;

    pointer-events: none;
    font-family: "DM Sans", sans-serif;
}

.mrhost-post-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1024px) {
    .mrhost-post-layout {
        flex-direction: column;
    }

    .mrhost-post-toc {
        position: relative;
        top: 0;
        width: 100%;
    }
}