.ga-document-detail {
  color: #0f1623;
}

.ga-document-detail-wrap {
  color: #0f1623;
  font-family: var(--ga-font, sans-serif);
}

.ga-document-detail-wrap__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #6b7384;
  font-size: 14px;
  line-height: 20px;
}

.ga-document-detail-wrap__crumb a {
  color: inherit;
  text-decoration: none;
}

.ga-document-detail-wrap__crumb a:hover {
  color: var(--ga-blue-primary, #0f4e96);
}

.ga-document-detail-wrap .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 1.5rem;
  align-items: start;
}

.ga-document-detail-wrap .col-lg-9,
.ga-document-detail-wrap .col-lg-3 {
  min-width: 0;
}

.ga-document-detail-wrap .col-lg-3 {
  position: sticky;
  top: 92px;
}

.ga-document-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ga-document-detail__header {
  margin-bottom: 24px;
}

.ga-document-detail__eyebrow {
  margin-bottom: 10px;
  color: #6b7384;
  font-size: 14px;
  line-height: 20px;
}

.ga-document-detail__eyebrow a {
  color: inherit;
  text-decoration: none;
}

.ga-document-detail__eyebrow a:hover {
  color: var(--ga-blue-primary, #0f4e96);
}

.ga-document-detail__title {
  margin: 0 0 16px;
  color: #0f1623;
  font-family: var(--font-semibold);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
}

.ga-document-detail__summary {
  color: #4a5163;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.ga-document-detail__summary.db-article-detail-body--rich img,
.ga-document-detail__summary.db-article-detail-body--rich video,
.ga-document-detail__summary.db-article-detail-body--rich iframe {
  display: block;
  max-width: 100% !important;
  width: auto;
  height: auto !important;
  margin: 1rem 0;
  border-radius: 8px;
}

.ga-document-detail__summary.db-article-detail-body--rich figure,
.ga-document-detail__summary.db-article-detail-body--rich table {
  max-width: 100% !important;
}

.ga-document-detail__summary.db-article-detail-body--rich table {
  width: 100% !important;
  table-layout: fixed;
}

.ga-document-detail__summary.db-article-detail-body--rich figure img {
  margin: 0;
}

.ga-document-detail__summary.db-article-detail-body--rich p {
  margin: 0 0 0.75rem;
}

.ga-document-detail__summary.db-article-detail-body--rich > :last-child {
  margin-bottom: 0;
}

.ga-document-detail__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #6b7384;
  line-height: 20px;
}

.ga-document-detail__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-semibold);
}

.ga-document-detail__status.is-expired {
  background: #fff1f1;
  color: #c62828;
}

.ga-document-detail__card {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
}

.ga-document-detail__table {
  width: 100%;
  border-collapse: collapse;
}

.ga-document-detail__table th,
.ga-document-detail__table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e6ebf2;
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.6;
}

.ga-document-detail__table tr:last-child th,
.ga-document-detail__table tr:last-child td {
  border-bottom: 0;
}

.ga-document-detail__table th {
  width: 240px;
  background: #f5f7fb;
  font-family: var(--font-semibold);
  color: #0f1623;
}

.ga-document-detail__attachments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ga-document-detail__attachments-toolbar {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid #e8edf5;
}

.ga-document-detail__attachment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf5;
}

.ga-document-detail__attachment:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ga-document-detail__attachment-name {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-weight: 600;
  line-height: 20px;
}

.ga-document-detail__attachment-actions {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ga-document-detail__body {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  color: #0f1623;
  line-height: 1.75;
}

.ga-document-detail__same-category {
  margin-top: 28px;
}

.ga-document-detail__same-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.ga-document-detail__same-category-title {
  margin: 0;
  color: #0f1623;
  font-size: 1rem;
  line-height: 24px;
}

.ga-document-detail__same-category-title a {
  color: inherit;
  text-decoration: none;
}

.ga-document-detail__same-category-title a:hover {
  color: var(--ga-blue-primary, #0f4e96);
}

.ga-document-detail__same-category-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7384;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.ga-document-detail__same-category-more:hover {
  color: var(--ga-blue-primary, #0f4e96);
}

.ga-document-detail__same-category-more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 991px) {
  .ga-document-detail-wrap .row {
    grid-template-columns: 1fr;
  }

  .ga-document-detail-wrap .col-lg-3 {
    position: static;
  }
}

@media (max-width: 767px) {
  .ga-document-detail__table,
  .ga-document-detail__table tbody,
  .ga-document-detail__table tr,
  .ga-document-detail__table th,
  .ga-document-detail__table td {
    display: block;
    width: 100%;
  }

  .ga-document-detail__table th,
  .ga-document-detail__table td {
    padding: 14px 16px;
  }

  .ga-document-detail__attachment {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .ga-document-detail__attachment-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .ga-document-detail__body {
    padding: 18px 16px;
  }
}
