/* Interior page frame */
.content-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 58px 20px;
  background: var(--white);
}

.content-wrap.news-page {
  max-width: none;
  min-height: 1271px;
  padding: 171px 0 70px;
  background: #f3f3f3;
}

.page-titlebar {
  display: grid;
  place-items: center;
  min-height: 192px;
  padding: 24px 20px;
  color: var(--white);
  background-color: var(--green);
  text-align: center;
}

.page-titlebar.is-tall {
  min-height: 192px;
  padding: 40px 20px 54px;
}

.news-titlebar {
  min-height: 192px;
}

.page-titlebar h1 {
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--white);
  font-size: 41px;
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-titlebar p,
.page-titlebar a {
  margin: 0;
  color: var(--white);
  font-size: 12px;
}


.archive-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.archive-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(1140px, 100%);
  margin: 0 auto;
}

.archive-card {
  display: flex;
  min-width: 0;
  padding: 10px;
  flex-direction: column;
}

.archive-card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.archive-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 20px 24px;
  background: var(--white);
}

.archive-card h2 {
  margin: 18px 0 22px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.archive-card h2 a {
  color: inherit;
}

.archive-card p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 14px;
  line-height: 21px;
}

.archive-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-links {
  display: flex;
  gap: 10px;
}

.share-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--green);
}

.share-links svg {
  width: 15px;
  height: 15px;
  fill: var(--white);
}

