/* ==========================================================================
   Housing Delaware — The Events Calendar (TEC 6.x, v2 views) skin
   Enqueued by inc/events.php on TEC views only, after dsha-child.css.

   TEC runs in "skeleton" style mode: its stylesheet is layout-only (grid,
   container breakpoints, a11y helpers, datepicker/tooltip positioning), so
   every colour, type and surface rule for the calendar lives here, built
   from the hd-* tokens in dsha-child.css (Montserrat titles, Poppins UI,
   --hd-navy ink, --hd-rule keylines, --hd-a / --hd-a-ink / --hd-a-tint area
   accent = Buy a Home green on these pages).

   Selectors are scoped `.hd .tribe-…` so they outrank skeleton's
   `.tribe-events .x` / `.tribe-common--breakpoint-medium.tribe-events .x`
   rules by order or specificity — one documented !important (§2). TEC switches layouts on
   the CONTAINER width (JS adds .tribe-common--breakpoint-medium at ≥768px),
   so "mobile" rules below are the un-prefixed ones.

   Contrast (all on white unless noted): --hd-navy 12.9:1, #43485c 8.5:1,
   #565f7d 5.4:1, --hd-a-ink (#15853d) 4.9:1, #1e5b38 on #e7f2ec 7.4:1.
   ========================================================================== */

/* ---------- 0. Frame ---------- */
.hd .tribe-common .tribe-common-l-container { max-width: none; padding: 0; }
.hd .hd-events-view { padding-top: 1.75rem; }
.hd .tribe-common { font-family: "Poppins", sans-serif; color: var(--hd-navy); }
.hd .tribe-common a { color: var(--hd-navy); }
.hd .tribe-common a:hover { color: var(--hd-program-find-ink); }
.hd .tribe-common button { font-family: inherit; }
.hd .tribe-common .tribe-common-b2,
.hd .tribe-common .tribe-common-b3 { font-size: 0.9375rem; line-height: 1.55; }
.hd .tribe-common .tribe-common-form-control-text__label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hd .tribe-common .tribe-common-c-svgicon { display: inline-block; vertical-align: middle; }
.hd .tribe-common .tribe-common-c-svgicon__svg-fill { fill: currentColor; }
.hd .tribe-common .tribe-common-c-svgicon__svg-stroke { stroke: currentColor; fill: none; }

/* ---------- 1. Events bar: keyword search + view tabs ---------- */
/* Below 768px the bar is two icon buttons at the right of the header; the
   search panel (absolute, left:0 right:0) must span the HEADER, so the header
   is the positioned ancestor and the bar stays static. At ≥768px the bar is
   the boxed search + tabs row. */
