@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color: #111;
  background: #fff;
}

body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: Manrope, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  font-synthesis: none;
}

a {
  color: #1077b1;
}

.sheet {
  margin: 0;
  padding: 22px 28px 56px;
}

.logo {
  width: 108px;
  height: 54px;
  overflow: hidden;
}

.logo img {
  width: 148px;
  max-width: none;
  height: auto;
  margin: -14px 0 0 -12px;
  display: block;
}

header::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 12px;
  background: #8ac6ea;
}

.rule {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  margin: 0;
  padding: 10px 0 0;
  border-top: 0;
  font-size: 14px;
}

.rule a {
  color: #111;
  text-decoration: none;
}

.rule a[aria-current="page"] {
  color: #1077b1;
  font-weight: 600;
}

.rule a:has(+ .lang) {
  margin-left: auto;
}

.rule .lang::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 9px;
  margin-right: 6px;
  vertical-align: -1px;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}

html[lang="hr"] .rule .lang::before {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><rect width='60' height='30' fill='%23012169'/><path d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='8'/><path d='M0 0l60 30M60 0L0 30' stroke='%23c8102e' stroke-width='4'/><path d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='12'/><path d='M30 0v30M0 15h60' stroke='%23c8102e' stroke-width='6'/></svg>");
}

html[lang="en"] .rule .lang::before {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 10'><rect width='15' height='3.34' fill='%23e31b23'/><rect y='3.34' width='15' height='3.32' fill='%23fff'/><rect y='6.66' width='15' height='3.34' fill='%23171796'/><rect x='5.5' y='2.6' width='4' height='4.8' fill='%23e31b23'/><g fill='%23fff'><rect x='5.5' y='2.6' width='1.34' height='1.2'/><rect x='8.16' y='2.6' width='1.34' height='1.2'/><rect x='6.84' y='3.8' width='1.32' height='1.2'/><rect x='5.5' y='5' width='1.34' height='1.2'/><rect x='8.16' y='5' width='1.34' height='1.2'/><rect x='6.84' y='6.2' width='1.32' height='1.2'/></g></svg>");
}

.frame,
.home .band {
  display: grid;
  gap: 28px 36px;
  align-items: start;
  margin-top: 22px;
}

.has-side .frame {
  grid-template-columns: 210px minmax(0, 1fr);
}

.has-side.has-photos .frame {
  grid-template-columns: 210px minmax(0, 1fr) minmax(240px, 360px);
}

.has-photos:not(.has-side) .frame {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
}

.home .band {
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr) minmax(220px, 0.85fr);
}

.side > a {
  display: block;
  padding: 7px 0;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #e4e4e4;
}

.side > a[aria-current="page"] {
  width: fit-content;
  padding: 1px;
  background: lightskyblue;
  color: #111;
  font-weight: 600;
  border-bottom-color: #e4e4e4;
}

.side ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 6px 12px;
  border-bottom: 1px solid #e4e4e4;
}

.side li a {
  display: block;
  padding: 4px 0;
  color: #111;
  text-decoration: none;
  font-size: 13px;
}

.side li a[aria-current="page"] {
  width: fit-content;
  padding: 1px;
  background: #96C93E;
  color: #111;
  font-weight: 600;
}

.copy {
  min-width: 0;
  max-width: 1050px;
}

.crumbs {
  margin: 0 0 8px;
  font-size: 13px;
}

.crumb-top > .crumbs {
  margin: 10px 0 8px;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

.crumbs li {
  display: inline;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 0.4rem;
  color: #111;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 12px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #000;
  margin: 0 0 10px;
}

.sheet:not(.home) h2 {
  color: #111;
  font-size: 18px;
  display: block;
  background: none;
  padding: 0;
  margin: 1.75rem 0 0.6rem;
}

.sheet:not(.home) h2 .year {
  display: block;
}

h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #111;
  margin: 1.5rem 0 0.4rem;
}

h2 + h3 {
  margin-top: 0.35rem;
}

strong,
b {
  font-weight: 600;
}

.copy p,
.band section p,
.sheet > p {
  margin: 0 0 9px;
}

p.lede {
  font-weight: 600;
  margin: 0 0 9px;
}

.sheet td p,
.sheet th p {
  margin: 0;
}

.home h2 {
  color: #111;
  font-size: 18px;
  display: block;
  background: none;
  padding: 0;
}

.home h2 .year {
  display: block;
}

.home-note {
  width: auto;
}

.home figure.home-place,
.home .home-map figure {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.home figure.home-place {
  margin-top: 28px;
  margin-bottom: 16px;
}

.home .home-map figure {
  margin-top: 0;
  margin-bottom: 16px;
}

.home-note h2 {
  margin-top: 1rem;
}

.home-split {
  margin-top: 28px;
}

.home-split section + section {
  margin-top: 28px;
}

.home-split h2 {
  margin: 1.25rem 0 0.4rem;
}

.home-split h2:first-child {
  margin-top: 0;
}

.home-map {
  margin-top: 28px;
}

.next {
  margin-top: 1.2rem;
}

.quiet a {
  margin-right: 1rem;
}

.wide {
  max-width: 100%;
  overflow-x: auto;
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.7rem 0 1.2rem;
  font-size: 14px;
  background: #fff;
}

.sheet caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 6px 8px;
  color: #111;
  background: #8ac6ea;
}

