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

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #111;
  background: #fff;
  margin: 0;
  padding-bottom: 68px;
}

header {
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

header img {
  margin: 0;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-top: 12px;
  margin-bottom: 8px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

p {
  margin: 16px 0;
}

.category-pill {
  display: inline-block;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  margin-top: 24px;
}

.byline {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #888;
  margin-bottom: 24px;
}

.byline span {
  color: #1a7a6e;
  font-weight: 600;
}

blockquote {
  border-left: 4px solid #1a4a6e;
  background: #f8f9fa;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

.steps {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}

.steps p {
  margin: 8px 0;
}

.cta-button {
  display: block;
  background: #e02020;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 6px;
  margin: 24px auto;
  min-height: 52px;
  max-width: 420px;
  line-height: 1.3;
}

.cta-button:hover {
  background: #c01010;
}

.disclosure-box {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  margin: 40px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
}

.disclosure-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin: 0 0 12px;
}

.disclosure-box p {
  margin: 12px 0;
}

footer {
  background: #f8f8f8;
  border-top: 1px solid #eee;
  padding: 24px 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
}

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

footer a:hover {
  text-decoration: underline;
}

footer p {
  margin: 6px 0;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background: #e02020;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 4px;
}

ul {
  padding-left: 20px;
}

ul li {
  margin: 8px 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 40px;
  }

  .sticky-cta a {
    height: 64px;
    font-size: 20px;
  }

  header {
    text-align: left;
  }
}

@media (max-width: 767px) {
  header {
    text-align: center;
  }

  .cta-button {
    max-width: 100%;
  }
}

/* Homepage styles */

.hero {
  background: #1a4a6e;
  color: #fff;
  padding: 48px 20px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 36px;
  margin: 0 0 12px;
}

.hero-sub {
  color: #c8dce8;
  font-size: 18px;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.category-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0 8px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}

.category-filter {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #555;
  background: #f0f0f0;
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.category-filter:hover {
  background: #e0e0e0;
}

.category-filter.active {
  background: #1a4a6e;
  color: #fff;
}

.homepage .container {
  max-width: 960px;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 40px;
}

.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  border-color: #1a4a6e;
  box-shadow: 0 2px 12px rgba(26, 74, 110, 0.1);
}

.article-card h2 {
  font-size: 20px;
  margin: 8px 0;
  line-height: 1.4;
}

.article-card p {
  font-size: 15px;
  color: #555;
  margin: 0 0 12px;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

.card-category {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a4a6e;
}

.card-date {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #999;
}

@media (min-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .article-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }
}

/* Article page header link */
header a {
  text-decoration: none;
}
