/* A weekly publication calendar, shared by the three hero variants.
   The month, five equal day columns and post use the same side inset.
   Container units preserve the proportions inside the scaled mobile scene. */
.sc-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sc-root {
  --sc-ink: #233650;
  --sc-muted: #687a91;
  --sc-blue: #115cae;
  --sc-line: #e8e9e9;
  --sc-frame: #fdfcfa;
  --sc-success: #247354;
  container-type: inline-size;
  width: 100%;
  height: 100%;
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  color: var(--sc-ink);
  font-weight: 400;
  font-synthesis: none;
  text-align: left;
}
.sc-root, .sc-root *, .sc-dialog, .sc-dialog * { box-sizing: border-box; }
.sc-card {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 6.4cqw 12cqw minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d9dedc;
  border-radius: 12px;
  background: var(--sc-frame);
  box-shadow: 0 2px 3px rgb(0 0 0 / 3%), 0 7px 12px -4px rgb(0 0 0 / 7%);
}
.sc-period { display: flex; align-items: center; padding-inline: 3.5cqw; }
.sc-month { margin: 0; font-size: 3.2cqw; line-height: 1.2; font-weight: 600; }
.sc-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: .8cqw;
  padding: 0 3.5cqw 1.6cqw;
  border-bottom: 1px solid var(--sc-line);
}
.sc-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8cqw;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: .6cqw 0;
  border: 0;
  border-radius: 1.6cqw;
  background: transparent;
  color: var(--sc-ink);
  font: inherit;
  cursor: pointer;
}
.sc-day:disabled { color: var(--sc-muted); cursor: default; }
.sc-day:not(:disabled):hover { background: #edf3fb; }
.sc-day[aria-selected="true"] { color: var(--sc-blue); background: #e3effb; box-shadow: inset 0 -2px var(--sc-blue); }
.sc-date-line { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8cqw; }
.sc-weekday { font-size: 2.5cqw; line-height: 1.1; }
.sc-date { font-size: 4.6cqw; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-icon { display: block; width: 3.8cqw; height: 3.8cqw; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sc-panel { display: grid; grid-template-columns: 36cqw minmax(0, 1fr); align-items: center; gap: 3.5cqw; min-height: 0; padding: 3.5cqw; }
.sc-photo { position: relative; display: block; width: 36cqw; height: 24cqw; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 1.2cqw; background: #edf1f5; cursor: zoom-in; }
.sc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: none !important; }
.sc-story-count { position: absolute; top: 1.2cqw; right: 1.2cqw; display: none; padding: .6cqw 1.2cqw; border-radius: .8cqw; background: rgb(35 54 80 / 75%); color: #fff; font-family: inherit; font-size: 2.6cqw; line-height: 1; }
.sc-photo[data-kind="stories"] .sc-story-count { display: block; }
.sc-copy { min-width: 0; }
.sc-title { margin: 0; color: var(--sc-ink); font-size: 4.3cqw; line-height: 1.17; font-weight: 600; letter-spacing: -.025em; }
.sc-status { display: flex; align-items: center; gap: 1.2cqw; margin: 2cqw 0 0; color: #52647c; font-size: 2.9cqw; line-height: 1.25; }
.sc-status .sc-icon { width: 3.2cqw; height: 3.2cqw; color: var(--sc-success); stroke-width: 2; }
.sc-status[data-state="scheduled"] .sc-icon { color: var(--sc-blue); }
.sc-root :is(button, [tabindex]):focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 2px; }

    .sc-dialog { width: min(410px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: auto; border: 1px solid #d9dedc; border-radius: 12px; background: #fff; color: #233650; font-family: "Noto Sans", "Segoe UI", Arial, sans-serif; box-shadow: 0 16px 70px rgb(5 19 67 / 20%); }
    .sc-dialog::backdrop { background: rgb(18 32 49 / 45%); }
    .sc-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid #e8e9e9; background: #fff; }
    .sc-dialog-header p { margin: 0; font-size: 13px; font-weight: 600; }
    .sc-dialog-close { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f3f6fa; color: #233650; cursor: pointer; }
    .sc-dialog-close-icon { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .sc-dialog-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: none !important; }
    .sc-dialog-copy { padding: 17px 18px 20px; }
    .sc-dialog-title { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
    .sc-dialog-caption { margin: 12px 0 0; font-size: 14px; line-height: 1.65; }
    .sc-dialog-status { margin: 14px 0 0; color: #687a91; font-size: 12px; line-height: 1.5; }
    .sc-dialog-close:focus-visible { outline: 2px solid #115cae; outline-offset: 2px; }
