/* ============================================================
   CSS 08.04 — Change the display of any element
   ============================================================
   display only changes how the box BEHAVES — not what the element MEANS.
   An <a> with display: block is still a link.
   ============================================================ */

/* TOP: li is block by default → make it inline to sit in one row */
.li-inline {
  padding-left: 0;
}

.li-inline li {
  display: inline;
  margin-right: 12px;
}
/* Try it: delete  display: inline;  → back to a normal list, one per line. */

/* BOTTOM: a is inline by default → make it block for full-width rows */
.a-block {
  width: 260px;
}

.a-block a {
  display: block;                   /* whole row is clickable              */
  padding: 10px 14px;
  margin-bottom: 6px;
}
/* Try it: remove  display: block;  from .a-block a → the links squeeze
   into one line, and only the words are clickable. */


/* ------------------------------------------------------------
   Only to make the items visible — not part of this lesson
   ------------------------------------------------------------ */
.li-inline li {
  font-weight: 600;
}

.a-block a {
  background-color: #EEF3FF;
  border-radius: 8px;
  color: #2D62EF;
  text-decoration: none;
  font-weight: 600;
}
