* {
  box-sizing: border-box;
  font-size: clamp(14px, 1vw, 16px);
}

body {
  margin: 0;
  font-family: inter, sans-serif;
  background-color: #e7e0e0;
}

.page {
  display: flex;
  justify-content: center;
  padding: 20px ;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  width: 1000px;
  min-height: 600px;
}

.card-top {
  padding: 30px 0px 0 0;
}

.card-body {
  display: flex;
  align-items: stretch;
}

.accent-line {
  height: 4px;
  background-color: #8C4A4A;
  width: 100%;
  display: block;
}

.sidebar {
  flex: 0 0 200px;
  padding: 0 0 0 0px;
  border-radius: 0px 0px 0px 12px;
  position: sticky;
  background-color: #ebe8e8;
  box-sizing: border-box;
  font-family: 'inter';
  z-index: 1000;
  min-height: 600px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-button,
.active {
  text-decoration: none;
  padding: 15px;
  color: #2e2d2d;
  background-color:#c8c2c2;
  transition: background-color 0.5s ease, transform 0.5s ease;
}

.active {
  background-color: #8C4A4A;
  font-weight: bold;
}

.nav-button:hover {
  background-color: #DDB6B6 ;
  color: white
}

.insights {
  flex: 1;
  padding: 20px;
}

.article {
  background: #fcfcfc;
  border-radius: 12px;
  padding: 20px 24px;

  margin-bottom: 20px;

  box-shadow: 0 2px 8px rgba(0,0,0,0.04);

  border: 1px solid rgba(0,0,0,0.04);
}

.article-header h2 {
  font-weight: 600;
  font-size: 18px;
  color: #2f3742;
  margin: 0;
  padding-right: 15px;
}

.article-header span {
  font-size: 13px;
  font: italic;
  color: #6b7280;
  margin: 0;
}

.article-header {
  display: flex;
  gap: 12px;

  align-items: center;

  padding-bottom: 16px;

  margin-bottom: 16px;

  border-bottom: 1px solid #ececec;
}

.article-content {
  padding-top: 10px;
}
.article-content h2 {
  font-weight: 600;
  font-size: 20px;
  color: #2f3742;
  margin: 0; 
}

.article-content p {
  font-size: 13px;
  line-height: 1.7;
  color: #3c3c3c;
}


@media (max-width: 900px) {

  .page {
    padding: 10px;
  }

  .card {
    width: 100%;
    min-height: auto;
  }

  .card-body {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
    min-height: auto;
    border-radius: 0;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-button,
  .active {
    flex: 1 1 auto;
    text-align: center;
  }

  .content {
    padding: 20px;
  }

}