/* ======================================================
   Base reset & defaults
   ====================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #111;
  background: #ffffff;
}

/* ======================================================
   Article container
   ====================================================== */

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* ======================================================
   Headings
   ====================================================== */

h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 1.2rem 0;
  font-weight: 600;
}

h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 2.6rem 0 0.9rem 0;
  font-weight: 600;
}

/* ======================================================
   Text & lists
   ====================================================== */

p {
  margin: 0 0 1.2rem 0;
}

ul,
ol {
  margin: 0 0 1.4rem 0;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.6rem;
}

/* ======================================================
   Links
   ====================================================== */

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ======================================================
   Related articles block
   ====================================================== */

.related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.related ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.related li {
  margin-bottom: 0.7rem;
}

/* ======================================================
   Ad placeholders
   ====================================================== */

.ad-slot {
  margin: 2.5rem 0;
  min-height: 90px;
  background: #f5f5f5;
  border: 1px dashed #ddd;
}

/* ======================================================
   Mobile-first adjustments
   ====================================================== */

@media (max-width: 600px) {
  body {
    font-size: 22px;
    line-height: 2.0;
  }

  .content {
    padding: 28px 22px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  h2 {
    font-size: 22px;
    line-height: 1.45;
  }

  p,
  li {
    font-size: 22px;
  }

  p {
    margin-bottom: 1.6rem;
  }

  ul,
  ol {
    margin-bottom: 1.8rem;
  }

  li {
    margin-bottom: 0.9rem;
  }
}
