:root {
  --ink: #302327;
  --muted: #75666b;
  --line: #e5dadd;
  --paper: #ffffff;
  --soft: #f8f5f6;
  --navy: #652b3c;
  --blue: #854257;
  --teal: #865c39;
  --gold: #a27b41;
  --deep: #351b26;
  --shadow: 0 16px 40px rgba(101, 43, 60, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

body.dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--deep);
  color: #f6eef0;
  font-size: 14px;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-band {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 247, 0.94)),
    radial-gradient(circle at 80% 30%, rgba(162, 123, 65, 0.18), transparent 28%);
  border-bottom: 1px solid var(--line);
}

.brand-row {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #ffffff, 0 8px 22px rgba(101, 43, 60, 0.18);
}

.brand strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.primary-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(53, 27, 38, 0.16);
}

.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-inner a,
.cert-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.cert-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: var(--blue);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(53, 27, 38, 0.95) 0%, rgba(101, 43, 60, 0.88) 48%, rgba(101, 43, 60, 0.4) 100%),
    url("assets/logo.svg");
  background-repeat: no-repeat;
  background-size: cover, min(520px, 58vw);
  background-position: center, right 9vw center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 115px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), transparent);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(162, 123, 65, 0.2), transparent 28%),
    linear-gradient(0deg, rgba(134, 92, 57, 0.12), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 82px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: #f4e9ed;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.primary-action {
  color: var(--deep);
  background: #ffffff;
}

.secondary-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics {
  width: min(920px, 100%);
  margin: 46px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-metrics div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-metrics dt {
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: #ebdce2;
}

.intro-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-grid > div {
  min-height: 130px;
  padding: 26px;
  background: #ffffff;
}

.strip-label {
  display: block;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.intro-grid strong {
  display: block;
  font-size: 20px;
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-section p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.centered {
  width: min(760px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 64px;
  align-items: start;
}

.about-copy {
  font-size: 18px;
  color: #45333a;
}

.about-copy p {
  margin: 0 0 18px;
}

.value-list {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.value-list span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--soft);
  font-weight: 700;
}

.services-section,
.news-section {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.news-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(101, 43, 60, 0.06);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 18px solid rgba(134, 92, 57, 0.08);
}

.service-index {
  color: var(--gold);
  font-weight: 800;
}

.service-card h3,
.news-card h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.service-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.process-band {
  padding: 70px 0;
  color: #ffffff;
  background:
    linear-gradient(100deg, rgba(101, 43, 60, 0.97), rgba(133, 66, 87, 0.92)),
    linear-gradient(0deg, rgba(162, 123, 65, 0.16), transparent);
}

.process-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.process-inner .eyebrow {
  color: #e8cb93;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.process-list li {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  color: #e8cb93;
  font-weight: 800;
}

.station-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 52px;
  align-items: center;
}

.station-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.station-list div {
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: var(--soft);
  border-radius: 0 8px 8px 0;
}

.station-list strong {
  display: block;
  font-size: 18px;
}

.station-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.map-panel {
  min-height: 470px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 246, 0.95)),
    radial-gradient(circle at 70% 35%, rgba(133, 66, 87, 0.16), transparent 30%);
  box-shadow: var(--shadow);
}

.map-grid {
  position: relative;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(229, 218, 221, 0.52) 1px, transparent 1px),
    linear-gradient(0deg, rgba(229, 218, 221, 0.52) 1px, transparent 1px);
  background-size: 42px 42px;
}

.map-grid::before {
  content: "";
  position: absolute;
  inset: 58px 80px;
  border: 2px solid rgba(101, 43, 60, 0.1);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(-9deg);
  background: rgba(255, 255, 255, 0.45);
}

.node {
  position: absolute;
  z-index: 2;
  min-width: 76px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(133, 66, 87, 0.24);
  font-weight: 800;
}

.node.active {
  background: var(--gold);
  color: #302313;
}

.north {
  left: 48%;
  top: 16%;
}

.east {
  right: 18%;
  top: 47%;
}

.south {
  right: 28%;
  bottom: 14%;
}

.west {
  left: 18%;
  bottom: 22%;
}

.central {
  left: 42%;
  top: 46%;
}

.route {
  position: absolute;
  height: 2px;
  background: rgba(133, 66, 87, 0.24);
  transform-origin: left center;
}

.route-one {
  width: 190px;
  left: 49%;
  top: 51%;
  transform: rotate(-5deg);
}

.route-two {
  width: 210px;
  left: 31%;
  top: 57%;
  transform: rotate(-22deg);
}

