

.tenant-post-rich-content h1,
.tenant-post-rich-content h2,
.tenant-post-rich-content h3 {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
}

.tenant-post-rich-content h1 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-size: 2.25rem;
}

.tenant-post-rich-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.875rem;
}

.tenant-post-rich-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.tenant-post-rich-content > :first-child {
    margin-top: 0;
}

.tenant-post-rich-content ul,
.tenant-post-rich-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tenant-post-rich-content ul {
    list-style: disc;
}

.tenant-post-rich-content ol {
    list-style: decimal;
}

.tenant-post-rich-content li {
    display: list-item;
    margin: 0.25rem 0;
}

.tenant-post-rich-content li::marker {
    color: #334155;
}

.tenant-post-rich-content li p {
    margin: 0;
}

.tenant-post-rich-content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 1rem 0;
    overflow: hidden;
}

.tenant-post-rich-content th,
.tenant-post-rich-content td {
    min-width: 80px;
    border: 1px solid #cbd5e1;
    padding: 0.65rem 0.75rem;
    vertical-align: top;
    background: #fff;
    position: relative;
}

.tenant-post-rich-content th {
    background: #f8fafc;
    font-weight: 700;
}

.tenant-post-rich-content img {
    max-width: 100%;
    height: auto;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .tenant-post-rich-content table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        border-radius: 0.75rem;
        box-shadow: inset 0 0 0 1px #e2e8f0;
    }

    .tenant-post-rich-content th,
    .tenant-post-rich-content td {
        min-width: 140px;
        white-space: normal;
    }
}
