/* Blog archive and the Practical Insights widget share typography and card states. */
:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) {
  --hh-blog-red: #7c0a0a;
  --hh-blog-dark: #342b2b;
  min-width: 0;
  color: var(--hh-blog-dark);
  font-family: Inter, "HH Inter", Arial, sans-serif;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-media, .hhp-post-media) {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  background: #e9e6e2;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-image, .hhp-post-media > img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-body, .hhp-post-body) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  overflow-wrap: anywhere;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-date, .hhp-post-date) {
  color: var(--hh-blog-red);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) {
  margin: 0;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) a {
  color: inherit;
  text-decoration: none;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-excerpt, .hhp-post-excerpt) {
  margin: 0;
  color: #54595f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-excerpt, .hhp-post-excerpt):empty {
  display: none;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-read, .hhp-post-more) {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-read, .hhp-post-more) span {
  text-decoration: underline 2px var(--hh-blog-red);
  text-underline-offset: 4px;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) a:hover,
:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) a:focus-visible,
:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-read, .hhp-post-more):hover,
:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-read, .hhp-post-more):focus-visible {
  color: var(--hh-blog-red);
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-media, .hhp-post-media):focus-visible,
:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) a:focus-visible,
:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-read, .hhp-post-more):focus-visible {
  outline: 2px solid var(--hh-blog-red);
  outline-offset: 3px;
}

:is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-media, .hhp-post-media):focus-visible {
  z-index: 1;
  outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(52 43 43 / 12%);
  }

  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):hover :is(.hh-blog-image, .hhp-post-media > img) {
    transform: scale(1.10);
  }
}

@media (hover: none), (pointer: coarse), (any-pointer: coarse) {
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) > a:active,
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-read, .hhp-post-more):active {
    color: var(--hh-blog-red);
  }

  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):has(
    > :is(.hh-blog-media, .hhp-post-media):active,
    :is(.hh-blog-title, .hhp-post-title) > a:active,
    :is(.hh-blog-read, .hhp-post-more):active
  ) {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(52 43 43 / 12%);
  }

  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):has(
    > :is(.hh-blog-media, .hhp-post-media):active,
    :is(.hh-blog-title, .hhp-post-title) > a:active,
    :is(.hh-blog-read, .hhp-post-more):active
  ) :is(.hh-blog-image, .hhp-post-media > img) {
    transform: scale(1.10);
  }
}

@media (max-width: 1024px) {
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) { font-size: 18px; }
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-excerpt, .hhp-post-excerpt) { font-size: 13px; }
}

@media (max-width: 767px) {
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-body, .hhp-post-body) { padding: 18px; }
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-title, .hhp-post-title) { font-size: 17px; }
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-excerpt, .hhp-post-excerpt) { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card),
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-image, .hhp-post-media > img) { transition: none; }

  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):hover,
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):hover :is(.hh-blog-image, .hhp-post-media > img) { transform: none; }

  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):has(
    > :is(.hh-blog-media, .hhp-post-media):active,
    :is(.hh-blog-title, .hhp-post-title) > a:active,
    :is(.hh-blog-read, .hhp-post-more):active
  ),
  :is(.hh-blog-list, .elementor .elementor-element.elementor-widget-horace-latest-posts.hh-home-horace-latest-posts) :is(.hh-blog-card, .hhp-post-card):has(
    > :is(.hh-blog-media, .hhp-post-media):active,
    :is(.hh-blog-title, .hhp-post-title) > a:active,
    :is(.hh-blog-read, .hhp-post-more):active
  ) :is(.hh-blog-image, .hhp-post-media > img) { transform: none; }
}
