/* =====================================================================
   Paddlers Cove - Events page
   Loads AFTER style.css and about.css (colors, header, footer, .wrap,
   .eyebrow, .section, buttons all come from those)
   ===================================================================== */

/* ---------- Category colors (used everywhere via .cat-*) ---------- */
.cat-all       { --c: var(--navy);  --c-soft: #e8eef5; }
.cat-social    { --c: #4d6b2c;      --c-soft: #eef3e6; }
.cat-food      { --c: #c38d2c;      --c-soft: #fbf2e0; }
.cat-holiday   { --c: #b4492f;      --c-soft: #f9e9e4; }
.cat-kids      { --c: #1c6b8c;      --c-soft: #e3f0f5; }
.cat-hoa       { --c: #123a63;      --c-soft: #e6ecf3; }
.cat-pool      { --c: #2f86ad;      --c-soft: #e2f1f8; }
.cat-lake      { --c: #1f7a74;      --c-soft: #e0f1ef; }
.cat-club      { --c: #6d4c8f;      --c-soft: #efe9f5; }
.cat-community { --c: #5d6873;      --c-soft: #eef0f2; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.ev-hero {
  position: relative; padding-top: calc(var(--header-h) + 150px); min-height: 780px;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 32, 56, .86) 0%, rgba(10, 32, 56, .58) 38%, rgba(10, 32, 56, .08) 70%),
    linear-gradient(180deg, rgba(10, 32, 56, .25) 0%, rgba(10, 32, 56, 0) 30%, rgba(10, 32, 56, 0) 55%, rgba(10, 32, 56, .7) 100%),
    image-set(url("../img/events-hero.webp") type("image/webp"), url("../img/events-hero.jpg") type("image/jpeg")) center 58% / cover no-repeat;
}
/* twinkle: soft drifting bokeh over the string lights */
.ev-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 214, 140, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 81% 29%, rgba(255, 214, 140, .30) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 38%, rgba(255, 214, 140, .30) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 40%, rgba(255, 214, 140, .25) 0 2px, transparent 3px);
  animation: twinkle 3.2s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .15; } to { opacity: .6; } }
.ev-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 178px; }
.ev-hero .eyebrow { color: var(--gold-soft); display: inline-flex; align-items: center; gap: 10px; }
.ev-hero .eyebrow .icon { width: 18px; height: 18px; }
.ev-hero h1 {
  font-family: var(--serif); font-weight: 700; margin: 0 0 14px; max-width: 860px;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}
.ev-hero h1 em { font-style: italic; font-weight: 600; color: var(--gold-soft); }
.ev-hero .paddle { width: 150px; height: 22px; color: var(--gold-soft); margin: 4px 0 18px; opacity: .9; }
.ev-hero p { max-width: 560px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: #e9f1f7; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
.hero-cta .icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------
   Next Up spotlight (overlaps the hero)
   --------------------------------------------------------------------- */
.spot-band { position: relative; z-index: 5; margin-top: -132px; }
.spot {
  position: relative; display: grid; grid-template-columns: 150px 1fr 300px; min-height: 250px;
  background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(10, 32, 56, .22), var(--shadow); overflow: hidden;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s;
}
.ev-ready .spot { opacity: 1; transform: none; }
.spot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--c, var(--gold)), var(--gold-soft)); }
.spot-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 26px 10px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; text-align: center;
}
.sd-w { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.sd-d { font-family: var(--serif); font-weight: 700; font-size: 76px; line-height: .95; }
.sd-m { font-family: var(--serif); font-style: italic; font-size: 21px; color: #d5e1eb; }
.spot-body { padding: 30px 34px 28px; min-width: 0; }
.spot-kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(195, 141, 44, .5); animation: pulse 2s infinite; }
.pulse.live { background: #d04a2f; box-shadow: 0 0 0 0 rgba(208, 74, 47, .5); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(195, 141, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(195, 141, 44, 0); } }
.spot-title { font-family: var(--serif); color: var(--navy); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; margin: 10px 0 12px; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; color: #33404c; font-weight: 600; }
.spot-meta span, .spot-meta a { display: inline-flex; align-items: center; gap: 7px; }
.spot-meta a { color: var(--teal); }
.spot-meta a:hover { text-decoration: underline; }
.spot-meta .icon { width: 18px; height: 18px; color: var(--c, var(--gold)); }
.spot-desc { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.spot-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.spot-actions .btn, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: inherit; border: 0; }
.spot-actions .icon { width: 17px; height: 17px; }
.btn-ghost { background: #eef2f6; color: var(--navy); }
.btn-ghost:hover { box-shadow: none; background: #e2e9f0; }
.spot-count {
  display: flex; flex-direction: column; justify-content: center; padding: 26px 26px;
  background: linear-gradient(180deg, #fbf8f1, #f4efe3); border-left: 1px solid var(--line);
}
.cd-title { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; text-align: center; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-grid div { background: #fff; border-radius: 12px; padding: 12px 4px 9px; text-align: center; box-shadow: 0 4px 14px rgba(14, 45, 79, .08); }
.cd-grid b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.cd-grid span { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.spot-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 40px; }
.spot-empty-ic { width: 54px; height: 54px; color: var(--gold); flex: 0 0 54px; }
.spot-empty h3 { margin: 0 0 4px; font-family: var(--serif); color: var(--navy); font-size: 26px; }
.spot-empty p { margin: 0; color: var(--muted); }

/* loading shimmer before data arrives */
.spot.loading { opacity: 1; transform: none; }
.spot.loading .sk { grid-column: 1 / -1; height: 250px; background: linear-gradient(90deg, #f3f1ec 0%, #fbfaf7 40%, #f3f1ec 80%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* quick stats under the spotlight */
.ev-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.ev-stats:empty { display: none; }
.ev-stats div { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ev-stats b { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold); }
.ev-stats span { font-size: 14px; color: var(--muted); line-height: 1.3; }

/* ---------------------------------------------------------------------
   Toolbar (sticky)
   --------------------------------------------------------------------- */
.ev-toolbar {
  position: sticky; top: var(--header-h); z-index: 20; margin-top: 44px;
  background: rgba(247, 245, 240, .94); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.tb-inner { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.ev-filters { display: flex; gap: 8px; flex: 1; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ev-filters::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; cursor: pointer;
  padding: 8px 12px 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 14px/1 var(--sans); color: #2a333d; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.chip .icon { width: 16px; height: 16px; color: var(--c); }
.chip i { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: var(--c-soft); color: var(--c); }
.chip:hover { border-color: var(--c); transform: translateY(-1px); }
.chip.on { background: var(--c); border-color: var(--c); color: #fff; }
.chip.on .icon { color: #fff; }
.chip.on i { background: rgba(255, 255, 255, .22); color: #fff; }
.search { position: relative; flex: 0 0 230px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search input {
  width: 100%; padding: 10px 14px 10px 38px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 15px var(--sans); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.search input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28, 107, 140, .15); }
.views { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: 0 0 auto; }
.views button {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer;
  padding: 7px 14px; border-radius: 999px; font: 600 14px var(--sans); color: var(--muted);
}
.views button .icon { width: 16px; height: 16px; }
.views button.on { background: var(--navy); color: #fff; }

.ev-notice {
  display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 14px 18px; border-radius: 12px;
  background: #fbf4e6; border: 1px solid #efd9a8; color: #6e4e12; font-size: 15px;
}
.ev-notice .icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--gold); margin-top: 1px; }
.ev-notice code { background: rgba(195, 141, 44, .15); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; }

/* ---------------------------------------------------------------------
   List view
   --------------------------------------------------------------------- */
.ev-body { padding: 26px 0 90px; }
.ev-month + .ev-month { margin-top: 40px; }
.ev-month-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0 14px; border-bottom: 2px solid var(--navy); margin-bottom: 18px; }
.ev-month-h h2 { margin: 0; font-family: var(--serif); color: var(--navy); font-size: clamp(28px, 2.8vw, 38px); }
.ev-month-h h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.ev-month-h span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ev-stack { display: grid; gap: 14px; }

.ev-card {
  position: relative; display: grid; grid-template-columns: 86px 1fr auto; gap: 22px; align-items: start;
  background: #fff; border-radius: 16px; padding: 20px 22px 20px 20px;
  border: 1px solid rgba(228, 225, 217, .9); box-shadow: 0 6px 22px rgba(14, 45, 79, .07);
  transition: transform .18s, box-shadow .18s, opacity .45s;
  opacity: 0; transform: translateY(10px);
}
.ev-card.in, #ev-day .ev-card { opacity: 1; transform: none; }
.ev-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.ev-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ev-card.is-featured { border: 2px solid var(--gold-soft); box-shadow: 0 12px 34px rgba(195, 141, 44, .16), 0 6px 22px rgba(14, 45, 79, .07); }
.ev-card.is-live { border-color: #e7a391; }
.ev-date {
  display: flex; flex-direction: column; align-items: center; border-radius: 12px; overflow: hidden;
  background: var(--c-soft); padding: 9px 0 10px; text-align: center;
}
.ev-date .w { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.ev-date .d { font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1.05; color: var(--navy); }
.ev-date .m { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-main { min-width: 0; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--c-soft); color: var(--c); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.cat-pill .icon { width: 14px; height: 14px; }
.spot-kicker .cat-pill { letter-spacing: .06em; }
.flag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #e8eef5; color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.flag .icon { width: 13px; height: 13px; }
.flag.gold { background: #fbf4e6; color: #8d6317; }
.flag.live { background: #fbe7e1; color: #b4392a; }
.ev-card h3 { margin: 2px 0 6px; font-family: var(--serif); color: var(--navy); font-size: 23px; line-height: 1.2; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: #3a4550; font-weight: 600; }
.ev-meta span, .ev-meta a { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta .icon { width: 16px; height: 16px; color: var(--c); }
.ev-meta a { color: var(--teal); }
.ev-meta a:hover { text-decoration: underline; }
.ev-desc { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ev-desc a { color: var(--teal); text-decoration: underline; }
.ev-desc ul, .ev-desc ol { margin: 6px 0; padding-left: 20px; }
.ev-desc p { margin: 0 0 8px; }
.ev-desc.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-desc.clamp.open { display: block; }
.more { margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.ev-actions { display: flex; flex-direction: column; gap: 6px; }
.act {
  display: inline-flex; align-items: center; gap: 7px; justify-content: flex-start; min-width: 104px; cursor: pointer;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fbfaf7;
  font: 600 13.5px var(--sans); color: var(--navy); transition: background .15s, border-color .15s, color .15s;
}
.act .icon { width: 16px; height: 16px; color: var(--c); }
.act:hover { background: var(--c); border-color: var(--c); color: #fff; }
.act:hover .icon { color: #fff; }

.ev-empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: 18px; border: 1px dashed #d9d4c7; }
.ev-empty .big { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 10px; }
.ev-empty h3 { margin: 0 0 6px; font-family: var(--serif); color: var(--navy); font-size: 26px; }
.ev-empty p { margin: 0 0 18px; color: var(--muted); }
.ev-empty a { color: var(--teal); text-decoration: underline; }
.ev-empty .btn { border: 0; cursor: pointer; font-family: inherit; }

/* skeleton cards while loading */
.sk-card { height: 128px; border-radius: 16px; background: linear-gradient(90deg, #efece5 0%, #f9f8f5 40%, #efece5 80%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }

/* ---------------------------------------------------------------------
   Month view
   --------------------------------------------------------------------- */
.cal-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.cal { background: #fff; border-radius: 18px; box-shadow: 0 6px 22px rgba(14, 45, 79, .08); border: 1px solid rgba(228, 225, 217, .9); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cal-head h2 { margin: 0; font-family: var(--serif); color: var(--navy); font-size: 30px; }
.cal-head h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  display: grid; place-items: center; height: 38px; min-width: 38px; padding: 0 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: #fbfaf7; color: var(--navy); font: 700 13px var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
.cal-nav button .icon { width: 18px; height: 18px; }
.cal-nav button:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { padding: 10px 8px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #faf9f6; border-bottom: 1px solid var(--line); }
.cal-day {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; text-align: left;
  min-height: 112px; padding: 8px 7px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; font-family: var(--sans); cursor: default; min-width: 0;
}
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.out { background: #fbfaf8; }
.cal-day.out .n { color: #b9bec4; }
.cal-day.past .n { color: #a3aab2; }
.cal-day .n { font-size: 14px; font-weight: 700; color: var(--navy); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.cal-day.today .n { background: var(--gold); color: #fff; }
.cal-day.has { cursor: pointer; }
.cal-day.has:hover { background: #fbf6ec; }
.cal-day.sel { background: #f4efe3; box-shadow: inset 0 0 0 2px var(--gold); }
.pills { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pill {
  display: flex; align-items: center; gap: 5px; min-width: 0; padding: 3px 6px; border-radius: 6px;
  background: var(--c-soft); color: var(--c); font-size: 12px; font-weight: 600; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pill i { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.pill.more { background: none; color: var(--muted); padding-left: 4px; }
.cal-day.past .pill { opacity: .55; }
.dots { display: none; gap: 3px; justify-content: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

.ev-day { position: sticky; top: calc(var(--header-h) + 90px); display: grid; gap: 12px; }
.day-h { position: relative; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: 16px; padding: 20px 22px; }
.day-h .eyebrow { color: var(--gold-soft); margin-bottom: 4px; }
.day-h h3 { margin: 0; font-family: var(--serif); font-size: 30px; }
.day-h p { margin: 4px 0 0; color: #c9d7e3; font-size: 14.5px; }
.day-x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; }
.day-x .icon { width: 16px; height: 16px; }
.day-x:hover { background: rgba(255, 255, 255, .24); }
.day-list { display: grid; gap: 8px; max-height: 560px; overflow: auto; }
.mini {
  display: flex; gap: 12px; align-items: center; text-align: left; cursor: pointer; width: 100%;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-family: var(--sans);
  transition: border-color .15s, transform .15s;
}
.mini:hover { border-color: var(--c); transform: translateX(2px); }
.mini .md { flex: 0 0 46px; text-align: center; border-radius: 10px; background: var(--c-soft); color: var(--c); padding: 5px 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mini .md b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--navy); letter-spacing: 0; }
.mini strong { display: block; font-size: 15px; color: var(--navy); line-height: 1.25; }
.mini small { display: block; font-size: 13px; color: var(--muted); }
.day-none { padding: 22px; border-radius: 14px; background: #fff; border: 1px dashed #d9d4c7; color: var(--muted); font-size: 15px; text-align: center; }
#ev-day .ev-card { grid-template-columns: 1fr; gap: 10px; padding: 18px 18px 18px 20px; }
#ev-day .ev-date { display: none; }
#ev-day .ev-actions { flex-direction: row; flex-wrap: wrap; }
#ev-day .act { min-width: 0; }

/* ---------------------------------------------------------------------
   Subscribe band
   --------------------------------------------------------------------- */
.subscribe {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 88% 0%, #1f5d8e 0%, transparent 55%), linear-gradient(135deg, #0b2442 0%, #123a63 60%, #0f2e52 100%);
}
.subscribe::after {
  content: ""; position: absolute; right: -80px; bottom: -110px; width: 520px; height: 520px; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.2'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.subscribe .wrap { position: relative; z-index: 1; }
.sub-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.subscribe h2 { color: #fff; }
.subscribe h2 em { color: var(--gold-soft); }
.subscribe p { color: #d7e4ef; }
.sub-note { font-size: 14px !important; color: #9fb4c7 !important; }
.sub-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sub-btn {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-family: var(--sans);
  transition: background .15s, transform .15s, border-color .15s;
}
.sub-btn:hover { background: rgba(255, 255, 255, .13); border-color: var(--gold-soft); transform: translateY(-2px); }
.sub-btn .ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(227, 187, 103, .16); color: var(--gold-soft); }
.sub-btn .ic .icon { width: 24px; height: 24px; }
.sub-btn strong { display: block; font-size: 16.5px; }
.sub-btn small { display: block; font-size: 13.5px; color: #b9cad8; line-height: 1.35; }

/* ---------------------------------------------------------------------
   Host an event
   --------------------------------------------------------------------- */
.host { background: linear-gradient(180deg, var(--cream) 0%, #eaf2f6 100%); }
.host .center-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.host-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.host-card { background: #fff; border-radius: 18px; padding: 30px 26px; box-shadow: 0 6px 22px rgba(14, 45, 79, .08); border: 1px solid rgba(228, 225, 217, .8); transition: transform .15s, box-shadow .15s; }
.host-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.host-card .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); margin-bottom: 16px; }
.host-card .ic .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.host-card h3 { margin: 0 0 8px; font-family: var(--serif); color: var(--navy); font-size: 23px; }
.host-card p { margin: 0 !important; font-size: 15.5px !important; color: var(--muted) !important; line-height: 1.6 !important; }
.host-cta { text-align: center; margin-top: 36px; }
.host-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
.host-cta .icon { width: 18px; height: 18px; }

/* toast */
.ev-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 30px rgba(10, 32, 56, .3); transition: opacity .2s, transform .2s;
}
.ev-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .ev-hero { padding-top: calc(var(--header-h) + 110px); min-height: 740px; }
  .spot { grid-template-columns: 130px 1fr; }
  .spot-count { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; gap: 20px; padding: 16px 24px; }
  .cd-title { margin: 0; text-align: left; flex: 0 0 auto; }
  .cd-grid { flex: 1; max-width: 420px; }
  .cal-wrap { grid-template-columns: 1fr; }
  .ev-day { position: static; }
  .sub-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 960px) {
  .tb-inner { flex-wrap: wrap; }
  .ev-filters { flex: 1 0 100%; order: 3; }
  .search { flex: 1; }
  .ev-stats { grid-template-columns: repeat(2, 1fr); }
  .host-grid { grid-template-columns: 1fr; }
  .ev-card { grid-template-columns: 72px 1fr; }
  .ev-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .act { min-width: 0; }
  .cal-day { min-height: 70px; align-items: center; }
  .pills { display: none; }
  .dots { display: flex; }
}
@media (max-width: 680px) {
  .ev-hero { min-height: 700px; padding-top: calc(var(--header-h) + 90px); }
  .ev-hero .wrap { padding-bottom: 172px; }
  .spot { grid-template-columns: 1fr; }
  .spot-date { flex-direction: row; gap: 12px; padding: 16px 20px; justify-content: flex-start; align-items: baseline; }
  .sd-d { font-size: 44px; }
  .spot-body { padding: 22px 20px; }
  .spot-count { flex-direction: column; align-items: stretch; gap: 10px; }
  .cd-title { text-align: center; }
  .cd-grid { max-width: none; }
  .views button span { display: none; }
  .ev-card { grid-template-columns: 60px 1fr; gap: 14px; padding: 16px 16px 16px 16px; }
  .ev-date .d { font-size: 30px; }
  .ev-card h3 { font-size: 20px; }
  .sub-btns { grid-template-columns: 1fr; }
  .cal-head { flex-wrap: wrap; }
  .cal-head h2 { font-size: 24px; }
  .cal-dow { font-size: 10.5px; padding: 8px 2px; letter-spacing: .06em; }
  .cal-day { min-height: 54px; padding: 6px 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-hero::after, .pulse { animation: none; }
  .ev-card, .spot { transition: none; opacity: 1; transform: none; }
}
