.smartblogaddons-layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 24px;
}

.smartblogaddons-main {
  flex: 1 1 auto;
  min-width: 0;
}

.smartblogaddons-sidebar {
  display: block;
  flex: 0 0 320px;
  position: sticky;
  top: 24px;
}

.smartblogaddons-widget {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #e6ddd1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7ed 100%);
  box-shadow: 0 12px 30px rgba(115, 76, 44, 0.08);
}

.smartblogaddons-widget-title {
  margin: 0 0 16px;
  color: #11302d;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.smartblogaddons-search-box {
  display: flex;
  gap: 10px;
}

.smartblogaddons-search-input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d5c1ab;
  border-radius: 12px;
  background: #fff;
  color: #11302d;
}

.smartblogaddons-search-input:focus {
  outline: none;
  border-color: #1d6d67;
  box-shadow: 0 0 0 3px rgba(29, 109, 103, 0.12);
}

.smartblogaddons-search-button {
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: #1d6d67;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.smartblogaddons-search-results {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.smartblogaddons-search-message,
.smartblogaddons-empty {
  margin: 0;
  color: #6f665d;
  font-size: 0.9375rem;
}

.smartblogaddons-result-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(213, 193, 171, 0.55);
}

.smartblogaddons-result-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.smartblogaddons-result-title {
  display: inline-block;
  margin-bottom: 4px;
  color: #11302d;
  font-weight: 700;
  line-height: 1.4;
}

.smartblogaddons-result-meta {
  margin-bottom: 4px;
  color: #8b6d4c;
  font-size: 0.8125rem;
}

.smartblogaddons-result-excerpt {
  margin: 0;
  color: #4f4a44;
  font-size: 0.875rem;
  line-height: 1.5;
}

.smartblogaddons-recent-list {
  display: grid;
  gap: 12px;
}

.smartblogaddons-recent-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(213, 193, 171, 0.55);
}

.smartblogaddons-recent-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.smartblogaddons-recent-title {
  display: inline-block;
  margin-bottom: 4px;
  color: #11302d;
  font-weight: 700;
  line-height: 1.45;
}

.smartblogaddons-recent-date {
  color: #8b6d4c;
  font-size: 0.8125rem;
}

.smartblogaddons-category-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.smartblogaddons-category-item + .smartblogaddons-category-item {
  margin-top: 10px;
}

.smartblogaddons-category-item a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  color: #11302d;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.smartblogaddons-category-item a:hover,
.smartblogaddons-category-item.is-active a {
  background: #f2f7f6;
  box-shadow: 0 8px 18px rgba(17, 48, 45, 0.08);
  transform: translateY(-1px);
}

.smartblogaddons-category-count {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #efe4d5;
  color: #8b6d4c;
  font-size: 0.8125rem;
  font-weight: 700;
}

.smartblogaddons-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991px) {
  .smartblogaddons-layout {
    flex-direction: column;
  }

  .smartblogaddons-sidebar {
    width: 100%;
    flex-basis: auto;
    position: static;
  }
}

@media (max-width: 575px) {
  .smartblogaddons-search-box {
    flex-direction: column;
  }

  .smartblogaddons-widget {
    padding: 18px;
    border-radius: 14px;
  }
}