core/themes/olivero/css/components/node.pcss.css
/**
 * @file
 * Node specific styles.
 */

@import "../base/media-queries.pcss.css";

.node__author {
  display: inline-flex;
}

.node__meta {
  display: flex;
  align-items: center;
  margin-block-end: var(--sp1);
  color: var(--color-text-neutral-soft);
  font-size: 14px;
  line-height: var(--sp);

  & a {
    font-weight: bold;
  }

  @media (--sm) {
    margin-block-end: var(--sp2);
  }
}

.node__author-image img {
  width: var(--sp2-5);
  height: var(--sp2-5);
  margin-inline-end: var(--sp0-5);
  object-fit: cover;
  border-radius: 50%;
}

.node__title {
  & a {
    padding-block-end: 3px;
    transition:
      background-size 0.2s,
      color 0.2s;
    text-decoration: none;
    color: var(--color-text-neutral-loud);
    background-color: transparent;
    background-image: linear-gradient(var(--color--primary-50));
    background-repeat: no-repeat;
    background-position: bottom left; /* LTR */
    background-size: 0 3px;

    &:hover,
    &:focus {
      color: var(--color-text-primary-medium);
    }
  }
}

[dir="rtl"] .node__title {
  background-position: bottom right;
}

.node__content {
  padding-block-end: var(--sp1-5);

  @media (--lg) {
    padding-block-end: var(--sp3);
  }
}

.node--unpublished {
  /* There is no variable for the color - #fff4f4. */
  background-color: #fff4f4;
}
