:root {
  --op-brand-950: #071d04;
  --op-brand-900: #0b2a06;
  --op-brand-800: #123d0c;
  --op-brand-700: #1b5313;
  --op-brand-100: #e8f2e5;
  --op-brand-050: #f5f8f4;

  --op-text: #172015;
  --op-text-muted: #647062;
  --op-border: #dce4d9;
  --op-background: #ffffff;
  --op-background-muted: #f5f7f4;

  --op-shell-padding: clamp(20px, 4.5vw, 84px);
  --op-radius-sm: 8px;
  --op-radius-md: 14px;
  --op-radius-lg: 24px;
  --op-shadow: 0 12px 35px rgba(11, 42, 6, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  color: var(--op-text);
  background: var(--op-background);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: var(--op-brand-800);
}

a:hover,
a:focus {
  color: var(--op-brand-900);
}

.container,
.op-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: var(--op-shell-padding);
  padding-right: var(--op-shell-padding);
}

.main,
[role="main"] {
  background: #ffffff;
}

.btn-primary {
  background-color: var(--op-brand-900);
  border-color: var(--op-brand-900);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--op-brand-800);
  border-color: var(--op-brand-800);
}


/* Gornja službena traka */

.op-govbar {
  color: #40503d;
  background: var(--op-brand-050);
  border-bottom: 1px solid var(--op-border);
  font-size: 0.82rem;
}

.op-govbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.op-govbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.op-govbar a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}


/* Header */

.op-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--op-border);
}

.op-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
}

.op-brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--op-text);
  text-decoration: none;
}

.op-brand:hover {
  color: var(--op-text);
  text-decoration: none;
}

.op-brand img {
  width: auto;
  max-width: 250px;
  max-height: 58px;
  object-fit: contain;
}

.op-brand__mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--op-brand-900);
  border-radius: 12px;
  font-size: 1.2rem;
}

.op-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.op-brand__text strong {
  font-size: 1.05rem;
}

.op-brand__text small {
  margin-top: 4px;
  color: var(--op-text-muted);
  font-size: 0.78rem;
}

.op-header__spacer {
  min-width: 20px;
}

.op-header-search {
  width: min(100%, 650px);
  justify-self: center;
  position: relative;
}

.op-header-search > i {
  position: absolute;
  top: 50%;
  left: 17px;
  transform: translateY(-50%);
  color: #71806e;
}

.op-header-search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 46px;
  color: var(--op-text);
  background: #f3f6f2;
  border: 1px solid transparent;
  border-radius: 10px;
  outline: none;
}

.op-header-search input:focus {
  background: #ffffff;
  border-color: var(--op-brand-700);
  box-shadow: 0 0 0 3px rgba(27, 83, 19, 0.12);
}

.op-desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.op-desktop-nav > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  color: var(--op-text);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.op-desktop-nav > a:hover,
.op-desktop-nav > a:focus {
  color: var(--op-brand-900);
  background: var(--op-brand-050);
}

.op-desktop-nav .op-nav-cta {
  margin-left: 7px;
  padding-left: 15px;
  padding-right: 15px;
  color: #ffffff;
  background: var(--op-brand-900);
}

.op-desktop-nav .op-nav-cta:hover,
.op-desktop-nav .op-nav-cta:focus {
  color: #ffffff;
  background: var(--op-brand-800);
}

.op-nav-account {
  color: var(--op-brand-800) !important;
}

.op-mobile-nav {
  display: none;
}


/* Hero */

.op-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(69, 133, 57, 0.2),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f7faf6 0%,
      #edf5ea 58%,
      #e4f0e0 100%
    );
  border-bottom: 1px solid var(--op-border);
}

.op-hero__inner {
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  padding-top: 70px;
  padding-bottom: 74px;
}

.op-hero__content {
  max-width: 840px;
}

.op-eyebrow {
  margin: 0 0 12px;
  color: var(--op-brand-700);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.op-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--op-brand-950);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.op-hero__description {
  max-width: 710px;
  margin: 24px 0 0;
  color: #536150;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.op-hero-search {
  max-width: 760px;
  height: 66px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(11, 42, 6, 0.16);
  border-radius: 14px;
  box-shadow: var(--op-shadow);
}

