:root {
  --rc-green: #398f20;
  --rc-green-bright: #61bd35;
  --rc-ink: #060908;
  --rc-text: #121816;
  --rc-muted: #5d6662;
  --rc-line: rgba(7, 13, 11, .12);
  --rc-soft: #f6f7f4;
  --rc-dark: #06100f;
  --rc-shadow: 0 18px 46px rgba(7, 15, 13, .12);
  --rc-font: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.resource-centre-v1,
.resource-centre-v1 * { box-sizing: border-box; }

.resource-centre-v1 {
  overflow: hidden;
  color: var(--rc-text);
  background: #fff;
  font-family: var(--rc-font);
}

.page-template-page-resource-centre .site-footer,
.page-template-page-resource-centre-php .site-footer,
.rc-footer + .site-footer { display: none; }

.rc-shell { width: min(100% - 72px, 1450px); margin-inline: auto; }

.rc-hero {
  position: relative;
  min-height: 486px;
  padding: 112px 0 66px;
  color: #fff;
  background: #030706;
}

.rc-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.24) 70%, rgba(0,0,0,.56)), linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.72)), url("../images/homepage/pack-02-product-renders.png");
  background-size: auto, auto, min(920px, 68vw);
  background-repeat: no-repeat;
  background-position: center, center, right 34px center;
}

.rc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, 700px) minmax(285px, 320px);
  gap: 160px;
  align-items: end;
}

.rc-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.rc-breadcrumb a { color: inherit; }
.rc-breadcrumb span:nth-child(even) { color: #75c744; }

.rc-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 4.9vw, 5.25rem);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
}

.rc-hero h1 span,
.rc-bottom-cta h2 span { color: var(--rc-green-bright); }

.rc-hero__copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.72;
  font-weight: 500;
}

.rc-trust-row {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 44px;
  margin-top: 38px;
}

.rc-trust-row span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: .75rem;
  line-height: 1.35;
  font-weight: 800;
}

.rc-trust-row i,
.rc-type-card i {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--rc-green-bright);
  border: 2px solid currentColor;
  border-radius: 10px;
  font-size: .56rem;
  font-style: normal;
  font-weight: 900;
}

.rc-hero-help {
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(7, 17, 17, .82);
  box-shadow: 0 22px 58px rgba(0,0,0,.34);
  backdrop-filter: blur(10px);
}

.rc-hero-help h2 {
  margin: 0 0 16px;
  color: var(--rc-green-bright);
  font-size: 1.2rem;
  line-height: 1.45;
}

.rc-hero-help p { margin: 0 0 20px; color: #fff; font-size: .85rem; font-weight: 600; }

.rc-button,
.rc-link-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.rc-button:hover,
.rc-link-button:hover,
.rc-reset:hover { transform: translateY(-1px); }

.rc-button--green { color: #fff; background: linear-gradient(135deg, #57a932, #33841f); }
.rc-button--outline { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.04); }

.rc-filter-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(180px, .55fr) minmax(180px, .55fr) minmax(180px, .55fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: -43px;
  padding: 30px 34px;
  border: 1px solid rgba(6,14,12,.08);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(5,10,9,.12);
}

.rc-filter-panel label { display: grid; gap: 14px; }
.rc-filter-panel label > span { color: #111; font-size: .78rem; font-weight: 900; }

.rc-filter-panel input,
.rc-filter-panel select,
.rc-newsletter input,
.rc-modal input,
.rc-modal select,
.rc-modal textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid var(--rc-line);
  border-radius: 6px;
  color: var(--rc-ink);
  background: #fff;
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
}

.rc-filter-panel select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.rc-search { position: relative; }
.rc-search:after {
  content: "Q";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: #17211f;
  font-size: .82rem;
  font-weight: 900;
}

.rc-search input { padding-right: 46px; }

.rc-reset {
  min-height: 48px;
  border: 0;
  color: var(--rc-green);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
}

.rc-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  padding: 34px 0 56px;
}

.rc-library-main { min-width: 0; }

.rc-section { margin-bottom: 54px; }
.rc-section > h2,
.rc-popular h2 {
  margin: 0 0 30px;
  color: var(--rc-green);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.rc-type-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 13px;
}

.rc-type-card {
  display: grid;
  min-height: 290px;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 24px 16px;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  color: var(--rc-text);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.rc-type-card:hover,
.rc-type-card.is-active {
  border-color: rgba(57,143,32,.66);
  box-shadow: 0 12px 30px rgba(22,90,16,.12);
  transform: translateY(-2px);
}

.rc-type-card h3 { margin: 0; font-size: .98rem; line-height: 1.28; }
.rc-type-card p { min-height: 60px; margin: 0; color: var(--rc-muted); font-size: .72rem; line-height: 1.65; font-weight: 600; }
.rc-type-card strong { color: var(--rc-green); font-size: .86rem; }

.rc-popular {
  position: sticky;
  top: 130px;
  align-self: start;
  min-height: 425px;
  padding: 28px 26px 30px;
  border-radius: 9px;
  color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(83,179,54,.18), transparent 30%), #06100f;
  box-shadow: var(--rc-shadow);
}