.route-three {
  width: 165px;
  left: 55%;
  top: 60%;
  transform: rotate(48deg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card time {
  color: var(--teal);
  font-weight: 800;
}

.contact-section {
  padding: 76px 0;
  color: #ffffff;
  background: var(--deep);
}

.contact-section .eyebrow {
  color: #e8cb93;
}

.contact-section p {
  color: #ebdce2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.phone-link {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 900;
  color: #ffffff;
}

.footer {
  padding: 32px 0;
  background: #24141c;
  color: #e4d5db;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-registration {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(228, 213, 219, 0.2);
  text-align: center;
  font-size: 14px;
}

.registration-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  line-height: 24px;
}

.registration-link img {
  flex-shrink: 0;
  width: 18px;
  height: 20px;
  object-fit: contain;
}

.registration-link:hover,
.registration-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cert-dialog {
  width: min(520px, calc(100% - 34px));
  padding: 30px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(36, 20, 28, 0.32);
}

.cert-dialog::backdrop {
  background: rgba(36, 20, 28, 0.62);
}

.cert-dialog h2 {
  margin: 0;
  font-size: 30px;
}

.cert-dialog p {
  margin: 12px 0 22px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.cert-form {
  display: grid;
  gap: 10px;
}

.cert-form label {
  font-weight: 800;
}

.cert-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cert-input-row input {
  min-width: 0;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
}

.cert-input-row button {
  height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--navy);
  cursor: pointer;
}

.cert-result {
  min-height: 24px;
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 920px) {
  .topbar-inner,
  .brand-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-row {
    min-height: auto;
    padding: 18px 0;
    flex-direction: row;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: static;
  }

  .nav-inner {
    display: none;
    padding: 14px 0;
    align-items: stretch;
    flex-direction: column;
  }

  .primary-nav.is-open .nav-inner {
    display: flex;
  }

  .nav-inner a,
  .cert-button {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: auto;
    background-size: cover, 430px;
    background-position: center, right -150px center;
  }

  .hero-content {
    padding: 76px 0 96px;
  }

  .hero-metrics,
  .intro-grid,
  .service-grid,
  .news-grid,
  .two-column,
  .process-inner,
  .station-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 60px;
    height: 60px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    background-size: cover, 360px;
    background-position: center, right -170px top 80px;
  }

  .hero-metrics,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .service-card,
  .news-card {
    min-height: auto;
  }

  .map-panel {
    min-height: 360px;
    padding: 16px;
  }

  .map-grid {
    height: 320px;
  }

  .node {
    min-width: 64px;
    font-size: 14px;
  }

  .cert-input-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 12px;
  }
}

