/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* --- Control the description area --- */
.desc {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;        /* number of lines visible before cutoff */
  -webkit-box-orient: vertical;
}
.post-date {
 display: inline-block;
  position: relative;
  padding-left: 36px;          /* space for the square + arrow */
  line-height: 1.4;            /* keep the label vertically centered */
}

/* Square */
.post-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;                 /* square size */
  height: 18px;
  background: #A21015;         /* aiComply red */
  transform: translateY(-50%);
  border-radius: 2px;          /* remove if you want sharp corners */
}

/* Right-pointing arrow attached to the square */
.post-date::after {
  content: "";
  position: absolute;
  left: 18px;                  /* sits on the square’s right edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid #A21015; /* same red as square */
}

/*Dark Background Gravity Forms */
.gf-dark{
	color:#ffffff;
}
.gf-dark .gfield_required {
  /* styles here apply ONLY when .gfield_required
     is inside an element with the .gf-dark class */
	color:#ffffff !important;
}
/* Align button to the right */
.gform_wrapper .gform_footer {
    justify-content: flex-end;
	padding: 0px 0 !important;
}
#gform_submit_button_1 {
  background-color: #A21015;   /* aiComply red */
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#gform_submit_button_1:hover {
  background-color: #7F0C11;   /* darker red on hover */
}
/* Ensure the element that is zooming has a high z-index and transition */
.zoomin:hover {
    z-index: 10; /* Set a value higher than other elements */
    transition: transform .3s ease-in-out; /* Smooth animation */
}
/* Hashtag style */
/* Remove commas */
.hashtag .mfn-tag-cloud li::after { content: none !important; }

/* Layout for the tag list */
.hashtag .mfn-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* space between tags */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Individual tag items */
.hashtag .mfn-tag-cloud li {
  margin: 0;
}

/* Tag links styled as pill-shaped hashtags */
.hashtag .mfn-tag-cloud li a {
  background: #f4f6f8;
  color: #254267;            /* aiComply deep blue */
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 20px;
  padding: 4px 12px;
  display: inline-block;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

/* Add the # symbol automatically */
.hashtag .mfn-tag-cloud li a::before {
  content: "#";
  margin-right: 3px;
  color: #A21015;            /* aiComply accent red */
  font-weight: 600;
}
/* Remove BeTheme’s auto commas in tag lists */
ul.mfn-tag-cloud.mfn-tag-cloud-text li::after,
ul.mfn-tag-cloud.mfn-tag-cloud-text li a::after,
.mfn-tag-cloud.mfn-tag-cloud-text li::after,
.mfn-tag-cloud.mfn-tag-cloud-text li a::after,
.tags .mfn-tag-cloud li::after,
.tags .mfn-tag-cloud li a::after {
  content: "" !important;
}
/* Hover effect */
.hashtag .mfn-tag-cloud li a:hover {
  background: #A21015;
  color: #fff;
}
.hashtag .mfn-tag-cloud li a:hover::before {
  color: #fff;
}
