.emk-cat-widget__select {
  display: none;
  width: 100%;
  margin-bottom: 20px;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  color: #141a28;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2302A3B8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.emk-cat-widget__select::-ms-expand {
  display: none;
}

.emk-cat-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.emk-cat-widget__item {
  display: flex;
  cursor: pointer;
}

.emk-cat-widget__item-image {
  flex: 0 0 225px;
  width: 225px;
  background: #ededef;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow: hidden;
  @media screen and (max-width: 1024px) {
    flex: 0 0 170px;
    width: 170px;
  }
}

.emk-cat-widget__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  display: block;
}

.emk-cat-widget__item-content {
  flex: 1;
  min-width: 0;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 32px;
  transition: border-color 0.2s ease;
}

.emk-cat-widget__item.is-active .emk-cat-widget__item-content {
  background-color: #e58d61;
  border-color: #e58d61;
}

.emk-cat-widget__item-name {
  margin: 0 0 10px !important;
  font-size: 22px !important;
  font-family: "Poppins", sans-serif !important;
  text-transform: none !important;
  color: #141a28 !important;
  font-weight: 400 !important;
}

.emk-cat-widget__item.is-active .emk-cat-widget__item-name {
  color: #ffffff !important;
}

.emk-cat-widget__item-description {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: #141a28;
}

.emk-cat-widget__item.is-active .emk-cat-widget__item-description {
  color: #ffffff;
}

.emk-cat-widget__posts-row {
  display: none;
  margin: -40px 0 0;
  padding: 24px 32px;
  border: 1px solid #e4e4e4;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.emk-cat-widget__posts-row.is-active {
  display: block;
}

.emk-cat-widget__posts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emk-cat-widget__posts a {
  font-size: 17px;
  color: black;
  text-decoration: underline;
}

.emk-cat-widget__post {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  text-decoration: underline;
  color: #1a2b4c;
}

.emk-cat-widget__empty {
  opacity: 0.6;
}

/* ── Left accent bar on hover ── */
.emk-cat-widget__item-content {
  position: relative;
}

.emk-cat-widget__item-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: #e58d61;
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.emk-cat-widget__item:hover .emk-cat-widget__item-content::before {
  opacity: 1;
  transform: scaleY(1);
}

.emk-cat-widget__item.is-active .emk-cat-widget__item-content::before {
  display: none;
}

/* ── "More on this topic" button ── */
.emk-cat-widget__more-wrap {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #e4e4e4;
}

.emk-cat-widget__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #e58d61;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.emk-cat-widget__more-btn:hover {
  color: #c9713e;
  gap: 9px;
  text-decoration: none;
}

.emk-cat-widget__more-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.emk-cat-widget__more-btn:hover svg {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .emk-cat-widget__select {
    display: block;
  }

  .emk-cat-widget__item {
    display: none;
  }

  .emk-cat-widget__posts-row {
    margin: 0;
    border-top: 1px solid #e4e4e4;
    border-radius: 12px;
  }
}