.op-hero-search > i {
  position: absolute;
  left: 22px;
  color: #647461;
  font-size: 1.05rem;
}

.op-hero-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 18px 0 54px;
  color: var(--op-text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1.02rem;
}

.op-hero-search button {
  height: 48px;
  margin-right: 8px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--op-brand-900);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
}

.op-topic-chips {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.op-topic-chips > span {
  color: var(--op-text-muted);
  font-size: 0.84rem;
}

.op-topic-chips a {
  padding: 7px 12px;
  color: var(--op-brand-800);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 42, 6, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.op-topic-chips a:hover {
  background: #ffffff;
}

.op-hero__graphic {
  min-height: 390px;
  position: relative;
}

.op-data-graphic {
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 90px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  color: #ffffff;
  background: var(--op-brand-900);
  border-radius: 50%;
  box-shadow: 0 25px 55px rgba(11, 42, 6, 0.22);
  font-size: 4rem;
}

.op-data-orbit {
  position: absolute;
  left: 50%;
  border: 1px dashed rgba(11, 42, 6, 0.22);
  border-radius: 50%;
  transform: translateX(-50%);
}

.op-data-orbit--one {
  width: 300px;
  height: 300px;
  top: 35px;
}

.op-data-orbit--two {
  width: 390px;
  height: 390px;
  top: -10px;
}

.op-data-card {
  min-width: 72px;
  padding: 13px 17px;
  position: absolute;
  z-index: 4;
  color: var(--op-brand-900);
  background: #ffffff;
  border: 1px solid rgba(11, 42, 6, 0.12);
  border-radius: 12px;
  box-shadow: var(--op-shadow);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.op-data-card--csv {
  top: 35px;
  left: 10%;
}

.op-data-card--api {
  top: 62px;
  right: 4%;
}

.op-data-card--gis {
  bottom: 36px;
  left: 17%;
}


/* Opće sekcije */

.op-section {
  padding-top: 78px;
  padding-bottom: 82px;
}

.op-section--muted {
  background: var(--op-background-muted);
}

.op-section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.op-section-heading h2,
.op-suggest h2,
.op-static-page h1 {
  margin: 0;
  color: var(--op-brand-950);
  font-weight: 740;
  letter-spacing: -0.035em;
}

.op-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.op-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--op-brand-800);
  font-weight: 700;
  text-decoration: none;
}


/* Kategorije */

.op-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.op-category-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  color: var(--op-text);
  background: #ffffff;
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-md);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.op-category-card:hover {
  color: var(--op-text);
  border-color: #b8cbb3;
  box-shadow: var(--op-shadow);
  transform: translateY(-3px);
}

.op-category-card__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--op-brand-800);
  background: var(--op-brand-100);
  border-radius: 13px;
  font-size: 1.2rem;
}

.op-category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px;
}

.op-category-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.op-category-card__body strong {
  overflow: hidden;
  font-size: 0.96rem;
  text-overflow: ellipsis;
}

.op-category-card__body small {
  color: var(--op-text-muted);
  font-size: 0.78rem;
}

.op-category-card__arrow {
  color: #879583;
}


/* Dataset kartice */

.op-dataset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.op-dataset-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: #ffffff;
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-md);
}

.op-dataset-card__meta {
  min-height: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--op-text-muted);
  font-size: 0.74rem;
}

.op-dataset-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.op-dataset-card h3 {
  margin: 20px 0 12px;
  font-size: 1.16rem;
  font-weight: 720;
  line-height: 1.35;
}

.op-dataset-card h3 a {
  color: var(--op-brand-950);
  text-decoration: none;
}

.op-dataset-card p {
  margin: 0;
  color: var(--op-text-muted);
  line-height: 1.6;
}

.op-dataset-card__footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.op-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.op-format-list span {
  padding: 5px 8px;
  color: var(--op-brand-800);
  background: var(--op-brand-100);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 750;
}

