/* Incremental public-template fixes; no global title/surface recolouring. */
.pastic-home-section-title { font-size: 18px; line-height: 1.1; font-weight: 600; margin: 10px 0; }
.pastic-home-news-title { display: inline; font: inherit; font-weight: 700; margin: 0; }
.pastic-home-page #page-main-content { padding-inline: 0; }
.pastic-home-page .pastic-home-subtitle { font-size: 18px; line-height: 1.1; font-weight: 600; margin: 10px 0; }
.pastic-home-page .pastic-subcentres { padding: 0; }
.pastic-home-page .pastic-subcentres > .row:first-child > div { padding-inline: 0; }
.pastic-home-page .pastic-home-centre-title { font-size: 14px; line-height: 1.1; font-weight: 600; margin: 10px 0; }
#footer .footer-center .pastic-footer-heading-label { font-size: 16px; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
@media (min-width: 992px) {
  .pastic-home-page #accordion-6xv3c #demo3 { max-height: var(--pastic-news-height, 380px); overflow-y: auto !important; }
}
@media (min-width: 1200px) {
  .pastic-home-page .pastic-subcentres > .row:last-child { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .pastic-home-page .pastic-subcentres > .row:last-child::before,
  .pastic-home-page .pastic-subcentres > .row:last-child::after { display: none; }
  .pastic-home-page .pastic-subcentres > .row:last-child > div { width: auto; padding-inline: 0; }
}
.content-main-inner > .row, #pastic-statistics .row, .body-page > .row { margin-inline: 0; }
#pastic-statistics .owl-item .item .row { display: flex; align-items: center; }
#pastic-statistics .row > .col-md-4 { width: auto; flex: none; }
#pastic-statistics .row > .col-md-7 { width: auto; flex: 1; min-width: 0; }
#pastic-statistics img { width: 72px; height: 72px; object-fit: contain; }
#pastic-statistics span { overflow-wrap: anywhere; }
.pastic-subcentres { padding: 16px; }
.pastic-subcentres .row { margin-inline: 0; }
.pastic-subcentres img { max-width: 100%; height: auto; }
.pastic-counter-wrap { flex-wrap: wrap; justify-content: center; max-width: 100%; }
#rptOrder.table > thead > tr > th, #rptOrder.table > tbody > tr > th { background: #0a4074; color: #fff; }
#rptOrder a, main.container > p a { text-decoration: underline; text-underline-offset: 2px; }
.uc-letter-links > a { text-decoration: underline; text-underline-offset: 2px; }
#demo3 { max-height: 380px; overflow: auto; padding-right: 8px; }
/* Reusable foregrounds for the existing light-surface component families. */
.history-milestone strong { color: #805400; }
:is(.tis-heading,.tis-section-title,.nsrl-heading,.nsrl-section-title,.literature-section-title,.patent-section-title,.feedback-heading,.feedback-section-title) > span,
.news-heading .eyebrow { color: #08717c; }
:is(.cup-office,.cup-person-role,.crm-office,.crm-region), .cup-person a, .crm-card a { color: #08716b; }
#btnSearch { background: #0a4074; color: #fff; }
.dataTables_paginate .paginate_button.disabled { color: #526579 !important; }
#sci-reset, .sci-intro h4 { color: #805400; }
.breadcrumb a, .pdx .pdx-edition, .pdx .pdx-num, .pdx #lnkClear, .pdx #btnExcel, .pdx a[onclick*="window.print"] { color: #0a4074; }
.breadcrumb .active, .sa-tile-num small, .sa-legend small, .nck-conc-legend small { color: #526579; }
.pdx .pdx-tile b { color: #805400; }
#footer [hidden] { display: none !important; }
/* Keep footer gutters independent of page-level row resets. */
#footer .row { margin-inline: -12px !important; }
#footer .block-title button { width: 100%; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; }
#footer .block-title button:disabled { min-height: 0; padding: 0; opacity: 1; cursor: default; }
#footer .block-title button:focus-visible { outline: 3px solid #ffd778; outline-offset: 3px; }
html[data-pastic-motion-paused="true"] .frontpage :is(.owl-carousel,.md-slide-items) * { animation-play-state: paused !important; }
@media (max-width: 767px) {
  #pastic-statistics img { width: 48px; height: 48px; }
  #pastic-statistics .column-inner { padding-block: 4px; }
  #footer .block-title { margin-bottom: 8px; }
  #footer .column { margin-bottom: 8px; }
  #footer .block-title button:not(:disabled)::after { content: '+'; float: right; }
  #footer .block-title button[aria-expanded="true"]:not(:disabled)::after { content: '\2212'; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frontpage *, .frontpage *::before, .frontpage *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
@media print { #footer [hidden] { display: block !important; } }
