/* Văn bản pháp luật: document list and detail (download box). The compact title band, chip and related list are shared (Vvs_Site.css).
   Loaded after Vvs_Site.css (Helpers/VvStylesheets.cs). */
/* ---------- Văn bản pháp luật: list ---------- */
.vv-doc-list {
  display: grid;
  gap: 14px;
}
.vv-doc-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  background: #fff;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.vv-doc-card:hover {
  border-color: #cdd8cb;
  box-shadow: 0 10px 26px rgba(18, 40, 18, 0.08);
}
.vv-doc-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  border-radius: 6px;
  background: var(--vv-green);
  color: var(--vv-yellow);
}
.vv-doc-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vv-doc-card__title {
  margin: 0 0 6px;
  color: var(--vv-green-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.vv-doc-card__title a {
  text-decoration: none;
}
.vv-doc-card__title a:hover {
  color: var(--vv-green);
  text-decoration: underline;
}
.vv-doc-card__summary {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--vv-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vv-doc-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: auto;
}
.vv-doc-card__more {
  color: var(--vv-yellow-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.vv-doc-card__more:hover {
  text-decoration: underline;
}

/* ---------- Văn bản pháp luật: detail ---------- */
.vv-doc-detail__category {
  margin: 0 0 18px;
}
.vv-download {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px dashed #c3d0c1;
  border-radius: var(--vv-radius);
  background: var(--vv-bg);
}
.vv-download__icon {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 52px;
  height: 60px;
  border-radius: 6px;
  background: var(--vv-green);
  color: var(--vv-yellow);
}
.vv-download__icon small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.vv-download__info {
  flex: 1;
  min-width: 0;
}
.vv-download__label {
  margin: 0;
  color: var(--vv-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.vv-download__name {
  margin: 2px 0 0;
  color: var(--vv-green-dark);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.vv-download__btn {
  flex: none;
}

@media (max-width: 575px) {
  .vv-doc-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .vv-doc-card__icon {
    width: 36px;
    height: 42px;
  }
  .vv-doc-card__icon svg {
    width: 18px;
    height: 18px;
  }
  .vv-doc-card__summary {
    -webkit-line-clamp: 3;
  }
  .vv-download {
    flex-wrap: wrap;
    padding: 16px;
  }
  .vv-download__btn {
    width: 100%;
  }
}
