.mg-kampan {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.mg-kampan[hidden] {
  display: none !important;
}

.mg-kampan__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.mg-kampan__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 100%;
}

.mg-kampan__scroll {
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #000000;
  border: 1px solid #cccccc;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.mg-kampan__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mg-kampan__close:hover,
.mg-kampan__close:focus {
  background: #f2f2f2;
}

.mg-sheet {
  color: #ffffff;
  text-align: center;
}

.mg-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.mg-sheet a {
  color: inherit;
}

.mg-dark {
  padding: 28px 48px 36px;
}

.mg-kicker {
  margin: 0 0 14px;
  color: #999999;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mg-sheet h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mg-lead,
.mg-copy {
  margin: 0 auto 22px;
  max-width: 600px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.mg-dates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 26px;
  max-width: 600px;
  border: 1px solid #333333;
}

.mg-dates div {
  padding: 16px 10px 14px;
}

.mg-dates div + div {
  border-left: 1px solid #333333;
}

.mg-dates strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.mg-dates span {
  display: block;
  color: #999999;
  font-size: 11px;
  line-height: 1.3;
}

.mg-dates a {
  text-decoration: none;
}

.mg-dates a:hover strong {
  text-decoration: underline;
}

.mg-btn {
  display: inline-block;
  min-width: 280px;
  margin: 0 auto;
  padding: 13px 28px;
  background: #fd2f33;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.mg-btn:hover,
.mg-btn:focus {
  background: #e42228;
  color: #ffffff !important;
}

.mg-note {
  margin: 14px 0 0;
  color: #999999;
  font-size: 12px;
  line-height: 1.4;
}

.mg-note a {
  color: #999999;
  text-decoration: underline;
}

.mg-why h2,
.mg-reco h2 {
  margin-bottom: 22px;
}

.mg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 36px;
  margin: 0 auto 28px;
  max-width: 600px;
  text-align: left;
}

.mg-grid h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.mg-grid p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.mg-subhead {
  margin-top: -6px;
}

.mg-reco .mg-copy {
  margin-bottom: 14px;
}

.mg-reco .mg-btn {
  margin-top: 12px;
}

.mg-foot {
  padding: 28px 36px 32px;
  background: #ffffff;
  color: #222222;
  text-align: left;
}

.mg-foot img {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
}

.mg-foot p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
}

.mg-foot a {
  color: #ff0000;
  text-decoration: underline;
}

body.mg-kampan-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .mg-kampan {
    padding: 12px;
  }

  .mg-kampan__scroll {
    max-height: calc(100vh - 24px);
  }

  .mg-dark {
    padding: 24px 20px 28px;
  }

  .mg-dates,
  .mg-grid {
    grid-template-columns: 1fr;
  }

  .mg-dates div + div {
    border-left: 0;
    border-top: 1px solid #333333;
  }

  .mg-btn {
    min-width: 0;
    width: 100%;
  }

  .mg-foot {
    padding: 22px 20px 26px;
  }
}
