/* Base Reset */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: #1c1c1c;
  background-color: #f8fafb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0f5c75;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0f5c75;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.container.narrow {
  width: min(800px, 92vw);
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #d6dee2;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #1c1c1c;
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 500;
  font-size: 1rem;
}

.site-nav a.current {
  color: #094960;
  border-bottom: 2px solid #0f5c75;
  padding-bottom: 0.25rem;
}

.site-main {
  padding-bottom: 4rem;
}

.hero {
  background: linear-gradient(135deg, rgba(15, 92, 117, 0.08), rgba(9, 73, 96, 0.04));
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.125rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 680px;
}

.featured-articles {
  padding: 3rem 0 1rem;
}

.featured-articles h2,
.about-section h2,
.article-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #0f3d50;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.article-grid article {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #d9e3e8;
  box-shadow: 0 4px 12px rgba(16, 46, 62, 0.08);
}

.article-grid h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.article-grid p {
  margin-bottom: 1rem;
  color: #3a4a53;
}

.read-more {
  font-weight: 600;
}

.about-section {
  padding: 2rem 0 4rem;
  background: #eef5f7;
}

.about-section p {
  max-width: 720px;
}

.site-footer {
  background: #0f3d50;
  color: #f2f6f8;
  padding: 2rem 0;
  text-align: center;
}

.site-footer a {
  color: #e6f2f6;
}

.site-footer .disclaimer {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.article-layout {
  display: block;
  margin-top: 2.5rem;
}

.article-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #d9e3e8;
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.article-meta {
  font-size: 0.95rem;
  color: #5a6a72;
  margin-bottom: 0.75rem;
}

.article-subtitle {
  font-style: italic;
  color: #344651;
}

.source-list {
  list-style: none;
  padding: 0;
}

.source-list li {
  margin-bottom: 0.75rem;
}

.article-nav {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-sidebar {
  background: #f1f6f8;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #d1dee4;
}

.article-sidebar h2 {
  margin-top: 0;
}

.article-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-sidebar li {
  margin-bottom: 0.5rem;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-list article {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #d9e3e8;
  box-shadow: 0 4px 12px rgba(16, 46, 62, 0.08);
}

ul {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.5rem;
}

address {
  font-style: normal;
  line-height: 1.7;
}

@media (max-width: 780px) {
  .site-header .container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
