@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Whisper&display=swap");

/* =======================
   TYPOGRAPHY & BASE
======================= */
html {
  font-family: var(--font-family-primary);
}

body {
  font-family: var(--font-family-primary);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--bg-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-link);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

p {
  text-align: justify;
}

p a {
  text-decoration: underline;
  color: var(--text-link);
}

.article-meta {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: var(--spacing-xs) 0;
  font-weight: var(--font-weight-normal);
}

#article-body,
#article-body p,
#article-body li,
main,
header,
footer,
input,
button,
select,
textarea {
  font-family: var(--font-family-primary);
}

.whisper-regular {
  font-family: "Whisper", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .whisper-regular {
    font-size: 2rem;
  }
}
