/* Package title highlight (cards) */
.single-feature .details .title a{
  position: relative;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  line-height: 1.25;
  color: #0f172a;
  background: linear-gradient(90deg, rgba(75,199,116,0.18), rgba(255,221,87,0.18));
  text-decoration: none !important;
}

/* REMOVE the fake underline bar */
.single-feature .details .title a::after{
  display: none !important;
  content: none !important;
}

.single-feature .details .title a:hover,
.single-feature .details .title a:focus{
  text-decoration: none !important;
  background: linear-gradient(90deg, rgba(75,199,116,0.24), rgba(255,221,87,0.24));
}

/* Safety: kill any underline/border/box-shadow from theme */
.single-feature .details .title a,
.single-feature .details .title a:visited,
.single-feature .details .title a:hover,
.single-feature .details .title a:focus,
.single-feature .details .title a:active{
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
/* =========================================================
   AUTO NUMBER CIRCLE BEFORE PACKAGE TITLE (Mobile/Tab/Desktop)
   ========================================================= */

/* reset counter only inside packages area */
#packages { counter-reset: pkgCount; }

/* count each package card */
#packages .single-feature { counter-increment: pkgCount; }

/* make sure the title link can hold the badge */
#packages .single-feature .details .title a{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 0 !important; /* avoid earlier padding conflicts */
  text-decoration: none !important;
}

/* circle badge before text */
#packages .single-feature .details .title a::before{
  content: counter(pkgCount);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;
  min-width: 26px;

  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: #fff;

  background: linear-gradient(135deg, #22c55e, #fbbf24);
  box-shadow: 0 6px 14px rgba(2, 6, 23, 0.18);
}

/* Tablet */
@media (max-width: 991px){
  #packages .single-feature .details .title a::before{
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 576px){
  #packages .single-feature .details .title a{
    gap: 8px;
  }
  #packages .single-feature .details .title a::before{
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 12px;
  }
}
