/* Blog (scripts/blog.mjs): the post body is plain HTML from the content team's doc, styled here for the dark theme. */
.ph-article-wrap { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .ph-article-wrap { padding: 0 2rem; } }
.ph-article-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 2.5rem; border-top: 3px solid var(--color-brand-accent); }
.ph-article { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.75; color: color-mix(in srgb, var(--color-brand-text, #f5f5f5) 82%, transparent); overflow-wrap: break-word; }
.ph-article > * + * { margin-top: 1.25rem; }
.ph-article h2 { margin-top: 3rem; font-family: var(--font-heading); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(1.5rem, 3.2vw, 2rem); color: var(--color-brand-text, #fff); }
.ph-article h3 { margin-top: 2rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--color-brand-text, #fff); }
.ph-article a { color: var(--color-brand-secondary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ph-article a:hover { color: var(--color-brand-accent); }
.ph-article strong { color: var(--color-brand-text, #fff); }
.ph-article ul, .ph-article ol { padding-left: 1.4rem; }
.ph-article ul { list-style: none; padding-left: 0; }
.ph-article ul > li { position: relative; padding-left: 1.6rem; }
.ph-article ul > li + li, .ph-article ol > li + li { margin-top: .6rem; }
.ph-article ul > li::before { content: ""; position: absolute; left: 0; top: .7em; width: .7rem; height: 2px; background: var(--color-brand-accent); }
.ph-article ol { list-style: decimal; }
.ph-article ol > li::marker { color: var(--color-brand-accent); font-weight: 700; }
.ph-table { overflow-x: auto; margin-top: 1.75rem; border: 1px solid rgb(255 255 255 / .1); }
.ph-article table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
.ph-article th { background: var(--color-brand-bg); color: var(--color-brand-text, #fff); font-family: var(--font-heading); text-align: left; }
.ph-article th, .ph-article td { padding: .75rem 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); vertical-align: top; }
.ph-kicker { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--color-brand-muted); }
.ph-section-title { margin-top: .5rem; font-family: var(--font-heading); font-weight: 900; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--color-brand-text, #fff); }
.ph-cards { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .ph-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ph-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ph-card { background: var(--color-brand-bg); border: 1px solid rgb(255 255 255 / .08); transition: transform .2s, border-color .2s; }
.ph-card:hover { transform: translateY(-4px); border-color: var(--color-brand-accent); }
.ph-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ph-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.ph-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ph-card:hover .ph-card-img img { transform: scale(1.04); }
.ph-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.4rem 1.5rem; }
.ph-card-meta { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-brand-muted); }
.ph-card-title { margin-top: .5rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; line-height: 1.3; color: var(--color-brand-text, #fff); }
.ph-card-text { margin-top: .6rem; font-size: .95rem; line-height: 1.6; color: var(--color-brand-muted); flex: 1; }
.ph-card-more { margin-top: 1rem; font-family: var(--font-heading); font-weight: 700; font-size: .9rem; color: var(--color-brand-secondary); }
.ph-all { margin-top: 2rem; text-align: center; }
.ph-all a { font-family: var(--font-heading); font-weight: 700; color: var(--color-brand-secondary); text-decoration: underline; text-underline-offset: 4px; }
.ph-band { padding: 4rem 0; }
@media (min-width: 640px) { .ph-band { padding: 5rem 0; } }
