/* Public service records: preserve the cover, statistics, content and photo order. */
html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .content-block {
  min-width: 0;
  margin-block: 0 48px !important;
  padding: 30px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .content-block > h2 {
  margin: 0 0 26px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--refine-line, #e7dde0) !important;
  color: var(--refine-red, #7d1027) !important;
  font: 700 clamp(26px, 2.2vw, 32px)/1.45 var(--p-display, "SimSun", serif) !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .content-block > h2::before,
html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .content-block > h2::after {
  content: none !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .charity-nav {
  grid-template-columns: repeat(5, minmax(180px, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 34px !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .charity-nav a {
  padding: 17px 18px !important;
  border-color: var(--refine-line, #e7dde0) !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-section-intro {
  gap: 12px 24px;
  margin-bottom: 28px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-section-intro p {
  color: var(--refine-muted, #625a60) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-cases {
  gap: 36px;
  margin-bottom: 48px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-case {
  min-width: 0;
  border: 1px solid var(--refine-line, #e7dde0);
  border-top: 3px solid var(--refine-gold, #a67c35);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-case-inner {
  min-width: 0;
  padding: 34px 36px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-case-title h3 {
  display: block;
  margin: 0 0 17px !important;
  line-height: 1.5 !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-case-title .practice-eyebrow {
  margin-bottom: 12px !important;
  color: var(--refine-gold, #a67c35) !important;
  font: 700 12px/1.7 var(--p-body, sans-serif) !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-member {
  display: block;
  margin-bottom: 8px;
  color: var(--refine-red, #7d1027);
  font: 700 clamp(30px, 2.8vw, 40px)/1.35 var(--p-display, "SimSun", serif) !important;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-title-rest {
  display: block;
  color: var(--refine-ink, #252329);
  font: 600 19px/1.65 var(--p-body, sans-serif) !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-lead {
  margin: 0 0 24px !important;
  color: var(--refine-muted, #625a60) !important;
  font: 15px/1.9 var(--p-body, sans-serif) !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-facts {
  grid-template-columns: repeat(4, minmax(140px, 1fr)) !important;
  gap: 18px;
  margin: 0 0 30px;
  padding: 18px 0;
  border-color: var(--refine-line, #e7dde0);
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-facts span {
  margin-bottom: 7px;
  color: var(--refine-muted, #625a60);
  font: 12px/1.7 var(--p-body, sans-serif);
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-facts strong {
  color: var(--refine-ink, #252329);
  font: 600 14px/1.8 var(--p-body, sans-serif);
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-record-grid {
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.practice-narrative, .practice-supplies) {
  min-width: 0;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.practice-narrative, .practice-supplies, .practice-gallery) h4 {
  margin: 0 0 16px !important;
  color: var(--refine-red, #7d1027) !important;
  font: 700 17px/1.6 var(--p-body, sans-serif) !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-narrative p {
  margin: 0 0 18px !important;
  color: var(--refine-ink, #252329) !important;
  font: 16px/1.9 var(--p-body, sans-serif) !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-narrative p:last-child {
  margin-bottom: 0 !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies {
  padding: 20px;
  border: 1px solid var(--refine-line, #e7dde0);
  border-radius: 4px;
  background: #faf7f8;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies table {
  width: 100%;
  table-layout: fixed;
  font: 14px/1.7 var(--p-body, sans-serif) !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies :is(th, td) {
  padding: 11px 6px !important;
  text-align: left !important;
  vertical-align: top;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies th:first-child {
  width: 46%;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-gallery {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--refine-line, #e7dde0);
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-gallery-heading {
  gap: 8px 20px;
  margin-bottom: 4px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-photo-grid {
  grid-template-columns: repeat(4, minmax(144px, 1fr)) !important;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content #case-yangcaili .practice-photo-grid {
  grid-template-columns: repeat(3, minmax(144px, 1fr)) !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-photo-link {
  border-color: var(--refine-line, #e7dde0);
  border-radius: 4px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transform: none !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-photo figcaption {
  padding-top: 9px;
  color: var(--refine-muted, #625a60);
  font: 12px/1.8 var(--p-body, sans-serif);
  white-space: normal;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.practice-small, .practice-source) {
  color: var(--refine-muted, #625a60) !important;
  font: 12px/1.85 var(--p-body, sans-serif) !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-source {
  margin-top: 22px !important;
  padding-top: 15px;
  border-color: var(--refine-line, #e7dde0);
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-archive-title {
  margin: 38px 0 24px !important;
  color: var(--refine-red, #7d1027) !important;
  font: 700 24px/1.5 var(--p-display, "SimSun", serif) !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.case-panel, .case-note, .method-card) {
  min-width: 0;
  padding: 24px !important;
  border: 1px solid var(--refine-line, #e7dde0) !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.case-panel, .case-note) h3 {
  margin: 0 0 15px !important;
  color: var(--refine-red, #7d1027) !important;
  font: 700 23px/1.5 var(--p-display, "SimSun", serif) !important;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.case-panel, .case-note, .method-card) p {
  margin: 0 0 14px !important;
  color: var(--refine-ink, #252329) !important;
  font: 16px/1.85 var(--p-body, sans-serif) !important;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .method-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr)) !important;
  gap: 16px !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .method-card {
  padding: 20px !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .method-card h3 {
  margin: 0 0 12px !important;
  color: var(--refine-red, #7d1027) !important;
  font: 700 19px/1.55 var(--p-body, sans-serif) !important;
  overflow-wrap: anywhere;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.elderly-photo-grid, .charity-photo-pair, .anti-fraud-photo-pair) {
  grid-template-columns: repeat(2, minmax(144px, 1fr)) !important;
  gap: 14px !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .zhuozhou-photo-grid {
  grid-template-columns: repeat(3, minmax(144px, 1fr)) !important;
  gap: 14px !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

/* Keep the annual programme as a real table, including its translatable header. */
html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap {
  max-width: 100%;
  overflow-x: auto !important;
  overscroll-behavior-x: contain;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap table {
  display: table !important;
  width: 100% !important;
  min-width: 720px !important;
  border-collapse: collapse;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap thead {
  display: table-header-group !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap tbody {
  display: table-row-group !important;
  width: auto !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap tr {
  display: table-row !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap :is(th, td) {
  display: table-cell !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  vertical-align: top;
}

html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .table-wrap td::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 1000px) {
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-case-inner {
    padding: 26px;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-record-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 640px) {
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .content-block {
    padding-block: 24px !important;
    margin-bottom: 32px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-case-inner {
    padding: 24px 16px;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-member {
    font-size: 30px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-title-rest {
    font-size: 17px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-record-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-narrative p {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.practice-narrative, .practice-supplies) h4 {
    font-size: 15px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies {
    padding: 12px 7px;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies table {
    font-size: 12px !important;
    line-height: 1.65 !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-supplies :is(th, td) {
    padding: 9px 2px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-facts {
    gap: 14px;
    margin-bottom: 24px;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content .practice-photo-grid {
    gap: 12px;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.case-panel, .case-note) {
    padding: 20px !important;
  }
  html.gq-preview body.gq-preview-charity.gq-site-refined #main-content :is(.case-panel, .case-note, .method-card) p {
    font-size: 15px !important;
  }
  html.gq-preview:is(:lang(en), :lang(fr), :lang(de)) body.gq-preview-charity.gq-site-refined #main-content .practice-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  html.gq-preview:is(:lang(en), :lang(fr), :lang(de)) body.gq-preview-charity.gq-site-refined #main-content .practice-supplies table {
    min-width: 300px !important;
  }
}
