* {
  box-sizing: border-box;
}

body,
table,
td,
p,
font {
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

a,
a:link,
a:visited,
a:active {
  color: #000;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

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

/* Fotografske galerije */

.gallery-table {
  border-spacing: 5px;
}

.gallery-table td {
  vertical-align: top;
  text-align: center;
}

.gallery-table img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.gallery-table td div {
  display: table;
  margin: 1px auto 0;
  padding: 0 1px;
  background: #fff;
  font-size: 11px;
  line-height: 1.2;
}

/* Tekst i mapa na stranici First Visit */

.report-content {
  width: 900px;
  max-width: 100%;
}

.report-content > tbody > tr > td {
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
}

.report-content .report-media {
  margin-top: 28px !important;
  margin-bottom: 30px !important;
}

.report-media iframe {
  max-width: 100%;
}

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

/* First Visit: tekst i galerija iste širine */

.report-content {
  width: 900px;
  max-width: 100%;
}

.report-content > tbody > tr > td {
  padding: 12px;
  background: #fff;
  font-size: 13px;
  line-height: 1.55;
}

.report-content p {
  margin-top: 0;
  margin-bottom: 1.3em;
}

.report-content > tbody > tr > td {
  padding: 0;
}

.report-media {
  width: 890px;
  max-width: 100%;
  table-layout: fixed;
  border-spacing: 0;
}

.report-media .map-cell {
  width: 50%;
  vertical-align: top;
}

.report-media .map-cell:first-child {
  padding-right: 6px;
}

.report-media .map-cell:last-child {
  padding-left: 6px;
}

.report-media iframe,
.report-media .map-cell img {
  display: block;
  width: 100%;
  height: 350px;
  margin: 0;
  background: #fff;
}

.report-media .map-cell img {
  object-fit: contain;
}

.report-media small {
  display: table;
  margin-top: 1px;
  padding: 0 1px;
  background: #fff;
}

.report-content > tbody > tr > td {
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}

.report-content p {
  margin: 0 0 14px;
}

.report-media {
  margin-top: 20px;
  margin-bottom: 26px;
}

.report-content + .gallery-table {
  margin-top: 32px;
}

.gallery-table td div {
  margin-top: 2px;
}

/* Mobilni prikaz */

@media (max-width: 700px) {
  body {
    margin: 8px;
  }

  .gallery-table {
    display: block;
    width: 100% !important;
    border-spacing: 0;
  }

  .gallery-table > tbody {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 10px;
  }

  .gallery-table > tbody > tr {
    display: contents;
  }

  .gallery-table > tbody > tr > td {
    display: block;
    width: auto !important;
    padding: 0;
  }

  .gallery-table img {
    width: 100%;
    height: auto;
  }

  .report-content,
  .report-content > tbody,
  .report-content > tbody > tr,
  .report-content > tbody > tr > td {
    display: block;
    width: 100% !important;
  }

  .report-content > tbody > tr > td {
    padding: 10 8 36px;
  }

  .report-media,
  .report-media > tbody,
  .report-media > tbody > tr,
  .report-media > tbody > tr > td {
    display: block;
    width: 100% !important;
  }

  .report-media iframe {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 425 / 350;
  }

  .report-media img {
    display: block;
    width: 100%;
    height: auto !important;
  }
.first-visit-gallery {
  width: 100% !important;
  table-layout: auto;
}

.first-visit-gallery > tbody {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-media .map-cell {
  display: block;
  width: 100% !important;
  padding: 0 0 36px !important;
}

.report-media iframe,
.report-media .map-cell img {
  width: 100%;
  height: min(78vw, 350px) !important;
}

}

/* Standard page heading and bilingual introduction */

.page-heading {
  display: table;
  font-weight: normal;
  width: fit-content;
  margin: 28px 0 0;
  padding: 1px;
  background: #fff;
  font-size: 1.1rem;
}

.page-heading strong {
  font-weight: bold;
}

.page-heading + .station-intro {
  margin-top: 0;
}

.station-intro {
  margin-top: 8px;
}

.subtitle-block {
  display: block;
  margin: 0 0 1px;
  padding: 0 1px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.1;
}

.subtitle-block em,
.subtitle-block a {
  font-family: inherit;
}

.report-content {
  margin-top: 18px;
}

.report-content p {
  margin-top: 0;
  margin-bottom: 1.15em;
}

.report-media {
  margin-top: 24px !important;
  margin-bottom: 28px !important;
}

.report-media .map-cell {
  vertical-align: top;
  text-align: center;
}

.report-media .map-cell small {
  display: block;
  margin-top: 5px;
  text-align: center;
}

