.dgs {
  display: block; /* Stack .dgs blocks vertically */
  margin: 2rem 0;
}

.dgs table {
  display: flex;
  flex-direction: row;
  align-items: center; /* 👈 this vertically centers caption + tbody */
  width: 100%;
  border-collapse: collapse;
  border-bottom:1px solid #eee;
  padding:20px 0;
}

.dgs caption {
  flex: 0 0 50%;
  font-weight: 700;
  font-size: 1.25rem;
  color: #e57200;
  text-align: left;
  padding: 0.5rem 0;
  font-style: italic;
  line-height: 1.4;
	border-bottom:none;
}

.dgs caption a {
  font-size: 1.2em;
  font-style: normal;
  font-weight: normal;
  color: #454545 !important;
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-family: georgia, serif;
  border-bottom: 2px solid #e57200;
  padding-bottom:5px;
}

.dgs caption a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #e57200;
  transition: width 0.3s ease;
}

.dgs caption a:hover::before {
  width: 100%;
}

/* Arrow after text */
.dgs caption:hover a::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23e57200' d='M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dgs caption a:hover::after {
  opacity: 1;
}



.dgs tbody {
  flex: 1;
}

.dgs tr {
  display: block;
  margin-bottom: 0.25rem;
}

.dgs table tr:nth-child(2n) {
	background:none;
}

.dgs td {
  display: block;
  padding: 0.25rem 0;
  background: none !important;
  border: none !important;
  color: #1b254b;
}

.dgs td.views-field-field-appoinment {
	padding-left:40px;
	font-weight:600;
}

.dgs td.views-field-field-appoinment a {
	font-weight:normal;
	color:#454545;
}

.dgs td.views-field-field-appoinment a svg {
	color:#e57200;
	padding-left:5px;
}

