/* Journal styles are scoped to preserve storefront and page layouts. */
.pdm-blog { background: #f5f7f8; color: #183348; }
.pdm-blog-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.pdm-blog-hero { padding: 72px 0; background: #053661; color: #fff; border-bottom: 4px solid #d32f13; }
.pdm-blog-eyebrow { margin: 0 0 18px; color: #c6dce9; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pdm-blog-hero h1 { max-width: 900px; margin: 0; font-size: clamp(32px, 4.5vw, 60px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pdm-blog-intro { max-width: 620px; margin-top: 22px; color: #d2e2ed; font-size: 18px; line-height: 1.75; }
.pdm-blog-intro a { text-decoration: underline; }
.pdm-blog-layout { padding-block: 48px 72px; }
.pdm-blog-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; align-items: start; }
.pdm-blog-feed { min-width: 0; }
.pdm-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.has-sidebar .pdm-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdm-blog-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #dce5eb; border-radius: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pdm-blog-card:hover { border-color: #afc5d5; box-shadow: 0 12px 28px #0536610d; }
.pdm-blog-card-image, .pdm-blog-card-placeholder { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e5edf2; }
.pdm-blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.pdm-blog-card-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #e5edf2, #c4dae5); }
.pdm-blog-card-placeholder span { font-size: 40px; font-weight: 700; letter-spacing: .18em; color: #476c83; border-bottom: 3px solid #d32f13; padding-bottom: 8px; }
.pdm-blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.pdm-blog-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; color: #536b7a; font-size: 12px; }
.pdm-blog-badge { border-radius: 4px; padding: 3px 8px; background: #fceeea; color: #a62610; font-weight: 700; }
.pdm-blog-card h2 { margin: 0 0 14px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; color: #053661; }
.pdm-blog-card h2 a:hover { color: #b42a11; }
.pdm-blog-excerpt { margin: 0 0 24px; color: #526675; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.pdm-blog-read { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e6edf1; color: #a62610; font-size: 14px; font-weight: 700; }
.pdm-blog-read span { font-size: 22px; }
.pdm-blog a:focus-visible, .pdm-blog input:focus-visible, .pdm-blog button:focus-visible { outline: 3px solid #d32f13; outline-offset: 4px; }
.pdm-blog-sidebar { display: grid; gap: 24px; min-width: 0; }
.pdm-blog-sidebar .widget { padding: 24px; background: #fff; border: 1px solid #dce5eb; border-radius: 10px; overflow-wrap: anywhere; }
.pdm-blog-sidebar .widget-title, .pdm-blog-sidebar h2 { color: #053661; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.pdm-blog-sidebar li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e6edf1; }
.pdm-blog-sidebar input, .pdm-blog-sidebar select { max-width: 100%; min-width: 0; padding: 10px; border: 1px solid #bacbd6; border-radius: 4px; }
.pdm-blog-sidebar button, .pdm-blog-sidebar input[type=submit] { padding: 10px 14px; background: #053661; color: #fff; border-radius: 4px; }
.pdm-blog .pagination { margin-top: 36px; }
.pdm-blog .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pdm-blog .pagination .page-numbers, .pdm-blog-pages .post-page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; background: #fff; border: 1px solid #cbd9e2; border-radius: 6px; }
.pdm-blog .pagination .current, .pdm-blog-pages .current { background: #053661; color: #fff; border-color: #053661; }
.pdm-blog-empty { padding: 40px; background: #fff; border: 1px solid #dce5eb; border-radius: 12px; }
.pdm-blog-empty h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.pdm-blog-article .pdm-blog-hero { padding-inline: 20px; }
.pdm-blog-back { display: inline-block; margin-bottom: 28px; color: #d2e2ed; font-size: 14px; }
.pdm-blog-article .pdm-blog-hero h1 { max-width: none; font-size: clamp(30px, 4vw, 50px); margin-bottom: 24px; }
.pdm-blog-article .pdm-blog-hero time { color: #d2e2ed; font-size: 14px; }
.pdm-blog-article-body { padding-block: 48px 72px; }
.pdm-blog-cover { margin: 0 0 36px; }
.pdm-blog-cover img { width: 100%; height: auto; border-radius: 10px; }
.pdm-blog-prose { font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.pdm-blog-prose > * + * { margin-top: 1.4em; }
.pdm-blog-prose h2, .pdm-blog-prose h3, .pdm-blog-prose h4 { color: #053661; font-weight: 700; line-height: 1.3; margin-top: 1.8em; }
.pdm-blog-prose h2 { font-size: 30px; }
.pdm-blog-prose h3 { font-size: 24px; }
.pdm-blog-prose h4 { font-size: 21px; }
.pdm-blog-prose a { color: #a62610; text-decoration: underline; text-underline-offset: 3px; }
.pdm-blog-prose ul, .pdm-blog-prose ol { padding-left: 1.5em; list-style: disc; }
.pdm-blog-prose ol { list-style: decimal; }
.pdm-blog-prose blockquote { padding: 16px 24px; border-left: 3px solid #d32f13; background: #e9f0f4; }
.pdm-blog-prose iframe, .pdm-blog-prose video { max-width: 100%; }
.pdm-blog-prose pre, .pdm-blog-prose .wp-block-table { overflow-x: auto; }
.pdm-blog .post-navigation { border-top: 1px solid #cbd9e2; padding-top: 28px; margin-top: 48px; }
.pdm-blog .post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pdm-blog .post-navigation a { display: block; font-weight: 700; overflow-wrap: anywhere; }
.pdm-blog .post-navigation span { display: block; margin-bottom: 8px; font-size: 12px; color: #536b7a; font-weight: 400; }
@media (max-width: 1000px) {
 .pdm-blog-layout.has-sidebar { grid-template-columns: 1fr; }
 .pdm-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .pdm-blog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
 .pdm-blog-container { width: calc(100% - 32px); }
 .pdm-blog-hero { padding: 42px 0; }
 .pdm-blog-layout, .pdm-blog-article-body { padding-block: 28px 48px; }
 .pdm-blog-grid, .has-sidebar .pdm-blog-grid, .pdm-blog-sidebar { grid-template-columns: 1fr; gap: 20px; }
 .pdm-blog-card-body { padding: 22px; }
 .pdm-blog-prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .pdm-blog-card { transition: none; } }
