:root {
  --ifac-ink: #16201f;
  --ifac-muted: #64706d;
  --ifac-light-muted: #d6dbd9;
  --ifac-border: #d8e0dc;
  --ifac-paper: #ffffff;
  --ifac-surface: #f5f7f5;
  --ifac-canvas: #edf2ef;
  --ifac-green: #11634f;
  --ifac-green-dark: #0c4337;
  --ifac-blue: #24476f;
  --ifac-copper: #9d5d2e;
  --ifac-light-copper: #f0c9a6;
  --ifac-error-border: #d99a83;
  --ifac-error-bg: #fff8f5;
  --ifac-success-border: #9cc7aa;
  --ifac-success-bg: #f1fbf4;
  --ifac-shadow: 0 16px 40px rgba(22, 32, 31, 0.08);
  --ifac-home-content-width: 1440px;
}

html {
  min-width: 320px;
  background: var(--ifac-canvas);
}

body.ifac-theme {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ifac-ink);
  background: var(--ifac-canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.dt-view input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: auto;
  background-image: none;
}

.ifac-theme a {
  color: inherit;
  text-decoration: none;
}

.ifac-theme a:hover,
.ifac-theme a:focus {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ifac-theme .main {
  flex: 1 0 auto;
  min-height: calc(100vh - 210px);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: var(--ifac-paper);
}

.ifac-theme .main > .container {
  /* width: min(1180px, calc(100% - 2rem));*/
  width: min(
    var(--ifac-home-content-width),
    calc(100% - 2rem)
  );
  margin-inline: auto;
  max-width: none;
}

.ifac-theme .ifac-homepage {
  flex: 1 0 auto;
  min-height: calc(100vh - 210px);
  
  background:
    linear-gradient(90deg, rgba(237, 242, 239, 0.98), rgba(237, 242, 239, 0.86)),
    radial-gradient(circle at 82% 16%, rgba(157, 93, 46, 0.12), transparent 30%),
    linear-gradient(135deg, #f8fbf9 0%, #e8f0ec 100%);
  overflow-x: clip;
}

.ifac-theme .ifac-homepage > .container {
  width: min(
    var(--ifac-home-content-width),
    calc(100% - 2rem)
  );
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.ifac-theme .ifac-home-hero {
  display: grid;
  width: 100vw;
  max-width: none;
  min-height: clamp(520px, 72vh, 760px);
  margin-left: calc(50% - 50vw);
  align-content: center;
  padding-block: clamp(3rem, 8vw, 6.5rem);
  padding-inline: max(
    1rem,
    calc((100vw - var(--ifac-home-content-width)) / 2)
  );
  background-image: url("/images/hero.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ifac-theme .ifac-eyebrow {
  margin: 0 0 1.3rem;
  color: var(--ifac-copper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ifac-theme .ifac-eyebrow.ifac-eyebrow-title {
  color: var(--ifac-light-copper);
}

.ifac-theme .ifac-home-hero h1 {
  max-width: 780px;
  margin: 0 0 1.8rem;
  color: var(--ifac-paper);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 350;
  letter-spacing: 0;
  line-height: 1;
}

.ifac-theme .ifac-home-intro {
  max-width: 840px;
  margin: 0 0 1.6rem;
  color: var(--ifac-paper);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.42;
}

.ifac-theme .ifac-home-search {
  display: grid;
  gap: 0.65rem;
  max-width: 820px;
}

.ifac-theme .ifac-home-search label {
  color: var(--ifac-paper);
  font-size: 1rem;
  /* font-weight: 800; */
  font-weight: 500;
}

.ifac-theme .ifac-home-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  background: var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
}

.ifac-theme .ifac-home-search-row input {
  min-height: 3.25rem;
  border: 0;
  padding: 0.7rem 0.85rem;
  font-size: 1.05rem;
  background: transparent;
}

.ifac-theme .ifac-home-search-row input:focus {
  outline: 2px solid rgba(17, 99, 79, 0.22);
  outline-offset: 2px;
}

.ifac-theme .ifac-home-search-row .btn {
  min-height: 3.05rem;
  padding: 0.65rem 1.05rem;
  font-size: 1rem;
}

.ifac-theme .ifac-home-content {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ifac-canvas);
}

.ifac-theme .ifac-recent-section {
  margin-top: 2rem;
  padding: 0 0 clamp(3rem, 7vw, 5.5rem);
}

.ifac-theme .ifac-section-heading {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ifac-theme .ifac-section-heading .ifac-eyebrow {
  margin-bottom: 0.65rem;
}

.ifac-theme .ifac-section-heading h2 {
  margin: 0 0 0.5rem;
  color: var(--ifac-ink);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.ifac-theme .ifac-section-heading p:not(.ifac-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--ifac-muted);
  font-size: 1.03rem;
}

.ifac-theme .ifac-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ifac-theme .ifac-recent-card {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  padding: 1.15rem;
  background: var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
}

.ifac-theme .ifac-recent-card h3 {
  margin: 0 0 0.75rem;
  color: var(--ifac-green-dark);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

.ifac-theme .ifac-recent-card h3 a:hover,
.ifac-theme .ifac-recent-card h3 a:focus {
  color: var(--ifac-green);
}

.ifac-theme .ifac-recent-card p {
  margin: 0;
  color: var(--ifac-muted);
  font-size: 0.96rem;
}

.ifac-theme .ifac-recent-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ifac-border);
}

.ifac-theme .ifac-recent-meta div {
  min-width: 0;
}

.ifac-theme .ifac-recent-meta dt {
  color: var(--ifac-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ifac-theme .ifac-recent-meta dd {
  margin: 0.18rem 0 0;
  overflow-wrap: anywhere;
  color: var(--ifac-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.ifac-theme .ifac-recent-empty {
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  padding: 2rem;
  background: var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
  text-align: center;
}

.ifac-theme .ifac-recent-empty h3 {
  margin: 0 0 0.4rem;
  color: var(--ifac-ink);
  font-weight: 800;
}

.ifac-theme .ifac-recent-empty p {
  margin: 0;
  color: var(--ifac-muted);
}

.ifac-theme .ifac-topic-section {
  padding: 0 0 clamp(3.5rem, 8vw, 6rem);
}

.ifac-theme .ifac-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ifac-theme .ifac-topic-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 245, 0.96)),
    var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ifac-theme .ifac-topic-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ifac-green), var(--ifac-blue));
  content: "";
}

.ifac-theme .ifac-topic-card:hover,
.ifac-theme .ifac-topic-card:focus {
  border-color: rgba(17, 99, 79, 0.45);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(22, 32, 31, 0.12);
}

.ifac-theme .ifac-topic-mark {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 8px;
  color: var(--ifac-paper);
  background:  var(--ifac-light-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.ifac-theme .ifac-topic-mark img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.ifac-theme .ifac-topic-content {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.ifac-theme .ifac-topic-title {
  color: var(--ifac-green-dark);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.ifac-theme .ifac-topic-description {
  color: var(--ifac-muted);
  font-size: 0.96rem;
}

.ifac-theme .ifac-topic-count {
  align-self: end;
  color: var(--ifac-blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.ifac-theme .account-masthead {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  background: var(--ifac-green-dark);
}

.ifac-theme .account-masthead .container,
.ifac-theme .masthead .container {
  width: min(1440px, calc(100% - 2rem));
  max-width: none;
}

.ifac-theme .account-masthead .account ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  margin: 0;
}

.ifac-theme .account-masthead .account ul li,
.ifac-theme .account-masthead .account.not-authed ul li {
  border-left: 0;
}

.ifac-theme .account-masthead .account ul li a,
.ifac-theme .account-masthead .account.not-authed ul li a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.35rem;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.ifac-theme .account-masthead .account ul li a:hover,
.ifac-theme .account-masthead .account.not-authed ul li a:hover,
.ifac-theme .account-masthead .account ul li a:focus,
.ifac-theme .account-masthead .account.not-authed ul li a:focus {
  color: var(--ifac-paper);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.ifac-theme .account-masthead .account ul li.ifac-add-dataset a {
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.ifac-theme .masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ifac-paper);
  background: var(--ifac-green-dark);
  box-shadow: 0 8px 30px rgba(12, 67, 55, 0.14);
}

.ifac-theme .masthead .navbar {
  min-height: 4.4rem;
  padding: 0.7rem 0;
}

.ifac-theme .masthead .navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--ifac-paper);
}

.ifac-theme .masthead hgroup {
  margin: 0;
}

.ifac-theme .ifac-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ifac-paper);
  font-weight: 800;
}

.ifac-theme .ifac-brand:hover,
.ifac-theme .ifac-brand:focus {
  color: var(--ifac-paper);
  text-decoration: none;
}

.ifac-theme .ifac-brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 6px;
  color: var(--ifac-green-dark);
  background: var(--ifac-paper);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.ifac-theme .ifac-brand-name {
  color: var(--ifac-paper);
  /* font-size: 1.15rem; */
  letter-spacing: 0;
  font-weight: normal;
}

.ifac-theme .masthead .main-navbar {
  align-items: center;
  gap: 1rem;
}

.ifac-theme .masthead .navbar-nav {
  align-items: center;
  gap: 0.25rem;
}

.ifac-theme .masthead .navbar-nav > li > a,
.ifac-theme .masthead .navbar-nav .nav-link {
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.ifac-theme .masthead .navbar-nav > li > a:hover,
.ifac-theme .masthead .navbar-nav > li > a:focus,
.ifac-theme .masthead .navbar-nav > li.active > a,
.ifac-theme .masthead .navbar-nav .active > .nav-link,
.ifac-theme .masthead .navbar-nav .nav-link:hover,
.ifac-theme .masthead .navbar-nav .nav-link:focus {
  color: var(--ifac-paper);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.ifac-theme .masthead .site-search {
  gap: 0.35rem;
  margin: 0 0 0 0.5rem;
}

.ifac-theme .masthead .site-search .form-control {
  min-height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: var(--ifac-paper);
  background: rgba(255, 255, 255, 0.08);
}

.ifac-theme .masthead .site-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.ifac-theme .masthead .site-search .btn {
  min-width: 2.5rem;
  border: 1px solid var(--ifac-paper);
  border-radius: 6px;
  color: var(--ifac-green-dark);
  background: var(--ifac-paper);
}

.ifac-theme .toolbar {
  margin: 0 0 1rem;
}

.ifac-theme .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  color: var(--ifac-muted);
  font-size: 0.92rem;
}

.ifac-theme .breadcrumb a {
  color: var(--ifac-blue);
  font-weight: 700;
}

.ifac-theme .wrapper {
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  background: var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
}

.ifac-theme .primary,
.ifac-theme .secondary {
  min-width: 0;
}

.ifac-theme .module,
.ifac-theme .module-content,
.ifac-theme .module-heading {
  border-color: var(--ifac-border);
}

.ifac-theme .module {
  border-radius: 8px;
  background: var(--ifac-paper);
  box-shadow: none;
}

.ifac-theme .module-content {
  padding: 1.25rem;
}

.ifac-theme .module-heading,
.ifac-theme .page-header,
.ifac-theme .module .module-content:first-child {
  background: var(--ifac-paper);
}

.ifac-theme .module h1,
.ifac-theme .module-content h1,
.ifac-theme .page-heading,
.ifac-theme .hero h1 {
  color: var(--ifac-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.ifac-theme .module h1,
.ifac-theme .module-content h1,
.ifac-theme .page-heading {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.ifac-theme .ifac-dataset-title-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ifac-theme .ifac-dataset-title-row h1 {
  min-width: 0;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.ifac-theme .ifac-dcat-download {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.ifac-theme .ifac-dcat-download summary {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ifac-border);
  border-radius: 6px;
  padding: 0.55rem 0.8rem;
  color: var(--ifac-green-dark);
  background: var(--ifac-paper);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ifac-theme .ifac-dcat-download summary::-webkit-details-marker {
  display: none;
}

.ifac-theme .ifac-dcat-download summary::after {
  color: var(--ifac-muted);
  content: "\25be";
  font-size: 0.82rem;
}

.ifac-theme .ifac-dcat-download[open] summary,
.ifac-theme .ifac-dcat-download summary:hover,
.ifac-theme .ifac-dcat-download summary:focus {
  border-color: rgba(17, 99, 79, 0.45);
  color: var(--ifac-green-dark);
  background: var(--ifac-surface);
}

.ifac-theme .ifac-dcat-download ul {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 15;
  display: grid;
  min-width: 220px;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  background: var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
  list-style: none;
}

.ifac-theme .ifac-dcat-download a {
  display: grid;
  gap: 0.12rem;
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  color: var(--ifac-green-dark);
  font-weight: 800;
}

.ifac-theme .ifac-dcat-download a:hover,
.ifac-theme .ifac-dcat-download a:focus {
  background: var(--ifac-surface);
  text-decoration: none;
}

.ifac-theme .ifac-dcat-download small {
  color: var(--ifac-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.ifac-theme .module h2,
.ifac-theme .module h3,
.ifac-theme .module-heading {
  color: var(--ifac-ink);
  font-weight: 800;
}

.ifac-theme p,
.ifac-theme .notes,
.ifac-theme .empty,
.ifac-theme .muted,
.ifac-theme .dataset-content .notes {
  color: var(--ifac-muted);
}

.ifac-theme .btn,
.ifac-theme button,
.ifac-theme input[type="submit"],
.ifac-theme .form-actions .btn {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ifac-border);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  /*color: var(--ifac-ink);
   background: var(--ifac-paper); */
  font-weight: 700;
}

.btn-close {
  background-color: none;
}

.alert-dismissible .btn-close {
    padding: 0.35rem 1rem;
}

.ifac-theme .btn:hover,
.ifac-theme button:hover,
.ifac-theme input[type="submit"]:hover,
.ifac-theme .btn:focus,
.ifac-theme button:focus,
.ifac-theme input[type="submit"]:focus {
  /* color: var(--ifac-green-dark);
  background: var(--ifac-surface); */
  text-decoration: none;
}

.ifac-theme .btn-primary,
.ifac-theme .btn-success,
.ifac-theme input[type="submit"].btn-primary,
.ifac-theme .form-actions .btn-primary {
  border-color: var(--ifac-green);
  color: var(--ifac-paper);
  background: var(--ifac-green);
}

.ifac-theme .btn-primary:hover,
.ifac-theme .btn-success:hover,
.ifac-theme input[type="submit"].btn-primary:hover,
.ifac-theme .form-actions .btn-primary:hover,
.ifac-theme .btn-primary:focus,
.ifac-theme .btn-success:focus,
.ifac-theme input[type="submit"].btn-primary:focus,
.ifac-theme .form-actions .btn-primary:focus {
  border-color: var(--ifac-green-dark);
  color: var(--ifac-paper);
  background: var(--ifac-green-dark);
}

.ifac-theme .btn-danger {
  border-color: #a6422a;
  color: var(--ifac-paper);
  background: #a6422a;
}

.ifac-theme .form-control,
.ifac-theme input[type="text"],
.ifac-theme input[type="email"],
.ifac-theme input[type="password"],
.ifac-theme input[type="url"],
.ifac-theme input[type="number"],
.ifac-theme select,
.ifac-theme textarea {
  min-height: 2.75rem;
  /* width: 100%; 
  border: 1px solid var(--ifac-border); */
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  color: var(--ifac-ink);
  background: var(--ifac-paper);
  box-shadow: none;
}

.ifac-theme textarea {
  min-height: 8rem;
  resize: vertical;
}

.ifac-theme .control-label,
.ifac-theme label {
  color: var(--ifac-muted);
  font-weight: 800;
}

.ifac-theme .control-group,
.ifac-theme .form-group {
  margin-bottom: 1rem;
}

.ifac-theme .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 0 0;
  border-top: 1px solid var(--ifac-border);
  background: transparent;
}

.ifac-theme .stages,
.ifac-theme .steps {
  border-radius: 8px;
  background: var(--ifac-surface);
}

.ifac-theme .stages li.active .highlight,
.ifac-theme .stages li.complete .highlight,
.ifac-theme .steps li.active {
  background: var(--ifac-green);
}

.ifac-theme .nav-tabs {
  gap: 0.3rem;
  border-bottom-color: var(--ifac-border);
}

.ifac-theme .nav-tabs .nav-link,
.ifac-theme .nav-tabs > li > a {
  border-radius: 6px 6px 0 0;
  color: var(--ifac-muted);
  font-weight: 800;
}

.ifac-theme .nav-tabs .nav-link.active,
.ifac-theme .nav-tabs > li.active > a,
.ifac-theme .nav-tabs > li > a:hover {
  border-color: var(--ifac-border) var(--ifac-border) var(--ifac-paper);
  color: var(--ifac-green-dark);
  background: var(--ifac-paper);
  text-decoration: none;
}

.ifac-theme .dataset-list,
.ifac-theme .resource-list {
  display: grid;
  gap: 1rem;
  padding: 0;
}

.ifac-theme .resource-list {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 1rem;
}

.ifac-theme .dataset-item,
.ifac-theme .resource-item {
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--ifac-paper);
  box-shadow: var(--ifac-shadow);
}

.ifac-theme .resource-item {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 5rem;
  margin: 0;
  padding: 1.3rem 10rem 1rem 3.5rem;
}

.ifac-theme .resource-item .format-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.ifac-theme .resource-item .heading {
  margin: 0.15rem 0 0;
  line-height: 1.25;
}

.ifac-theme .dataset-heading a,
.ifac-theme .resource-item a,
.ifac-theme .media-heading a {
  color: var(--ifac-green-dark);
  font-weight: 800;
}

.ifac-theme .label,
.ifac-theme .badge,
.ifac-theme .tag,
.ifac-theme .tag-list a {
  border: 1px solid var(--ifac-border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--ifac-green-dark);
  background: var(--ifac-paper);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-item span.item-count.badge, .pill {
  color: var(--ifac-paper);
  background:var(--ifac-green); 
}

.ifac-theme .nums,
.ifac-theme .additional-info,
.ifac-theme .context-info {
  border-color: var(--ifac-border);
}

.ifac-theme .context-info h1,
.ifac-theme .context-info .heading {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.ifac-theme .context-info .image,
.ifac-theme .media-image {
  border-radius: 8px;
}

.ifac-theme .filters,
.ifac-theme .secondary .module {
  border-radius: 8px;
  background: var(--ifac-paper);
}

.ifac-theme .filters h2,
.ifac-theme .secondary .module-heading {
  font-size: 1rem;
}

.ifac-theme .list-unstyled.nav-simple li a,
.ifac-theme .nav-simple > li > a {
  border-radius: 6px;
  color: var(--ifac-muted);
  font-weight: 700;
}

.ifac-theme .list-unstyled.nav-simple li.active a,
.ifac-theme .nav-simple > li.active > a,
.ifac-theme .nav-simple > li > a:hover {
  color: var(--ifac-green-dark);
  background: var(--ifac-surface);
  text-decoration: none;
}

.ifac-theme .ifac-catalog-download {
  margin-top: 1rem;
}

.ifac-theme .ifac-catalog-download .module-content {
  padding: 1rem;
}

.ifac-theme .ifac-catalog-download summary {
  display: flex;
  width: 100%;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  border: 1px solid var(--ifac-border);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  color: var(--ifac-paper);
  background: var(--ifac-green);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ifac-theme .ifac-catalog-download summary::-webkit-details-marker {
  display: none;
}

.ifac-theme .ifac-catalog-download summary::after {
  content: "\25be";
  font-size: 0.82rem;
}

.ifac-theme .ifac-catalog-download[open] summary,
.ifac-theme .ifac-catalog-download summary:hover,
.ifac-theme .ifac-catalog-download summary:focus {
  border-color: var(--ifac-green-dark);
  color: var(--ifac-paper);
  background: var(--ifac-green-dark);
  text-decoration: none;
}

.ifac-theme .ifac-catalog-download-panel {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.ifac-theme .ifac-catalog-download-panel p {
  margin: 0;
  color: var(--ifac-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.ifac-theme .ifac-catalog-download-panel ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ifac-theme .ifac-catalog-download-panel a {
  display: grid;
  gap: 0.1rem;
  border: 1px solid var(--ifac-border);
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  color: var(--ifac-green-dark);
  background: var(--ifac-surface);
  font-weight: 800;
}

.ifac-theme .ifac-catalog-download-panel a:hover,
.ifac-theme .ifac-catalog-download-panel a:focus {
  border-color: rgba(17, 99, 79, 0.45);
  background: var(--ifac-paper);
  text-decoration: none;
}

.ifac-theme .ifac-catalog-download-panel small {
  color: var(--ifac-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.ifac-theme .search-form {
  border-bottom-color: var(--ifac-border);
}

.ifac-theme .search-form .search-input {
  margin-bottom: 1rem;
}

.ifac-theme .search-form .search-input.search-giant input {
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  box-shadow: var(--ifac-shadow);
}

.ifac-theme .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.ifac-theme .pagination > li > a,
.ifac-theme .pagination > li > span,
.ifac-theme .page-link {
  border: 1px solid var(--ifac-border);
  border-radius: 6px;
  color: var(--ifac-green-dark);
  background: var(--ifac-paper);
  font-weight: 700;
}

.ifac-theme .pagination > .active > a,
.ifac-theme .pagination > .active > span,
.ifac-theme .page-item.active .page-link {
  border-color: var(--ifac-green);
  color: var(--ifac-paper);
  background: var(--ifac-green);
}

.ifac-theme .alert {
  border-radius: 8px;
  font-weight: 700;
}

.ifac-theme .alert-error,
.ifac-theme .alert-danger,
.ifac-theme .error-explanation {
  border-color: var(--ifac-error-border);
  color: #7a2e17;
  background: var(--ifac-error-bg);
}

.ifac-theme .alert-success {
  border-color: var(--ifac-success-border);
  color: var(--ifac-green-dark);
  background: var(--ifac-success-bg);
}

.ifac-theme .table {
  border-color: var(--ifac-border);
}

.ifac-theme .table thead th {
  color: var(--ifac-muted);
  background: var(--ifac-surface);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.ifac-theme .hero {
  border-bottom: 1px solid var(--ifac-border);
  background:
    linear-gradient(90deg, rgba(237, 242, 239, 0.96), rgba(237, 242, 239, 0.82)),
    radial-gradient(circle at 80% 15%, rgba(157, 93, 46, 0.18), transparent 28%),
    linear-gradient(135deg, #f7faf8 0%, #e6efea 100%);
}

.ifac-theme .ifac-policy-page {
  max-width: 960px;
  margin: 0 auto;
}

.ifac-theme .ifac-policy-page .module-content {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.ifac-theme .ifac-policy-page .ifac-eyebrow,
.ifac-theme .ifac-policy-page .page-heading,
.ifac-theme .ifac-policy-page p {
  margin: 0;
}

.ifac-theme .ifac-policy-intro {
  max-width: 780px;
  color: var(--ifac-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

.ifac-theme .ifac-policy-page section {
  border-top: 1px solid var(--ifac-border);
  padding-top: 1.25rem;
}

.ifac-theme .ifac-policy-page h2 {
  margin: 0 0 0.45rem;
  color: var(--ifac-green-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.ifac-theme .ifac-policy-page section p {
  max-width: 820px;
  color: var(--ifac-muted);
  font-size: 1rem;
}

.ifac-theme .ifac-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ifac-theme .ifac-contact-card {
  display: grid;
  align-content: start;
  min-height: 190px;
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--ifac-surface);
}

.ifac-theme .ifac-policy-page .ifac-contact-card {
  border-top: 1px solid var(--ifac-border);
  padding-top: 1rem;
}

.ifac-theme .ifac-contact-status {
  margin: 0;
}

.ifac-theme .ifac-contact-form-section {
  border: 1px solid var(--ifac-border);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--ifac-paper);
}

.ifac-theme .ifac-policy-page .ifac-contact-form-section {
  border-top: 1px solid var(--ifac-border);
  padding-top: clamp(1rem, 3vw, 1.5rem);
}

.ifac-theme .ifac-contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.ifac-theme .ifac-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ifac-theme .ifac-contact-form label {
  color: var(--ifac-muted);
  font-weight: 800;
}

.ifac-theme .ifac-contact-form textarea {
  min-height: 12rem;
  resize: vertical;
}

.ifac-theme .ifac-contact-form .error-block {
  display: block;
  margin-top: 0.35rem;
  color: #7a2e17;
  font-size: 0.9rem;
  font-weight: 700;
}

.ifac-theme .site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--ifac-border);
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  color: var(--ifac-ink);
  background: var(--ifac-paper);
}

.ifac-theme .ifac-footer-inner {
  display: flex;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
}

.ifac-theme .ifac-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: center;
}

.ifac-theme .ifac-footer-nav a {
  color: var(--ifac-green-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.ifac-theme .ifac-footer-nav a:hover,
.ifac-theme .ifac-footer-nav a:focus {
  color: var(--ifac-green);
}

.ifac-theme .ifac-footer-copy {
  margin: 0;
  color: var(--ifac-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 991.98px) {
  .ifac-theme .masthead {
    position: static;
  }

  .ifac-theme .ifac-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ifac-theme .ifac-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ifac-theme .ifac-recent-meta {
    grid-template-columns: 1fr;
  }

  .ifac-theme .masthead .main-navbar {
    align-items: stretch;
    padding: 0.75rem 0 0;
  }

  .ifac-theme .masthead .navbar-nav {
    align-items: stretch;
  }

  .ifac-theme .masthead .site-search {
    margin: 0.75rem 0 0;
  }
}

@media (max-width: 767.98px) {
  .ifac-theme .account-masthead .account ul {
    justify-content: flex-start;
  }

  .ifac-theme .ifac-home-hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .ifac-theme .ifac-home-search-row {
    grid-template-columns: 1fr;
  }

  .ifac-theme .ifac-home-search-row .btn {
    width: 100%;
  }

  .ifac-theme .ifac-section-heading {
    display: grid;
    align-items: start;
  }

  .ifac-theme .ifac-section-heading .btn {
    width: 100%;
  }

  .ifac-theme .ifac-recent-grid {
    grid-template-columns: 1fr;
  }

  .ifac-theme .ifac-topic-grid,
  .ifac-theme .ifac-topic-card {
    grid-template-columns: 1fr;
  }

  .ifac-theme .ifac-contact-grid {
    grid-template-columns: 1fr;
  }

  .ifac-theme .ifac-form-grid {
    grid-template-columns: 1fr;
  }

  .ifac-theme .main {
    padding: 1rem 0;
  }

  .ifac-theme .wrapper {
    border-radius: 0;
  }

  .ifac-theme .module-content {
    padding: 1rem;
  }

  .ifac-theme .resource-item {
    padding-right: 1rem;
  }

  .ifac-theme .form-actions {
    justify-content: stretch;
  }

  .ifac-theme .form-actions .btn {
    width: 100%;
  }

  .ifac-theme .ifac-dataset-title-row {
    display: grid;
  }

  .ifac-theme .ifac-dcat-download,
  .ifac-theme .ifac-dcat-download summary {
    width: 100%;
  }

  .ifac-theme .ifac-dcat-download summary {
    justify-content: center;
  }

  .ifac-theme .ifac-dcat-download ul {
    position: static;
    margin-top: 0.45rem;
  }

  .ifac-theme .ifac-footer-inner {
    display: grid;
    justify-items: center;
  }
}

.alert-info {
    color: var(--ifac-paper);
    background-color: var(--ifac-green);;
    border: 1px solid var(--ifac-border);
}

/* new css */
Create:

.ifac-dataset-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.ifac-dataset-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: start;
}

.ifac-dataset-layout__header {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.ifac-dataset-layout__body {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.card,
.ifac-section,
.ifac-sidebar-card,
.ifac-dataset-hero,
.ifac-resource-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.04);
}

.ifac-dataset-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
}

.ifac-dataset-hero__main {
  flex: 1;
  min-width: 0;
}

.ifac-dataset-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}

.ifac-meta-line {
  display: inline-flex;
  gap: 8px;
  margin-right: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #475467;
}

.ifac-label {
  font-weight: 600;
  color: #344054;
}

.ifac-dataset-title {
  margin: 8px 0 12px;
  font-size: 2.1rem;
  line-height: 1.15;
  color: #101828;
}

.ifac-dataset-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475467;
  max-width: 900px;
}

.ifac-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ifac-tag-pill,
.ifac-format-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ifac-action-btn {
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}

.ifac-section {
  margin-bottom: 24px;
  padding: 0;
}

.ifac-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 12px;
  border-bottom: 1px solid #eef2f6;
}

.ifac-section__header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #101828;
}

.ifac-section-count {
  color: #667085;
  font-size: 14px;
}

.ifac-section__body {
  padding: 20px 22px 24px;
}

.ifac-resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ifac-resource-card {
  padding: 18px;
  margin-bottom: 2rem;
}

.ifac-resource-card__top {
  margin-bottom: 12px;
}

.ifac-resource-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.ifac-resource-title a {
  color: #101828;
  text-decoration: none;
}

.ifac-resource-title a:hover {
  color: #175cd3;
  text-decoration: underline;
}

.ifac-resource-description {
  margin: 0 0 14px;
  color: #475467;
  line-height: 1.6;
}

.ifac-resource-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.ifac-resource-meta div {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
}

.ifac-resource-meta dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  text-transform: uppercase;
}

.ifac-resource-meta dd {
  margin: 0;
  color: #101828;
  font-size: 14px;
}

.ifac-resource-card__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.ifac-dataset-sidebar {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
}

.ifac-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ifac-sidebar-card {
  padding: 18px;
  margin-bottom: 2rem;
}

.ifac-sidebar-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #101828;
}

.ifac-sidebar-meta {
  margin: 0;
}

.ifac-sidebar-meta div {
  padding: 10px 0;
  border-top: 1px solid #eef2f6;
}

.ifac-sidebar-meta div:first-child {
  border-top: 0;
  padding-top: 0;
}

.ifac-sidebar-meta dt {
  margin: 0 0 4px;
  font-size: 12px;
  color: #667085;
  font-weight: 700;
  text-transform: uppercase;
}

.ifac-sidebar-meta dd {
  margin: 0;
  color: #101828;
  line-height: 1.5;
  word-break: break-word;
}

.ifac-sidebar-text,
.ifac-citation-box {
  color: #475467;
  line-height: 1.6;
}

.ifac-citation-box {
  padding: 12px;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 12px;
}

.ifac-copy-btn {
  width: 100%;
}

.ifac-empty-state {
  padding: 14px 0;
  color: #667085;
}

.prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .ifac-dataset-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .ifac-dataset-layout__header {
    grid-column: 1;
    grid-row: 1;
  }

  .ifac-dataset-layout__body {
    grid-column: 1;
    grid-row: 2;
  }

  .ifac-dataset-sidebar {
    grid-column: 1;
    grid-row: 3;
    position: static;
  }

  .ifac-dataset-hero {
    flex-direction: column;
  }

  .ifac-dataset-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .ifac-dataset-page {
    padding: 16px 10px 32px;
  }

  .ifac-dataset-title {
    font-size: 1.7rem;
  }

  .ifac-section__body,
  .ifac-section__header,
  .ifac-dataset-hero,
  .ifac-sidebar-card,
  .ifac-resource-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.table.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #f8fafc;
  box-shadow: none;
}

/* scheming */
a.btn.btn-multiple-remove {
  top: 2px;
}