.rc-popular h2 { color: var(--rc-green-bright); }
.rc-popular [data-popular-downloads] { display: grid; gap: 18px; }

.rc-popular-item,
.rc-download-button {
  display: grid;
  grid-template-columns: 30px 1fr 28px;
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.rc-file-icon {
  display: grid;
  width: 28px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 4px;
  color: var(--rc-green-bright);
  background: #fff;
  font-size: .48rem;
  font-weight: 900;
}

.rc-popular-item strong { display: block; color: #fff; font-size: .78rem; line-height: 1.35; }
.rc-popular-item small { display: block; margin-top: 5px; color: rgba(255,255,255,.78); font-size: .72rem; font-weight: 700; }
.rc-download-mark { color: var(--rc-green-bright); font-size: 1.2rem; font-weight: 900; text-align: right; }
.rc-popular .rc-button { width: 100%; margin-top: 28px; }

.rc-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 20px;
}

.rc-tab {
  min-height: 43px;
  border: 1px solid #e5e8e3;
  border-radius: 4px;
  color: #111;
  background: #f4f5f2;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
}

.rc-tab.is-active { color: #fff; border-color: var(--rc-green); background: var(--rc-green); }

.rc-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 16px;
}

.rc-product-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 105px;
  align-items: center;
  gap: 14px;
  padding: 13px 17px;
  border: 1px solid var(--rc-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.rc-product-card.is-active { border-color: var(--rc-green); box-shadow: inset 0 0 0 1px rgba(57,143,32,.35); }
.rc-product-card img { width: 78px; height: 72px; object-fit: contain; object-position: center; filter: saturate(.88); }
.rc-product-card strong { display: block; color: #101514; font-size: .93rem; text-transform: uppercase; }
.rc-product-card small { color: #111; font-size: .75rem; font-weight: 700; }

.rc-table-wrap { overflow-x: auto; border: 1px solid var(--rc-line); border-radius: 7px; background: #fff; }
.rc-resource-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .82rem; }
.rc-resource-table th,
.rc-resource-table td { padding: 15px 18px; border-bottom: 1px solid rgba(7,13,11,.09); text-align: left; vertical-align: middle; }
.rc-resource-table th { color: #111; background: #f4f5f3; font-size: .76rem; font-weight: 900; }
.rc-resource-table tr:last-child td { border-bottom: 0; }
.rc-resource-table td { color: #27302d; font-weight: 650; }
.rc-resource-table .rc-doc-name { display: flex; gap: 10px; align-items: center; color: #111; font-weight: 800; }
.rc-resource-table .rc-mini-icon { color: var(--rc-green); font-weight: 900; }
.rc-resource-table button { border: 0; color: var(--rc-green); background: transparent; cursor: pointer; font: inherit; font-size: 1.05rem; font-weight: 900; }
.rc-no-results { margin: 0; padding: 22px; color: var(--rc-muted); font-weight: 800; }
.rc-link-button { display: flex; margin: 18px auto 0; color: var(--rc-green); background: transparent; }

.rc-lower-grid {
  display: grid;
  grid-template-columns: 1.2fr .62fr .92fr;
  gap: 18px;
  margin-top: 10px;
}

.rc-pro-card,
.rc-quick-links,
.rc-newsletter {
  min-height: 208px;
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(6, 12, 10, .07);
}

.rc-pro-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 20px;
  padding: 30px 22px;
  background: #f8f9f6;
}

.rc-pro-card h2,
.rc-quick-links h2,
.rc-newsletter h2 { margin: 0 0 15px; font-size: .9rem; line-height: 1.3; text-transform: uppercase; color: var(--rc-green); }
.rc-pro-card p { margin: 0 0 22px; color: #111; font-size: .8rem; line-height: 1.65; font-weight: 600; }
.rc-pro-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; padding: 0; margin: 0; list-style: none; }
.rc-pro-card li { color: #111; font-size: .72rem; font-weight: 800; }
.rc-pro-card img { width: 150px; height: 150px; align-self: center; border-radius: 50%; object-fit: cover; }

.rc-quick-links { display: grid; padding: 24px; background: #f8f9f6; }
.rc-quick-links button { display: flex; justify-content: space-between; align-items: center; min-height: 28px; padding: 0; border: 0; border-bottom: 1px solid var(--rc-line); color: #111; background: transparent; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700; text-align: left; }

.rc-newsletter {
  padding: 26px 24px;
  color: #fff;
  background: radial-gradient(circle at 90% 22%, rgba(87,169,50,.22), transparent 28%), #06100f;
}

.rc-newsletter h2 { color: var(--rc-green-bright); font-size: 1.25rem; text-transform: none; }
.rc-newsletter p { margin: 0 0 18px; color: #fff; font-size: .8rem; line-height: 1.55; font-weight: 600; }
.rc-newsletter form { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.rc-newsletter input { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.rc-newsletter button { border: 0; border-radius: 6px; color: #fff; background: var(--rc-green); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 900; }
.rc-newsletter span { grid-column: 1 / -1; min-height: 18px; color: #9ae276; font-size: .72rem; font-weight: 700; }
.rc-newsletter small { display: block; margin-top: 8px; color: rgba(255,255,255,.66); font-size: .68rem; font-weight: 700; }

.rc-bottom-cta {
  color: #fff;
  background: #06100f;
  border-bottom: 3px solid var(--rc-green);
}

.rc-bottom-cta__grid {
  display: grid;
  grid-template-columns: 320px 330px 1fr 230px;
  gap: 42px;
  align-items: center;
  min-height: 138px;
}

.rc-bottom-image { align-self: stretch; min-height: 138px; background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.38)), url("../images/government-infrastructure/application-roads.jpg") center/cover no-repeat; }
.rc-bottom-cta h2 { margin: 0; font-size: 1.85rem; line-height: 1.18; }
.rc-bottom-cta p { margin: 0; color: #fff; font-size: .9rem; line-height: 1.65; font-weight: 600; }
.rc-bottom-cta a { display: block; margin-top: 16px; color: #fff; font-weight: 900; }

.rc-footer { padding: 34px 0 48px; color: #fff; background: #06100f; }
.rc-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 42px; }
.rc-footer strong { display: block; margin-bottom: 24px; font-size: 1.55rem; letter-spacing: .04em; }
.rc-footer p,
.rc-footer a { display: block; margin: 0 0 10px; color: rgba(255,255,255,.86); font-size: .82rem; line-height: 1.5; font-weight: 600; }
.rc-footer h3 { margin: 0 0 16px; color: #fff; font-size: .82rem; text-transform: uppercase; }
.rc-social { display: flex; gap: 12px; }
.rc-social a { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); }

.rc-modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 24px; }
.rc-modal[hidden] { display: none; }
.rc-modal__backdrop { position: absolute; inset: 0; background: rgba(1, 8, 7, .72); backdrop-filter: blur(8px); }
.rc-modal__panel { position: relative; width: min(100%, 560px); max-height: min(760px, calc(100vh - 48px)); overflow: auto; padding: 34px; border-radius: 10px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.rc-modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--rc-line); border-radius: 6px; background: #fff; cursor: pointer; }
.rc-modal h2 { margin: 0 0 10px; font-size: 1.8rem; }
.rc-modal p { color: var(--rc-muted); line-height: 1.55; }
.rc-modal form { display: grid; gap: 14px; }
.rc-modal label { display: grid; gap: 8px; color: #111; font-size: .78rem; font-weight: 900; }
.rc-modal textarea { min-height: 94px; padding-top: 14px; resize: vertical; }
.rc-modal [data-form-message] { min-height: 18px; margin: 0; color: var(--rc-green); font-size: .8rem; font-weight: 800; }

.rc-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 8px;
  color: #fff;
  background: #06100f;
  box-shadow: var(--rc-shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.rc-toast.is-visible { opacity: 1; transform: translateY(0); }

[data-rc-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-rc-reveal].is-visible { opacity: 1; transform: translateY(0); }
body.rc-modal-open { overflow: hidden; }

@media (max-width: 1220px) {
  .rc-shell { width: min(100% - 40px, 1100px); }
  .rc-hero__grid,
  .rc-content-grid,
  .rc-lower-grid,
  .rc-bottom-cta__grid { grid-template-columns: 1fr; }
  .rc-popular { position: relative; top: auto; }
  .rc-type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rc-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rc-bottom-image { display: none; }
}

@media (max-width: 820px) {
  .rc-shell { width: min(100% - 28px, 640px); }
  .rc-hero { padding-top: 96px; }
  .rc-hero:before { background-size: 720px; background-position: center bottom 10px; opacity: .9; }
  .rc-hero__grid { gap: 32px; }
  .rc-hero h1 { font-size: 2.75rem; }
  .rc-trust-row,
  .rc-filter-panel,
  .rc-tabs,
  .rc-product-grid,
  .rc-footer__grid { grid-template-columns: 1fr; }
  .rc-filter-panel { margin-top: -26px; padding: 22px; gap: 16px; }
  .rc-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-type-card { min-height: 232px; }
  .rc-pro-card { grid-template-columns: 1fr; }
  .rc-pro-card img { display: none; }
  .rc-newsletter form { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .rc-type-grid { grid-template-columns: 1fr; }
  .rc-hero h1 { font-size: 2.35rem; }
  .rc-bottom-cta h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  [data-rc-reveal],
  .rc-toast,
  .rc-button,
  .rc-type-card { transition: none !important; }
}