/* SML: keep the source layout, adapt the brand and accessibility. */
.brand > span { min-width: 0; }
.menu-toggle { flex-shrink: 0; }
.brand small { overflow-wrap: anywhere; }
.hero .eyebrow { color: #e8cb93; }
:focus-visible { outline: 3px solid #b78c50; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
@media (max-width: 620px) {
  .brand strong { font-size: 21px; }
  .brand small { font-size: 9px; }
  .topbar-inner { gap: 4px; padding: 8px 0; }
  .phone-link { font-size: 26px; }
  .node { padding: 0 8px; }
  .central { left: 34%; top: 38%; }
  .east { right: 9%; top: 54%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Logo placement preview: CSS crops preserve the original concept artwork. */
.logo-monogram { position: relative; display: block; width: 76px; height: 76px; flex: 0 0 auto; overflow: hidden; mix-blend-mode: multiply; }
.logo-monogram img, .brand .logo-monogram img { position: absolute; width: 341.333%; height: auto; max-width: none; left: -126.667%; top: -8.889%; border-radius: 0; box-shadow: none; }
.brand .brand-wordmark, .brand-wordmark { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 38px; line-height: 1.05; color: var(--navy); }
.brand small { margin-top: 9px; letter-spacing: 3px; font-size: 12px; }
.hero { background: linear-gradient(110deg, #351b26, #652b3c); }
.hero::after { display: none; }
.hero-content { padding: 64px 0 60px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px 56px; align-items: center; }
.hero-text { grid-column: 1; grid-row: 1; min-width: 0; }
.hero h1 { font-size: clamp(32px, 4vw, 54px); width: 100%; }
.hero-copy { width: 100%; }
.hero-logo {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  max-width: 370px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  background: #f1e6d5;
  overflow: hidden;
  pointer-events: none;
}
.hero-logo .logo-full {
  mix-blend-mode: normal;
  filter: url(#logo-remove-paper);
  opacity: 1;
}

.logo-full { position: relative; display: block; width: 100%; aspect-ratio: 880 / 700; overflow: hidden; mix-blend-mode: multiply; }
.logo-full img { position: absolute; width: 174.545%; max-width: none; height: auto; left: -37.5%; top: -5%; }
.hero-metrics { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.footer-brand .logo-monogram { width: 65px; height: 65px; mix-blend-mode: screen; }
.footer-brand .logo-monogram img { filter: grayscale(1) invert(1); }
.footer-brand .brand-wordmark { display: block; color: #f5e6c8; font-size: 32px; }
.footer-brand small { display: block; margin-top: 8px; letter-spacing: 3px; }
.dialog-logo { width: 54px; height: 54px; margin-bottom: 18px; }
@media (max-width: 920px) {
  .hero-logo { grid-column: 1; grid-row: 2; width: min(300px, 100%); margin: 0; padding: 28px; }
  .hero-text { grid-column: 1; grid-row: 1; }
  .hero-metrics { grid-row: 3; }
  .hero h1, .hero-copy { width: 100%; }
  .hero-content { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
}
@media (max-width: 620px) {
  .brand .logo-monogram { width: 54px; height: 54px; }
  .brand .brand-wordmark { font-size: 29px; }
  .brand small { font-size: 10px; letter-spacing: 2px; }
  .hero-logo { width: min(260px, 100%); padding: 24px; border-radius: 20px; }
}

/* Three-language controls and longer translated copy. */
.topbar-inner { flex-wrap: wrap; gap: 10px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.language-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #ffffff30; border-radius: 7px; }
.language-switch button { border: 0; padding: 5px 10px; min-height: 32px; border-radius: 4px; color: #f6eef0; background: transparent; cursor: pointer; font-size: 13px; white-space: nowrap; }
.language-switch button:hover { background: #ffffff1a; }
.language-switch button[aria-pressed="true"] { background: #f1e6d5; color: #351b26; font-weight: 700; }
html[lang="zh-HK"] body { font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
html[lang="en"] .hero h1 { font-size: clamp(32px, 3.7vw, 52px); }
html[lang="en"] .nav-inner { gap: 4px; }
html[lang="en"] .nav-inner a, html[lang="en"] .cert-button { padding-inline: 9px; }
html[lang="en"] .process-inner { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
html[lang="en"] .process-list li { padding: 14px 10px; overflow-wrap: anywhere; }
html[lang="en"] .phone-link { font-size: clamp(24px, 3vw, 34px); }
html[lang="en"] .brand small, html[lang="en"] .footer-brand small { letter-spacing: 1px; }
html[lang="en"] .map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: center; padding: 20px; }
html[lang="en"] .node { position: static; min-width: 0; padding: 10px 6px; font-size: 14px; text-align: center; }
html[lang="en"] .node.active { grid-column: 1 / -1; grid-row: 1; }
html[lang="en"] .route { display: none; }
@media (max-width: 920px) {
  .topbar-inner { flex-direction: row; align-items: center; }
  html[lang="en"] .process-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .topbar-inner { gap: 8px; }
  .topbar-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .topbar-actions > a { font-size: 11px; }
  .language-switch { gap: 1px; }
  .language-switch button { padding: 5px 8px; }
  html[lang="en"] .brand small { font-size: 8px; letter-spacing: .5px; }
}

/* Company details; unpublished contact channels remain absent. */
.company-name { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.4; }
.contact-panel address, .station-list address { font-style: normal; overflow-wrap: anywhere; line-height: 1.8; }
.station-list address { color: var(--muted); margin-top: 8px; }

.cert-dialog { max-height: calc(100dvh - 40px); overflow-y: auto; }
.cert-input-row button:disabled { opacity: .6; cursor: wait; }
.certificate-details { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 20px; }
.certificate-details[hidden] { display: none; }
.certificate-details h3 { margin: 0; font-size: 23px; }
.certificate-details .inconsistent { color: #9a293d; }
.certificate-details .consistent { color: #246247; }
.certificate-details .certificate-source { font-size: 13px; margin: 8px 0 18px; }
.certificate-details dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.certificate-details dt { color: var(--muted); }
.certificate-details dd { margin: 0; overflow-wrap: anywhere; }
.certificate-details p { white-space: pre-wrap; overflow-wrap: anywhere; }
.certificate-details img { display: block; max-width: 100%; max-height: 280px; margin: 18px auto 0; object-fit: contain; border-radius: 8px; }
