.main-blog-header.has-search {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.main-blog-header.has-search .main-blog-header-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.main-blog-header.has-search .main-blog-header-title {
  width: auto;
  max-width: 100%;
}

.blog-search-form {
  flex: 0 1 350px;
  width: 350px;
  max-width: 100%;
  margin: 0;
}

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

.blog-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px 5px 5px 14px;
  background: #fff;
  border: 1px solid #d9ccd9;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(48, 20, 49, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.blog-search-field:focus-within {
  border-color: var(--medium-orchid, #ae42b3);
  box-shadow: 0 0 0 4px rgba(174, 66, 179, 0.12), 0 8px 24px rgba(48, 20, 49, 0.08);
}

.blog-search-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #7a5a7a;
}

.blog-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 7px 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #301431;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.blog-search-input::placeholder {
  color: #8c7a8c;
  opacity: 1;
}

.blog-search-input::-webkit-search-cancel-button {
  display: none;
}

.blog-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3eaf4;
  color: #6b146f;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.blog-search-clear:hover {
  background: #ead9ec;
}

.blog-search-clear[hidden] {
  display: none;
}

.blog-search-submit {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--medium-orchid, #ae42b3);
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.blog-search-submit:hover {
  background: var(--purple, #6b146f);
}

.blog-search-submit:active {
  transform: translateY(1px);
}

.blog-search-submit:focus-visible,
.blog-search-clear:focus-visible {
  outline: 3px solid rgba(174, 66, 179, 0.25);
  outline-offset: 2px;
}

.blog-search-form.is-loading .blog-search-submit {
  opacity: 0.72;
  cursor: wait;
}

.blog-search-status {
  min-height: 19px;
  margin-top: 7px;
  color: #6f6273;
  font-family: Sen, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.blog-search-status.is-error {
  color: #a12d2d;
}

.page-nav-container[hidden] {
  display: none !important;
}

.list-news-1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.list-news-1 .news-list-1 {
  width: 100%;
  min-width: 0;
  min-height: 245px;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.blog-search-news-card {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 245px;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-color: #301431;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.list-news-1 .news-heading-sidebar,
.blog-search-news-card .news-heading-sidebar {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: 4.8em;
  overflow-wrap: anywhere;
}

.list-news-1 .news-cat-float-sidebar,
.blog-search-news-card .news-cat-float-sidebar {
  max-width: calc(100% - 24px);
  padding: 5px 10px 5px 12px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.blog-search-news-card:focus-visible {
  outline: 3px solid rgba(174, 66, 179, 0.3);
  outline-offset: 3px;
}

.blog-search-empty.content-empty-box {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #eee3ef;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(48, 20, 49, 0.05);
}

.blog-search-empty .content-empty-icon {
  width: 72px;
  height: auto;
  margin-bottom: 16px;
}

.blog-search-empty .printing-box-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-search-empty .content-empty-title {
  margin: 0 0 8px;
  color: #301431;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.blog-search-empty .content-empty-p {
  max-width: 460px;
  margin: 0;
  color: #6f6273;
  font-family: Sen, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.blog-search-empty .btn-content-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 20px;
  border: 0;
  border-radius: 50px;
  background-color: #ae42b3;
  background-image: linear-gradient(90deg, #c94bcf, #952c9a);
  box-shadow: -4px 10px 20px 7px rgba(174, 66, 179, 0.18);
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all 200ms ease-in;
}

.blog-search-empty .btn-content-empty:hover {
  background-image: linear-gradient(270deg, #c94bcf, #952c9a);
}

.blog-search-empty .btn-content-empty:focus-visible {
  outline: 3px solid rgba(174, 66, 179, 0.25);
  outline-offset: 3px;
}

.blog-search-empty .btn-content-empty-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-search-empty .btn-content-empty-icon {
  width: 20px;
  height: 20px;
  margin: 0;
  filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
  .main-blog-header.has-search {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: left;
  }

  .blog-search-form {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
  }

  .blog-search-status {
    text-align: left;
  }

  .list-news-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-news-1 .news-list-1 {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .blog-search-field {
    min-height: 46px;
  }

  .blog-search-submit {
    padding-left: 14px;
    padding-right: 14px;
  }

  .list-news-1 {
    grid-template-columns: 1fr;
  }

  .list-news-1 .news-list-1 {
    min-height: 220px;
  }

  .list-news-1 .news-cat-float-sidebar,
  .blog-search-news-card .news-cat-float-sidebar {
    font-size: 11px;
    padding: 4px 9px 4px 11px;
  }

  .list-news-1 .news-heading-sidebar,
  .blog-search-news-card .news-heading-sidebar {
    font-size: 1.1em;
    line-height: 1.55em;
    max-height: 4.65em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-search-field,
  .blog-search-submit {
    transition: none;
  }
}
