/* Sources and further reading. Supports semantic lists and migrated legacy rows. */
@layer horeca.components {
  .horeca-blog-resources {
    background: var(--horeca-ink);
    border-top: 0.25rem solid var(--horeca-red);
    border-radius: var(--horeca-radius-sm);
    color: var(--horeca-white);
    margin: var(--horeca-space-6) 0;
    max-width: var(--horeca-reading-width);
    padding: var(--horeca-space-4);
  }

  .horeca-blog-resources__title,
  .horeca-blog-resources > :where(h2, h3) {
    color: var(--horeca-white);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 var(--horeca-space-2);
  }

  .horeca-blog-resources :where(ul, ol, .resource-list) {
    display: grid;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .horeca-blog-resources :where(li, .resource-item) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--horeca-line);
    display: block;
    line-height: 1.55;
    overflow-wrap: anywhere;
    padding: 0.9rem 0 0.9rem 1.55rem;
    position: relative;
  }

  .horeca-blog-resources :where(li, .resource-item)::before {
    color: #ff8587;
    content: "↗";
    font-weight: 700;
    left: 0;
    position: absolute;
    top: 0.9rem;
  }

  #article-single-content .horeca-blog-resources a {
    background: transparent !important;
    color: var(--horeca-white) !important;
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  #article-single-content .horeca-blog-resources a:hover {
    color: #ffb2b3 !important;
  }

  .horeca-blog-resources mark {
    background: transparent !important;
    color: var(--horeca-line) !important;
  }

  .horeca-blog-resources__meta {
    color: #bfc3c5;
    display: block;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
  }

  @media (max-width: 48rem) {
    .horeca-blog-resources {
      margin: 2.25rem 0;
      padding: 1.15rem 1rem;
    }

    .horeca-blog-resources :where(li, .resource-item) {
      padding-left: 1.4rem;
    }
  }
}
