.ova-list-dep-name.template2 .title {
  margin-bottom: 20px;
}
.ova-list-dep-name.template2 .dep-list {
  border: none;
  padding: 0;
}
.ova-list-dep-name.template2 .dep-list .item-link {
  padding: 14px 18px;
  background-color: #051A53;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.ova-list-dep-name.template2 .dep-list .item-link i {
  color: #fff;
}
.ova-list-dep-name.template2 .dep-list .item-link:hover i {
  color: var(--primary);
}
.ova-list-dep-name .title {
  position: relative;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  padding: 13px 50px;
  background: var(--primary);
}
.ova-list-dep-name .title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 10px solid var(--primary);
}
.ova-list-dep-name .dep-list {
  margin: 0;
  padding: 30px;
  list-style: none;
  border: 2px solid var(--primary);
}
.ova-list-dep-name .dep-list .item:not(:last-child) {
  margin-bottom: 10px;
}
.ova-list-dep-name .dep-list .item.active > a.item-link {
  background: var(--heading);
  color: #fff;
}
.ova-list-dep-name .dep-list .item.active > a i {
  color: var(--primary);
}
.ova-list-dep-name .dep-list .item i {
  transition: all 0.3s linear;
  display: inline-flex;
  cursor: pointer;
  color: var(--heading);
}
.ova-list-dep-name .dep-list .item i:hover {
  color: var(--primary);
}
.ova-list-dep-name .dep-list .item .child-cate {
  padding: 0 0 0 10px;
  margin: 10px 0 0 0;
  list-style: none;
  display: none;
}
.ova-list-dep-name .dep-list .item-link {
  transition: all 0.3s linear;
  display: flex;
  padding: 16px 24px;
  align-items: center;
  justify-content: space-between;
  background: #f3f4f7;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--heading);
}
.ova-list-dep-name .dep-list .item-link:hover {
  color: var(--primary);
}
/* =============================================
   State Enterprises & Parastatals - Card Grid Layout
   Add this to: WP Admin → Appearance → Customize → Additional CSS
   ============================================= */

/* Hide the old detail panel (ova-dep-info sidebar) */
.ova-dep-info {
    display: none !important;
}

/* Transform the list wrapper into a grid */
.ova-list-dep-name .dep-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
    margin: 0 !important;
}

/* Each card item */
.ova-list-dep-name .dep-list .item {
    margin-bottom: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(6, 22, 58, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.ova-list-dep-name .dep-list .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 22, 58, 0.2);
}

/* Card link styling */
.ova-list-dep-name .dep-list .item-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 30px 20px !important;
    background: #fff !important;
    color: var(--heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    min-height: 100px;
    border-bottom: 4px solid var(--primary);
    border-radius: 10px;
}

.ova-list-dep-name .dep-list .item-link:hover {
    color: var(--primary) !important;
    background: #f8f9ff !important;
}

/* Active card */
.ova-list-dep-name .dep-list .item.active .item-link {
    background: var(--primary) !important;
    color: #fff !important;
    border-bottom-color: var(--heading) !important;
}

/* Hide arrow icons inside cards */
.ova-list-dep-name .dep-list .item-link i {
    display: none !important;
}

/* Responsive - 2 columns on tablet */
@media (max-width: 1024px) {
    .ova-list-dep-name .dep-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Responsive - 1 column on mobile */
@media (max-width: 600px) {
    .ova-list-dep-name .dep-list {
        grid-template-columns: 1fr !important;
    }
}

/* Hide the title box (red header) if not needed */
/* Comment this out if you want to keep the title */
.ova-list-dep-name .title {
    display: none !important;
}