.shared-news-banner {
  background-color: #fff;
  overflow: hidden;
  width: 100%;
}

.shared-news-banner .main {
  padding-top: max(10.2vw, 140px);
  padding-bottom: max(3.125vw, 48px);
  color: var(--text);
}

.shared-news-banner .text {
  margin-right: max(6.25vw, 16px);
}

.shared-news-banner .text h5 {
  font-size: max(1.05vw, 14px);
  margin-bottom: max(1.25vw, 12px);
  font-family: "OverusedGrotesk" !important;
  font-weight: 500 !important;
}

.shared-news-banner .description {
  font-size: max(32px, 3.75vw);
  line-height: 1.1;
  font-family: "ClashDisplay" !important;
  font-weight: 500 !important;
  letter-spacing: 1px;
}

.shared-news-banner .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: max(24px, 2.5vw);
  border-bottom: 1px solid var(--border);
  padding-top: 12px;
  padding-bottom: 12px;
}

.shared-news-banner .bottom .left {
  width: fit-content;
  max-width: 60%;
  display: flex;
  gap: 8px;
}

.shared-news-banner .bottom .left span,
.shared-news-banner .bottom .left a {
  font-size: max(14px, 0.833vw);
}

.shared-news-banner .bottom .left svg {
  height: max(10px, 0.6vw);
  width: auto;
  margin: 2px max(4px, 0.32vw) 0;
}

.shared-news-banner .bottom .right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.shared-news-banner .bottom .search-container {
  display: flex;
  align-items: center;
}

.shared-news-banner .bottom .search-container input {
  height: max(38px, 1.92vw);
  width: max(280px, 17.2vw);
  padding: 0 4px 0 max(10px, 0.833vw);
  color: var(--text);
  font-size: max(14px, 0.833vw);
  border: none;
}

.shared-news-banner .bottom .search-container input::placeholder {
  color: var(--text);
}

.shared-news-banner .bottom .search-container svg {
  height: max(14px, 0.833vw);
  width: auto;
  overflow: visible;
}

.shared-news-banner .toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
}

.shared-news-banner .toggle-btn svg {
  width: auto;
  height: 18px;
}

.shared-news-banner .toggle-btn svg:last-child{
  display: none;
}

.shared-news-banner .right.active .toggle-btn svg:first-child{
  display: none;
}

.shared-news-banner .right.active .toggle-btn svg:last-child{
  display: block;
}

@media (max-width: 768px) {
  .shared-news-banner .text {
    margin-right: 0;
  }

  .shared-news-banner .bottom {
    gap: 16px;
    position: relative;
    padding: 10px 16px;
  }

  .shared-news-banner .bottom .left {
    max-width: calc(72% - 16px);
    width: calc(72% - 16px);
  }

  .shared-news-banner .toggle-btn {
    display: flex;
  }

  .shared-news-banner .search-container svg {
    display: none;
  }

  .shared-news-banner .bottom .search-container input {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    left: 16px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
  }

  .shared-news-banner .bottom .active .search-container input {
    padding: 0 4px 0 10px;
    border: 1px solid var(--border);
    width: calc(100% - 72px);
  }
}
