/* ============================================
   Event hub page — mits-style corporate (v6)
   ============================================ */

.eh-body { background: var(--paper); color: var(--body); }

/* HERO */
.eh-hero {
  padding: 70px var(--gutter) 90px;
  background: var(--paper-2);
}
.eh-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.eh-crumb {
  font-size: 12px;
  color: var(--body-2);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  font-weight: 600;
}
.eh-crumb a { color: var(--body); }
.eh-crumb a:hover { color: var(--accent, var(--blue)); }
.eh-crumb span { margin: 0 8px; opacity: 0.5; }

.eh-hero__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: var(--accent, var(--blue));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.eh-hero__num small {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}

.eh-hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 26px;
}
.eh-hero__title--logo { line-height: 1; }
.eh-hero__logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.eh-hero__lede {
  font-size: 15px;
  line-height: 2.1;
  color: var(--body);
  max-width: min(100%, 520px);
  margin: 0;
}
.eh-hero__organizer {
  margin: 18px 0 0;
  max-width: min(100%, 520px);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  color: var(--ink);
}

/* Right info panel */
.eh-hero__right {
  background: var(--accent, var(--blue));
  color: #fff;
  padding: 36px 32px 30px;
  position: relative;
  overflow: hidden;
}
.eh-hero__right::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.eh-hero__right .label {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.eh-overview__name,
.eh-overview__detail,
.eh-overview__stats {
  position: relative;
  z-index: 1;
}
.eh-overview__name {
  padding: 13px 14px;
  margin: 0 0 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
.eh-overview__name b {
  color: #fff;
}
.eh-hero__meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.eh-hero__meta > div {
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.eh-hero__meta .k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.eh-hero__meta .v {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.5;
}
.eh-hero__meta small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}
.eh-overview__detail {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.eh-overview__row {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.eh-overview__row > span,
.eh-overview__stats-title {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}
.eh-overview__row p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
}
.eh-overview__row small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.eh-overview__row ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.eh-overview__row li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.eh-overview__row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
}
.eh-overview__note {
  margin-top: 7px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.68) !important;
}
.eh-overview__stats {
  margin-top: 16px;
}
.eh-overview__table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}
.eh-overview__stats table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-en);
  color: #fff;
}
.eh-overview__stats th,
.eh-overview__stats td {
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.eh-overview__stats thead th,
.eh-overview__stats tbody th {
  background: rgba(255, 255, 255, 0.14);
}
.eh-overview__stats tbody th {
  font-size: 15px;
}

/* SECTIONS */
.eh-section {
  padding: 110px var(--gutter);
}
.is-temporarily-hidden {
  display: none !important;
}
.eh-section--tint { background: var(--paper-2); }
.eh-section--blue { background: var(--blue); color: #fff; }
.eh-section--blue.eh-section--accent { background: var(--accent, var(--blue)); }

/* Movie */
.eh-section--movie {
  background: #fff;
  padding-bottom: 90px;
}
.eh-movie-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.eh-movie-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eh-movie-card:nth-child(3):last-child {
  grid-column: 1 / -1;
  width: calc((100% - 24px) / 2);
  justify-self: center;
}
.eh-movie-card h3 {
  margin: 0;
  min-height: 3.5em;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.eh-movie-card__desc {
  margin: -4px 0 2px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--body);
}
.eh-movie {
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: 0 26px 54px -34px rgba(14, 37, 69, 0.45);
}
.eh-movie iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* News list */
.eh-news {
  max-width: var(--max);
  margin: 0 auto;
}
.eh-news__row {
  display: grid;
  grid-template-columns: 110px 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background 0.2s, padding 0.2s;
}
.eh-news__row:hover { background: var(--paper-2); padding-left: 16px; }
.eh-news__row:first-child { border-top: 2px solid var(--ink); }

.eh-news__date {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--accent, var(--blue));
}
.eh-news__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink);
  justify-self: start;
}
.eh-news__title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
}
.eh-news__arrow {
  color: var(--accent, var(--blue));
  font-weight: 700;
  font-size: 18px;
}
.eh-recruit-banners {
  max-width: var(--max);
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.eh-recruit-banner {
  display: grid;
  gap: 10px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent, var(--blue));
  background: var(--paper-2);
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.eh-recruit-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -24px rgba(14, 37, 69, 0.34);
}
.eh-recruit-banner--disabled {
  cursor: default;
}
.eh-recruit-banner--disabled:hover {
  transform: none;
  box-shadow: none;
}
.eh-recruit-banner:only-child {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  justify-self: center;
}
.eh-recruit-banner--support {
  border-left-color: #C99114;
}
.eh-recruit-banner__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent, var(--blue));
}
.eh-recruit-banner--support .eh-recruit-banner__label {
  color: #9A6A00;
}
.eh-recruit-banner__title {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 800;
  color: var(--ink);
}
.eh-recruit-banner__action {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent, var(--blue));
}
.eh-recruit-banner--support .eh-recruit-banner__action {
  color: #9A6A00;
}

/* Article */
.eh-article {
  padding: 96px var(--gutter) 110px;
  background: #fff;
}
.eh-article__inner {
  max-width: 960px;
  margin: 0 auto;
}
.eh-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 18px;
}
.eh-article__meta time,
.eh-article__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.eh-article__meta time {
  color: var(--blue);
  font-family: var(--font-en);
}
.eh-article__title {
  max-width: 820px;
  font-size: clamp(28px, 4.8vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.eh-article__lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 2;
  color: var(--body);
}
.eh-article__content {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.eh-article__figure {
  margin: 0 0 34px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.eh-article__figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
}
.eh-article__figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--body-2);
  letter-spacing: 0.04em;
}
.eh-article__back {
  margin-top: 44px;
}

