/* A shallow Halloween ribbon uses the brand orange and a small tactile pumpkin. */
#typewriterWorkshop .cw-community-page.has-seasonal-event { padding-top:0; }
#typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event { grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:var(--cw-community-space-6); margin-bottom:var(--cw-community-space-6); }
#typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event h1 { width:fit-content; max-width:100%; margin:0 0 10px; font-size:var(--cw-community-type-intro); line-height:var(--cw-community-line-heading); letter-spacing:var(--cw-community-tracking-display); }
#typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event > div:first-child > p { margin:0; font-size:var(--cw-community-type-body); line-height:var(--cw-community-line-body); }
#typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event > nav { display:flex; align-items:center; justify-content:flex-end; min-width:0; padding-top:0; }
#typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event > nav > .cd-link { flex:none; min-height:46px; font-size:13px; }
#typewriterWorkshop .cw-community-page .cd-event-notice { display:flex; justify-content:center; width:100%; min-width:0; margin:0 0 20px; background:var(--cw-community-brand,#f2642a); color:var(--cw-community-ink); border-radius:3px; }
#typewriterWorkshop .cw-community-page .cd-event-notice[hidden],
#typewriterWorkshop .cw-community-page .cd-event-scrim[hidden],
#typewriterWorkshop .cw-community-page .cd-event-panel[hidden] { display:none; }
#typewriterWorkshop .cw-community-page .cd-event-notice > button { display:flex; align-items:center; justify-content:center; gap:16px; width:100%; max-width:100%; min-height:44px; padding:4px 20px; text-align:center; background:transparent; border:0; border-radius:3px; color:var(--cw-community-ink); font:inherit; line-height:20px; white-space:nowrap; cursor:pointer; }
#typewriterWorkshop .cw-community-page .cd-event-notice-art { display:block; flex:none; width:36px; height:36px; margin-right:-6px; object-fit:contain; transform:rotate(-10deg); pointer-events:none; }
#typewriterWorkshop .cw-community-page .cd-event-eyebrow { color:inherit; font-size:12px; font-weight:700; line-height:20px; letter-spacing:.07em; text-transform:uppercase; }
#typewriterWorkshop .cw-community-page .cd-event-invitation { padding-left:16px; border-left:1px solid rgb(32 34 35 / 28%); font-size:var(--cw-community-type-control); font-weight:500; line-height:20px; }
#typewriterWorkshop .cw-community-page .cd-event-action-label { display:inline-flex; align-items:center; gap:8px; min-height:28px; margin-left:6px; padding:4px 0; background:transparent; color:var(--cw-community-ink); font-size:12px; font-weight:500; line-height:20px; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
#typewriterWorkshop .cw-community-page .cd-event-arrow { display:block; flex:none; width:6px; height:6px; margin:0 1px 3px 0; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; color:inherit; transform:rotate(45deg); }
#typewriterWorkshop .cw-community-page .cd-event-notice > button[aria-expanded='true'] .cd-event-arrow { margin-top:5px; transform:rotate(225deg); }
html.cd-event-modal-open { overflow:hidden; scrollbar-gutter:stable; }
#typewriterWorkshop .cw-community-page .cd-event-panel { position:fixed; inset:0; z-index:1000; display:block; width:380px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 40px); padding:0; margin:auto; overflow:auto; overscroll-behavior:contain; background:var(--cw-community-paper-warm); border:1px solid #dedbd5; border-radius:var(--cw-community-radius-panel); box-shadow:0 20px 64px rgb(25 23 21 / 18%); color:var(--cw-community-ink); }
#typewriterWorkshop .cw-community-page .cd-event-panel::backdrop,
#typewriterWorkshop .cw-community-page .cd-event-scrim { background:rgb(25 23 21 / 25%); }
#typewriterWorkshop .cw-community-page .cd-event-scrim { position:fixed; inset:0; z-index:999; }
#typewriterWorkshop .cw-community-page .cd-event-cover { position:relative; padding:30px 24px 0; background:var(--cw-community-stage); text-align:center; }
#typewriterWorkshop .cw-community-page .cd-event-kicker { display:block; margin:0 0 18px; color:var(--cw-community-brand-on-inverse); font-size:10px; font-weight:500; line-height:16px; letter-spacing:.12em; text-transform:uppercase; }
#typewriterWorkshop .cw-community-page .cd-event-panel h2 { padding:0; margin:0; color:#fff8eb; font-size:32px; font-weight:550; line-height:1.08; letter-spacing:-.04em; }
#typewriterWorkshop .cw-community-page .cd-event-panel h2 > span { display:block; margin-bottom:3px; font-size:27px; font-weight:400; letter-spacing:-.035em; }
#typewriterWorkshop .cw-community-page .cd-event-panel h2 > strong { display:block; font-size:36px; font-weight:550; letter-spacing:-.045em; }
#typewriterWorkshop .cw-community-page .cd-event-still-life { position:relative; z-index:1; width:244px; height:128px; margin:12px auto -20px; }
#typewriterWorkshop .cw-community-page .cd-event-still-life img { position:absolute; display:block; object-fit:contain; pointer-events:none; }
#typewriterWorkshop .cw-community-page .cd-event-ghost { width:146px; height:146px; left:55px; top:-2px; transform:rotate(8deg); }
#typewriterWorkshop .cw-community-page .cd-event-pumpkin { width:90px; height:90px; left:9px; top:52px; transform:rotate(-10deg); }
#typewriterWorkshop .cw-community-page .cd-event-candy { width:72px; height:72px; right:0; top:65px; transform:rotate(-18deg); }
#typewriterWorkshop .cw-community-page .cd-event-content { padding:48px 30px 0; }
#typewriterWorkshop .cw-community-page .cd-event-panel p { margin:0; max-width:none; font-size:13px; line-height:1.6; color:var(--cw-community-muted); }
#typewriterWorkshop .cw-community-page .cd-event-panel .cd-event-description { margin-bottom:22px; color:var(--cw-community-ink); font-size:14px; font-weight:500; text-align:center; }
#typewriterWorkshop .cw-community-page .cd-event-benefits { display:grid; gap:18px; margin-bottom:18px; }
#typewriterWorkshop .cw-community-page .cd-event-benefits h3 { margin:0 0 4px; color:var(--cw-community-ink); font-size:14px; font-weight:600; line-height:1.4; letter-spacing:-.015em; }
#typewriterWorkshop .cw-community-page .cd-event-close { position:absolute; z-index:1; top:4px; right:4px; display:grid; place-items:center; width:40px; height:40px; min-width:0; min-height:40px; padding:0; background:transparent; border:0; border-radius:50%; color:#fff8eb; font:inherit; font-size:20px; cursor:pointer; }
#typewriterWorkshop .cw-community-page .cd-event-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:14px 30px 26px; }
#typewriterWorkshop .cw-community-page .cd-event-actions a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px; border:1px solid #cfcac2; border-radius:6px; color:var(--cw-community-ink); background:transparent; font-size:12px; text-decoration:none; white-space:nowrap; }
#typewriterWorkshop .cw-community-page .cd-event-actions a:last-child { border-color:var(--cw-community-ink); background:var(--cw-community-ink); color:var(--cw-community-paper); }
#typewriterWorkshop .cw-community-page .cd-event-rules { padding-top:3px; border-top:1px solid #e7e1d8; }
#typewriterWorkshop .cw-community-page .cd-event-rules summary { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:40px; list-style:none; font-size:12px; color:var(--cw-community-brand-text); cursor:pointer; }
#typewriterWorkshop .cw-community-page .cd-event-rules summary::-webkit-details-marker { display:none; }
#typewriterWorkshop .cw-community-page .cd-event-rules summary::after { content:'+'; font-size:18px; font-weight:400; }
#typewriterWorkshop .cw-community-page .cd-event-rules[open] summary::after { content:'−'; }
#typewriterWorkshop .cw-community-page .cd-event-rules p { margin:10px 0 0; font-size:12px; }
#typewriterWorkshop .cw-community-page :is(.cd-event-notice,.cd-event-panel) :is(button,summary,a):focus-visible { outline:2px solid var(--cw-community-ink); outline-offset:3px; }
#typewriterWorkshop .cw-community-page .cd-event-notice > button:focus-visible { outline:2px solid #202223; outline-offset:-4px; }
#typewriterWorkshop .cw-community-page .cd-event-panel .cd-event-close:focus-visible { outline-color:#fff8eb; outline-offset:-6px; }
@media (hover:hover) and (pointer:fine) {
  #typewriterWorkshop .cw-community-page .cd-event-notice > button:hover .cd-event-action-label { text-decoration-thickness:2px; }
  #typewriterWorkshop .cw-community-page .cd-event-close:hover { background:#454040; }
  #typewriterWorkshop .cw-community-page .cd-event-actions a:first-child:hover { background:var(--cw-community-soft); }
  #typewriterWorkshop .cw-community-page .cd-event-actions a:last-child:hover { background:var(--cw-community-action-hover); }
}
@media (max-width:980px) {
  #typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event h1 { font-size:40px; }
}
@media (max-width:620px) {
  #typewriterWorkshop .cw-community-page .cd-event-notice > button { gap:12px; min-height:44px; padding:6px 12px; }
  #typewriterWorkshop .cw-community-page .cd-event-notice-art { width:32px; height:32px; margin-right:-4px; }
  #typewriterWorkshop .cw-community-page .cd-event-action-label { margin-left:4px; }
  #typewriterWorkshop .cw-community-page .cd-event-invitation { display:none; }
  #typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event { grid-template-columns:minmax(0,1fr); row-gap:6px; margin-bottom:22px; }
  #typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event h1 { font-size:36px; }
  #typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event > nav { justify-content:flex-start; }
  #typewriterWorkshop .cw-community-page .cd-intro.has-seasonal-event > nav > .cd-link { min-height:40px; }
  #typewriterWorkshop .cw-community-page .cd-event-panel { max-height:calc(100dvh - 32px); }
  #typewriterWorkshop .cw-community-page .cd-event-content { padding-inline:24px; }
  #typewriterWorkshop .cw-community-page .cd-event-actions { padding-inline:24px; }
  #typewriterWorkshop .cw-community-page .cd-event-panel h2 > strong { font-size:34px; }
  #typewriterWorkshop .cw-community-page .cd-event-actions a { min-height:44px; }
}

