/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', serif;
  background-color: #ffffff;
  color: #1c1c1c;
  line-height: 1.75;
  font-size: 16px;
}

/* ========== LAYOUT ========== */
.main-container {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 48px;
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
  padding: 0px 10px 50px;
}

.core-section {
    margin-top: 15px;
    margin-bottom: 15px;
}

  .breadcrumbs {
    font-size: 0.65rem;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 30px;
  }

  .breadcrumbs a {
    text-decoration: none;
    color: #333;
  }

  .breadcrumbs a:hover {
    text-decoration: underline;
  }

  .breadcrumbs span {
    color: #1c1c1c;
    margin: 0 4px;
  }

/* ========== HEADINGS & PARAGRAPHS ========== */
.black-heading {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1c1c1c;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.paragraph {
  font-family: 'PT Serif', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #252525;
  text-align: justify;
  font-weight: 400;
}

.paragraph h4 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ========== METRICS TABLE ========== */
.metric-heading {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-top: 20px;
  margin-bottom: 6px;
  padding-left: 0; /* aligns with table */
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px 0; /* consistent margin */
  font-size: 0.95rem;
  background-color: #fff;
  table-layout: fixed;
}

.metrics-table th,
.metrics-table td {
  text-align: left;
  padding: 8px 10px;
}

.metrics-table th {
  background-color: #f5f7fb;
  font-weight: 700;
  border-bottom: 2px solid #ddd;
  color: #1c1c1c;
}

.metrics-table td {
  border-bottom: 1px solid #eaeaea;
  color: #333;
}

.metrics-table tr:hover {
  background-color: #fafafa;
}

/* ========== LINKS & LISTS ========== */
a {
  color: #0056a3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin-left: 25px;
  padding-bottom: 10px;
}

/* ========== SIDEBAR (UNCHANGED) ========== */
.section-title {
  font-size: 1.2rem;
  font-weight: bold;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  color: var(--text-theme);
}

.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.article-card {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  height: 90px;
}

.latest-divider {
  border: none;
  border-bottom: 3px solid #363636;
  margin: 0 15px;
}

.article-divider {
  border: none;
  border-bottom: 1px solid #dcdcdc;
  margin: 0 15px;
  margin-top: 5px;
}

.article-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  overflow: hidden;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 4px;
}

.article-type {
  font-weight: 600;
  color: #ca2015;
}

.article-date {
  color: #333;
}

.article-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-title:hover {
  color: var(--dark-theme);
  text-decoration: underline;
}

.author a {
  color: #0056a3;
  text-decoration: none;
}

.author a:hover {
  text-decoration: underline;
}

.paragraph a {
    color: #ca2015;
    text-decoration: underline;
}

.view-profile {
    font-size: 0.85rem;
    margin-left: 5px;
    color: #ca2015;
    text-decoration: underline;
}


@media (max-width: 768px) {
  .main-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .section-title {
      padding: 0px;
  }
  
  .latest-divider {
      margin: 0px;
  }
  
  .article-card-content {
      padding-left: 0px;
      padding-right: 0px;
  }
}