.lineworks-news-page {
  min-height: calc(100vh - 240px);
  padding: 64px 24px 90px;
  background: #f5f7fa;
  color: #313841;
}

.lineworks-news-hero {
  max-width: 960px;
  margin: 0 auto 42px;
  text-align: center;
}

.lineworks-news-eyebrow {
  margin: 0 0 12px;
  color: #078ce5;
  font-family: var(--title-font-family, Montserrat, Arial, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.lineworks-news-hero h1 {
  margin: 0;
  color: var(--title-color, #313841);
  font-family: var(--title-font-family, Montserrat, "Microsoft JhengHei", sans-serif);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
}

.lineworks-news-hero__lead {
  margin: 16px auto 0;
  color: #64707c;
  font-size: 16px;
  line-height: 1.8;
}

.lineworks-news-list {
  max-width: 1060px;
  margin: 0 auto;
}

.lineworks-news-item {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #dce3e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 48, 64, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lineworks-news-item:first-child {
  margin-top: 0;
}

.lineworks-news-item.is-open {
  border-color: #80c5f4;
  box-shadow: 0 12px 32px rgba(10, 126, 207, 0.12);
}

.lineworks-news-toggle {
  width: 100%;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 0;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lineworks-news-toggle:hover,
.lineworks-news-toggle:focus-visible {
  background: #f4faff;
  outline: none;
}

.lineworks-news-date {
  color: #078ce5;
  font-family: var(--title-font-family, Montserrat, Arial, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lineworks-news-title {
  color: var(--title-color, #313841);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.lineworks-news-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #078ce5;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.lineworks-news-action::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.lineworks-news-toggle[aria-expanded="true"] .lineworks-news-action::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.lineworks-news-detail {
  padding: 0 28px 30px 170px;
  border-top: 1px solid #e8edf1;
  color: #4e5964;
  font-size: 15px;
  line-height: 1.9;
}

.lineworks-news-detail[hidden] {
  display: none;
}

.lineworks-news-detail__inner {
  padding-top: 25px;
}

.lineworks-news-detail h2 {
  margin: 30px 0 12px;
  color: #202a33;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.lineworks-news-detail h2:first-child {
  margin-top: 0;
}

.lineworks-news-figure {
  width: 100%;
  margin: 24px 0;
  display: block;
  border-radius: 10px;
}

.lineworks-news-contact {
  margin-top: 28px;
  padding: 22px;
  border-radius: 10px;
  background: #f3f7fa;
}

.lineworks-news-contact h3 {
  margin: 0 0 12px;
  color: #202a33;
  font-size: 17px;
  font-weight: 700;
}

.lineworks-news-source-link {
  color: #078ce5;
  font-weight: 700;
  word-break: break-all;
}

.lineworks-news-table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
}

.lineworks-news-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  line-height: 1.65;
}

.lineworks-news-table th,
.lineworks-news-table td {
  padding: 13px 16px;
  border: 1px solid #d9e1e7;
  text-align: left;
  vertical-align: middle;
}

.lineworks-news-table thead th {
  background: #eaf5fc;
  color: #202a33;
  font-weight: 700;
}

.lineworks-news-table tbody th {
  width: 31%;
  background: #f7f9fb;
  color: #313841;
  font-weight: 700;
}

.corporate-news-page {
  margin: -12px -2% 0;
  width: 104%;
}

.corporate-news-page .lineworks-news-hero h1 {
  width: auto;
  padding: 0;
  border: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
  text-align: center;
}

.corporate-news-page .lineworks-news-detail {
  padding-left: 28px;
}

.corporate-news-page .news-inline-content > .container {
  font-size: 15px;
  line-height: 1.9;
}

.lineworks-news-detail p + p,
.lineworks-news-detail ul + p,
.lineworks-news-detail p + ul {
  margin-top: 18px;
}

.lineworks-news-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineworks-news-detail li {
  position: relative;
  padding-left: 18px;
}

.lineworks-news-detail li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #078ce5;
}

.lineworks-news-ticket {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #078ce5;
  color: #fff;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.lineworks-news-ticket:hover,
.lineworks-news-ticket:focus {
  background: #0574bd;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .lineworks-news-page {
    padding: 42px 16px 64px;
  }

  .lineworks-news-hero {
    margin-bottom: 28px;
  }

  .lineworks-news-toggle {
    padding: 20px;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
  }

  .lineworks-news-date {
    grid-column: 1 / -1;
  }

  .lineworks-news-title {
    font-size: 17px;
  }

  .lineworks-news-detail {
    padding: 0 20px 24px;
    font-size: 14px;
  }

  .lineworks-news-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}
