/** * Creative Waco — Add to calendar widget (optional stylesheet) * Scope: .cw-cal-* to avoid clashes with Webflow global styles. */ .cw-cal { position: relative; display: inline-block; font-family: inherit; font-size: inherit; line-height: inherit; } .cw-cal__trigger { display: inline-flex; align-items: center; gap: 0.5em; cursor: pointer; font: inherit; text-align: left; } .cw-cal__panel { display: none; position: absolute; z-index: 50; left: 0; top: calc(100% + 6px); min-width: 220px; max-width: min(320px, 92vw); padding: 0.35rem 0; margin: 0; list-style: none; background: #fff; color: #111; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12); } .cw-cal.is-open .cw-cal__panel { display: block; } .cw-cal__panel a { display: block; padding: 0.55rem 1rem; color: inherit; text-decoration: none; font-size: 0.95rem; } .cw-cal__panel a:hover, .cw-cal__panel a:focus-visible { background: rgba(0, 0, 0, 0.06); outline: none; } .cw-cal__sep { height: 1px; margin: 0.35rem 0; background: rgba(0, 0, 0, 0.08); border: 0; } .cw-cal__hint { padding: 0.35rem 1rem 0.6rem; font-size: 0.75rem; opacity: 0.72; line-height: 1.35; } @media (prefers-color-scheme: dark) { .cw-cal__panel { background: #1a1a1a; color: #f5f5f5; border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); } .cw-cal__panel a:hover, .cw-cal__panel a:focus-visible { background: rgba(255, 255, 255, 0.08); } .cw-cal__sep { background: rgba(255, 255, 255, 0.1); } }