.archive-card .button {
  min-height: 44px;
  padding: 12px 10px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.partner-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 190px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.partner-card img {
  width: 150px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.consortium-page {
  text-align: center;
}

.consortium-content {
  padding: 9px 10px 35.5px;
}

.consortium-intro {
  max-width: none;
  margin: 0 10px 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 18.4px;
  text-align: left;
}

.page-content .consortium-logo {
  display: block;
  width: 336px;
  margin: 10px auto 77px;
}

.consortium-page .partner-grid {
  grid-template-columns: repeat(5, 200px);
  gap: 30px;
  padding: 0;
  background: transparent;
}

.consortium-page .partner-card {
  position: relative;
  height: 238px;
  min-height: 0;
  padding: 0 0 25px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.consortium-page .partner-card img {
  width: 203px;
  height: auto;
  max-height: 203px;
  margin: 0 auto 14px;
}

.consortium-page .partner-card:first-child img {
  width: 214px;
  height: 133px;
  object-fit: contain;
  margin-bottom: 19px;
}

.consortium-page .partner-card h3 {
  position: absolute;
  top: 151.6px;
  left: 30px;
  width: 140px;
  min-height: 61.2px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 20.4px;
  margin: 0 0 25px;
}

.prose {
  max-width: 850px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}

.prose a:not(.button) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.page-content {
  padding-top: 30px;
  margin-bottom: 20px;
  color: #000;
  font-size: 15px;
  line-height: 1.24;
  max-width: var(--content-max);
}

.page-content.consortium-content {
  padding: 9px 10px 35.5px;
}

.communication-materials {
  max-width: 850px;
  margin: 0 auto;
}

.communication-materials > p {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.6;
}

.material-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.material-download {
  display: flex;
  min-height: 132px;
  padding: 24px;
  border: 1px solid #d7d7d7;
  color: var(--ink);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.material-download:hover {
  border-color: var(--green);
  text-decoration: none;
}

.material-download strong {
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.material-download span {
  font-weight: 600;
}

.not-found {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.not-found > p:first-child {
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.6;
}

.not-found .button + .button {
  margin-left: 10px;
}

.not-found .button-secondary {
  border: 1px solid var(--green);
  background: var(--white);
  color: var(--green);
}

.not-found .button-secondary:hover {
  background: #f3f3f3;
}

.elementor-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.elementor-two-col + .elementor-two-col {
  margin-top: 70px;
}

.intro-with-map {
  margin: -30px -20px 0;
  padding: 44px 10px 60px;
  background: #f3f3f3;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 12px;
  line-height: 23px;
}

.intro-with-map > img,
.contacts-layout > img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.contacts-content {
  padding: 56px 31px 78.25px 10px;
  color: var(--muted);
  background: var(--white);
}

.contacts-content .contacts-layout {
  grid-template-columns: 365px 693px;
  gap: 41px;
  align-items: start;
}

.contacts-content h2 {
  margin: 0 0 60px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
}

.contacts-content h3 {
  margin: 54px 0 20px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
}

.contacts-content h3 + p + h3 {
  margin-top: 36px;
}

.contacts-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 18.4px;
}

.contacts-content .contacts-layout > img {
  width: 693px;
  max-width: 100%;
  max-height: none;
  margin: 0;
}

.about-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 34px;
}

.about-cards section {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  border-top: 2px solid var(--green);
  padding-top: 24px;
}

.about-cards figure {
  grid-row: 1 / span 2;
  margin: 0;
}

.about-cards img {
  width: 110px;
  max-height: 70px;
  object-fit: contain;
}

.about-content {
  padding: 0 20px;
}

.about-content .intro-with-map {
  grid-template-columns: 550px 550px;
  gap: 20px;
  min-height: 581px;
  margin: 0 -20px;
  padding: 30px 10px 116px;
}

.about-content .intro-with-map > img {
  width: 550px;
  max-height: none;
  margin: 10px 0 0;
}

.about-content .about-cards {
  grid-template-columns: 570px 570px;
  gap: 0;
  min-height: 310.8px;
  margin: 20px -20px 0;
  padding-top: 0;
}

.about-content .about-cards section {
  grid-template-columns: 123.5px minmax(0, 1fr);
  column-gap: 15px;
  padding: 10px 10px 0;
  border-top: 0;
}

.about-content .about-cards figure {
  margin: 0;
}

.about-content .about-cards img {
  width: 123.5px;
  max-height: none;
  margin: 0;
}

.about-content .about-cards h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 22.8px;
}

.about-content .about-cards p {
  margin: 0;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 12px;
  line-height: 20px;
}

.projects-content {
  padding: 170px 30px 52.4px;
  background: var(--soft);
}

.elementor-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 520px);
  justify-content: space-between;
  gap: 35px 40px;
}

.elementor-project-grid article {
  text-align: center;
}

.elementor-project-grid article > a {
  display: block;
  background: var(--white);
  color: var(--green);
  padding-bottom: 20px;
  text-decoration: none;
}

.page-content .elementor-project-grid img {
  display: block;
  width: 520px;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
}

.elementor-project-grid h2 {
  margin: 18px 0 0;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 19px;
}

.wg-hero {
  display: grid;
  justify-items: center;
  gap: 34px;
  padding: 0 0 70px;
  text-align: center;
}

.wg-hero img {
  width: min(100%, 1024px);
  height: auto;
}

.wg-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 48px;
  align-items: center;
  margin: 0 -40px;
  padding: 50px 40px;
  background: #f3f3f3;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}

.wg-intro > div {
  border-bottom: 1px solid #111;
  padding-bottom: 26px;
}

.wg-intro img {
  width: min(100%, 501px);
  margin: 0 auto;
}

.wg-detail {
  padding: 58px 0 10px;
  text-align: center;
}

.wg-detail h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.wg-detail p {
  margin: 0 0 45px;
}

.wg-content {
  padding: 59px 20px 0;
}

.wg-content .wg-hero {
  gap: 20px;
  padding: 0 0 150px;
}

.wg-content .wg-hero img {
  width: 768px;
  max-width: 100%;
  margin: 0;
}

.wg-content .wg-hero .button {
  display: inline-block;
  min-height: 44px;
  box-sizing: border-box;
  width: 138.6px;
  margin-top: 0;
  padding: 12px 24px;
  border-radius: 3px;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
}

.wg-content .wg-intro {
  grid-template-columns: 550px 501px;
  gap: 44.5px;
  align-items: start;
  margin: 0 -20px;
  padding: 0 10px;
  background: var(--white);
  color: var(--muted);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 18.4px;
}

.wg-content .wg-intro > div {
  padding-bottom: 0;
  border-bottom: 0;
}

.wg-content .wg-intro p {
  margin: 0 0 16px;
}

.wg-content .wg-intro p:first-child {
  letter-spacing: 0;
}

.wg-content .wg-intro img {
  width: 501px;
  margin: 0 auto;
}

.wg-content .wg-detail {
  margin: 0 -170px;
  padding: 130px 0 11px;
}

.wg-content .wg-detail h2 {
  margin: 0 0 50px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
}

.wg-content .wg-detail p {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto 26px;
  color: var(--muted);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 18.4px;
}

.prose h2,
.prose h3 {
  color: var(--green);
  line-height: 1.2;
}

.prose img {
  height: auto;
  margin: 1.5rem 0;
}

.contacts-content h2 {
  line-height: 32px;
}

.contacts-content h3 {
  line-height: 24px;
}

.detail-content {
  position: relative;
  max-width: var(--content-max);
  color: var(--muted);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.detail-content > h2:first-child {
  margin-top: 0;
  margin-bottom: 60px;
  text-align: left;
  line-height: 32px;
}

.detail-content > h2:first-child + h5 {
  clear: none;
  width: 540px;
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 40px;
  text-align: left;
}

.detail-content > img:first-of-type + h5 {
  margin-top: 44px;
}

.detail-content h2,
.detail-content h3,
.detail-content h5 {
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-weight: 400;
}

.detail-content h2 {
  font-size: 32px;
  line-height: 32px;
}

.detail-content h3 {
  margin: 20px 0 8px;
  font-size: 25px;
}

.detail-content h5 {
  clear: both;
  width: 1120px;
  margin: 44px 0 50px;
  margin-left: -10px;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
}

.detail-content p {
  margin: 0 0 1rem;
}

.detail-content > h2:first-child + h5 ~ p:nth-of-type(-n + 6) {
  width: 540px;
}

.detail-content > h2:first-child + h5 ~ p:nth-of-type(6) {
  min-height: 55.2px;
}

.detail-content figure {
  margin: 18px 0;
}

.detail-content img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.detail-content iframe,
.detail-content table,
.detail-content figure,
.detail-content a {
  max-width: 100%;
}

.detail-content a {
  overflow-wrap: anywhere;
}

.detail-content > img:first-of-type {
  position: absolute;
  top: 101px;
  right: 20px;
  width: 540px;
  max-height: none;
  margin: 0;
}

.detail-content > img[src$="/sfi.png"] {
  right: 40px;
  width: 500px;
}

.detail-content > img[src$="/unnamed.jpg"] {
  width: 331.4px;
}

.detail-content > img[src$="/unnamed.jpg"] + h5 {
  margin-top: 134px;
}

.detail-content > img[src$="/logo-ul-1.jpg"] {
  right: 110px;
  width: 360px;
}

.detail-content > img[src*="Logo-Skocjan-Caves"] + h5 {
  margin-top: 82px;
}

.detail-content > img[src*="19_Univerza-NG-600x600-1.jpg"] + p + h5,
.detail-content > img[src$="/prirodoslovni-muzej-slo.png"] + p + h5 {
  margin-top: 197px;
}

.detail-content > img[src$="/unnamed-1-1.jpg"] + h5 {
  margin-top: 285px;
}

.detail-content > img[src$="/logo.png"] + p,
.detail-content > img[src$="/prirodoslovni-muzej-slo.png"] + p {
  box-sizing: border-box;
  width: 540px;
  margin-left: 560px;
  padding-right: 60px;
}

.detail-content > img[src$="/logo.png"] + p {
  position: absolute;
  top: 188px;
  right: 20px;
  width: 540px;
  margin: 0;
  padding-right: 0;
}

.detail-content > img[src$="/logo.png"] + p + h5 {
  margin-top: 120px;
}

.detail-content h5 + img,
.detail-content h5 + figure {
  float: left;
  width: 540px;
  margin: 0 20px 24px 0;
}

.detail-content h5 + img + p,
.detail-content h5 + img + p + p {
  box-sizing: border-box;
  width: 540px;
  margin-left: 560px;
  padding-right: 60px;
}

.detail-content h5 + img[src*="Oceanographic-buoy"] + p + p + p,
.detail-content h5 + img[src*="Oceanographic-buoy"] + p + p + p + p,
.detail-content h5 + img[src*="Oceanographic-buoy"] + p + p + p + p + p,
.detail-content h5 + img[src*="357925d564a2559fe183"] + p + p + p,
.detail-content h5 + img[src*="357925d564a2559fe183"] + p + p + p + p,
.detail-content h5 + img[src*="357925d564a2559fe183"] + p + p + p + p + p {
  box-sizing: border-box;
  width: 540px;
  margin-left: 560px;
  padding-right: 60px;
}

.detail-content h5 + img[src*="the-exit"] + p + p + p {
  box-sizing: border-box;
  width: 540px;
  margin-left: 560px;
  padding-right: 60px;
}

.detail-content h5 + img[src*="the-exit"] + p + p + p + h5 {
  margin-top: 131px;
}

.detail-content h5 + img[src*="jhfa"] + p + p + p {
  box-sizing: border-box;
  width: 540px;
  margin-top: 36px;
  padding-right: 60px;
}

.detail-content h5 + img[src*="jhfa"] + p + p + p + img {
  width: 540px;
  max-width: 540px;
  max-height: none;
  margin-top: -89px;
  margin-left: 560px;
}

.detail-content h5 + img[src*="jhfa"] + p + p + p + img + h5 {
  margin-top: 31px;
}

.detail-content h5 + img[src*="jhfa"] + p + p + p + img + h5 + .detail-image-box-grid {
  min-height: 310px;
}

.detail-content h5 + img[src*="357925d564a2559fe183"] + p + p + p + p + p + h5 {
  margin-top: 100px;
}

.detail-content figure img {
  max-height: 220px;
  margin: 0 auto;
}

.detail-image-box-grid {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  row-gap: 0;
  margin: 6px 0 0;
}

.detail-image-box {
  display: grid;
  grid-template-columns: 121.2px 403.8px;
  column-gap: 15px;
  align-items: start;
  align-self: start;
}

.detail-image-box figure {
  margin: 0;
}

.detail-image-box img {
  display: block;
  width: 121.2px;
  max-width: 121.2px;
  max-height: none;
  margin: 0;
}

.detail-image-box h3 {
  margin: 0 0 15px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 22.8px;
}

.partner-project-grid .detail-image-box h3 {
  margin-bottom: 8px;
  font-size: 25px;
  line-height: 30px;
}

.detail-image-box p {
  width: 403.8px;
  margin: 0;
  font-size: 14px;
  line-height: 16.1px;
}

.detail-image-box:nth-child(1) {
  min-height: 263.3px;
}

.detail-image-box:nth-child(1) p {
  min-height: 225.3px;
}

.detail-image-box:nth-child(2) {
  min-height: 295.5px;
}

.detail-image-box:nth-child(2) p {
  min-height: 257.5px;
}

.detail-image-box:nth-child(3) {
  min-height: 182.8px;
  margin-top: -12.2px;
}

.detail-image-box:nth-child(3) p {
  min-height: 144.8px;
}

.detail-image-box-grid + h5 {
  margin-top: 30px;
}

.nib-project-grid .detail-image-box:nth-child(1) {
  min-height: 182.8px;
}

.nib-project-grid .detail-image-box:nth-child(1) p {
  min-height: 144.8px;
}

.nib-project-grid .detail-image-box:nth-child(2) {
  grid-row: 2;
  grid-column: 1;
  min-height: 150.7px;
}

.nib-project-grid .detail-image-box:nth-child(2) p {
  min-height: 112.7px;
}

.nib-project-grid .detail-image-box:nth-child(3) {
  grid-row: 1;
  grid-column: 2;
  min-height: 231.1px;
  margin-top: 0;
}

.nib-project-grid .detail-image-box:nth-child(3) p {
  min-height: 193.1px;
}

.nib-project-grid {
  grid-template-rows: 203px 150.7px;
  margin-top: 2px;
  transform: translateY(-3.9px);
}

.nib-project-grid + h5 {
  margin-top: 46.1px;
  margin-bottom: 40px;
}

.nib-publications {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  margin: 0 -10px;
  padding: 10px;
}

.nib-publication-col p {
  display: block;
  width: 540px;
  margin: 0 0 16px;
  font-family: Arial, sans-serif;
}

.nib-publication-col {
  min-width: 0;
}

.nib-content {
  padding-bottom: 10px;
}

.partner-izrk-content > h5:last-of-type ~ * {
  font-family: Arial, sans-serif;
}

.uni-lj-publications {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  margin-top: 0;
  padding-bottom: 56px;
}

.uni-lj-publication-col {
  font-family: Arial, sans-serif;
}

.uni-lj-publication-col p {
  display: block;
  width: 540px;
  margin: 0 0 16px;
}

.skocjan-publications {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  margin-top: 0;
  padding-bottom: 19px;
}

.skocjan-publication-col p {
  display: block;
  width: 540px;
  margin: 0 0 16px;
}

.tular-project-grid .detail-image-box {
  min-height: 215px;
}

.tular-project-grid .detail-image-box p {
  min-height: 0;
}

.tular-project-grid + h5 {
  margin-top: 51px;
}

.tular-publications {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  margin-top: 0;
  padding-bottom: 86px;
}

.tular-publication-col {
  width: 540px;
}

.tular-publication-col p {
  display: block;
  width: 540px;
  margin: 0 0 16px;
}

.detail-content > img[src$="/sfi.png"] + h5 {
  margin-top: 82px;
}

.gozdis-research-layout,
.uni-lj-research-layout {
  display: grid;
  row-gap: 20px;
  margin: 0 0 0;
}

.gozdis-research-row,
.uni-lj-research-row {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  align-items: start;
}

.gozdis-research-row img,
.uni-lj-research-row img,
.gozdis-equipment-layout img {
  display: block;
  width: 540px;
  max-width: 540px;
  max-height: none;
  margin: 0;
}

.gozdis-research-copy p,
.uni-lj-research-copy p,
.gozdis-equipment-layout p,
.gozdis-equipment-layout ul {
  width: 540px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 18.4px;
}

.gozdis-research-layout + h5,
.uni-lj-research-layout + h5 {
  margin-top: 30px;
}

.gozdis-project-grid {
  display: block;
}

.gozdis-project-grid .detail-image-box {
  grid-template-columns: 250.4px 834.6px;
  column-gap: 15px;
  min-height: 0;
}

.gozdis-project-grid .detail-image-box img {
  width: 250.4px;
  max-width: 250.4px;
}

.gozdis-project-grid .detail-image-box p {
  width: 834.6px;
  min-height: 0;
}

.single-project-grid:not(.gozdis-project-grid) .detail-image-box {
  grid-template-columns: 250.4px 834.6px;
  min-height: 0;
}

.single-project-grid:not(.gozdis-project-grid) .detail-image-box img {
  width: auto;
  max-width: 250.4px;
}

.single-project-grid:not(.gozdis-project-grid) .detail-image-box p {
  width: 834.6px;
  min-height: 0;
}

.gozdis-equipment-layout {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  align-items: start;
}

.gozdis-equipment-layout + h5 {
  margin-top: 30px;
}

.gozdis-research-row {
  grid-template-columns: 530px 530px;
}

.gozdis-research-row img,
.gozdis-equipment-layout img {
  width: 530px;
  max-width: 530px;
}

.gozdis-research-copy p,
.gozdis-equipment-layout p,
.gozdis-equipment-layout ul {
  width: 530px;
}

.gozdis-research-layout + h5 {
  margin-top: 30px;
}

.gozdis-project-grid + h5 {
  margin-top: 46px;
}

.gozdis-equipment-layout {
  grid-template-columns: 530px 530px;
}

.gozdis-equipment-layout + h5 {
  margin-top: 31px;
}

.gozdis-publications {
  display: grid;
  grid-template-columns: 530px 530px;
  column-gap: 20px;
  margin-top: 0;
  padding-bottom: 129px;
}

.gozdis-publication-col p {
  display: block;
  width: 530px;
  margin: 0 0 16px;
}

.detail-content > img[src*="famnit_logo_big"] + h5 {
  margin-top: 83px;
}

.detail-content h5 + img[src*="244052508"] + p + p + p + p + p + p + img[src$="/stepchangelogo.jpg"] + h5 {
  margin-top: -11px;
}

.upr-projects {
  display: grid;
  row-gap: 26px;
  margin-top: 0;
}

.upr-project-row {
  display: grid;
  grid-template-columns: 246.3px 813.7px;
  column-gap: 20px;
  align-items: start;
}

.upr-project-row:nth-child(1) {
  min-height: 727px;
}

.upr-project-row:nth-child(2) {
  min-height: 618px;
}

.upr-project-row img {
  display: block;
  width: 246.3px;
  max-width: 246.3px;
  height: auto;
  max-height: none;
  margin: 0;
}

.upr-project-row p {
  width: 813.7px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
  line-height: 18.4px;
}

.upr-projects + h5 {
  margin-top: 66px;
}

.upr-publications {
  display: grid;
  grid-template-columns: 530px 530px;
  column-gap: 20px;
  margin-top: 0;
  padding-bottom: 37px;
}

.upr-publication-col p {
  display: block;
  width: 530px;
  margin: 0 0 16px;
}

.tular-research-layout {
  display: grid;
  row-gap: 11px;
}

.tular-research-row {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  align-items: start;
}

.tular-research-row img {
  display: block;
  width: 540px;
  max-width: 540px;
  height: auto;
  max-height: none;
  margin: 0;
}

.tular-research-layout p {
  width: 540px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 18.4px;
}

.tular-research-layout > p {
  width: 540px;
}

.tular-research-layout + h5 {
  margin-top: 29px;
}

.uni-mb-ri-layout {
  display: grid;
  grid-template-columns: 236.3px 823.7px;
  column-gap: 20px;
  align-items: start;
  margin-top: 0;
  padding-top: 10px;
}

.uni-mb-ri-layout img {
  width: 236.3px;
  max-width: 236.3px;
  max-height: none;
  margin: 0;
}

.uni-mb-ri-layout h5 {
  width: 823.7px;
  margin: 20px 0 40px;
}

.uni-mb-ri-layout p {
  width: 823.7px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 18.4px;
}

.uni-mb-ri-layout + h5 {
  margin-top: 124px;
}

.uni-mb-publications {
  display: grid;
  grid-template-columns: 530px 530px;
  column-gap: 20px;
  margin-top: 0;
  padding-bottom: 294px;
}

.uni-mb-publication-col p {
  display: block;
  width: 530px;
  margin: 0 0 16px;
}

.uni-lj-project-grid .detail-image-box {
  display: block;
  width: 540px;
  min-height: 0;
}

.uni-lj-project-grid .detail-image-box figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 170px;
  margin: 0 0 12px;
}

.uni-lj-project-grid .detail-image-box img {
  width: auto;
  max-width: 540px;
  max-height: 170px;
  margin: 0 auto;
}

.uni-lj-project-grid .detail-image-box h3 {
  margin: 0 0 8px;
}

.uni-lj-project-grid .detail-image-box p {
  width: 540px;
  min-height: 0;
}

.uni-lj-segment-grid .detail-image-box h3 {
  font-size: 24px;
  line-height: 21.6px;
}

.uni-lj-segment-grid + h5 {
  margin-top: 79px;
}

.detail-content h5 + img[src*="244052508"] + p + p + p + p + p + p + img[src$="/stepchangelogo.jpg"] {
  width: 400px;
  max-width: 400px;
  max-height: none;
}

.detail-content h5 + img[src*="244052508"] + p + p + p + p + p + p + img[src$="/stepchangelogo.jpg"] + h5 {
  margin-top: -11px;
}

.related-content {
  position: relative;
  height: 1145.1px;
  min-height: 0;
  padding: 59px 0 58px;
}

.related-content > p {
  width: 550px;
  margin-right: 0;
  margin-left: 10px;
}

.related-content > p:nth-of-type(-n + 3) {
  width: 1140px;
  margin-left: 0;
  font-size: 16px;
  line-height: 20px;
}

.related-content > h2:first-of-type {
  width: 550px;
  margin: 176px 0 60px 10px;
  line-height: 32px;
}

.related-content > img {
  position: absolute;
  right: 10px;
  width: 550px;
  max-width: 550px;
  max-height: none;
  margin: 0;
}

.related-content > img:nth-of-type(1) {
  top: 247px;
  right: 10px;
  width: 550px;
}

.related-content > img:nth-of-type(2) {
  top: 658.2px;
}

.related-content > p:nth-of-type(4) {
  min-height: 147.1px;
}

.related-content > p:nth-of-type(5) {
  min-height: 275.9px;
}

.related-content > p:nth-of-type(9) {
  min-height: 36.8px;
}

.related-content > p:nth-of-type(10) {
  min-height: 23px;
}

.simple-related-content {
  height: auto;
  padding: 79px 10px 60.8px;
}

.simple-related-content > img,
.simple-related-content > img:nth-of-type(1),
.simple-related-content > img:nth-of-type(2) {
  position: absolute;
  top: 79px;
  right: auto;
  left: 10px;
  width: 550px;
  max-width: 550px;
  max-height: none;
  margin: 0;
}

.simple-related-content > p,
.simple-related-content > p:nth-of-type(-n + 3) {
  box-sizing: border-box;
  width: 550px;
  min-height: 0;
  margin: 0 0 16px 570px;
  padding: 0;
  font-size: 16px;
  line-height: 18.4px;
}

.simple-related-content > p:nth-of-type(4),
.simple-related-content > p:nth-of-type(5),
.simple-related-content > p:nth-of-type(9),
.simple-related-content > p:nth-of-type(10) {
  min-height: 0;
}

.envri-related-content > p:nth-of-type(2),
.envri-related-content > p:nth-of-type(3) {
  min-height: 73.6px;
}

.envri-related-content > p:nth-of-type(4) {
  min-height: 55.2px;
}

.simple-related-content > a {
  display: inline-block;
  box-sizing: border-box;
  width: 208.3px;
  min-height: 44px;
  margin: 20px 0 0 570px;
  padding: 12px 24px;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
}

.news-list {
  display: grid;
  gap: 1.5rem;
}

.post-titlebar h1 {
  max-width: 1040px;
}

.post-titlebar {
  min-height: 192px;
}

.post-page-content {
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--muted);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.15;
}

