.business-modern .business-hero {
  background: linear-gradient(105deg, var(--business-dark), var(--business));
}

.business-modern .business-footer {
  background: var(--business-dark);
}

.article-page {
  width: min(1240px, calc(100% - 40px));
  margin: 38px auto 55px;
}

.article-page article {
  width: 100%;
  padding: clamp(24px, 4vw, 48px);
}

.article-page h1 {
  max-width: 1050px;
  margin: 14px 0 22px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.news-featured-image,
.article-page img.news-featured-image {
  display: block;
  width: 100%;
  height: 460px;
  max-height: 52vh;
  object-fit: cover;
  object-position: center;
  margin: 20px 0 30px;
}

.news-content {
  width: 100%;
  color: #2e292a;
  font-size: 1.08rem;
  line-height: 1.9;
  text-align: justify;
  overflow-wrap: anywhere;
}

.news-content p,
.news-content ul,
.news-content ol,
.news-content blockquote {
  margin: 0 0 1.15em;
}

.news-content h2,
.news-content h3,
.news-content h4 {
  color: var(--maroon);
  margin: 1.25em 0 .55em;
  text-align: left;
}

.news-content a {
  color: var(--maroon);
  text-decoration: underline;
}

.news-share-row {
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.news-share-row .wa {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card > a:first-child {
  display: block;
}

.news-card > p {
  flex: 1;
}

.news-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.news-card-actions a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
}

.latest-news-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.latest-news-actions a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.portal-session-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-session-actions form { margin: 0; }

.portal-session-actions button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.nx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 34px auto 12px;
}

.nx-pagination a,
.nx-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--maroon);
  font-weight: 700;
}

.nx-pagination a:hover,
.nx-pagination .active {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff;
}

.nx-pagination .disabled,
.nx-pagination .dots { opacity: .45; }

.not-found-page {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  padding: 50px 20px;
  background: #f8f5f6;
}

.not-found-page section {
  width: min(680px, 100%);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 55px rgba(65, 16, 30, .08);
}

.not-found-code {
  display: block;
  color: var(--maroon);
  font-size: clamp(64px, 12vw, 110px);
  font-weight: 800;
  line-height: 1;
}

.not-found-page h1 { margin: 14px 0 8px; }
.not-found-page p { color: var(--muted); }
.not-found-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.not-found-actions a { padding: 11px 18px; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; }

.content-type-tabs {
  width: min(1240px, calc(100% - 40px));
  margin: 24px auto 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.content-type-tabs a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--maroon);
  font-weight: 800;
}

.content-type-tabs a.active,
.content-type-tabs a:hover {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff;
}

.content-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.content-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f4ecef;
  color: var(--maroon);
  font-weight: 700;
}

.local-address,
.ad-enquiry-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf8f9;
}

.nx-public-empty {
  width: min(1240px, calc(100% - 40px));
  margin: 30px auto;
  padding: 35px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .article-page {
    width: min(100% - 22px, 1240px);
    margin: 18px auto 35px;
  }

  .article-page article {
    padding: 18px;
  }

  .news-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .news-featured-image,
  .article-page img.news-featured-image {
    height: 230px;
    max-height: none;
    margin: 15px 0 22px;
  }

  .news-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .news-card-actions {
    grid-template-columns: 1fr;
  }

  .content-type-tabs,
  .nx-public-empty {
    width: min(100% - 22px, 1240px);
  }

  .portal-session-actions { gap: 7px; }

  .portal-session-actions > a:first-child { display: none; }
}
