/* ============================================================
   CSS 12.07 — Footer: columns + a bottom bar
   ============================================================
   Look for the lines marked  ★ FLEX .  Those are the lines that make
   the layout. Everything at the bottom is decoration (colours, padding,
   borders) from earlier lessons.

   .footer-cols   { display: flex; flex-wrap: wrap; gap: 24px; }
   .footer-cols > div { flex: 1 1 180px; }
   .footer-bottom { display: flex; justify-content: space-between; }
   ============================================================ */

.footer-cols {
  display: flex;                    /* ★ FLEX */
  flex-wrap: wrap;                  /* ★ FLEX */
  gap: 24px;
}

.footer-cols > div {
  flex: 1 1 180px;                  /* ★ FLEX: 3 equal columns, wrap when narrow */
}

.footer-bottom {
  display: flex;                    /* ★ FLEX */
  justify-content: space-between;   /* ★ FLEX: copyright left, links right */
  flex-wrap: wrap;
  gap: 8px;
}
/* Try it: change space-between to  center  → the copyright and the links
   sit together in the middle. */


/* ------------------------------------------------------------
   Only to make the footer look nice — not part of this lesson
   ------------------------------------------------------------ */
.site-footer {
  background-color: #0F1B3D;
  color: #C9CEDC;
  border-radius: 12px;
  padding: 24px 24px 12px;
}

.footer-cols h4 {
  color: #FFFFFF;
  margin: 0 0 8px;
}

.footer-cols p { margin: 0; }

.footer-cols a {
  display: block;                   /* one link per line (lesson 08) */
  color: #C9CEDC;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #2A3A66;
  font-size: 14px;
}

.footer-bottom a { color: #C9CEDC; }
