/* Approved presentation adaptation of ONE native Loop and source card utilities. */
body.ep-divi [data-ep-native-blog] { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
body.ep-divi .ep-blog-grid > .ep-blog-article { display: flex !important; flex-direction: column; min-width: 0; margin: 0; }
body.ep-divi .ep-blog-grid > .ep-blog-article:first-of-type { grid-column: 1 / -1; }
body.ep-divi .ep-blog-frame { display: flex; flex-direction: column; flex: 1 1 0%; }
body.ep-divi .ep-blog-body { display: flex; flex: 1 1 0%; flex-direction: column; padding: 1.5rem; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-body { justify-content: center; }
body.ep-divi .ep-blog-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
body.ep-divi .ep-blog-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
body.ep-divi .ep-blog-article:hover .ep-blog-image img { transform: scale(1.03); }
body.ep-divi .ep-blog-date-image { display: block !important; position: absolute; left: 1.5rem; top: 1rem; z-index: 10; }
body.ep-divi .ep-blog-date-image .et_pb_text_inner { display: contents; }
body.ep-divi .ep-blog-date-fallback { display: block !important; margin-bottom: 1rem; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-date-fallback { margin-bottom: 1.25rem; }
body.ep-divi .ep-blog-article:has(.ep-blog-media img[src]:not([src=""])) .ep-blog-date-fallback,
body.ep-divi .ep-blog-article[data-ep-has-image="true"] .ep-blog-date-fallback,
body.ep-divi .ep-blog-media:not(:has(img[src]:not([src=""]))),
body.ep-divi .ep-blog-article[data-ep-has-image="false"] .ep-blog-media,
body.ep-divi .ep-blog-excerpt-source { display: none !important; }
/* Neutralize the native Blurb's layout shell, not the linked native h2. */
body.ep-divi .ep-blog-title,
body.ep-divi .ep-blog-title .et_pb_blurb_content,
body.ep-divi .ep-blog-title .et_pb_blurb_container { display: contents !important; width: auto; max-width: none; margin: 0; padding: 0; background: transparent; }
body.ep-divi .ep-blog-title h2 { margin: .5rem 0 0; padding: 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.375; letter-spacing: -.025em; color: inherit; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-title h2 { margin-top: .75rem; font-size: 1.5rem; line-height: 1.25; }
body.ep-divi .ep-blog-title h2 a { color: inherit; font: inherit; text-decoration: inherit; }
body.ep-divi .ep-blog-title h2 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
body.ep-divi .ep-blog-title h2 a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
body.ep-divi .ep-blog-excerpt { display: block !important; margin-top: .75rem; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-excerpt { margin-top: 1rem; }
body.ep-divi .ep-blog-category { display: block !important; }
body.ep-divi .ep-blog-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: 1.25rem; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-cta { margin-top: 2rem; padding-top: 0; }
body.ep-divi .ep-blog-cta-featured { display: none !important; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-cta-featured { display: contents !important; }
body.ep-divi .ep-blog-article:first-of-type .ep-blog-cta-standard { display: none !important; }
body.ep-divi .blog-pagination.mt-16 { margin-top: 4rem; }
body.ep-divi .ep-blog-post-nav { margin: 0; padding: 0; }
@media (min-width: 640px) {
  body.ep-divi [data-ep-native-blog] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ep-divi .ep-blog-body { padding: 2rem; }
  body.ep-divi .ep-blog-article:first-of-type .ep-blog-body { padding: 2.5rem; }
  body.ep-divi .ep-blog-title h2 { font-size: 1.25rem; }
  body.ep-divi .ep-blog-article:first-of-type .ep-blog-title h2 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  body.ep-divi [data-ep-native-blog] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ep-divi .ep-blog-article:first-of-type .ep-blog-frame { flex-direction: row !important; }
  body.ep-divi .ep-blog-article:first-of-type .ep-blog-media { flex-shrink: 0; width: 50%; aspect-ratio: auto; }
  body.ep-divi .ep-blog-article:first-of-type .ep-blog-body { padding: 3.5rem; }
  body.ep-divi .ep-blog-article:first-of-type .ep-blog-title h2 { font-size: 2.25rem; }
}
