:root {
  --operace-bg: #f0f1f3;
  --operace-surface: #ffffff;
  --operace-text: #231f20;
  --operace-muted: #555555;
  --operace-accent: #e1121a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--operace-bg);
  color: var(--operace-text);
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  font-weight: 500;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.operace-page {
  padding: 0 20px 88px;
}

.operace-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: var(--operace-surface);
}

.operace-hero {
  position: relative;
  padding-bottom: 0;
}

.operace-hero__media img {
  aspect-ratio: 1440 / 500;
  object-fit: cover;
}

.operace-hero__card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.operace-hero__eyebrow,
.operace-feature__kicker {
  margin: 0 0 15px;
  color: var(--operace-accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.operace-hero h1,
.operace-feature__copy h2 {
  margin: 0;
  letter-spacing: -0.02em;
}

.operace-hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.4px;
  margin-bottom: 15px;
}

.operace-hero__logo {
  width: 249px;
  max-width: 100%;
  margin: 0 0 18px;
}

.operace-hero__card-inner {
  background: #ffffff;
  position: relative;
  z-index: 2;
  padding: 40px 0 0;
  margin: 0;
}

.operace-hero__body {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--operace-text);
}

.operace-hero__body p,
.operace-feature__copy p {
  margin: 0;
  font-size: 1rem;
}

.operace-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.76fr);
  gap: 32px;
  align-items: center;
  max-width: 1120px;
  margin: 30px auto 0;
  padding: 0;
}

.operace-feature--reverse {
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.12fr);
}

.operace-feature--reverse .operace-feature__copy {
  order: 2;
}

.operace-feature--reverse .operace-feature__media {
  order: 1;
}

.operace-feature__copy {
  max-width: 420px;
  justify-self: center;
}

.operace-feature__copy h2 {
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
}

.operace-feature__copy p + p {
  margin-top: 16px;
}

.operace-feature__media {
  margin: 0;
  width: 100%;
}

.operace-feature__media img {
  width: 100%;
  height: auto;
}

.operace-feature--last {
  padding-bottom: 0;
}

.operace-feature + .operace-feature {
  margin-top: 0;
}

@media (min-width: 540px) {
  .operace-hero__card-inner {
    margin-left: -2px;
    margin-right: -2px;
  }
}

@media (min-width: 768px) {
  .operace-hero__card-inner {
    width: calc(100% - 128px);
    margin: -100px auto 0;
    padding: 64px 40px 0;
  }

  .operace-hero h1 {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .operace-hero__card {
    width: 83.33333%;
  }

  .operace-hero__card-inner {
    width: 100%;
    padding: 64px 64px 0;
  }

  .operace-feature {
    gap: 7.5%;
  }
}

@media (max-width: 991px) {
  .operace-page {
    padding-inline: 12px;
  }

  .operace-feature,
  .operace-feature--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: calc(100% - 32px);
    margin-top: 30px;
  }

  .operace-feature__copy,
  .operace-feature--reverse .operace-feature__copy,
  .operace-feature--reverse .operace-feature__media {
    order: initial;
    max-width: none;
  }

  .operace-feature--last {
    padding-bottom: 64px;
  }
}

@media (max-width: 640px) {
  .operace-page {
    padding-bottom: 56px;
  }

  .operace-hero__card {
    max-width: calc(100% - 24px);
  }

  .operace-hero__card-inner {
    padding-top: 40px;
  }

  .operace-hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .operace-hero__body {
    font-size: 18px;
  }

  .operace-feature__copy h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .operace-feature {
    padding-left: 16px;
    padding-right: 16px;
  }
}
