:root {
  --max: 1000px;
  --gap: 16px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  line-height: 1.5;
  background-color: #f4f4f4;

  /* space for fixed footer */
  padding-bottom: 90px;
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-bottom: 1px solid #ddd;
}

/* Main layout */
.content-wrapper {
  max-width: var(--max);
  margin: 20px auto;
  padding: 20px;

  display: grid;
  gap: var(--gap);
}

/* Card styling */
.box {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}

/* Two articles below */
.secondary-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

@media (max-width: 599px) {
  .secondary-articles {
    grid-template-columns: 1fr;
  }
}

/* Fixed footer */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  background: white;
  border-top: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
}

/* Read more links */
.read-more {
  display: inline-block;
  margin-top: 8px;
}

/* Accessibility: visible focus */
.read-more:focus-visible {
  outline: 3px solid #0b5fff;
  outline-offset: 3px;
}