.post-prose {
  max-width: 100%;
}

.post-prose:has(> p:first-child img) {
  display: grid;
  grid-template-columns: 540px 540px;
  column-gap: 20px;
  align-items: start;
}

.post-prose:has(> p:first-child img) > * {
  grid-column: 2;
  box-sizing: border-box;
  padding-right: 60px;
}

.post-prose h2 {
  margin: 0 0 19px;
  color: var(--green);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.post-prose > img:first-of-type {
  float: left;
  width: min(49%, 540px);
  max-height: 332px;
  margin: 0 20px 0 0;
  object-fit: cover;
}

.post-prose > p:first-of-type {
  margin-top: 0;
}

.post-prose p {
  margin: 0 0 16px;
}

.post-prose > p:first-child:has(img) {
  grid-column: 1;
  grid-row: 1 / span 20;
  float: none;
  width: 540px;
  max-width: none;
  margin: 0 20px 0 0;
  padding-right: 0;
}

.post-prose > p:first-child:has(img) img {
  display: block;
  width: 540px;
  max-width: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
}

.post-prose:has(> p:first-child img) > p:nth-of-type(7) {
  min-height: 36.8px;
}

.post-prose .button,
.post-prose > a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 44px;
  margin-top: 39px;
  padding: 12px 24px;
  background: var(--green);
  color: var(--white);
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
}