.op-card-link {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--op-brand-800);
  background: var(--op-brand-050);
  border-radius: 50%;
}


/* Organizacije */

.op-organization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.op-organization-card {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--op-text);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-md);
  text-decoration: none;
}

.op-organization-card:hover {
  color: var(--op-text);
  border-color: #b8cbb3;
  box-shadow: var(--op-shadow);
}

.op-organization-card__logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--op-brand-800);
  background: var(--op-brand-100);
  border-radius: 11px;
}

.op-organization-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.op-organization-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.op-organization-card small {
  color: var(--op-text-muted);
}


/* Statistika */

.op-statistics {
  color: #ffffff;
  background: var(--op-brand-900);
}

.op-statistics__grid {
  min-height: 190px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.op-statistics__grid > div {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px clamp(20px, 3vw, 50px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.op-statistics__grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.op-statistics strong {
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  letter-spacing: -0.04em;
}

.op-statistics span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}


/* Prijedlog skupa */

.op-suggest {
  padding: 70px 0;
  background: var(--op-brand-100);
}

.op-suggest__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.op-suggest h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.op-suggest p:not(.op-eyebrow) {
  max-width: 690px;
  margin: 14px 0 0;
  color: #52624f;
  line-height: 1.65;
}

.op-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.op-button--light {
  color: #ffffff;
  background: var(--op-brand-900);
}

.op-button--light:hover {
  color: #ffffff;
  background: var(--op-brand-800);
}


/* Footer */

.op-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--op-brand-950);
}

.op-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(32px, 6vw, 90px);
  padding-top: 62px;
  padding-bottom: 58px;
}

.op-footer__brand > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.op-footer__brand > a > span:last-child {
  display: flex;
  flex-direction: column;
}

.op-footer__brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
}

.op-footer__brand p {
  max-width: 440px;
  margin: 24px 0 0;
  line-height: 1.7;
}

.op-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.op-footer__column h2 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.op-footer__column a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.op-footer__column a:hover {
  color: #ffffff;
}

.op-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.op-footer__bottom-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.78rem;
}

.op-footer__language {
  display: flex;
  align-items: center;
  gap: 9px;
}

.op-footer__language form,
.op-footer__language .form-select,
.op-footer__language select {
  margin: 0;
}


/* Statičke stranice */

.op-static-page {
  min-height: 600px;
  padding: 70px 0 90px;
  background: var(--op-background-muted);
}

.op-static-page__inner {
  max-width: 1250px;
}

.op-static-page__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.op-static-page h1 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.op-static-page__header > p:last-child {
  margin: 18px 0 0;
  color: var(--op-text-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.op-help-grid,
.op-contact-grid {
  display: grid;
  gap: 18px;
}

.op-help-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-help-grid article,
.op-contact-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-md);
}

.op-help-grid article > span,
.op-contact-card > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--op-brand-800);
  background: var(--op-brand-100);
  border-radius: 11px;
}

.op-help-grid h2 {
  margin: 20px 0 10px;
  color: var(--op-brand-950);
  font-size: 1.15rem;
}

.op-help-grid p {
  margin: 0;
  color: var(--op-text-muted);
  line-height: 1.65;
}

.op-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--op-text);
  text-decoration: none;
}

.op-contact-card:hover {
  color: var(--op-text);
  border-color: #b8cbb3;
  box-shadow: var(--op-shadow);
}

.op-contact-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.op-contact-card small {
  color: var(--op-text-muted);
}

.op-contact-card strong {
  overflow-wrap: anywhere;
}


/* Prazno stanje */

.op-empty-state {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  color: var(--op-text-muted);
  border: 1px dashed #bcc9b8;
  border-radius: var(--op-radius-md);
  text-align: center;
}

.op-empty-state i {
  color: var(--op-brand-700);
  font-size: 1.8rem;
}


/* Responsive */