.sheet th,
.sheet td {
  text-align: left;
  font-weight: 400;
  vertical-align: top;
  padding: 6px 8px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #111;
}

.sheet th {
  font-weight: 600;
  background: #8ac6ea;
}

table.plavaTablicaIntro tr:first-child td,
table.plavaTablicaIntro tr.NazivDrugaCol td {
  background: #8ac6ea;
  font-weight: 600;
}

table.spec td {
  border: 0;
  border-bottom: 1px solid #e4e4e4;
  background: #fff;
}

table.spec td.mainHead,
table.spec td.subHead {
  font-weight: 600;
}

table.spec td.mainHead {
  border-bottom: 1px solid #8ac6ea;
  padding-top: 16px;
}

table.spec td.subHead {
  padding-top: 12px;
}

table.spec td:first-child:not([colspan]) {
  width: 46%;
}

table.features,
table.features th,
table.features td,
table.dokumenti,
table.dokumenti td {
  border: 0;
  background: transparent;
  font-weight: 400;
}

table.features {
  width: auto;
}

table.features th {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid #e2e2e2;
}

ul.features {
  list-style: none;
  margin: 0.15rem 0 1.2rem;
  padding: 0;
}

ul.features li {
  font-weight: 400;
  padding: 5px 0;
  border-bottom: 1px solid #e2e2e2;
}

table.dokumenti {
  width: auto;
  margin: 0;
}

table.dokumenti td {
  padding: 4px 8px 4px 0;
}

.photos figure,
.home figure,
.sheet figure {
  margin: 0 0 16px;
}

.sheet img {
  max-width: 100%;
  height: auto;
}

.photos img,
.home figure img {
  width: 100%;
  display: block;
}

.sheet figcaption,
.credit {
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
  color: #222;
}

.sheet p img {
  max-width: min(100%, 920px);
}

.sheet input,
.sheet select,
.sheet textarea {
  font: inherit;
  color: #111;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #111;
  padding: 0.35rem 0;
  width: 100%;
  max-width: 28rem;
  box-sizing: border-box;
}

.sheet textarea {
  min-height: 8rem;
}

.sheet label {
  display: block;
  margin-top: 0.8rem;
}

.sheet input[type="submit"],
.sheet button {
  width: auto;
  margin-top: 1rem;
  padding: 0.35rem 0;
  color: #1077b1;
  background: transparent;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}

.sheet iframe {
  width: 100%;
  max-width: 920px;
  height: 450px;
  border: 0;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 2.5rem;
  padding-top: 12px;
  border-top: 4px solid #8ac6ea;
  font-size: 13px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.foot a {
  color: #111;
  text-decoration: none;
}

.foot p {
  margin: 0 0 0 auto;
  color: #111;
  text-align: right;
}

@media (max-width: 980px) {
  .has-side .frame,
  .has-side.has-photos .frame,
  .has-photos:not(.has-side) .frame,
  .home .band {
    grid-template-columns: 1fr;
  }

  .rule a:has(+ .lang) {
    margin-left: 0;
  }
}

.side-fold {
  position: relative;
  min-width: 0;
}

.sheet .side-toggle,
.sheet .side-label {
  display: none;
}

@media (max-width: 700px) {
  .sheet {
    padding: 22px 16px 56px;
  }

  .rule a {
    padding: 10px 0;
  }

  .sheet .side-toggle {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    max-width: none;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .sheet .side-label {
    display: block;
    margin: 0;
    padding: 12px 0;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #e4e4e4;
  }

  .side-label::before {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    margin-right: 8px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(-45deg);
    vertical-align: 0.1em;
  }

  .side-toggle:checked + .side-label::before {
    transform: rotate(45deg);
  }

  .side-toggle:focus-visible + .side-label {
    outline: 2px solid #1077b1;
    outline-offset: 2px;
  }

  .side-toggle:not(:checked) + .side-label + .side {
    display: none;
  }

  .side > a,
  .side li a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .side > a[aria-current="page"],
  .side li a[aria-current="page"] {
    padding: 8px 4px;
  }

  .sheet iframe {
    height: 280px;
  }

  table.spec {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  table.spec tbody {
    display: table;
    width: 100%;
  }

  table.spec td {
    overflow-wrap: anywhere;
  }

  table.plavaTablicaIntro,
  table.plavaTablicaIntro tbody,
  table.plavaTablicaIntro tr,
  table.plavaTablicaIntro td {
    display: block;
    width: auto;
  }

  table.plavaTablicaIntro tr:first-child,
  table.plavaTablicaIntro tr.NazivDrugaCol {
    display: none;
  }

  table.plavaTablicaIntro td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .foot p {
    flex-basis: 100%;
    margin: 8px 0 0;
    text-align: left;
  }
}