.post-prose > a:last-child:hover {
  background: var(--green-dark);
  text-decoration: none;
}

.post-page-content::after {
  display: block;
  clear: both;
  content: "";
}

@media (min-width: 768px) {
  .archive-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-card:nth-child(-n + 3) {
    min-height: clamp(574px, calc(1050px - 46.5vw), 693px);
  }

  .archive-card:nth-child(n + 4) {
    min-height: clamp(515px, calc(1067px - 53.9vw), 653px);
  }
}

@media (max-width: 1439px) {

  .about-content .about-cards p {
    font-size: 15px;
    line-height: 1.5;
  }

  .wg-content {
    padding: 40px 20px 0;
  }

  .wg-content .wg-hero {
    padding-bottom: 60px;
  }

  .wg-content .wg-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0;
    padding: 0;
  }

  .wg-content .wg-intro img {
    width: 100%;
  }

  .wg-content .wg-detail {
    margin: 0;
    padding-top: 60px;
  }


  .projects-content {
    padding: 70px 20px;
  }

  .projects-content .elementor-project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contacts-content {
    padding: 56px 20px 90px;
  }

  .contacts-content .contacts-layout {
    grid-template-columns: 1fr;
  }

  .about-content .intro-with-map,
  .about-content .about-cards {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-left: 0;
  }

  .about-content .intro-with-map > img {
    width: 100%;
  }

  .consortium-content {
    padding: 30px 20px 58px;
  }

  .consortium-page .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }


  .post-prose:has(> p:first-child img) {
    display: block;
  }

  .post-prose:has(> p:first-child img) > * {
    padding-right: 0;
  }

  .post-prose > p:first-child:has(img) {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
  }

  .detail-content > img:first-of-type,
  .detail-content h5 + img,
  .detail-content h5 + figure {
    position: static;
    float: none;
    width: 100%;
    margin: 18px 0;
  }

  article.page-content.detail-content p {
    width: auto !important;
    max-width: 100%;
    margin-left: 0 !important;
    padding-right: 0 !important;
  }

  article.page-content.detail-content img {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
  }

  article.page-content.detail-content .detail-image-box {
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    max-width: 100%;
  }

  .detail-content > img:first-of-type + h5 {
    margin-top: 44px;
  }

  .detail-content h5,
  .detail-content > h2:first-child + h5,
  .detail-content > h2:first-child + h5 ~ p:nth-of-type(-n + 6),
  .detail-content h5 + img + p,
  .detail-content h5 + img + p + p {
    width: auto;
    margin-left: 0;
    padding-right: 0;
  }

  .detail-content h5 + img[src*="the-exit"] + p + p + p {
    width: auto;
    margin-left: 0;
    padding-right: 0;
  }

  .detail-content h5 + img[src*="244052508"] + p + p + p + p + p + p + img[src$="/stepchangelogo.jpg"] {
    width: 100%;
    max-width: 100%;
  }

  .detail-image-box-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .detail-image-box,
  .detail-image-box:nth-child(1),
  .detail-image-box:nth-child(2),
  .detail-image-box:nth-child(3) {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 0;
  }

  .nib-project-grid {
    grid-template-rows: none;
    transform: none;
  }

  .nib-project-grid .detail-image-box:nth-child(1),
  .nib-project-grid .detail-image-box:nth-child(2),
  .nib-project-grid .detail-image-box:nth-child(3) {
    grid-row: auto;
    grid-column: auto;
    min-height: 0;
  }

  .nib-project-grid .detail-image-box:nth-child(1) p,
  .nib-project-grid .detail-image-box:nth-child(2) p,
  .nib-project-grid .detail-image-box:nth-child(3) p {
    min-height: 0;
  }

  .detail-image-box img {
    width: min(180px, 100%);
    max-width: 100%;
  }

  .detail-image-box p,
  .detail-image-box:nth-child(1) p,
  .detail-image-box:nth-child(2) p,
  .detail-image-box:nth-child(3) p {
    width: auto;
    min-height: 0;
  }

  .gozdis-research-layout,
  .uni-lj-research-layout,
  .gozdis-research-row,
  .uni-lj-research-row,
  .gozdis-equipment-layout,
  .upr-projects,
  .upr-project-row,
  .tular-research-layout,
  .tular-research-row,
  .uni-mb-ri-layout {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .gozdis-research-row img,
  .uni-lj-research-row img,
  .gozdis-equipment-layout img,
  .upr-project-row img,
  .tular-research-row img,
  .uni-mb-ri-layout img,
  .gozdis-project-grid .detail-image-box img,
  .uni-lj-project-grid .detail-image-box img {
    width: 100%;
    max-width: 100%;
  }

  .gozdis-research-copy p,
  .uni-lj-research-copy p,
  .gozdis-equipment-layout p,
  .gozdis-equipment-layout ul,
  .upr-project-row p,
  .tular-research-layout p,
  .tular-research-layout > p,
  .uni-mb-ri-layout h5,
  .uni-mb-ri-layout p,
  .gozdis-project-grid .detail-image-box p,
  .uni-lj-project-grid .detail-image-box p {
    width: auto;
  }

  .gozdis-project-grid .detail-image-box,
  .uni-lj-project-grid .detail-image-box {
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
  }

  .nib-publications {
    grid-template-columns: 1fr;
  }

  .nib-publication-col p {
    width: auto;
  }

  .gozdis-publications {
    grid-template-columns: 1fr;
  }

  .gozdis-publication-col p {
    width: auto;
  }

  .uni-lj-publications {
    grid-template-columns: 1fr;
  }

  .uni-lj-publication-col p {
    width: auto;
  }

  .skocjan-publications {
    grid-template-columns: 1fr;
  }

  .skocjan-publication-col p {
    width: auto;
  }

  .tular-publications {
    grid-template-columns: 1fr;
  }

  .tular-publication-col,
  .tular-publication-col p {
    width: auto;
  }

  .upr-publications {
    grid-template-columns: 1fr;
  }

  .upr-publication-col {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .upr-publication-col p {
    width: auto;
  }

  .uni-mb-publications {
    grid-template-columns: 1fr;
  }

  .uni-mb-publication-col p {
    width: auto;
  }

  .uni-lj-project-grid .detail-image-box figure {
    height: auto;
    justify-content: start;
  }

  .related-content {
    height: auto;
    min-height: 0;
    padding: 40px 20px 58px;
  }

  .related-content > p,
  .related-content > p:nth-of-type(-n + 3),
  .related-content > h2:first-of-type {
    width: auto;
    margin-left: 0;
  }

  .related-content > h2:first-of-type {
    margin-top: 40px;
  }

  .related-content > img,
  .related-content > img:nth-of-type(1),
  .related-content > img:nth-of-type(2) {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
  }

  .simple-related-content {
    padding: 40px 20px 58px;
  }

  .simple-related-content > p,
  .simple-related-content > p:nth-of-type(-n + 3),
  .simple-related-content > a {
    width: auto;
    margin-left: 0;
  }

  .simple-related-content > img,
  .simple-related-content > img:nth-of-type(1),
  .simple-related-content > img:nth-of-type(2) {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
  }
}

@media (min-width: 1440px) {
  .archive-card p {
    font-size: 12px;
    line-height: 20px;
  }

  .archive-card:nth-child(-n + 3) {
    min-height: 535px;
  }

  .archive-card:nth-child(n + 4) {
    min-height: 495px;
  }

  .partner-izrk-content {
    padding-top: 44px;
    padding-bottom: 287px;
  }

  .partner-izrk-content > h5:nth-of-type(1) {
    transform: translateY(-4px);
  }

  .partner-izrk-content > h5:nth-of-type(2) {
    transform: translateY(-2px);
  }

  .partner-izrk-content .detail-image-box-grid + h5 {
    margin-top: -50px;
  }

  .partner-izrk-content > h5:nth-of-type(5) {
    margin-top: -251px;
  }

  .partner-izrk-content > h5:nth-of-type(6),
  .partner-izrk-content > h5:nth-of-type(6) ~ * {
    transform: translateY(-23px);
  }

  .partner-izrk-content > h5:nth-of-type(6) {
    margin-top: -47px;
  }

  .partner-skocjan-caves-park-content {
    padding-bottom: 37.2px;
  }

  .partner-gozdis-content {
    padding-bottom: 49.9px;
  }

  .partner-pms-lj-content {
    padding-bottom: 69.4px;
  }

  .partner-uni-lj-content {
    padding-bottom: 11.7px;
  }

  .partner-upr-content {
    padding-bottom: 12.2px;
  }

  .partner-tular-content {
    padding-bottom: 73.4px;
  }

  .partner-ung-content {
    padding-bottom: 47.3px;
  }

  .partner-uni-mb-content .uni-mb-publications {
    padding-bottom: 203.4px;
  }

  .wg-content .wg-detail {
    margin-right: -20px;
    margin-left: -20px;
  }
}

@media (max-width: 560px) {
  .page-titlebar h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .page-titlebar p,
  .page-titlebar a {
    font-size: 14px;
  }

  .material-downloads {
    grid-template-columns: 1fr;
  }

  .not-found .button {
    display: flex;
    width: 100%;
  }

  .not-found .button + .button {
    margin: 10px 0 0;
  }

  .consortium-page .partner-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