@media (max-width: 1350px) {
  .op-desktop-nav > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.82rem;
  }

  .op-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .op-header__inner {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 20px;
  }

  .op-desktop-nav {
    display: none;
  }

  .op-mobile-nav {
    display: block;
    position: relative;
  }

  .op-mobile-nav summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: var(--op-brand-900);
    background: var(--op-brand-050);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
  }

  .op-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .op-mobile-nav__panel {
    width: min(320px, calc(100vw - 40px));
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--op-border);
    border-radius: 12px;
    box-shadow: var(--op-shadow);
  }

  .op-mobile-nav__panel a {
    padding: 11px 12px;
    color: var(--op-text);
    border-radius: 7px;
    font-weight: 650;
    text-decoration: none;
  }

  .op-mobile-nav__panel a:hover {
    background: var(--op-brand-050);
  }

  .op-mobile-nav__panel .op-mobile-nav__cta {
    margin-top: 5px;
    color: #ffffff;
    background: var(--op-brand-900);
  }

  .op-hero__inner {
    grid-template-columns: 1fr;
  }

  .op-hero__graphic {
    display: none;
  }

  .op-dataset-grid,
  .op-organization-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --op-shell-padding: 18px;
  }

  .op-govbar__inner {
    justify-content: center;
  }

  .op-govbar a {
    display: none;
  }

  .op-header__inner {
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .op-header-search,
  .op-header__spacer {
    display: none;
  }

  .op-brand {
    min-width: 0;
  }

  .op-brand img {
    max-width: 190px;
    max-height: 48px;
  }

  .op-hero__inner {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 62px;
  }

  .op-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .op-hero-search {
    height: auto;
    min-height: 62px;
    flex-wrap: wrap;
    padding: 8px;
  }

  .op-hero-search > i {
    left: 21px;
    top: 31px;
  }

  .op-hero-search input {
    min-height: 46px;
    padding-left: 46px;
  }

  .op-hero-search button {
    width: 100%;
    margin: 4px 0 0;
  }

  .op-topic-chips > span {
    width: 100%;
  }

  .op-section {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .op-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .op-category-grid,
  .op-dataset-grid,
  .op-organization-grid,
  .op-help-grid,
  .op-contact-grid,
  .op-statistics__grid {
    grid-template-columns: 1fr;
  }

  .op-statistics__grid {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .op-statistics__grid > div,
  .op-statistics__grid > div:first-child {
    min-height: 95px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .op-statistics__grid > div:first-child {
    border-top: 0;
  }

  .op-suggest__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .op-footer__grid {
    grid-template-columns: 1fr;
  }

  .op-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }
}


/* REVISION: HOMEPAGE LAYOUT V3 */

:root {
  --op-content-width: 80vw;
  --op-accent: #34752a;
  --op-accent-hover: #285e20;
  --op-heading-size: clamp(2rem, 3vw, 3rem);
}


/* =========================================================
   ŠIRINA SADRŽAJA
   ========================================================= */

.container,
.op-shell {
  width: var(--op-content-width);
  max-width: 1540px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}


/* =========================================================
   HERO: BIJELA DOMINIRA
   ========================================================= */

.op-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 22%,
      rgba(120, 173, 108, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 70%,
      rgba(47, 107, 37, 0.11),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fbfdfb 38%,
      #f4f9f2 72%,
      #ffffff 100%
    );
}


/*
 * Dva lagana sloja animiranih tačaka.
 * Nema JavaScripta.
 */

.op-hero::before,
.op-hero::after,
.op-hero__particles {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.op-hero::before {
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  opacity: 0.32;
  background-image:
    radial-gradient(
      circle,
      rgba(47, 107, 37, 0.34) 0 2px,
      transparent 2.8px
    );
  background-size: 95px 95px;
  animation: op-particles-drift-one 34s linear infinite;
}

.op-hero::after {
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  opacity: 0.2;
  background-image:
    radial-gradient(
      circle,
      rgba(11, 42, 6, 0.3) 0 1.4px,
      transparent 2.3px
    );
  background-size: 145px 145px;
  background-position: 42px 31px;
  animation: op-particles-drift-two 46s linear infinite;
}

.op-hero__particles {
  width: 480px;
  height: 480px;
  right: 7%;
  bottom: -190px;
  opacity: 0.34;
  background:
    radial-gradient(
      circle,
      rgba(73, 139, 60, 0.2),
      transparent 68%
    );
  border-radius: 50%;
  animation: op-particles-pulse 9s ease-in-out infinite;
}

@keyframes op-particles-drift-one {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(95px, 95px, 0);
  }
}

@keyframes op-particles-drift-two {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(-145px, 145px, 0) rotate(2deg);
  }
}

