.events-reference[data-events-trim] .ecp-section {
  margin: 0 0 1rem;
  padding: clamp(.75rem, 2vw, 1.15rem);
  border: 1px solid #d8e7f7;
  border-radius: 1rem;
  background: linear-gradient(125deg, #f3f8ff 0%, #fff 80%);
}

.ecp-heading, .ecp-city > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem 1rem;
}

.ecp-heading { flex-wrap: wrap; margin-bottom: .75rem; }
.ecp-heading h2 { margin: 0; color: #0b2b53; font-size: clamp(1.23rem, 2.1vw, 1.63rem); line-height: 1.15; }
.ecp-heading p { margin: .25rem 0 0; color: #425d7a; font-size: .87rem; }
.ecp-heading > a, .ecp-city > header > a { color: #0757bd; font-weight: 700; text-decoration: none; }
.ecp-heading > a { font-size: .82rem; }
.ecp-heading > a:hover, .ecp-city > header > a:hover { text-decoration: underline; }

.ecp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.ecp-city { min-width: 0; overflow: hidden; border: 1px solid #dce7f3; border-radius: .72rem; background: #fff; }
.ecp-city > header { padding: .55rem .7rem; background: var(--ecp-wash, #eaf4ff); }
.ecp-city > header > h3 { margin: 0; color: var(--ecp-accent, #0a4a99); font-size: .98rem; line-height: 1.25; }
.ecp-city > header > a { font-size: .73rem; white-space: nowrap; }
.ecp-city[data-ecp-city="hong-kong"] { --ecp-accent: #593393; --ecp-wash: #f2edfc; }
.ecp-city[data-ecp-city="macao"] { --ecp-accent: #075c52; --ecp-wash: #e6f6f1; }
.ecp-city[data-ecp-city="guangzhou"] { --ecp-accent: #93431b; --ecp-wash: #fff1e7; }

.ecp-list { list-style: none; margin: 0; padding: 0; }
.ecp-list > li + li { border-top: 1px solid #e8eef5; }
.ecp-list > li > a { position: relative; display: grid; gap: .08rem; padding: .49rem 1.85rem .49rem .7rem; color: #153557; text-decoration: none; }
.ecp-list > li > a:hover { background: #f3f8ff; }
.ecp-list > li > a:hover strong { color: #0757bd; text-decoration: underline; }
.ecp-list > li > a:focus-visible { outline: 2px solid #0757bd; outline-offset: -2px; }
.ecp-list strong { overflow-wrap: anywhere; font-size: .86rem; line-height: 1.25; }
.ecp-date { color: var(--ecp-accent, #0a4a99); font-size: .72rem; font-weight: 750; line-height: 1.15; }
.ecp-venue { overflow-wrap: anywhere; color: #4b6179; font-size: .75rem; line-height: 1.22; }
.ecp-arrow { position: absolute; top: 50%; right: .7rem; color: #0b62ce; transform: translateY(-50%); }
.ecp-empty { padding: .35rem .7rem; color: #4b6179; font-size: .82rem; }

@media (max-width: 540px) {
  .ecp-grid { grid-template-columns: minmax(0, 1fr); }
}
