/* Post templates only; product archives and existing page compositions keep their styles. */
.sm-blog { background: var(--sm-color-white); color: var(--sm-color-body); }
.sm-blog.sm-blog-latest { background: var(--sm-color-mist); padding: var(--sm-space-section) var(--sm-page-gutter); }
.sm-blog.sm-blog-latest .sm-blog-list-heading { margin-block-end: 40px; }
.sm-blog-latest .sm-blog-list-heading .wp-block-buttons { margin: 0; }
.sm-blog-heading .is-style-sm-lead { max-width: 780px; }
.sm-blog-heading h1 { overflow-wrap: anywhere; }
.sm-blog-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.sm-blog-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--sm-color-line); background: var(--sm-color-white); color: var(--sm-color-navy); font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.sm-blog-topics a:hover, .sm-blog-topics a[aria-current="page"] { background: var(--sm-color-navy); color: var(--sm-color-white); border-color: var(--sm-color-navy); }
.sm-blog-category-hero .sm-blog-topics a { border-color: rgba(255,255,255,.6); background: rgba(7,31,52,.35); color: var(--sm-color-white); }
.sm-blog-category-hero .sm-blog-topics a:hover,
.sm-blog-category-hero .sm-blog-topics a[aria-current="page"] { background: var(--sm-color-white); color: var(--sm-color-navy); border-color: var(--sm-color-white); }
.sm-blog-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--sm-color-body); font-size: 14px; line-height: 1.5; font-weight: 600; }
.sm-blog-list-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 40px; }
.sm-blog .sm-blog-list-heading p { margin: 0; }
.sm-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.sm-blog-card.sm-pattern--location-card.is-style-sm-card { display: flex; flex-direction: column; padding: 0; min-width: 0; overflow: hidden; border: 1px solid var(--sm-card-border); border-radius: var(--sm-radius); background: var(--sm-color-white); box-shadow: var(--sm-shadow-card); }
.sm-blog-card.sm-pattern--location-card.is-style-sm-card:is(:hover,:focus-within) { border-color: var(--sm-card-border-active); box-shadow: var(--sm-shadow-card-active); }
.sm-blog-card__image { display: block; aspect-ratio: 4/3; overflow: hidden; }
.sm-blog-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sm-blog-card .sm-pattern__copy { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 18px; }
.sm-blog-card .sm-pattern__copy :is(h3,p) { margin: 0; }
.sm-blog-card .wp-block-buttons { margin: 0; }
.sm-blog-card h3 a { color: var(--sm-color-navy); text-decoration: none; }
.sm-blog-card h3 a:hover { color: var(--sm-color-ink); text-decoration: underline; text-underline-offset: .15em; }
.sm-blog-card__categories { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 6px; font-size: 14px; line-height: 1.5; }
.sm-blog-card__categories a { color: var(--sm-color-navy); text-underline-offset: .2em; }
.sm-blog .pagination { margin-top: 60px; }
.sm-blog .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sm-blog .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--sm-color-line); color: var(--sm-color-navy); font-size: 16px; line-height: 1.4; text-decoration: none; }
.sm-blog .page-numbers.current, .sm-blog a.page-numbers:hover { color: var(--sm-color-white); background: var(--sm-color-navy); border-color: var(--sm-color-navy); }
.sm-blog a:focus-visible, .sm-blog summary:focus-visible { outline: 3px solid var(--sm-color-gold); outline-offset: 4px; }
.sm-blog-single-head { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 60px; }
.sm-blog-single-head h1 { margin-top: 20px; }
.sm-blog-featured { aspect-ratio: 4/3; box-shadow: var(--sm-shadow-card); }
.sm-blog-featured img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sm-blog-prose { padding: var(--sm-space-section) var(--sm-page-gutter) 60px; font-size: var(--sm-text-body); line-height: var(--sm-leading-body); }
.sm-blog-prose--classic { max-width: calc(var(--sm-reading-width) + 2 * var(--sm-page-gutter)); margin-inline: auto; }
.sm-blog-prose > *, .sm-blog-content > * { max-width: var(--sm-reading-width); margin-inline: auto; }
.sm-blog-prose > .sm-blog-content, .sm-blog-content > .sm-blog-wide { max-width: var(--sm-content-width); }
.sm-blog-prose :is(p,ul,ol,blockquote):not(:where(.sm-product-finder *)), .sm-blog-content :is(p,ul,ol,blockquote):not(:where(.sm-product-finder *)) { color: var(--sm-color-body); }
.sm-blog-prose :is(h2,h3,h4):not(:where(.sm-product-finder *)), .editor-styles-wrapper .sm-blog-content :is(h2,h3,h4):not(:where(.sm-product-finder *)) { margin-top: 48px; margin-bottom: 20px; }
.sm-blog-prose > :first-child, .sm-blog-content > :first-child { margin-top: 0; }
.sm-blog-prose p:not(:where(.sm-product-finder *)), .sm-blog-content p:not(:where(.sm-product-finder *)) { margin-bottom: 22px; }
.sm-blog-prose img:not(:where(.sm-product-finder *)) { max-width: 100%; height: auto; }
.sm-blog-prose .wp-caption { max-width: 100%; }
.sm-blog-prose :is(.alignleft,.alignright) { max-width: 45%; }
.sm-blog-prose::after { display: block; content: ''; clear: both; }
.sm-blog-prose blockquote, .editor-styles-wrapper .sm-blog-content blockquote { padding: 24px 28px; border-left: 3px solid var(--sm-color-blue); background: var(--sm-color-mist); font-size: var(--sm-text-body); }
.sm-blog-prose .sm-blog-wide { margin-block: 60px; }
.sm-blog-prose .sm-blog-wide :is(h2,h3,p) { max-width: 780px; }
.sm-blog-prose .sm-blog-wide h2 { margin-top: 0; }
.sm-blog-prose .sm-blog-wide .wp-block-gallery { max-width: none; }
@media (min-width: 541px) {
	.sm-blog-gallery.wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.sm-blog-gallery.wp-block-gallery.has-nested-images.columns-2 > figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.sm-blog-prose .sm-pattern--faq p { margin: 0; }
.sm-blog-prose .sm-pattern--faq .wp-block-details p { margin-block: 16px 0; }
.sm-blog-prose .sm-pattern--faq h2 { margin-top: 0; }
.sm-blog-prose .sm-pattern--faq { padding: 60px 40px; }
.sm-blog-prose .sm-pattern--faq .is-style-sm-section-columns { grid-template-columns: var(--sm-editorial-columns); gap: var(--sm-editorial-gap); align-items: start; }
.sm-blog-prose .sm-pattern--faq .sm-pattern__head { margin: 0; }
.sm-blog-prose .sm-blog-callout, .editor-styles-wrapper .sm-blog-callout { padding: 28px; background: var(--sm-color-mist); }
.sm-blog-callout > :last-child { margin-bottom: 0; }
.sm-blog-article-footer { width: min(calc(100% - 2 * var(--sm-page-gutter)),var(--sm-reading-width)); margin: 0 auto; padding-bottom: var(--sm-space-section); }
.sm-blog-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 24px; margin-bottom: 32px; border-top: 1px solid var(--sm-color-line); font-size: 14px; line-height: 1.6; }
.sm-blog-tags span { width: 100%; font-weight: 600; }
.sm-blog-tags a { color: var(--sm-color-navy); text-underline-offset: .2em; overflow-wrap: anywhere; }
.sm-blog-comments { max-width: var(--sm-reading-width); margin: auto; padding: 60px var(--sm-page-gutter); }
.sm-blog-comments #reply-title { font-size: var(--sm-text-section); color: var(--sm-color-navy); }
@media (max-width: 1099.98px) {
	.sm-blog-single-head { grid-template-columns: minmax(0,1fr); gap: 40px; }
	.sm-blog-featured { max-width: 780px; aspect-ratio: 16/9; }
}
@media (max-width: 999.98px) {
	.sm-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
}
@media (max-width: 689.98px) {
	.sm-blog-grid { grid-template-columns: minmax(0,1fr); }
	.sm-blog-prose { padding-bottom: 40px; }
	.sm-blog-prose :is(.alignleft,.alignright) { float: none; max-width: 100%; margin: 28px auto; }
	.sm-blog-prose .sm-pattern--faq { padding: 40px 22px; }
	.sm-blog-topics { gap: 8px; }
	.sm-blog-topics a { padding-inline: 12px; }
}
@media (max-width: 359.98px) {
	.sm-blog-category-hero { min-height: 600px; }
}
