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

body {
  font-family: 'Roboto', sans-serif;
  background: #f8fafb;
  color: #1e2a3a;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
header {
  background: #0b1a2b;
  color: #fff;
  padding: 18px 0;
  border-bottom: 3px solid #3b9eff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav a {
  color: #cbd5e0;
  text-decoration: none;
  margin-left: 28px;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #ffffff;
  border-bottom: 2px solid #3b9eff;
  padding-bottom: 4px;
}

/* Main */
main {
  flex: 1;
  padding: 40px 0 50px;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #e9eff4, #d9e2ec);
  padding: 32px 30px;
  border-radius: 16px;
  margin-bottom: 44px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0b1a2b;
}

.hero p {
  font-size: 1.1rem;
  color: #2c3e50;
  max-width: 650px;
}

/* Articles list */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.15s;
  border-left: 4px solid #3b9eff;
}

.article-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-content .date {
  font-size: 0.85rem;
  color: #6f7d8e;
  display: inline-block;
  margin-bottom: 6px;
}

.card-content h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 4px 0 10px;
}

.card-content h2 a {
  color: #0b1a2b;
  text-decoration: none;
}

.card-content h2 a:hover {
  color: #1a5c9e;
}

.card-content p {
  color: #34495e;
  margin-bottom: 12px;
}

.read-more {
  font-weight: 500;
  color: #1a5c9e;
  text-decoration: none;
  display: inline-block;
}

.read-more:hover {
  text-decoration: underline;
}

/* Full article page */
.article-full {
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-full h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0 18px;
  color: #0b1a2b;
}

.article-full h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: #1a2c3e;
}

.article-full p {
  margin-bottom: 16px;
}

.article-full ul,
.article-full table {
  margin: 16px 0 20px 24px;
}

.article-full li {
  margin-bottom: 8px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #5f6e80;
  border-bottom: 1px solid #e6edf4;
  padding-bottom: 16px;
  margin-bottom: 10px;
}

.article-meta .category {
  background: #e6edf4;
  padding: 0 12px;
  border-radius: 20px;
  color: #1a3a5c;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0 24px;
}

table th,
table td {
  border: 1px solid #d6e0ea;
  padding: 10px 14px;
  text-align: left;
}

table th {
  background: #eef4f9;
  font-weight: 600;
}

/* About page */
.about-section {
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0b1a2b;
}

.about-section p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-section a {
  color: #1a5c9e;
  text-decoration: none;
}

.about-section a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #0b1a2b;
  color: #a0b3c9;
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
  font-size: 0.95rem;
  border-top: 1px solid #1e3347;
}

/* Responsive */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  nav a {
    margin-left: 0;
    margin-right: 20px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .article-card {
    padding: 18px 20px;
  }
  .article-full {
    padding: 20px 18px;
  }
  .article-full h1 {
    font-size: 1.6rem;
  }
  .about-section {
    padding: 20px 18px;
  }
}
