/*
 * Only loaded on the intended preview page. No content is hidden or reordered.
 * The published page currently starts with the repeated title as an h2.
 */
body.zym-shortnotice-page .entry-content > h2:first-child {
  margin-block: 0 1.15em;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: normal;
  line-height: inherit;
}

/*
 * Optional, after an editor has explicitly put each journey in a native
 * top-level Group block. All top-level Group blocks on this page receive this
 * appearance; the present ungrouped content remains unchanged.
 */
body.zym-shortnotice-page .entry-content > .wp-block-group {
  min-width: 0;
  margin-block: 0 1.5rem;
  padding: clamp(1.125rem, 3vw, 1.75rem);
  border: 1px solid #b9c9ce;
  border-inline-start: 4px solid #102f47;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(16 47 71 / 7%);
  overflow-wrap: anywhere;
}

body.zym-shortnotice-page .entry-content > .wp-block-group > :first-child {
  margin-top: 0;
}

body.zym-shortnotice-page .entry-content > .wp-block-group > :last-child {
  margin-bottom: 0;
}

@media print {
  body.zym-shortnotice-page .entry-content > .wp-block-group {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* Enhanced legacy offers. All stored editorial content remains unchanged. */
body.zym-shortnotice-page .entry-content > .zym-shortnotice-card {
  box-sizing: border-box;
  min-width: 0;
  margin-block: 0 1.5rem;
  padding: clamp(1.125rem, 3vw, 1.75rem);
  border: 1px solid #b9c9ce;
  border-inline-start: 4px solid #102f47;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(16 47 71 / 7%);
  overflow-wrap: anywhere;
}
body.zym-shortnotice-page .entry-content > .zym-shortnotice-card > :first-child { margin-top: 0; }
body.zym-shortnotice-page .entry-content > .zym-shortnotice-card > :last-child { margin-bottom: 0; }
body.zym-shortnotice-page .entry-content .zym-shortnotice-separator,
body.zym-shortnotice-page .entry-content > .zym-shortnotice-only-separator { display: none; }
body.zym-shortnotice-page .entry-content > .zym-shortnotice-card > p:first-child > br:first-child,
body.zym-shortnotice-page .entry-content > .zym-shortnotice-card > p:first-child > strong:first-child > br:first-child { display: none; }
@media print {
  body.zym-shortnotice-page .entry-content > .zym-shortnotice-card { box-shadow: none; break-inside: avoid; }
}