/* Records */
.eh-records {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.eh-record-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.eh-record-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -22px rgba(14, 37, 69, 0.25); }

.eh-record-card__head {
  background: var(--accent, var(--blue));
  color: #fff;
  padding: 26px 26px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.eh-record-card__head::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.eh-record-card__year {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.eh-record-card__edition {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.eh-record-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.eh-record-card__title {
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: 0;
}
.eh-record-card__desc {
  font-size: 13px;
  line-height: 1.95;
  color: var(--body);
  margin: 0;
}
.eh-record-card__stats {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-thin);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--body-2);
  font-weight: 600;
}
.eh-record-card__stats b {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  margin-right: 4px;
}
.eh-record-card__more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent, var(--blue));
}

/* Partner intro */
.eh-partner-intro {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.eh-partner-intro--full { grid-template-columns: 1fr; gap: 0; }
.eh-section--partners { background: var(--paper-2); }
.eh-partner-intro h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin: 0;
}
.eh-partner-intro p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2;
  color: var(--body);
}

.eh-partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.eh-partner-cards > .eh-partner-card:nth-child(4) {
  grid-column: 1 / 2;
  transform: translateX(calc(50% + 10px));
}
.eh-partner-cards > .eh-partner-card:nth-child(5) {
  grid-column: 2 / 3;
  transform: translateX(calc(50% + 10px));
}

.eh-partner-card {
  position: relative;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--card-accent, var(--accent, var(--blue)));
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  overflow: hidden;
}
.eh-partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-accent, var(--accent, var(--blue)));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.eh-partner-card > * { position: relative; z-index: 1; }
.eh-partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -22px rgba(14, 37, 69, 0.25);
}
.eh-partner-cards > .eh-partner-card:nth-child(4):hover,
.eh-partner-cards > .eh-partner-card:nth-child(5):hover {
  transform: translateX(calc(50% + 10px)) translateY(-6px);
}
.eh-partner-card:hover::after { opacity: 0.06; }
.eh-partner-card--disabled {
  cursor: default;
  opacity: 0.68;
}
.eh-partner-card--disabled:hover {
  transform: none;
  box-shadow: none;
}
.eh-partner-cards > .eh-partner-card--disabled:nth-child(4):hover,
.eh-partner-cards > .eh-partner-card--disabled:nth-child(5):hover {
  transform: translateX(calc(50% + 10px));
}
.eh-partner-card--disabled:hover::after {
  opacity: 0;
}

.eh-partner-card.c-railway       { --card-accent: #2B6FD6; }
.eh-partner-card.c-municipality  { --card-accent: #4FB580; }
.eh-partner-card.c-bus           { --card-accent: #3FA99F; }
.eh-partner-card.c-related       { --card-accent: #F08A3E; }
.eh-partner-card.c-sponsor       { --card-accent: #C99114; }
.eh-partner-card.c-ad            { --card-accent: #9B6DD7; }

.eh-partner-card .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--card-accent, var(--accent, var(--blue)));
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.eh-partner-card .num small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--body-2);
}
.eh-partner-card h4 {
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
}
.eh-partner-card p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.9;
  margin: 0;
  flex: 1;
}
.eh-partner-card .arrow {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--card-accent, var(--accent, var(--blue)));
}
.eh-partner-card--disabled .arrow {
  font-size: 16px;
  letter-spacing: 0.12em;
}

/* CTA strip */
.eh-cta {
  padding: 80px var(--gutter);
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.eh-cta h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}
.eh-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin: 0 auto 28px;
  line-height: 1.95;
}
.eh-cta .btns {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1000px) {
  .eh-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .eh-movie-list { grid-template-columns: 1fr; }
  .eh-recruit-banners { grid-template-columns: 1fr; }
  .eh-movie-card:nth-child(3):last-child {
    grid-column: auto;
    width: 100%;
  }
  .eh-movie-card h3 { min-height: 0; }
  .eh-records { grid-template-columns: 1fr; }
  .eh-partner-intro { grid-template-columns: 1fr; }
  .eh-partner-cards { grid-template-columns: 1fr 1fr; }
  .eh-partner-cards > .eh-partner-card:nth-child(4),
  .eh-partner-cards > .eh-partner-card:nth-child(5),
  .eh-partner-cards > .eh-partner-card:nth-child(4):hover,
  .eh-partner-cards > .eh-partner-card:nth-child(5):hover,
  .eh-partner-cards > .eh-partner-card--disabled:nth-child(4):hover,
  .eh-partner-cards > .eh-partner-card--disabled:nth-child(5):hover {
    grid-column: auto;
    transform: none;
  }
  .eh-news__row { grid-template-columns: auto auto; gap: 12px; }
  .eh-news__title { grid-column: 1 / -1; }
  .eh-news__arrow { display: none; }
}
@media (min-width: 1001px) {
  .eh-overview__detail {
    grid-template-columns: 0.68fr 1.32fr;
    align-items: stretch;
  }
  .eh-overview__stats table {
    min-width: 0;
    table-layout: fixed;
  }
  .eh-overview__stats th,
  .eh-overview__stats td {
    padding: 7px 5px;
    font-size: 10.5px;
    white-space: normal;
  }
  .eh-overview__stats tbody th {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .eh-partner-cards { grid-template-columns: 1fr; }
}
