Template:Article thumbnail/styles.css

/* Container for the whole card */
.article-thumb {
  vertical-align: top;
  width: 150px;                 /* Fixed width for grid consistency */
  padding: 0px 15px 25px 0px;   /* Space for the grid gap */
  background: none;             /* Removed background */
  border: none;                 /* Removed border */
  display: inline-block;
  text-align: left;             /* Left align everything */
  box-sizing: border-box;
}

/* Image wrapper - no background or border */
.article-thumb__imgwrap {
  width: 100%;
  height: 160px;                /* Consistent vertical alignment for the row */
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* Image sits on the left */
  overflow: hidden;
  margin-bottom: 10px;          /* Clean gap between image and text */
}

.article-thumb__imgwrap .mw-file-element,
.article-thumb__imgwrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* Text Content Area */
.article-thumb__content {
  font-size: 0.85em;            /* Uniform size for all text */
  line-height: 1.4;
  color: #202122;               /* Standard dark text color */
}

/* Links and text styling */
.article-thumb__title a {
  font-weight: bold;            /* Keep bold to anchor the eye */
  color: #202122;
  text-decoration: none;
}

.article-thumb__title a:hover {
  text-decoration: underline;   /* Standard UX feedback */
}

.article-thumb__subtitle, 
.article-thumb__description {
  color: #202122;               /* Matches the title color as requested */
  display: block;
}