.trb-wrapper {
    width: 100%;
}

.trb-content {
    color: inherit;
    line-height: 1.8;
}

.trb-content > *:first-child { margin-top: 0; }
.trb-content > *:last-child  { margin-bottom: 0; }

.trb-content p {
    margin-top: 0;
    margin-bottom: 1em;
}

.trb-content h1,
.trb-content h2,
.trb-content h3,
.trb-content h4,
.trb-content h5,
.trb-content h6 {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.trb-content ul,
.trb-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.trb-content li {
    margin-bottom: 0.4em;
}

.trb-content a {
    color: var(--primary, #3498db);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.trb-link-no-underline .trb-content a {
    text-decoration: none;
}

.trb-link-underline-hover .trb-content a {
    text-decoration: none;
}

.trb-link-underline-hover .trb-content a:hover {
    text-decoration: underline;
}

.trb-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--primary, #3498db);
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: #555;
}

.trb-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2em 0;
}

.trb-content code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.88em;
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
}

.trb-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 1.2em 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1em;
    line-height: 1.6;
}

.trb-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.9em;
}

.trb-drop-cap .trb-content > p:first-of-type::first-letter {
    float: left;
    font-size: 72px;
    line-height: 0.8;
    font-weight: 700;
    color: var(--primary, #3498db);
    margin-top: 4px;
    margin-right: 8px;
    margin-bottom: 0;
    padding: 4px 8px 0 0;
    border-radius: 4px;
}

.trb-content[style*="column-count: 2"],
.trb-content[style*="column-count: 3"] {
    orphans: 3;
    widows: 3;
}

.trb-reading-time-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.trb-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 100px;
    line-height: 1.4;
}

.trb-rt-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .trb-drop-cap .trb-content > p:first-of-type::first-letter {
        font-size: 52px;
    }

    .trb-content blockquote {
        padding: 0.8em 1em;
    }
}