.text-content,
.blog-content {
    color: var(--medium-gray);
    font-size: 17px;
    line-height: 1.75;
}

.text-content > *:first-child,
.blog-content > *:first-child {
    margin-top: 0;
}

.text-content > *:last-child,
.blog-content > *:last-child {
    margin-bottom: 0;
}

.text-content p,
.blog-content p {
    margin-bottom: 18px;
    color: var(--medium-gray);
    line-height: 1.75;
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6,
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--dark-gray);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.text-content h1:first-child,
.text-content h2:first-child,
.text-content h3:first-child,
.text-content h4:first-child,
.text-content h5:first-child,
.text-content h6:first-child,
.blog-content h1:first-child,
.blog-content h2:first-child,
.blog-content h3:first-child,
.blog-content h4:first-child,
.blog-content h5:first-child,
.blog-content h6:first-child {
    margin-top: 0;
}

.text-content h2,
.blog-content h2 {
    font-size: 1.75rem;
}

.text-content h3,
.blog-content h3 {
    font-size: 1.5rem;
}

.text-content h4,
.blog-content h4 {
    font-size: 1.25rem;
}

.text-content ul,
.blog-content ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.text-content ul li,
.blog-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.75;
    color: var(--medium-gray);
    list-style: none;
}

.text-content ul li::before,
.blog-content ul li::before {
    content: "\2022";
    position: absolute;
    left: 8px;
    color: var(--base-color);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
}

.text-content ol,
.blog-content ol {
    margin: 20px 0;
    padding-left: 28px;
}

.text-content ol li,
.blog-content ol li {
    margin-bottom: 10px;
    line-height: 1.75;
    color: var(--medium-gray);
    list-style: decimal;
}

.text-content blockquote,
.blog-content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--base-color);
    background: rgba(200, 170, 94, 0.08);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--dark-gray);
}

.text-content a,
.blog-content a {
    color: var(--base-color);
    text-decoration: underline;
    transition: color 0.25s ease;
}

.text-content a:hover,
.blog-content a:hover {
    color: var(--dark-gray);
    text-decoration: none;
}

.text-content strong,
.text-content b,
.blog-content strong,
.blog-content b {
    font-weight: 700;
    color: var(--dark-gray);
}

.text-content img,
.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 8px;
    display: block;
}

.text-content table,
.blog-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.text-content table th,
.text-content table td,
.blog-content table th,
.blog-content table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--extra-medium-gray);
}

.text-content table th,
.blog-content table th {
    background: var(--very-light-gray);
    font-weight: 700;
    color: var(--dark-gray);
}

.text-content hr,
.blog-content hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--extra-medium-gray);
}