.hd .tribe-events .tribe-events-header { position: relative; }
.hd .tribe-events .tribe-events-c-events-bar { align-items: center; gap: 0.5rem; position: static; background: transparent; border: 0; padding: 0; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar {
  gap: 0.75rem; position: relative; background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
}
.hd .tribe-events .tribe-events-c-events-bar__search { flex: auto; }
.hd .tribe-events .tribe-events-c-search__input-group { gap: 0.625rem; }
.hd .tribe-events .tribe-events-c-search__input-control { position: relative; }
/* Keyword input — mirrors Lighthouse .form-control */
.hd .tribe-common .tribe-events-c-search__input {
  display: block; width: 100%; height: 46px; margin: 0;
  padding: 0.5rem 0.75rem 0.5rem 2.625rem;
  font-family: inherit; font-size: 1rem; line-height: 1.5; color: #202020;
  background: #fff; border: 1px solid #595959; border-radius: 0.25rem;
  -webkit-appearance: none; appearance: none;
}
.hd .tribe-common .tribe-events-c-search__input::placeholder { color: #595959; opacity: 1; }
.hd .tribe-common .tribe-events-c-search__input:focus { outline: 3px solid var(--hd-orange); outline-offset: 2px; }
.hd .tribe-events .tribe-events-c-search__input-control-icon-svg {
  display: block; position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: #595959; pointer-events: none;
}
/* "Find Events" — .btn-lh-primary shape */
.hd .tribe-common .tribe-common-c-btn.tribe-events-c-search__button {
  display: inline-block; width: 100%; margin: 0.75rem 0 0; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
  color: #fff; background: var(--hd-navy); border: 2px solid var(--hd-navy); border-radius: 8px;
  padding: 0.5rem 1.25rem;
}
.hd .tribe-common--breakpoint-medium.tribe-common .tribe-common-c-btn.tribe-events-c-search__button { width: auto; margin: 0; }
.hd .tribe-common .tribe-common-c-btn.tribe-events-c-search__button:hover { background: #142046; border-color: #142046; }
/* Mobile: search icon toggles an absolute panel under the bar */
.hd .tribe-events .tribe-events-c-events-bar__search-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0; cursor: pointer;
  color: var(--hd-navy); background: transparent; border: 1px solid var(--hd-rule); border-radius: 6px;
}
.hd .tribe-events .tribe-events-c-events-bar__search-button--active,
.hd .tribe-events .tribe-events-c-events-bar__search-button[aria-expanded="true"] { background: var(--hd-a-tint); border-color: var(--hd-a); }
/* Panel visibility stays TEC's (skeleton hides it; its JS toggles inline display). */
.hd .tribe-events .tribe-events-c-events-bar__search-container {
  background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px;
  box-shadow: 0 10px 24px rgba(30,42,84,0.14); padding: 1rem;
}
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container { display: flex; border: 0; box-shadow: none; padding: 0; }
/* View selector — tabs at ≥768px, dropdown below */
.hd .tribe-events .tribe-events-c-view-selector__button {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 44px; padding: 0 0.75rem; cursor: pointer;
  color: var(--hd-navy); background: transparent; border: 1px solid var(--hd-rule); border-radius: 6px;
}
.hd .tribe-events .tribe-events-c-view-selector__button--active { background: var(--hd-a-tint); border-color: var(--hd-a); }
.hd .tribe-events .tribe-events-c-view-selector__button-icon-svg { width: 18px; height: 18px; }
.hd .tribe-events .tribe-events-c-view-selector__button-icon-caret-svg { width: 12px; height: 8px; }
.hd .tribe-events .tribe-events-c-view-selector__content {
  min-width: 11rem; background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px;
  box-shadow: 0 10px 24px rgba(30,42,84,0.14);
}
.hd .tribe-events .tribe-events-c-view-selector__button--active + .tribe-events-c-view-selector__content { display: block; }
.hd .tribe-events .tribe-events-c-view-selector__list { list-style: none; margin: 0; padding: 0; }
.hd .tribe-events .tribe-events-c-view-selector__list-item-link {
  font-family: "Poppins", sans-serif; font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--hd-navy);
}
.hd .tribe-events .tribe-events-c-view-selector__list-item-link:hover { background: #f4f5f8; color: var(--hd-program-find-ink); }
.hd .tribe-events .tribe-events-c-view-selector__list-item-icon-svg { width: 18px; height: 18px; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content { border: 0; box-shadow: none; min-width: 0; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link { padding: 0.875rem 0.125rem; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link:hover { background: transparent; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
  box-shadow: inset 0 -3px 0 var(--hd-a);
}

/* ---------- 2. Top bar: prev/next, Today, date picker ---------- */
.hd .tribe-events .tribe-events-c-top-bar { gap: 0.75rem; margin-top: 1.25rem; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-header__top-bar { margin-bottom: 1.5rem; }
.hd .tribe-events .tribe-events-c-top-bar__nav-list { gap: 0.375rem; list-style: none; margin: 0; padding: 0; }
.hd .tribe-events .tribe-events-c-top-bar__nav-list-item { padding: 0; }
.hd .tribe-events .tribe-events-c-top-bar__nav-link {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  color: var(--hd-navy); background: #fff; border: 1px solid var(--hd-rule); border-radius: 6px;
}
.hd .tribe-events .tribe-events-c-top-bar__nav-link:hover { background: var(--hd-a-tint); border-color: var(--hd-a); color: var(--hd-navy); }
.hd .tribe-events .tribe-events-c-top-bar__nav-link[disabled],
.hd .tribe-events .tribe-events-c-top-bar__nav-link.tribe-common-c-btn-icon--disabled { opacity: 0.4; pointer-events: none; }
.hd .tribe-common .tribe-events-c-top-bar__today-button {
  display: inline-block; width: auto; padding: 0.375rem 0.875rem;
  font-family: "Poppins", sans-serif; font-size: 0.875rem; font-weight: 600; text-decoration: none; line-height: 1.5;
  color: var(--hd-navy); background: transparent; border: 2px solid var(--hd-navy); border-radius: 2px;
}
.hd .tribe-common .tribe-events-c-top-bar__today-button:hover { background: var(--hd-navy); color: #fff; }
.hd .tribe-events .tribe-events-c-top-bar__datepicker-button {
  gap: 0.5rem; margin: 0; padding: 0.25rem 0; cursor: pointer;
  font-family: "Montserrat", "Poppins", sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.2;
  color: var(--hd-navy); background: transparent; border: 0;
}
.hd .tribe-events .tribe-events-c-top-bar__datepicker-button:hover { color: var(--hd-program-find-ink); }
.hd .tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg { display: inline-block; width: 14px; height: 9px; }
/* Use the full label ("August 2026", "Upcoming") at every width; TEC's
   compact label below its "full" breakpoint is a bare m/d/Y date. The one
   !important in this file: TEC parks the full label behind
   .tribe-common-a11y-hidden (display:none!important), so nothing weaker can
   reveal it. */
.hd .tribe-events .tribe-events-c-top-bar__datepicker-mobile { display: none; }
.hd .tribe-events .tribe-events-c-top-bar__datepicker-desktop.tribe-common-a11y-hidden { display: inline !important; visibility: visible; }
.hd .tribe-events .tribe-events-c-top-bar__datepicker-container { position: relative; }
/* bootstrap-datepicker popover (TEC vendor) */
.hd .tribe-events .datepicker {
  font-family: "Poppins", sans-serif; color: var(--hd-navy);
  background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px; box-shadow: 0 10px 24px rgba(30,42,84,0.14); padding: 0.5rem;
}
.hd .tribe-events .datepicker table tr td,
.hd .tribe-events .datepicker table tr th { border-radius: 4px; }
.hd .tribe-events .datepicker table tr td.day:hover,
.hd .tribe-events .datepicker table tr td.focused,
.hd .tribe-events .datepicker table tr th.next:hover,
.hd .tribe-events .datepicker table tr th.prev:hover,
.hd .tribe-events .datepicker table tr th.datepicker-switch:hover { background: var(--hd-a-tint); }
.hd .tribe-events .datepicker table tr td.active,
.hd .tribe-events .datepicker table tr td.active:hover,
.hd .tribe-events .datepicker table tr td span.active { background: var(--hd-navy); color: #fff; }
.hd .tribe-events .tribe-events-c-top-bar__datepicker-nav-icon-svg { width: 10px; height: 16px; }

/* ---------- 3. Messages ("There are no upcoming events.") ---------- */
.hd .tribe-events .tribe-events-c-messages__message {
  justify-content: flex-start; gap: 0.75rem; padding: 0.875rem 1.25rem;
  font-size: 0.9375rem; font-weight: 500; color: var(--hd-navy);
  background: var(--hd-a-tint, #f4f5f8); border-left: 4px solid var(--hd-a); border-radius: 0 8px 8px 0;
}
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message { justify-content: flex-start; padding: 0.875rem 1.25rem; }
.hd .tribe-events .tribe-events-c-messages__message-icon-svg { flex: none; width: 20px; height: 20px; color: var(--hd-a-ink); }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-header__messages { margin-bottom: 1.5rem; }

/* ---------- 4. List rows (upcoming list + "Past events" fallback) ---------- */
.hd .tribe-events .tribe-events-calendar-list { list-style: none; margin: 0; padding: 0; }
.hd .tribe-events .tribe-events-calendar-list__event-row,
.hd .tribe-events .tribe-events-calendar-latest-past__event-row { margin: 0 0 1.25rem; }
.hd .tribe-events .tribe-events-calendar-list__event-row:last-child,
.hd .tribe-events .tribe-events-calendar-latest-past__event-row:last-child { margin-bottom: 1.25rem; }
.hd .tribe-events .tribe-events-calendar-list__event-row > .tribe-common-g-col,
.hd .tribe-events .tribe-events-calendar-latest-past__event-row > .tribe-common-g-col { padding: 0; }
.hd .tribe-events .tribe-events-calendar-list__month-separator + .tribe-events-calendar-list__event-row { margin-top: 0; }
/* Date tag (left rail) */
.hd .tribe-events .tribe-events-calendar-list__event-date-tag,
.hd .tribe-events .tribe-events-calendar-latest-past__event-date-tag { padding-right: 0.75rem; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-date-tag,
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-date-tag { width: 90px; min-width: 90px; padding-right: 1rem; }
.hd .tribe-events .tribe-events-calendar-list__event-date-tag-datetime,
.hd .tribe-events .tribe-events-calendar-latest-past__event-date-tag-datetime { display: flex; flex-direction: column; align-items: center; padding-top: 0.5rem; text-align: center; }
.hd .tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.hd .tribe-events .tribe-events-calendar-latest-past__event-date-tag-month,
.hd .tribe-events .tribe-events-calendar-latest-past__event-date-tag-year {
  font-family: "Poppins", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hd-a-ink); margin: 0;
}
.hd .tribe-events .tribe-events-calendar-latest-past__event-date-tag-year { color: #565f7d; letter-spacing: 0.04em; }
.hd .tribe-events .tribe-events-calendar-list__event-date-tag-daynum,
.hd .tribe-events .tribe-events-calendar-latest-past__event-date-tag-daynum {
  font-family: "Montserrat", "Poppins", sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--hd-navy);
}
/* Card */
.hd .tribe-events .tribe-events-calendar-list__event,
.hd .tribe-events .tribe-events-calendar-latest-past__event {
  margin: 0; background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px; overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.hd .tribe-events .tribe-events-calendar-list__event:hover,
.hd .tribe-events .tribe-events-calendar-latest-past__event:hover { box-shadow: 0 10px 24px rgba(30,42,84,0.14); transform: translateY(-2px); }
.hd .tribe-events .tribe-events-calendar-list__event > .tribe-common-g-col,
.hd .tribe-events .tribe-events-calendar-latest-past__event > .tribe-common-g-col { padding: 0; }
/* Featured image: full width stacked, 38% beside the details at ≥768px */
.hd .tribe-events .tribe-events-calendar-list__event-featured-image-wrapper,
.hd .tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper { flex: 0 0 100%; width: 100%; margin: 0; background: #eef1f8; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper,
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-featured-image-wrapper { flex: 0 0 38%; width: 38%; }
/* Flyers are the usual artwork: show them whole at their own ratio, capped
   so a tall portrait can't stretch the row; cover-crop from the top if capped. */
.hd .tribe-events .tribe-events-calendar-list__event-featured-image,
.hd .tribe-events .tribe-events-calendar-latest-past__event-featured-image { width: 100%; height: auto; max-height: 340px; object-fit: cover; object-position: top center; display: block; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image,
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-featured-image { height: 100%; max-height: none; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-link,
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-featured-image-link { display: block; height: 100%; min-height: 220px; }
.hd .tribe-events .tribe-events-calendar-list__event-details,
.hd .tribe-events .tribe-events-calendar-latest-past__event-details {
  flex: 1 1 0; width: auto; min-width: 0; display: flex; flex-direction: column; gap: 0.375rem;
  padding: 1.125rem 1.25rem 1.25rem;
}
.hd .tribe-events .tribe-events-calendar-list__event-header,
.hd .tribe-events .tribe-events-calendar-latest-past__event-header { display: flex; flex-direction: column; gap: 0.375rem; }
.hd .tribe-events .tribe-events-calendar-list__event-datetime-wrapper,
.hd .tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper {
  order: -1; font-family: "Poppins", sans-serif; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hd-a-ink);
}
.hd .tribe-events .tribe-events-calendar-list__event-title,
.hd .tribe-events .tribe-events-calendar-latest-past__event-title {
  margin: 0; font-family: "Montserrat", "Poppins", sans-serif; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; color: var(--hd-navy);
}
.hd .tribe-events .tribe-events-calendar-list__event-title-link,
.hd .tribe-events .tribe-events-calendar-latest-past__event-title-link { color: inherit; text-decoration: none; }
.hd .tribe-events .tribe-events-calendar-list__event-title-link:hover,
.hd .tribe-events .tribe-events-calendar-latest-past__event-title-link:hover { color: var(--hd-program-find-ink); text-decoration: underline; }
.hd .tribe-events .tribe-events-calendar-list__event-venue,
.hd .tribe-events .tribe-events-calendar-latest-past__event-venue { font-style: normal; font-size: 0.9375rem; color: #43485c; }
.hd .tribe-events .tribe-events-calendar-list__event-venue-title,
.hd .tribe-events .tribe-events-calendar-latest-past__event-venue-title { font-weight: 600; color: var(--hd-navy); }
.hd .tribe-events .tribe-events-calendar-list__event-description,
.hd .tribe-events .tribe-events-calendar-latest-past__event-description { font-size: 0.9375rem; line-height: 1.55; color: #43485c; }
.hd .tribe-events .tribe-events-calendar-list__event-description p,
.hd .tribe-events .tribe-events-calendar-latest-past__event-description p { margin: 0; }
.hd .tribe-events .tribe-events-c-read-more { font-weight: 600; }
/* Cost / category → hd-badge look */
.hd .tribe-events .tribe-events-calendar-list__event-cost,
.hd .tribe-events .tribe-events-calendar-latest-past__event-cost,
.hd .tribe-events .tribe-events-calendar-list__event-category {
  display: inline-flex; align-items: center; align-self: flex-start; gap: 0.375rem; margin-top: 0.375rem;
  font-family: "Poppins", sans-serif; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px; padding: 0.25rem 0.75rem; background: #eef1f8; color: var(--hd-navy);
}
.hd .tribe-events .tribe-events-calendar-list__event-cost,
.hd .tribe-events .tribe-events-calendar-latest-past__event-cost { background: #e7f2ec; color: #1e5b38; }
/* Month separator ("September 2026") */
.hd .tribe-events .tribe-events-calendar-list__month-separator {
  margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--hd-a);
  font-family: "Montserrat", "Poppins", sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--hd-navy);
}
.hd .tribe-events .tribe-events-calendar-list__month-separator:first-child { margin-top: 0; }
/* "Past events" fallback section */
.hd .tribe-events .tribe-events-calendar-latest-past { margin-top: 1.5rem; }
.hd .tribe-events .tribe-events-calendar-latest-past__heading {
  margin: 0 0 0.25rem; font-family: "Montserrat", "Poppins", sans-serif; font-size: 1.625rem; font-weight: 700; color: var(--hd-navy);
}
.hd .hd-events-past-note { font-size: 0.9375rem; color: #565f7d; margin: 0 0 1.25rem; }

/* ---------- 5. Bottom nav + subscribe ---------- */
.hd .tribe-events .tribe-events-c-nav { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hd-rule); }
.hd .tribe-events .tribe-events-c-nav__list { list-style: none; margin: 0; padding: 0; align-items: center; }
.hd .tribe-common .tribe-events-c-nav__prev,
.hd .tribe-common .tribe-events-c-nav__next,
.hd .tribe-common .tribe-events-c-nav__today {
  gap: 0.375rem; padding: 0.5rem 1rem; cursor: pointer; text-decoration: none;
  font-family: "Poppins", sans-serif; font-size: 0.9375rem; font-weight: 600; line-height: 1.5;
  color: var(--hd-navy); background: transparent; border: 2px solid var(--hd-navy); border-radius: 2px;
}
.hd .tribe-common .tribe-events-c-nav__prev:hover,
.hd .tribe-common .tribe-events-c-nav__next:hover,
.hd .tribe-common .tribe-events-c-nav__today:hover { background: var(--hd-navy); color: #fff; }
.hd .tribe-common .tribe-events-c-nav__prev[disabled],
.hd .tribe-common .tribe-events-c-nav__next[disabled] { opacity: 0.4; cursor: default; }
.hd .tribe-common .tribe-events-c-nav__prev[disabled]:hover,
.hd .tribe-common .tribe-events-c-nav__next[disabled]:hover { background: transparent; color: var(--hd-navy); }
.hd .tribe-events .tribe-events-c-nav__prev-icon-svg,
.hd .tribe-events .tribe-events-c-nav__next-icon-svg { display: inline-block; width: 8px; height: 14px; }
/* "Subscribe to calendar" (list/month) — ghost button + dropdown panel */
.hd .tribe-events .tribe-events-c-subscribe-dropdown__container { position: relative; display: flex; justify-content: flex-end; margin-top: 1.5rem; }
.hd .tribe-events .tribe-events-c-subscribe-dropdown { position: relative; }
.hd .tribe-common .tribe-events-c-subscribe-dropdown__button {
  display: inline-flex; align-items: center; gap: 0.5rem; width: auto; padding: 0.5rem 1rem;
  font-family: "Poppins", sans-serif; font-size: 0.9375rem; font-weight: 600; line-height: 1.5;
  color: var(--hd-navy); background: transparent; border: 2px solid var(--hd-navy); border-radius: 2px;
}
.hd .tribe-common .tribe-events-c-subscribe-dropdown__button:hover,
.hd .tribe-common .tribe-events-c-subscribe-dropdown__button--active { background: var(--hd-navy); color: #fff; }
.hd .tribe-common .tribe-events-c-subscribe-dropdown__button-text { font: inherit; color: inherit; background: transparent; border: 0; padding: 0; cursor: pointer; }
.hd .tribe-common .tribe-events-c-subscribe-dropdown__export-icon { width: 16px; height: 16px; }
.hd .tribe-common .tribe-events-c-subscribe-dropdown__content {
  position: absolute; right: 0; top: 100%; z-index: 30; min-width: 15rem; margin-top: 0.375rem; padding: 0.5rem 0;
  background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px; box-shadow: 0 10px 24px rgba(30,42,84,0.14);
}
.hd .tribe-common .tribe-events-c-subscribe-dropdown__list { list-style: none; margin: 0; padding: 0; }
.hd .tribe-common .tribe-events-c-subscribe-dropdown__list-item-link { display: block; padding: 0.5rem 1rem; font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.hd .tribe-common .tribe-events-c-subscribe-dropdown__list-item-link:hover { background: #f4f5f8; }
.hd .tribe-common .tribe-events-c-ical__link {
  display: inline-flex; width: auto; padding: 0.5rem 1rem; text-decoration: none;
  font-family: "Poppins", sans-serif; font-size: 0.9375rem; font-weight: 600;
  color: var(--hd-navy); border: 2px solid var(--hd-navy); border-radius: 2px;
}
.hd .tribe-common .tribe-events-c-ical__link:hover { background: var(--hd-navy); color: #fff; }

/* ---------- 6. Month grid ---------- */
.hd .tribe-events .tribe-events-calendar-month { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px; overflow: hidden; }
.hd .tribe-events .tribe-events-calendar-month__header-column { padding: 0.625rem 0.5rem; background: #f4f5f8; border-bottom: 1px solid var(--hd-rule); }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column { padding: 0.75rem; }
.hd .tribe-events .tribe-events-calendar-month__header-column-title { font-family: "Poppins", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #565f7d; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__body { border-top: 0; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__week { border-left: 0; }
.hd .tribe-events .tribe-events-calendar-month__day { position: relative; padding: 0; min-height: 3.5rem; vertical-align: top; border-right: 1px solid var(--hd-rule); border-bottom: 1px solid var(--hd-rule); }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day { min-height: 8.5rem; }
.hd .tribe-events .tribe-events-calendar-month__day:last-child { border-right: 0; }
.hd .tribe-events .tribe-events-calendar-month__week:last-child .tribe-events-calendar-month__day { border-bottom: 0; }
.hd .tribe-events .tribe-events-calendar-month__day--other-month { background: #fafbfc; }
.hd .tribe-events .tribe-events-calendar-month__day--other-month .tribe-events-calendar-month__day-date { color: #5d6584; }
.hd .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-date { padding: 0.625rem 0.75rem 0.375rem; }
.hd .tribe-events .tribe-events-calendar-month__day-date { font-family: "Montserrat", "Poppins", sans-serif; font-size: 1rem; font-weight: 700; line-height: 1; color: var(--hd-navy); }
.hd .tribe-events .tribe-events-calendar-month__day-date-daynum { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; border-radius: 999px; }
.hd .tribe-events .tribe-events-calendar-month__day-date-link { color: inherit; text-decoration: none; }
.hd .tribe-events .tribe-events-calendar-month__day-date-link:hover { color: var(--hd-program-find-ink); text-decoration: underline; }
.hd .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum { background: var(--hd-navy); color: #fff; }
.hd .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link { color: #fff; }
/* Events inside a day cell */
.hd .tribe-events .tribe-events-calendar-month__calendar-event {
  margin: 0.25rem 0.5rem; padding: 0.25rem 0.5rem 0.3125rem;
  background: var(--hd-a-tint); border-left: 3px solid var(--hd-a); border-radius: 0 4px 4px 0;
}
.hd .tribe-events .tribe-events-calendar-month__calendar-event:last-child { padding-bottom: 0.3125rem; margin-bottom: 0.5rem; }
.hd .tribe-events .tribe-events-calendar-month__calendar-event-featured-image-wrapper { display: none; }
.hd .tribe-events .tribe-events-calendar-month__calendar-event-datetime { font-size: 0.75rem; font-weight: 500; color: #43485c; }
.hd .tribe-events .tribe-events-calendar-month__calendar-event-title { font-family: "Poppins", sans-serif; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.hd .tribe-events .tribe-events-calendar-month__calendar-event-title-link { color: var(--hd-navy); text-decoration: none; }
.hd .tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover { color: var(--hd-program-find-ink); text-decoration: underline; }
.hd .tribe-events .tribe-events-calendar-month__more-events { padding: 0 0.75rem 0.5rem; }
.hd .tribe-events .tribe-events-calendar-month__more-events-link { font-size: 0.8125rem; font-weight: 600; color: var(--hd-a-ink); }
/* Hover tooltip — tooltipster appends it to <body>, outside .hd, so these are
   scoped to TEC's theme class instead (tooltipster-sidetip is its default
   theme; the vendor sheet paints that dark grey). --hd-* tokens still
   resolve: they are declared on :root. */
.tooltipster-sidetip.tribe-events-tooltip-theme .tooltipster-box {
  max-width: 320px; margin: 0; background: #fff; border: 1px solid var(--hd-rule); border-radius: 8px;
  box-shadow: 0 10px 24px rgba(30,42,84,0.18); font-family: "Poppins", sans-serif; color: var(--hd-navy);
}
.tooltipster-sidetip.tribe-events-tooltip-theme .tooltipster-content { padding: 1rem 1.125rem; color: var(--hd-navy); line-height: 1.5; overflow: visible; }
.tooltipster-sidetip.tribe-events-tooltip-theme .tooltipster-arrow { display: none; }
/* tooltipster sizes the box from its content, so the content sets the width. */
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip { width: 280px; max-width: 80vw; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper { display: none; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-datetime { margin-bottom: 0.25rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hd-a-ink, #15853d); }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-title { margin: 0 0 0.375rem; font-family: "Montserrat", "Poppins", sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-title a { color: var(--hd-navy); text-decoration: none; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-title a:hover { color: var(--hd-program-find-ink); text-decoration: underline; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-description { font-size: 0.875rem; line-height: 1.5; color: #43485c; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-description p { margin: 0; }
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-cost { margin-top: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: #1e5b38; }
/* Mobile month: day buttons + the day's events listed under the grid */
.hd .tribe-events .tribe-events-calendar-month__day-cell--mobile {
  width: 100%; height: 100%; padding: 0.5rem 0 0.375rem; gap: 0.25rem; cursor: pointer;
  font-family: "Montserrat", "Poppins", sans-serif; font-size: 0.9375rem; font-weight: 700; color: var(--hd-navy);
  background: transparent; border: 0;
}
.hd .tribe-events .tribe-events-calendar-month__day-cell--mobile .tribe-events-calendar-month__day-date { font-size: 0.9375rem; }
.hd .tribe-events .tribe-events-calendar-month__day-cell--mobile .tribe-events-calendar-month__day-date-daynum { min-width: 1.75rem; height: 1.75rem; }
.hd .tribe-events .tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum { background: var(--hd-navy); color: #fff; }
.hd .tribe-events .tribe-events-calendar-month__mobile-events-icon--event { color: var(--hd-a); }
.hd .tribe-events .tribe-events-calendar-month-mobile-events { margin-top: 1rem; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-day-date { margin: 0 0 0.5rem; font-family: "Montserrat", "Poppins", sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--hd-navy); }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event { padding: 0.875rem 1rem; margin-bottom: 0.75rem; background: #fff; border: 1px solid var(--hd-rule); border-left: 4px solid var(--hd-a); border-radius: 0 8px 8px 0; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-featured-image-wrapper { display: none; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hd-a-ink); }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title { margin: 0.125rem 0 0; font-family: "Montserrat", "Poppins", sans-serif; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link { color: var(--hd-navy); text-decoration: none; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover { color: var(--hd-program-find-ink); text-decoration: underline; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-cost { display: inline-block; margin-top: 0.375rem; font-size: 0.8125rem; font-weight: 600; color: #1e5b38; }
.hd .tribe-events .tribe-events-calendar-month-mobile-events__mobile-day--show + .tribe-events-calendar-month-mobile-events__mobile-day { margin-top: 1rem; }
.hd .tribe-events .tribe-events-calendar-month-nav { margin-top: 1rem; }

/* ---------- 7. Single event ---------- */
/* TEC's legacy AJAX spinner (hidden by the single-event sheet this theme dequeues). */
.hd .tribe-events-ajax-loading { display: none; }
.hd .hd-event-single .hd-hdr-lede { max-width: none; font-family: "Poppins", sans-serif; font-weight: 500; color: var(--hd-navy); }
.hd .hd-event-single .hd-event-sep { color: var(--hd-a-ink); padding: 0 0.125rem; }  /* ink token: --hd-a is a graphic colour (2.7:1) */
.hd .hd-event-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.hd .hd-event-main .tribe-events-notices,
.hd .hd-event-main .tribe-events-notices ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.hd .hd-event-main .tribe-events-notices ul { margin: 0; }
.hd .hd-event-main .tribe-events-notices li::marker { content: ""; }
.hd .hd-event-main .tribe-events-notices li,
.hd .hd-event-main .tribe-events-notices > div { margin: 0; padding: 0.75rem 1.125rem; font-weight: 500; color: #7a2e0e; background: #fbe9e4; border-left: 4px solid #a63a12; border-radius: 0 8px 8px 0; }
.hd .hd-event-main .tribe-events-event-image { margin: 0 0 1.5rem; }
.hd .hd-event-main .tribe-events-event-image img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--hd-rule); }
.hd .hd-event-main .tribe-events-content > :last-child { margin-bottom: 0; }
/* Details rail */
.hd .hd-event-card { border-left-color: var(--hd-a); }
.hd .hd-event-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.75rem 1rem; margin: 0.25rem 0 0; }
.hd .hd-event-meta dt { font-family: "Poppins", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #565f7d; padding-top: 0.2em; }
.hd .hd-event-meta dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--hd-navy); overflow-wrap: anywhere; }
.hd .hd-event-meta .tribe-address { display: block; }
.hd .hd-event-meta .tribe-street-address, .hd .hd-event-meta .tribe-delimiter, .hd .hd-event-meta .tribe-locality, .hd .hd-event-meta .tribe-region, .hd .hd-event-meta .tribe-postal-code, .hd .hd-event-meta .tribe-country-name { display: inline; }
.hd .hd-event-meta .tribe-street-address { display: block; }
.hd .hd-event-actions { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hd-rule); }
.hd .hd-event-actions .btn,
.hd .hd-event-actions .hd-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; text-align: center; }
.hd .hd-event-actions .hd-btn-ghost { font-family: "Poppins", sans-serif; font-size: 0.9375rem; padding: 0.5625rem 1rem; }
.hd .hd-event-map { margin-top: 1.25rem; }
.hd .hd-event-map iframe,
.hd .hd-event-map .tribe-events-venue-map { display: block; width: 100%; height: 260px; border: 1px solid var(--hd-rule); border-radius: 8px; }
/* Previous / next */
.hd .hd-event-nav { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hd-rule); }
.hd .hd-event-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.hd .hd-event-nav-list li { display: flex; flex-direction: column; gap: 0.125rem; max-width: 48%; }
.hd .hd-event-nav-next { text-align: right; margin-left: auto; }
.hd .hd-event-nav-label { font-family: "Poppins", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #565f7d; }
.hd .hd-event-nav a { font-weight: 600; color: var(--hd-navy); }
.hd .hd-event-nav-prev a::before { content: "← "; }
.hd .hd-event-nav-next a::after { content: " →"; }
