/* Card container */
.card-split {
  border: 1px solid black;
}

/* Make the inner split fill the card */
.card-split > .row.g-0 {
  flex: 1 1 auto;
  display: flex; /* ensures halves stretch equally */
}

/* Text half */
.card-split .col-6:first-child {
  display: flex;
  padding: 1.5rem;
  align-items: center;
  word-break: break-word;
}

.card-split .col-6:first-child h4 {
  hyphens: auto;
  -webkit-hyphens: auto;       /* Safari */
  word-break: normal;       
  overflow-wrap: anywhere;      
}

/* Image half */
.card-split .col-6:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Equal-height logic for Bootstrap grid */
.cards-grid .row {
  align-items: stretch; /* columns match tallest card */
}

.cards-grid .row > [class*="col-"] {
  display: flex; /* lets card fill column height */
}

/* Hover effect */
.card-split:hover {
  transform: translateY(-2px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 .375rem .75rem rgba(0, 0, 0, 0.175) !important;
   text-decoration: underline;
}

/* Focus effect */
.card-split a:focus {
    box-shadow: 0 0 15px rgba(98, 152, 24, 1)
}
