/* MahaCina 诗与酒 P36 - release-facing Hero typography and compact search hints.
 * Stage-local, scoped to shared picture Heroes; does not change artwork, typography families,
 * taxonomy labels, permalink/SEO state, or the poet/work literary templates.
 */
.syj-page-hero .syj-hero__title {
  text-shadow: 0 1px 2px rgba(22, 39, 44, .50), 0 4px 17px rgba(18, 40, 49, .46);
}
.syj-page-hero .syj-hero__tagline,
.syj-page-hero .syj-hero__subtext {
  text-shadow: 0 1px 2px rgba(18, 36, 42, .78), 0 3px 11px rgba(17, 36, 42, .64);
}
body .cc-poetry-header--overlay .cc-poetry-brand,
body .cc-poetry-header--overlay .cc-poetry-navigation a,
body .cc-poetry-header--overlay .cc-poetry-search-icon,
body .cc-poetry-header--overlay .cc-poetry-menu-toggle,
body .cc-poetry-header--overlay .syj-language-switcher > summary {
  text-shadow: 0 1px 2px rgba(18, 35, 41, .35);
}
body .cc-poetry-header--overlay .cc-poetry-logo {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(18, 35, 41, .32));
}
.syj-page-hero:has(#home-hero-title) .syj-hero__hotwords-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-width: 0;
}
@media (max-width: 700px) {
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    margin-inline: auto;
  }
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords > span {
    display: block;
    line-height: 1.5;
    white-space: normal;
    text-align: center;
  }
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 3px 12px 9px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(24, 47, 55, .08), rgba(24, 47, 55, .30) 11%, rgba(24, 47, 55, .30) 89%, rgba(24, 47, 55, .08));
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 93%, transparent 100%);
  }
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords-list::-webkit-scrollbar {
    display: none;
  }
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords-list .syj-hero__hotword {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: none;
    overflow: visible;
    white-space: nowrap;
    text-overflow: clip;
    text-decoration: none;
    scroll-snap-align: start;
    padding: 1px 3px;
  }
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords-list .syj-hero__hotword:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .syj-page-hero:has(#home-hero-title) .syj-hero__hotwords-list { scroll-behavior: auto; }
}
