/* Tokyo Middle Work Challenge event page */
body.page-event {
  margin: 0;
  background: #f7fafc;
}

#tmwc-page.tmwc-event-page {
  --tmwc-event-blue: #45a3f0;
  --tmwc-event-green: #83c567;
  --tmwc-event-ink: #3c403a;
  --tmwc-event-muted: #68716a;
  min-height: 100vh;
  background: #f7fafc;
}

.tmwc-event-page .tmwc-header-logos,
.tmwc-event-page .tmwc-footer-logos {
  text-decoration: none;
}

.tmwc-event-page .tmwc-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tmwc-event-page .tmwc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tmwc-event-page .tmwc-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--tmwc-event-blue);
  transition: transform .2s, opacity .2s;
}

.tmwc-event-page .tmwc-hamburger.is-open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.tmwc-event-page .tmwc-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.tmwc-event-page .tmwc-hamburger.is-open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.tmwc-event-page .tmwc-event-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 12px 24px;
  border: 2px solid var(--tmwc-event-blue);
  border-radius: 999px;
  color: var(--tmwc-event-blue);
  font-family: var(--tmwc-font);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.tmwc-event-page .tmwc-event-home-button:hover {
  background: var(--tmwc-event-blue);
  color: #fff;
}

.tmwc-event-page .tmwc-nav .is-current {
  color: var(--tmwc-event-blue);
  font-weight: 600;
}

.tmwc-event-main {
  background: #f7fafc;
}

.tmwc-event-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 40px 92px;
  border-bottom: 14px solid #e4f3d4;
  background: #dceefa;
}

.tmwc-event-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.tmwc-event-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--tmwc-event-blue);
  font-size: 18px;
  font-weight: 600;
}

.tmwc-event-hero h1 {
  margin: 0;
  color: var(--tmwc-event-ink);
  font-size: 68px;
  font-weight: 500;
  line-height: 1.25;
}

.tmwc-event-hero__lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--tmwc-event-ink);
  font-size: 19px;
  line-height: 1.8;
}

.tmwc-event-hero__link {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--tmwc-event-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(69, 163, 240, .24);
}

.tmwc-event-section {
  padding: 72px 40px 80px;
}

.tmwc-event-section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.tmwc-event-section__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.tmwc-event-section__heading > span {
  width: 10px;
  height: 72px;
  border-radius: 5px;
  background: linear-gradient(var(--tmwc-event-blue) 0 50%, var(--tmwc-event-green) 50% 100%);
}

.tmwc-event-section__heading p {
  margin: 0 0 5px;
  color: var(--tmwc-event-blue);
  font-size: 13px;
  font-weight: 700;
}

.tmwc-event-section__heading h2 {
  margin: 0;
  color: var(--tmwc-event-ink);
  font-size: 32px;
  font-weight: 500;
}

.tmwc-event-notice {
  margin-bottom: 24px;
  padding: 15px 20px;
  border-left: 5px solid var(--tmwc-event-green);
  background: #edf7e4;
  color: #46523f;
  font-size: 15px;
  line-height: 1.7;
}

.tmwc-event-content {
  color: var(--tmwc-event-ink);
  font-size: 17px;
  line-height: 1.85;
}

.tmwc-event-content > *:first-child {
  margin-top: 0;
}

.tmwc-event-content h1,
.tmwc-event-content h2,
.tmwc-event-content h3 {
  color: var(--tmwc-event-ink);
  line-height: 1.5;
}

.tmwc-event-content h1 {
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 500;
}

.tmwc-event-content a {
  color: #167ac6;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tmwc-event-card {
  margin-bottom: 22px;
  padding: 28px 32px;
  border: 1px solid #dce4e8;
  border-top: 5px solid var(--tmwc-event-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(44, 69, 82, .07);
}

.tmwc-event-card:nth-of-type(even) {
  border-top-color: var(--tmwc-event-green);
}

.tmwc-event-card p {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f1;
}

.tmwc-event-card p:last-child {
  border-bottom: 0;
}

.tmwc-event-content:not(.is-card-layout) {
  padding: 34px 40px;
  border: 1px solid #dce4e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(44, 69, 82, .07);
}

.tmwc-event-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.tmwc-event-content th,
.tmwc-event-content td {
  padding: 14px;
  border: 1px solid #dce4e8;
  text-align: left;
}

.tmwc-event-content th {
  background: #e9f5fd;
}

.tmwc-event-back {
  padding: 0 40px 72px;
  text-align: center;
}

.tmwc-event-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  border: 2px solid var(--tmwc-event-blue);
  border-radius: 999px;
  color: var(--tmwc-event-blue);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.tmwc-event-back a:hover {
  background: var(--tmwc-event-blue);
  color: #fff;
}

.tmwc-event-footer {
  padding: 32px 40px;
  border-top: 1px solid #dce4e8;
  background: #fff;
}

.tmwc-event-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.tmwc-event-footer .tmwc-footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tmwc-event-footer .tmwc-footer-logos img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.tmwc-event-footer p {
  margin: 0;
  color: var(--tmwc-event-muted);
  font-size: 13px;
}

@media (max-width: 782px) {
  .admin-bar .tmwc-event-header {
    top: 46px;
  }

  .tmwc-event-page .tmwc-header {
    padding: 10px 20px 0;
  }

  .tmwc-event-page .tmwc-header-logos {
    gap: 10px;
  }

  .tmwc-event-page .tmwc-header-logos img {
    height: 34px;
  }

  .tmwc-event-page .tmwc-event-home-button {
    min-width: 82px;
    padding: 9px 15px;
    font-size: 14px;
  }

  .tmwc-event-page .tmwc-hamburger {
    display: flex;
  }

  .tmwc-event-page .tmwc-nav {
    display: none;
    width: 100%;
    padding: 10px 0 16px;
  }

  .tmwc-event-page .tmwc-nav.is-open {
    display: flex;
  }

  .tmwc-event-hero {
    padding: 52px 24px 66px;
  }

  .tmwc-event-hero h1 {
    font-size: 42px;
  }

  .tmwc-event-hero__eyebrow,
  .tmwc-event-hero__lead {
    font-size: 16px;
  }

  .tmwc-event-section {
    padding: 52px 20px 60px;
  }

  .tmwc-event-section__heading h2 {
    font-size: 25px;
  }

  .tmwc-event-card,
  .tmwc-event-content:not(.is-card-layout) {
    padding: 22px 18px;
  }

  .tmwc-event-content {
    font-size: 15px;
  }

  .tmwc-event-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 783px) {
  .admin-bar .tmwc-event-header {
    top: 32px;
  }
}

@media (max-width: 480px) {
  .tmwc-event-page .tmwc-header-logos img {
    height: 27px;
  }

  .tmwc-event-page .tmwc-event-home-button {
    display: none;
  }

  .tmwc-event-hero h1 {
    font-size: 36px;
  }

  .tmwc-event-section__heading > span {
    height: 62px;
  }

  .tmwc-event-section__heading h2 {
    font-size: 22px;
  }

  .tmwc-event-footer .tmwc-footer-logos img {
    height: 32px;
  }
}
