.sunrise-brand-reveal {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  animation: seedlink-reveal-fade 9.6s ease both;
}
.sunrise-brand-sun {
  position: absolute;
  left: 75%;
  top: 50%;
  width: clamp(72px, 9vw, 132px);
  aspect-ratio: 1;
  opacity: 0;
  background: url('/pub/img/seedlinkx-rise-logo-20261016.png') center / contain no-repeat;
  filter: drop-shadow(0 14px 34px rgba(255, 107, 40, .38));
  transform: translate(-50%, 70px) scale(.62);
  animation: seedlink-sunrise 5.6s cubic-bezier(.15,.57,.24,1) both;
}
.sunrise-brand-name {
  position: absolute;
  left: 75%;
  top: calc(50% + clamp(70px, 8vw, 110px));
  color: #fff3dd;
  font-size: clamp(24px, 3.3vw, 52px);
  font-weight: 850;
  letter-spacing: .045em;
  white-space: nowrap;
  text-shadow: 0 4px 28px rgba(255, 144, 75, .62), 0 2px 18px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translate(-50%, 55px) scale(.52);
  animation: seedlink-name-reveal 6.4s cubic-bezier(.15,.57,.24,1) .7s both;
}
@keyframes seedlink-sunrise {
  0% { opacity: 0; transform: translate(-50%, 70px) scale(.62); }
  18% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -20px) scale(1); }
}
@keyframes seedlink-name-reveal {
  0%, 30% { opacity: 0; transform: translate(-50%, 55px) scale(.52); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -8px) scale(1); }
}
@keyframes seedlink-reveal-fade {
  0%, 82% { opacity: 1; }
  100% { opacity: 0; }
}
.seedlink-local-trends {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 13px;
  background: rgba(13, 16, 23, .48);
}
.search-panel .trending-searches { display: none !important; }
.result-total::before { content: "≥ "; }
.seedlink-local-trends-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 4px;
  color: #ffb08d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.seedlink-local-trends-label::before {
  content: "↗";
  color: #ff855e;
  font-size: 15px;
}
.seedlink-local-trend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 260px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: #d9dce5;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.seedlink-local-trend:hover {
  border-color: rgba(255, 143, 99, .46);
  background: rgba(255, 135, 93, .10);
  color: #fff;
}
.seedlink-local-trend-count {
  color: #f39a78;
  font-size: 10px;
  white-space: nowrap;
}
.seedlink-local-trends-empty {
  color: #858b99;
  font-size: 12px;
}
@media (max-width: 1050px) {
  .seedlink-local-trends { grid-column: 1; }
}
@media (max-width: 700px) {
  .sunrise-brand-sun { left: 75%; top: 42%; width: clamp(64px, 17vw, 92px); }
  .sunrise-brand-name { left: 75%; top: calc(42% + 67px); font-size: clamp(20px, 5.1vw, 30px); }
  .seedlink-local-trends { grid-column: 1; gap: 8px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sunrise-brand-reveal { display: none; }
}

/* Keep the intro clear of the hero copy and featured caption on smaller screens. */
@media (min-width: 721px) and (max-width: 1000px) {
  .sunrise-brand-sun { left: 76%; top: 19%; width: clamp(72px, 10vw, 110px); }
  .sunrise-brand-name { left: 76%; top: calc(19% + 100px); font-size: clamp(25px, 3.1vw, 34px); }
}
@media (max-width: 720px) {
  .sunrise-brand-sun { left: 50%; top: 7%; width: clamp(66px, 17vw, 88px); }
  .sunrise-brand-name { left: 50%; top: 24%; font-size: clamp(25px, 7vw, 31px); }
  .hero-copy { box-sizing: border-box; max-width: 100%; }
  .hero-copy h1 { overflow-wrap: anywhere; }

  .search-panel { grid-template-columns: minmax(0, 1fr) !important; }
  .search-panel > .search-intro,
  .search-panel > .search-form,
  .search-panel > .trending-searches,
  .search-panel > .seedlink-hot-search,
  .search-panel > .seedlink-local-trends {
    box-sizing: border-box;
    grid-column: 1 !important;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .search-form input { min-width: 0; flex: 1 1 auto; }
  .search-submit { min-width: 0; flex: 0 0 auto; }
  .seedlink-local-trend { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

  .text-cover-copy { min-height: 0; padding-top: 0; }
  .text-cover-top,
  .text-cover-foot { gap: 5px; font-size: 9px; letter-spacing: .06em; }
  .text-cover h2 { font-size: clamp(16px, 4.2vw, 23px); line-height: 1.17; }
  .text-cover p { margin-top: 6px; font-size: 10px; -webkit-line-clamp: 2; }
  .text-cover-foot { margin-top: 8px; }

  .results-hero,
  .search-bar,
  .result-card { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .search-bar input { min-width: 0; flex: 1 1 auto; }
  .result-body h3 { overflow-wrap: anywhere; }
  .result-actions button { max-width: 100%; white-space: normal; }
}
@media (max-width: 360px) {
  .hero { min-height: 640px !important; }
  .sunrise-brand-sun { top: 4%; width: 66px; }
  .sunrise-brand-name { top: 17%; font-size: 25px; }
  .resource-grid,
  .results-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .search-panel { padding: 22px 16px !important; }
  .search-form { gap: 7px !important; padding-left: 9px !important; }
  .search-form > i { display: none; }
  .search-form input { font-size: 13px; }
  .search-submit { padding: 0 9px !important; min-width: 62px !important; }
}

.seedlink-hot-search {
  box-sizing: border-box;
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(13, 16, 23, .58);
}
.seedlink-hot-search[hidden] { display: none !important; }
.search-panel.seedlink-hot-search-ready .trending-searches { display: none !important; }
.seedlink-hot-search-label {
  flex: 0 0 auto;
  margin-right: 3px;
  color: #ffb08d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.seedlink-hot-search-label::before {
  content: "↗";
  margin-right: 6px;
  color: #ff875d;
}
.seedlink-hot-search-message {
  min-width: 0;
  color: #a6aab5;
  font-size: 12px;
  line-height: 1.5;
}
.seedlink-hot-search-term {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(255, 169, 126, .24);
  border-radius: 999px;
  background: rgba(255, 136, 93, .08);
  color: #f5ebe5;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.seedlink-hot-search-term:hover,
.seedlink-hot-search-term:focus-visible {
  border-color: rgba(255, 169, 126, .65);
  background: rgba(255, 136, 93, .17);
  outline: none;
}
.seedlink-hot-search-count {
  color: #ffa980;
  font-size: 10px;
  white-space: nowrap;
}
@media (max-width: 1050px) {
  .seedlink-hot-search { grid-column: 1; }
}
