/* ============================================================
   CSS 05.12 — Everything together: a news article
   ============================================================
   Each line says which file (01–11) it comes from.
   ============================================================ */

/* The whole article: font, colour and line-height set ONCE here
   are INHERITED by every paragraph inside. */
.news-article {
  font-family: Georgia, "Times New Roman", serif;   /* 01 — serif, like a newspaper */
  font-size: 1.0625rem;                             /* 02 — 17px                    */
  line-height: 1.7;                                 /* 05 — easy to read            */
  color: #1A1A1A;
  max-width: 680px;                                 /* lines that are too long are hard to read */
}

/* Small label above the headline */
.news-category {
  font-family: "Segoe UI", Arial, sans-serif;       /* 01 — sans-serif for labels   */
  font-size: 0.8125rem;                             /* 02 — 13px                    */
  font-weight: 700;                                 /* 03                           */
  text-transform: uppercase;                        /* 08                           */
  letter-spacing: 2px;                              /* 09                           */
  color: #2D62EF;
  margin: 0;
}

.news-headline {
  font-size: 2rem;                                  /* 02 — 32px                    */
  line-height: 1.2;                                 /* 05 — headings need LESS      */
  letter-spacing: -0.5px;                           /* 09 — big text, slightly tight */
  margin: 6px 0 12px;
}

.news-lead {
  font-size: 1.25rem;                               /* 02 — bigger intro            */
  color: #525252;
}

.news-quote {
  font-style: italic;                               /* 04                           */
  font-size: 1.25rem;
  border-left: 4px solid #FFAF04;
  margin: 20px 0;
  padding-left: 16px;
}

.news-quote-by {
  display: block;                                   /* own line (lesson 08)         */
  font-style: normal;
  font-size: 0.9375rem;
  color: #525252;
  text-align: right;                                /* 06                           */
}

.news-list {
  list-style-type: square;                          /* 11                           */
}

.news-more a {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  color: #2D62EF;
  text-decoration: none;                            /* 07                           */
}
/* Try it: change the .news-article font-family to  "Segoe UI", sans-serif
   → the whole article changes at once, because of inheritance. */


/* ============================================================
   Lesson 05 — Quick summary
   ============================================================
   font-family     a list, ending with a generic family
   font-size       rem
   font-weight     400 normal · 700 bold
   font-style      italic / normal
   line-height     1.5–1.7 for paragraphs (no unit), ~1.2 for headings
   text-align      left / center / right / justify
   text-decoration none removes link underlines
   text-transform  uppercase / capitalize / lowercase
   letter-spacing  wider for small capitals, tighter for big headings
   "…" for long text: nowrap + overflow hidden + text-overflow ellipsis
   list-style: none + padding-left: 0 → clean list for menus

   Shortcut — the font shorthand:
     font: italic 700 1.25rem/1.6 Georgia, serif;
           style weight size/line-height family
   (size and family are required, in that order at the end)

   Practice tasks:
     1. Make a class .notice-label: 12px, bold, uppercase, letter-spacing 3px.
     2. Give the news headline  text-align: center.
     3. Make a fee list with list-style-type: lower-alpha.
   ============================================================ */
