/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  font-size: 16px;
}

body {
  font-family: Georgia, serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 650px;
  margin: 0 auto;
  padding: 16px;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 100%;
}

header {
  border-bottom: 1px solid #000;
  padding: 8px 0 16px 0;
  margin-bottom: 32px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

main {
  flex: 1;
}

footer {
  border-top: 1px solid #000;
  padding: 16px 0 8px 0;
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: 24px;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 16px;
}

h2 {
  font-size: 20px;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 8px;
  margin-top: 32px;
}

h3 {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 8px;
  margin-top: 16px;
}

p {
  margin-bottom: 16px;
}

a {
  color: #000;
  text-decoration: underline;
}

a:focus-visible {
  outline: 1px dotted #000;
  outline-offset: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-title {
  font-size: 18px;
  font-weight: normal;
  color: #000;
  text-decoration: none;
}

.site-title:hover {
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-link {
  color: #000;
  text-decoration: none;
}

.nav-link.active {
  font-weight: bold;
}

/* ============================================
   COMPONENTS
   ============================================ */

.profile-image {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.card {
  border-left: 2px solid #000;
  padding-left: 16px;
  margin-bottom: 24px;
}

.card h3 {
  margin-top: 0;
}

.tag {
  display: inline;
  font-size: 13px;
  font-style: italic;
}

.tag:not(:last-child)::after {
  content: ", ";
}

.tags {
  margin-top: 4px;
}

/* ============================================
   UTILITIES
   ============================================ */

.list-unstyled {
  list-style: none;
  padding-left: 0;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.text-muted {
  color: #555;
}

.text-small {
  font-size: 14px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  header nav,
  footer {
    display: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
  body {
    padding: 12px;
  }
  
  h1 {
    font-size: 22px;
  }
  
  h2 {
    font-size: 18px;
  }
  
  nav {
    gap: 12px;
  }
}