@keyframes op-particles-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.25;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.42;
  }
}


/* Poštuj sistemsku postavku smanjene animacije. */

@media (prefers-reduced-motion: reduce) {
  .op-hero::before,
  .op-hero::after,
  .op-hero__particles {
    animation: none;
  }
}


.op-hero__inner {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 150px;
  padding-bottom: 80px;
}

.op-hero__content--centered {
  width: min(100%, 920px);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.op-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.7rem, 4.6vw, 4.65rem);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.op-hero__title-main,
.op-hero__title-location {
  display: block;
}

.op-hero__title-main {
  color: var(--op-brand-950);
}

.op-hero__title-location {
  margin-top: 6px;
  color: #566052;
}

.op-hero__description {
  max-width: 750px;
  margin: 25px auto 0;
  color: #667063;
}

.op-hero-search {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.op-hero-search button,
.op-button--light,
.btn-primary {
  color: #ffffff;
  background: var(--op-accent);
  border-color: var(--op-accent);
}

.op-hero-search button:hover,
.op-hero-search button:focus,
.op-button--light:hover,
.op-button--light:focus,
.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff;
  background: var(--op-accent-hover);
  border-color: var(--op-accent-hover);
}

.op-topic-chips {
  max-width: 900px;
  margin: 25px auto 0;
  justify-content: center;
}

.op-topic-chips a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
}

.op-topic-chips__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--op-accent);
  background: #e8f2e5;
  border-radius: 50%;
  font-size: 0.72rem;
}

.op-topic-chips__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}


/* =========================================================
   STATISTIČKA REČENICA
   ========================================================= */

.op-home-summary {
  padding: 38px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--op-border);
}

.op-home-summary p {
  max-width: 1000px;
  margin: 0 auto;
  color: #596455;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  text-align: center;
}

.op-home-summary strong {
  color: var(--op-brand-900);
  font-size: 1.12em;
  font-weight: 800;
}


/* =========================================================
   STANDARDIZIRANI NASLOVI SEKCIJA
   ========================================================= */

.op-section {
  padding-top: 100px;
  padding-bottom: 105px;
}

.op-section-heading--centered {
  max-width: 780px;
  margin: 0 auto 46px;
  display: block;
  text-align: center;
}

