.chinlone-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem;
  color: #172033;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid #dfe5f1;
  border-radius: 18px;
  padding: 1.15rem;
  background: linear-gradient(135deg, #f9fbff 0%, #eef4ff 48%, #ffffff 100%);
  box-shadow: 0 14px 30px rgba(0, 10, 61, 0.08);
}

.eyebrow {
  margin: 0;
  color: #41547a;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-heading {
  margin: 0;
  color: #000A3D;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy {
  max-width: 940px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #24314d;
}

.hero-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta-card {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem;
  border: 1px solid #d9e1ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-meta-card strong {
  color: #000A3D;
  font-size: 0.9rem;
}

.hero-meta-card span {
  color: #34415d;
  line-height: 1.4;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  padding: 1rem;
  background: #ffffff;
}

.subheading {
  margin: 0;
  color: #000A3D;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 800;
}

.styled-paragraph {
  margin: 0;
  color: #1f2b43;
  font-size: 1rem;
  line-height: 1.66;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mobile-only-actions {
  display: none;
}

.event-control {
  appearance: none;
  border: 1px solid #000A3D;
  border-radius: 999px;
  background: #000A3D;
  color: #ffffff;
  padding: 0.5rem 0.8rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.event-control:hover,
.event-control:focus {
  background: #ffffff;
  color: #000A3D;
  outline: none;
}

.event-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe5f1;
  border-radius: 14px;
}

.event-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #ffffff;
}

.event-table th,
.event-table td {
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #edf1f7;
  line-height: 1.45;
}

.event-table th {
  background: #000A3D;
  color: #ffffff;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.event-table tbody tr:nth-child(even) {
  background: #f8faff;
}

.event-table tbody tr:last-child td {
  border-bottom: none;
}

.event-card-list {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}

.event-detail-card {
  border: 1px solid #dfe5f1;
  border-radius: 14px;
  background: #fbfcff;
  overflow: hidden;
}

.event-detail-card summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem;
  cursor: pointer;
  color: #000A3D;
  list-style: none;
}

.event-detail-card summary::-webkit-details-marker {
  display: none;
}

.event-detail-card summary::after {
  content: "+";
  align-self: flex-end;
  margin-top: -1.75rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border: 1px solid #000A3D;
  border-radius: 50%;
  font-weight: 800;
}

.event-detail-card[open] summary::after {
  content: "-";
}

.event-detail-card summary span {
  color: #60708f;
  font-size: 0.86rem;
  font-weight: 700;
}

.event-detail-card summary strong {
  max-width: calc(100% - 2.2rem);
  font-size: 1.02rem;
  line-height: 1.28;
}

.event-detail-card dl {
  display: grid;
  grid-template-columns: minmax(110px, 34%) 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid #edf1f7;
}

.event-detail-card dt,
.event-detail-card dd {
  margin: 0;
  padding: 0.7rem;
  border-bottom: 1px solid #edf1f7;
  line-height: 1.45;
}

.event-detail-card dt {
  background: #f0f4fb;
  color: #000A3D;
  font-weight: 800;
}

.event-detail-card dd {
  color: #25324c;
  background: #ffffff;
}

.event-detail-card dt:last-of-type,
.event-detail-card dd:last-of-type {
  border-bottom: none;
}

.two-column-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.info-panel {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem;
  border: 1px solid #e1e7f2;
  border-radius: 14px;
  background: #fbfcff;
}

.styled-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #1f2b43;
  line-height: 1.6;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-only-actions {
    display: flex;
  }

  .event-table-wrap {
    display: none;
  }

  .event-card-list {
    display: flex;
  }
}

@media (max-width: 640px) {
  .chinlone-page {
    padding: 0.7rem;
  }

  .hero-panel,
  .content-section {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .hero-copy,
  .styled-paragraph {
    font-size: 0.97rem;
    line-height: 1.58;
  }

  .event-detail-card dl {
    grid-template-columns: 1fr;
  }

  .event-detail-card dt {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .event-detail-card dd {
    padding-top: 0.25rem;
  }

  .table-actions {
    width: 100%;
  }

  .event-control {
    flex: 1 1 130px;
  }
}
