/**
 * Rich HTML from blog CMS (h2, p, ul, etc.) — article prose styles.
 * Scoped to .pc-blog-content so it only affects blog details body content.
 */

.pc-blog-content {
    color: var(--default-color, #444444);
    font-size: 1.0625rem;
    line-height: 1.8;
}

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

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

.pc-blog-content h1,
.pc-blog-content h2,
.pc-blog-content h3,
.pc-blog-content h4,
.pc-blog-content h5,
.pc-blog-content h6 {
    color: var(--heading-color, #111111);
    font-family: var(--heading-font, inherit);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.pc-blog-content h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}

.pc-blog-content h2 {
    font-size: clamp(1.375rem, 2vw, 1.625rem);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e5e5e5;
}

.pc-blog-content h3 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
}

.pc-blog-content h4 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
}

.pc-blog-content p {
    margin: 0 0 1.15rem;
}

.pc-blog-content a {
    color: var(--accent-color, #ff4500);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: color 0.15s ease;
}

.pc-blog-content a:hover {
    color: color-mix(in srgb, var(--accent-color, #ff4500), #000 20%);
}

.pc-blog-content strong,
.pc-blog-content b {
    color: var(--heading-color, #111111);
    font-weight: 700;
}

.pc-blog-content em,
.pc-blog-content i {
    font-style: italic;
}

.pc-blog-content ul,
.pc-blog-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

.pc-blog-content ul {
    list-style: none;
    padding-left: 0;
}

.pc-blog-content ul > li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.55rem;
}

.pc-blog-content ul > li::before {
    content: '';
    position: absolute;
    left: 0.35rem;
    top: 0.7em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color, #ff4500);
}

.pc-blog-content ol {
    list-style: decimal;
}

.pc-blog-content ol > li {
    margin-bottom: 0.55rem;
    padding-left: 0.35rem;
}

.pc-blog-content li > ul,
.pc-blog-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
}

.pc-blog-content blockquote {
    margin: 1.5rem 0;
    padding: 0.85rem 1.15rem;
    border-left: 4px solid var(--accent-color, #ff4500);
    background: #f4f6f8;
    border-radius: 0 0.5rem 0.5rem 0;
    color: var(--heading-color, #111111);
    font-style: italic;
}

.pc-blog-content blockquote p:last-child {
    margin-bottom: 0;
}

.pc-blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
}

.pc-blog-content figure {
    margin: 1.5rem 0;
}

.pc-blog-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666666;
    text-align: center;
}

.pc-blog-content hr {
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 2rem 0;
}

.pc-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    overflow-x: auto;
    display: block;
}

.pc-blog-content thead {
    background: #f4f6f8;
}

.pc-blog-content th,
.pc-blog-content td {
    border: 1px solid #e5e5e5;
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

.pc-blog-content th {
    color: var(--heading-color, #111111);
    font-weight: 600;
}

.pc-blog-content pre {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    overflow-x: auto;
    border-radius: 0.5rem;
    background: #111111;
    color: #f4f6f8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.pc-blog-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9em;
}

.pc-blog-content :not(pre) > code {
    background: #f4f6f8;
    color: #a33a00;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
}

.pc-blog-content iframe,
.pc-blog-content video {
    display: block;
    max-width: 100%;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
}
