.wp-block-heading{
    font-size: 2rem;
    margin-bottom: 2rem;
    background-color: #111111;
    padding: 1rem;
    width: fit-content;
    color: #fff;
}

p{
    color: #111;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8em;
}

/* layout wrapper */
.articles-card-list {
  margin: 40px 0;
}

.articles-card-list__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* individual card */
.articles-card {
  height: 100%;
  border: 1px solid #e0e4eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 33, 61, 0.08);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.articles-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(20, 33, 61, 0.12);
}

/* clickable area */
.articles-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* thumbnail */
.articles-card__thumbnail {
  position: relative;
  padding-top: 56.25%;
  background: #f5f7fb;
  overflow: hidden;
  margin: 0;
}

.articles-card__thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* body copy */
.articles-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  flex: 1;
}

.articles-card__title {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.45;
  color: #343434;
  margin: 0;
}

.articles-card__description {
    font-size: 1.2rem;
    line-height: 1.9rem;
    color: #303030;
    margin: 0;
    flex: 1;
}

.articles-card__author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #1d4ed8;
  letter-spacing: 0.02em;
}

.articles-card__author::before {
  content: 'by';
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #94a3b8;
}

/* status message */
.articles-card-list__status {
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
}

/* responsive tweak */
@media (max-width: 640px) {
  .articles-card-list__items {
    grid-template-columns: 1fr;
  }

  .articles-card__body {
    padding: 18px;
  }
}