.resource-type-block {
  font-family: "Roboto", sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  width: 100%;
  margin: 40px auto;
  box-sizing: border-box;
}

.resource-type-block h3 {
  margin-bottom: 16px;
  color: #1a202c;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 4px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab {
  flex: 1 1 50%;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.tab:hover {
  background: #edf2f7;
}

.tab.active {
  background: #2b6cb0;
  color: white;
  font-weight: 600;
}

.tab-content {
  display: none;
  border: 1px solid #e2e8f0;
  padding: 12px;
  border-radius: 0 0 6px 6px;
}

.tab-content.active {
  display: block;
}

.term-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.term-list li {
  padding: 6px 0;
  color: #2d3748;
  border-bottom: 1px solid #edf2f7;
  font-size: 15px;
  line-height: 1.4;
}
.term-list li a{
text-decoration: none;
    color: #000;
}


.term-list li:last-child {
  border-bottom: none;
}

/* ✅ Responsive tweaks for smaller screens */
@media (max-width: 480px) {
  .resource-type-block {
    padding: 16px;
    margin: 24px 12px;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    flex: 1 1 100%;
    margin-bottom: 4px;
  }

  .resource-type-block h3 {
    font-size: 18px;
  }

  .term-list li {
    font-size: 14px;
  }
}
