/* Original Demo sections/editorial/cards remain in the fragment. These rules
 * adapt live WordPress media and remove dependence on its old animation JS. */
.hl-blog { --hl-blog-accent: #963636; width: 100%; color: #222; font-family: var(--FONT-STACK-BODY, Arial, sans-serif); }
.hl-blog *, .hl-blog *::before, .hl-blog *::after { box-sizing: border-box; }
.hl-blog :is(a,button,input,textarea):focus-visible { outline: 2px solid #963636; outline-offset: 4px; }
.hl-blog .article__hero-header .article__title { overflow-wrap: anywhere; }
.hl-blog .article__hero-header .article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.hl-blog .article__author { color: inherit; }
.hl-blog .article__hero-image.hl-blog-hero { display: flex; justify-content: center; align-items: center; position: relative; background-image: none !important; }
.hl-blog .hl-blog-hero__image { display: block; width: 100%; height: 500px; margin: 0; object-fit: contain; }
.hl-blog .article__hero-image.hl-blog-hero--empty { min-height: 160px; height: auto; background: #f7f5f3; }
.hl-blog .article__content { overflow-wrap: anywhere; }
.hl-blog .article__content :is(img,video,iframe) { max-width: 100%; }
.hl-blog .article__content img { height: auto; }
.hl-blog .article__content :is(pre,.wp-block-table) { overflow-x: auto; }
.hl-blog .article__content .alignwide { width: 100%; margin-inline: 0; }
.hl-blog .article__content .alignfull { max-width: 100%; margin-inline: 0; }
.hl-blog .article__content .wp-caption { max-width: 100%; }
.hl-blog .article__content .wp-caption-text,
.hl-blog .article__content figcaption { color: #666; font-size: 14px; line-height: 1.5; }
.hl-blog .article__content a { text-underline-offset: 3px; }
.hl-blog .blog-listing { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 36px 28px; }
.hl-blog .blog-listing > .article { width: 100%; min-width: 0; margin: 0; padding: 0; }
.hl-blog .hl-blog-card .article__image__outer { width: 100%; }
.hl-blog .hl-blog-card .article__image-link { display: block; }
.hl-blog .hl-blog-card .image-wrapper { position: relative; display: block; width: 100%; aspect-ratio: 1.5; margin: 0; overflow: hidden; }
.hl-blog .hl-blog-card .hl-blog-card__image { position: static; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 1; }
.hl-blog .hl-blog-card .article__title { overflow-wrap: anywhere; }
.hl-blog .hl-blog-card .article__excerpt { margin-block: 12px; }
.hl-blog .hl-blog-card .article__meta,
.hl-blog .hl-blog-card__meta { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 4px 10px; margin-block: 12px 0; font-size: 12px; line-height: 1.6; color: #666; }
.hl-blog .hl-blog-card__no-image { display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; padding: 16px; background: #f7f5f3; color: #666; font-size: 14px; }
.hl-blog .widget__recent .hl-blog-card .article__meta { justify-content: flex-start; }
.hl-blog .widget__recent .hl-blog-card .article__image__outer { margin-bottom: 0; }
.hl-blog .widget__recent .hl-blog-card__no-image { min-height: 100px; }
.hl-blog .hl-blog-featured .editorial__slider,
.hl-blog .hl-blog-featured .editorial__slide { display: block; width: 100%; opacity: 1; visibility: visible; }
.hl-blog .hl-blog-featured .editorial__image { min-width: 0; }
.hl-blog .hl-blog-featured .image__hero__scale { opacity: 1; transform: none; }
.hl-blog .hl-blog-featured .hl-blog-featured__image { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hl-blog .hl-blog-featured .editorial__title { overflow-wrap: anywhere; }
.hl-blog .hl-blog-featured .hl-blog-card__meta { color: inherit; opacity: .8; }
.hl-blog .hl-blog-empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: #666; }
.hl-blog .widget__recent .hl-blog-empty { padding: 12px 0; text-align: start; }
.hl-blog .hl-blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; width: 100%; margin: 40px 0; }
.hl-blog .hl-blog-pagination .pagination-custom__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hl-blog .hl-blog-pagination .pagination-custom__page { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 5px 10px; text-decoration: none; }
.hl-blog .hl-blog-pagination .pagination-custom__page--active { background: #963636; color: #fff; }
.hl-blog .hl-blog-pagination :is(.pagination-custom__prev,.pagination-custom__next) { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 989px) {
  .hl-blog .blog-listing { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 22px; }
}
@media (max-width: 749px) {
  .hl-blog .blog-listing { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .hl-blog .hl-blog-hero__image { height: 300px; }
  .hl-blog .article__hero-header .article__meta { font-size: 12px; }
  .hl-blog .article__content .wp-block-columns { display: block; }
  .hl-blog .hl-blog-pagination { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-blog :is(.article__image img,.editorial__image img) { transition: none; }
}