.op-section-heading--centered h2 {
  margin: 0;
  color: var(--op-brand-950);
  font-size: var(--op-heading-size);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.op-section-heading__description {
  max-width: 680px;
  margin: 15px auto 0;
  color: var(--op-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.op-section-action {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.op-outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 21px;
  color: var(--op-brand-900);
  background: #ffffff;
  border: 1px solid #b9c8b5;
  border-radius: 10px;
  font-weight: 720;
  text-decoration: none;
}

.op-outline-button:hover,
.op-outline-button:focus {
  color: #ffffff;
  background: var(--op-accent);
  border-color: var(--op-accent);
  text-decoration: none;
}


/* =========================================================
   ORGANIZACIJE
   ========================================================= */

.op-section--organizations {
  background: #ffffff;
}

.op-organization-grid--centered {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.op-organization-card--vertical {
  width: 210px;
  min-height: 210px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  gap: 13px;
  padding: 26px 20px 22px;
  text-align: center;
}

.op-organization-card--vertical .op-organization-card__logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  margin-bottom: 5px;
  border-radius: 16px;
}

.op-organization-card--vertical strong {
  color: var(--op-brand-950);
  font-size: 0.94rem;
  line-height: 1.4;
}

.op-organization-card--vertical small {
  margin-top: auto;
  color: var(--op-text-muted);
  font-size: 0.76rem;
}


/* =========================================================
   DATASETI
   ========================================================= */

.op-section--datasets {
  background: #ffffff;
}

.op-dataset-grid {
  align-items: stretch;
}

.op-dataset-card--clickable {
  color: var(--op-text);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.op-dataset-card--clickable:hover,
.op-dataset-card--clickable:focus {
  color: var(--op-text);
  border-color: #b5c8b0;
  box-shadow: var(--op-shadow);
  outline: none;
  text-decoration: none;
  transform: translateY(-4px);
}

.op-dataset-card--clickable h3 {
  color: var(--op-brand-950);
}

.op-dataset-card--clickable:hover h3 {
  color: var(--op-accent);
}


/* =========================================================
   KATEGORIJE
   ========================================================= */

.op-section--categories {
  background: #ffffff;
  border-top: 1px solid #edf1eb;
}

.op-category-grid--centered {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.op-category-grid--centered .op-category-card {
  width: min(100%, 330px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.op-footer__grid {
  min-height: 370px;
  align-content: center;
  padding-top: 82px;
  padding-bottom: 82px;
}

.op-footer__address {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.op-footer__address i {
  margin-top: 3px;
}

.op-footer__bottom-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.op-footer__ckan {
  justify-self: start;
}

.op-footer__copyright {
  justify-self: center;
}

.op-footer__language {
  justify-self: end;
}

.op-footer__language > span {
  display: none;
}

.op-footer__language label {
  margin: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  :root {
    --op-content-width: 90vw;
  }
}

@media (max-width: 760px) {
  :root {
    --op-content-width: calc(100vw - 36px);
  }

  .op-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .op-hero__inner {
    padding-top: 145px;
    padding-bottom: 60px;
  }

  .op-section {
    padding-top: 75px;
    padding-bottom: 78px;
  }

  .op-organization-card--vertical {
    width: min(100%, 260px);
  }

  .op-footer__grid {
    min-height: auto;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .op-footer__bottom-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .op-footer__ckan,
  .op-footer__copyright,
  .op-footer__language {
    justify-self: auto;
  }
}


/* REVISION: DATA UNIVERSE HERO V4 */


/* =========================================================
   HEADER PREKO HERO SEKCIJE
   ========================================================= */

.op-home-header-stack:not(.op-home-header-stack--inner) {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
}

.op-govbar--home,
.op-header--home {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.op-govbar--home {
  border-bottom:
    1px solid rgba(11, 42, 6, 0.08) !important;
}

.op-header--home .op-desktop-nav > a,
.op-govbar--home .op-govbar__label,
.op-govbar--home .op-govbar__actions a {
  color: var(--op-brand-900);
}

.op-govbar__actions {
  display: flex;
  align-items: center;
  column-gap: 30px;
}

.op-govbar__actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
}


/* =========================================================
   HERO – 80 VH UKLJUČUJUĆI HEADER
   ========================================================= */

.op-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at -4% 94%,
      rgba(81, 143, 68, 0.14) 0%,
      rgba(81, 143, 68, 0.08) 19%,
      transparent 43%
    ),
    radial-gradient(
      ellipse at 104% 10%,
      rgba(47, 107, 37, 0.11) 0%,
      rgba(47, 107, 37, 0.05) 18%,
      transparent 39%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #ffffff 48%,
      #fbfdfb 76%,
      #f7faf6 100%
    );
}


/*
 * Isključujemo prethodne tačkaste slojeve.
 * Nova scena koristi konkretne simbole podataka.
 */

.op-hero::before,
.op-hero::after,
.op-hero__particles {
  display: none !important;
}

.op-hero__inner {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  padding-top: 132px;
  padding-bottom: 45px;
}

.op-hero__content--centered {
  width: min(100%, 850px);
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  text-align: center;
}

.op-hero h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 3.9vw, 3.95rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.op-hero__title-main {
  color: var(--op-brand-950);
}

.op-hero__title-location {
  margin-top: 5px;
  color: #677065;
}

.op-hero__description {
  max-width: 710px;
  margin-top: 22px;
  color: #687166;
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
}

.op-hero-search {
  margin-top: 28px;
}


/* =========================================================
   ANIMIRANI DATA UNIVERSE
   ========================================================= */

.op-data-universe {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}


/* Blagi zeleni oblici zauzimaju samo rubove hero sekcije. */

.op-data-universe::before,
.op-data-universe::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.op-data-universe::before {
  width: min(38vw, 600px);
  height: min(38vw, 600px);
  left: -15%;
  bottom: -39%;
  background:
    radial-gradient(
      circle,
      rgba(63, 126, 51, 0.16),
      rgba(63, 126, 51, 0.06) 48%,
      transparent 72%
    );
  animation:
    op-data-blob-one 11s ease-in-out infinite;
}

.op-data-universe::after {
  width: min(32vw, 500px);
  height: min(32vw, 500px);
  top: -28%;
  right: -10%;
  background:
    radial-gradient(
      circle,
      rgba(111, 164, 100, 0.15),
      rgba(111, 164, 100, 0.05) 48%,
      transparent 72%
    );
  animation:
    op-data-blob-two 13s ease-in-out infinite;
}


/* Kružne putanje predstavljaju protok i razmjenu podataka. */

.op-data-ring {
  position: absolute;
  top: 55%;
  left: 50%;
  border:
    1px dashed rgba(47, 107, 37, 0.14);
  border-radius: 50%;
}

.op-data-ring--one {
  width: min(78vw, 1150px);
  height: 330px;
  animation:
    op-data-ring-one 42s linear infinite;
}

.op-data-ring--two {
  width: min(63vw, 920px);
  height: 245px;
  border-color: rgba(47, 107, 37, 0.1);
  animation:
    op-data-ring-two 50s linear infinite;
}

.op-data-ring--three {
  width: min(48vw, 700px);
  height: 180px;
  border-style: solid;
  border-color: rgba(47, 107, 37, 0.06);
  animation:
    op-data-ring-three 34s linear infinite;
}


/* Simboli otvorenih podataka. */

.op-data-node {
  min-width: 68px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  color: #306529;
  background: rgba(255, 255, 255, 0.9);
  border:
    1px solid rgba(47, 107, 37, 0.14);
  border-radius: 17px;
  box-shadow:
    0 14px 38px rgba(11, 42, 6, 0.08);
  backdrop-filter: blur(8px);
}

.op-data-node i {
  font-size: 1.05rem;
}

.op-data-node small {
  color: #647060;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.op-data-node--csv {
  top: 31%;
  left: 6%;
  animation:
    op-data-float-one 7s ease-in-out infinite;
}

.op-data-node--json {
  top: 61%;
  left: 14%;
  animation:
    op-data-float-two 8.5s ease-in-out infinite;
}

.op-data-node--api {
  top: 25%;
  right: 9%;
  animation:
    op-data-float-two 7.5s ease-in-out -2s infinite;
}

.op-data-node--gis {
  right: 16%;
  bottom: 15%;
  animation:
    op-data-float-one 9s ease-in-out -3s infinite;
}

.op-data-node--chart {
  top: 48%;
  right: 3%;
  animation:
    op-data-float-three 8s ease-in-out -1s infinite;
}

.op-data-node--table {
  left: 3%;
  bottom: 12%;
  animation:
    op-data-float-three 9.5s ease-in-out -4s infinite;
}


/* Male tačke između kartica. */

.op-data-point {
  width: 7px;
  height: 7px;
  position: absolute;
  background: rgba(47, 107, 37, 0.34);
  border-radius: 50%;
  box-shadow:
    0 0 0 7px rgba(47, 107, 37, 0.05);
  animation:
    op-data-point-pulse 4s ease-in-out infinite;
}

.op-data-point--one {
  top: 24%;
  left: 27%;
}

.op-data-point--two {
  top: 38%;
  right: 25%;
  animation-delay: -1s;
}

.op-data-point--three {
  bottom: 19%;
  left: 31%;
  animation-delay: -2s;
}

.op-data-point--four {
  right: 31%;
  bottom: 25%;
  animation-delay: -3s;
}


@keyframes op-data-ring-one {
  from {
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}

@keyframes op-data-ring-two {
  from {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }
}

@keyframes op-data-ring-three {
  from {
    transform:
      translate(-50%, -50%)
      rotate(0deg)
      scale(0.97);
  }

  50% {
    transform:
      translate(-50%, -50%)
      rotate(180deg)
      scale(1.04);
  }

  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg)
      scale(0.97);
  }
}

@keyframes op-data-float-one {
  0%,
  100% {
    transform:
      translate3d(0, 0, 0)
      rotate(-2deg);
  }

  50% {
    transform:
      translate3d(10px, -17px, 0)
      rotate(3deg);
  }
}

@keyframes op-data-float-two {
  0%,
  100% {
    transform:
      translate3d(0, 0, 0)
      rotate(2deg);
  }

  50% {
    transform:
      translate3d(-12px, 15px, 0)
      rotate(-3deg);
  }
}

@keyframes op-data-float-three {
  0%,
  100% {
    transform:
      translate3d(0, 0, 0);
  }

  50% {
    transform:
      translate3d(7px, -12px, 0);
  }
}

@keyframes op-data-point-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.75);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.2);
  }
}

@keyframes op-data-blob-one {
  0%,
  100% {
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  50% {
    transform:
      translate3d(35px, -20px, 0)
      scale(1.08);
  }
}

@keyframes op-data-blob-two {
  0%,
  100% {
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  50% {
    transform:
      translate3d(-25px, 24px, 0)
      scale(1.1);
  }
}


/* =========================================================
   STATISTIKA KAO NA DATA.GOV.SG
   ========================================================= */

.op-home-summary {
  padding: 64px 0 32px;
  background: #ffffff;
  border: 0;
}

.op-home-summary p {
  max-width: 1000px;
  margin: 0 auto;
  color: #545d52;
  font-size: clamp(1.45rem, 2.25vw, 2.15rem);
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1.4;
  text-align: center;
}

.op-home-summary strong {
  color: #151a14;
  font-size: 1.08em;
  font-weight: 800;
}


/* =========================================================
   INSTITUCIJE
   ========================================================= */

.op-section--organizations {
  padding-top: 55px;
}


/* =========================================================
   SMANJENA ANIMACIJA
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .op-data-ring,
  .op-data-node,
  .op-data-point,
  .op-data-universe::before,
  .op-data-universe::after {
    animation: none !important;
  }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {
  .op-data-node {
    opacity: 0.72;
  }

  .op-data-node--csv,
  .op-data-node--table {
    left: 2%;
  }

  .op-data-node--api,
  .op-data-node--chart {
    right: 2%;
  }
}

@media (max-width: 850px) {
  .op-hero {
    min-height: 80vh;
  }

  .op-hero__inner {
    min-height: 80vh;
    padding-top: 135px;
  }

  .op-data-ring {
    opacity: 0.55;
  }

  .op-data-node {
    min-width: 54px;
    min-height: 54px;
    opacity: 0.48;
  }

  .op-data-node small {
    display: none;
  }

  .op-data-node--json,
  .op-data-node--chart,
  .op-data-node--table {
    display: none;
  }
}

@media (max-width: 600px) {
  .op-govbar__actions {
    column-gap: 18px;
  }

  .op-hero h1 {
    font-size: clamp(2.1rem, 9.8vw, 2.85rem);
  }

  .op-data-node--csv {
    top: 26%;
    left: -10px;
  }

  .op-data-node--api {
    top: 24%;
    right: -10px;
  }

  .op-data-node--gis {
    right: 2%;
    bottom: 11%;
  }

  .op-home-summary {
    padding-top: 45px;
  }

  .op-home-summary p {
    font-size: 1.35rem;
  }
}
.op-hero,
.op-hero__inner {
  min-height: 100vh;
}

.op-hero__description {
  color: #4f584d;
}
/* Sakrij naziv službenog portala na manjim ekranima */

@media (max-width: 900px) {
  .op-govbar__label {
    display: none !important;
  }

  .op-govbar__inner {
    justify-content: flex-end;
  }

