/* Catalogue front-end layouts */

/* Match Overview / old Drupal: black vertical line + 20px content pad.
   padding-top 13px aligns first title with sidebar CATALOGUE text
   (sidebar pad 10px + root item 2.6px + link pad 2px ≈ 14.6 → 13). */
.ih-catalogue-page .ih-section-layout__content {
  border-left: 1px solid #000;
  padding: 13px 20px 40px 20px;
  font-size: 13px;
  line-height: 19.5px;
}

.ih-catalogue-page .ih-section-layout__sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  height: max-content;
  max-height: none;
  overflow: visible;
  padding-right: 10px; /* gap before vertical line */
}

/* Old Drupal body: Verdana 13 / 19.5 */
.ih-catalogue-page .ih-page-content,
.ih-catalogue-page .ih-page-content p,
.ih-catalogue-page .ih-cat-index,
.ih-catalogue-page .ih-cat-doc-card__legend,
.ih-catalogue-page .ih-cat-block__body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
  color: #000;
}

/* Old .view-header p/h3 — Gallery / Archaeological Reports / Video titles */
.ih-catalogue-page__title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px; /* 1.167em of 13px body — same band as CATALOGUE */
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #009a8d;
  margin: 0 0 1.5rem;
  line-height: 19.5px;
}

/* Document view page: gazetteer + bulleted italic document title */
.ih-cat-document-heading {
  margin: 0 0 1.5rem;
}

.ih-cat-document-heading .ih-cat-index__gazetteer-title,
.ih-cat-document-heading .ih-cat-index__child-title {
  padding-left: 0;
}

/* Old .group-primary: 1.1em bold uppercase — top aligned with CATALOGUE */
.ih-cat-document-heading .ih-cat-index__gazetteer-title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.8em;
  color: #000;
}

/* Old .group-artifacts: 1.1em italic + bullet */
.ih-cat-document-heading .ih-cat-doc-card__title {
  margin: 0;
  text-transform: none;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  color: #000;
}

.ih-cat-document-heading .ih-cat-doc-card__title::before {
  content: '\2022\00a0';
  font-style: normal;
}

/*
 * Left catalogue nav — match old /content/catalogue (+ Overview):
 * - CATALOGUE at ~36px into 270px sidebar
 * - places nested +26px, column width 191.5px → wrap + ~23px gap before vertical line
 * - dotted #525252 under each place; places #aaa
 */
.ih-cat-nav {
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

.ih-cat-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 36px;
}

.ih-cat-nav__item--root {
  border: 0;
  padding: 2.6px 0 0;
}

.ih-cat-nav__item--root > .ih-cat-nav__link {
  display: block;
  padding: 2px 0 6px;
  color: #009a8d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 19.5px;
}

/* Nested place list under CATALOGUE — old margin-left 26px, width 191.5px.
   Deeper levels indent via padding inside this column (not fixed 191.5 + margin),
   so wraps tighten and nothing spills past the vertical rule. */
.ih-cat-nav__item--root > .ih-cat-nav__list {
  margin: 0 0 0 26px;
  padding: 0;
  width: 191.5px;
  max-width: 191.5px;
  box-sizing: border-box;
}

.ih-cat-nav__item--gaz,
.ih-cat-nav__item--section,
.ih-cat-nav__item--child,
.ih-cat-nav__item--doc {
  margin: 0;
  padding: 2.6px 0 0;
  border-top: 0;
  border-bottom: 1px dotted #525252;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Old Drupal: .block ul.menu li.last { border-bottom: 0 }
   Prevents parent borders from drawing under the whole nested block. */
.ih-cat-nav__list > .ih-cat-nav__item--gaz:last-child,
.ih-cat-nav__list > .ih-cat-nav__item--section:last-child,
.ih-cat-nav__list > .ih-cat-nav__item--child:last-child,
.ih-cat-nav__list > .ih-cat-nav__item--doc:last-child {
  border-bottom: 0;
}

/* Old Drupal: .block ul.menu li.expanded li.first { border-top: 1px dotted #525252 } */
.ih-cat-nav__item--root > .ih-cat-nav__list > .ih-cat-nav__item:first-child,
.ih-cat-nav__item--gaz > .ih-cat-nav__list > .ih-cat-nav__item:first-child,
.ih-cat-nav__item--section > .ih-cat-nav__list > .ih-cat-nav__item:first-child,
.ih-cat-nav__item--child > .ih-cat-nav__list > .ih-cat-nav__item:first-child {
  border-top: 1px dotted #525252;
}

.ih-cat-nav__link {
  display: block;
  padding: 2px 6.5px 0 0;
  color: #aaa;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 19.5px;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.ih-cat-nav__item--collapsible:not(.is-open) > .ih-cat-nav__list {
  display: none;
}

.ih-cat-nav__item--doc > .ih-cat-nav__link {
  text-transform: none;
}

.ih-cat-nav__link:hover,
.ih-cat-nav__item--gaz > .ih-cat-nav__link:hover,
.ih-cat-nav__item--section > .ih-cat-nav__link:hover,
.ih-cat-nav__item--child > .ih-cat-nav__link:hover,
.ih-cat-nav__item--doc > .ih-cat-nav__link:hover {
  color: #fcce0a;
}

.ih-cat-nav__item.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--gaz.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--section.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--child.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--doc.is-current > .ih-cat-nav__link {
  color: #001b19;
  font-weight: 700;
}

/* Old Drupal catalogue menu: current/trail items stay teal, normal weight */
.ih-cat-nav__item--gaz.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--section.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--child.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--doc.is-current > .ih-cat-nav__link {
  color: #009a8d;
  font-weight: 400;
}

/* Root CATALOGUE always teal (even when current) */
.ih-cat-nav__item--root > .ih-cat-nav__link,
.ih-cat-nav__item--root.is-current > .ih-cat-nav__link,
.ih-cat-nav__item--root > .ih-cat-nav__link:hover {
  color: #009a8d;
  font-weight: 700;
}

/* Drill-in: +32px per level inside the 191.5px column (padding, not margin).
   32px ≈ old nested ul indent + .block ul li { margin-left: 0.5em },
   so deep wraps match Drupal (e.g. graffiti → 4 lines). */
.ih-cat-nav__item--gaz > .ih-cat-nav__list,
.ih-cat-nav__item--section > .ih-cat-nav__list,
.ih-cat-nav__item--child > .ih-cat-nav__list {
  margin: 0;
  padding: 0 0 0 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ih-cat-index {
  /* Old Drupal thumbnail style: max 100px on longest side */
  --ih-cat-doc-media: 100px;
  --ih-cat-doc-gap: 1rem;
}

.ih-cat-index__gazetteer {
  padding-bottom: 0rem;
  /* border-bottom: 1px solid var(--ih-border, #dde0e8); */
}

.ih-cat-index__gazetteer:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/*
 * Gazetteer / child titles stay above the image+text row, but share the
 * same left edge as the document title / description (text column).
 */
.ih-cat-index__gazetteer-title,
.ih-cat-index__child-title {
  box-sizing: border-box;
  width: 100%;
  padding-left: calc(var(--ih-cat-doc-media) + var(--ih-cat-doc-gap));
}

.ih-cat-index__gazetteer-title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  /* Primary place — slightly larger than secondary */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 22px;
  margin: 20px 0 6px;
  color: #000;
}

.ih-cat-index__gazetteer-title a {
  color: #000;
  text-decoration: none;
}

.ih-cat-index__gazetteer-title a:hover {
  color: var(--ih-teal, #00B3B1);
}

.ih-cat-index__child-title {
  margin: 0 0 8px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  /* Secondary place — smaller than primary */
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 700;
  text-transform: none;
  color: #000;
}

.ih-cat-index__child-title a {
  color: #000;
  text-decoration: none;
}

.ih-cat-index__child-title a:hover {
  color: var(--ih-teal, #00B3B1);
}

.ih-cat-index__documents {
  margin-bottom: .5rem;
}

.ih-cat-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ih-cat-index__item {
  border-bottom: 1px solid var(--ih-border, #dde0e8);
}

.ih-cat-index__item:first-child {
  border-top: 1px solid var(--ih-border, #dde0e8);
}

.ih-cat-index__link {
  display: block;
  padding: 14px 0;
  font-family: var(--ih-font-sans, Arial, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ih-teal, #00B3B1);
}

.ih-cat-index__link:hover {
  color: var(--ih-teal, #008a88);
}

/* Gazetteer hub: old ds-2col 50/50 — map up to 400×230, shrinks with column
   before the tablet stack breakpoint. */
.ih-cat-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: end;
  overflow: visible;
}

.ih-cat-hub__map-col {
  width: 100%;
  max-width: 400px;
  overflow: visible;
  z-index: 1;
}

.ih-cat-hub .ih-cat-map {
  width: 100%;
  max-width: 400px;
  height: 230px;
  min-height: 230px;
  border: 0;
  background: #e8eef0;
}

.ih-cat-hub__meta-col {
  position: relative;
  min-height: 235px;
  margin-left: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.ih-map-page .ih-section-layout__sidebar {
  max-height: none;
  overflow: visible;
}

.ih-cat-map-filters__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0 12px 0 0;
  box-sizing: border-box;
}

.ih-cat-map-filters__header {
  margin: 0 0 .15rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #e5e7eb;
}

.ih-cat-map-filters__title {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ih-teal, #00B3B1);
}

.ih-cat-map-filters__count {
  margin: .4rem 0 0;
  font-family: var(--ih-font-serif, Georgia, serif);
  font-size: .85rem;
  line-height: 1.35;
  color: var(--ih-muted, #6b7280);
}

.ih-cat-map-filters__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.ih-cat-map-filters__label {
  font-family: var(--ih-font-sans, Arial, sans-serif);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ih-teal, #00B3B1);
  line-height: 1.3;
}

.ih-cat-map-filters__input,
.ih-cat-map-filters__select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: .45rem .6rem;
  border: 1px dotted #9aa3af;
  border-radius: 0;
  background: #fff;
  color: var(--ih-text, #1a1a1a);
  font-family: var(--ih-font-sans, Arial, sans-serif);
  font-size: .875rem;
  line-height: 1.35;
}

.ih-cat-map-filters__input:focus,
.ih-cat-map-filters__select:focus {
  outline: none;
  border-color: var(--ih-teal, #00B3B1);
  border-style: dotted;
  box-shadow: none;
}

.ih-cat-map-filters__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300B3B1' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  padding-right: 1.8rem;
}

.ih-cat-map-filters__actions {
  margin-top: auto;
  padding-top: .35rem;
}

.ih-cat-map-filters__reset {
  appearance: none;
  width: 100%;
  padding: .5rem .75rem;
  border: 1px dotted #9aa3af;
  border-radius: 0;
  background: #fff;
  color: var(--ih-text, #1a1a1a);
  font-family: var(--ih-font-sans, Arial, sans-serif);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}

.ih-cat-map-filters__reset:hover,
.ih-cat-map-filters__reset:focus {
  border-color: var(--ih-teal, #00B3B1);
  border-style: dotted;
  color: var(--ih-teal, #008a88);
}

.ih-cat-map {
  width: 100%;
  min-height: 360px;
  background: #e8eef0;
  border: 1px solid var(--ih-border, #d7dde3);
}

.ih-cat-map--overview {
  min-height: min(70vh, 720px);
  height: min(70vh, 720px);
}

.ih-cat-map .leaflet-marker-icon:not(.ih-cat-map-marker):not(.ih-cat-map-cluster-wrap),
.ih-cat-map .leaflet-marker-shadow {
  display: none !important;
}

.ih-cat-map .leaflet-marker-icon.ih-cat-map-marker,
.ih-cat-map .leaflet-marker-icon.ih-cat-map-cluster-wrap {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
}

.ih-cat-map-cluster-wrap {
  background: transparent !important;
  border: 0 !important;
}

.ih-cat-map-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ih-teal, #00B3B1);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
  color: #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ih-cat-map-cluster__count {
  display: block;
  transform: translateY(0.5px);
}

.ih-cat-map-marker .ih-cat-map-label {
  position: relative;
  width: 36px;
  height: 36px;
  white-space: nowrap;
  pointer-events: auto;
}

/* Teardrop pin — tip sits on the lat/lng (iconAnchor) */
.ih-cat-map-label__pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 30px;
  margin: 0 0 0 -10px;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  transition: transform .12s ease;
  transform-origin: 50% 100%;
}

.ih-cat-map-label__pin-svg {
  display: block;
  width: 20px;
  height: 30px;
}

.ih-cat-map-label__pin-body {
  fill: var(--ih-teal, #00B3B1);
  stroke: #fff;
  stroke-width: 1.5;
}

.ih-cat-map-label__pin-hole {
  fill: #fff;
}

.ih-cat-map-label.is-hovered .ih-cat-map-label__pin,
.ih-cat-map-label.is-selected .ih-cat-map-label__pin {
  transform: scale(1.12);
}

.ih-cat-map-label.is-selected .ih-cat-map-label__pin-body {
  fill: #fcce0a;
}

.ih-cat-map-label__link,
.ih-cat-map-label__btn,
.ih-cat-map-label__text {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-block;
  margin: 0;
  padding: 1px 4px;
  transform: translate(
    calc(-50% + var(--ih-label-dx, 0px)),
    calc(-100% + var(--ih-label-dy, -8px))
  );
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--ih-teal, #00B3B1);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  text-shadow:
    0 0 3px #fff,
    0 0 3px #fff,
    1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff;
  z-index: 2;
}

/* Compact overview: dots only; name on hover / selection (stays teal) */
.ih-cat-map-label.is-compact .ih-cat-map-label__link,
.ih-cat-map-label.is-compact .ih-cat-map-label__btn,
.ih-cat-map-label.is-compact .ih-cat-map-label__text {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ih-cat-map-label.is-compact.is-hovered .ih-cat-map-label__link,
.ih-cat-map-label.is-compact.is-hovered .ih-cat-map-label__btn,
.ih-cat-map-label.is-compact.is-hovered .ih-cat-map-label__text,
.ih-cat-map-label.is-compact.is-selected .ih-cat-map-label__link,
.ih-cat-map-label.is-compact.is-selected .ih-cat-map-label__btn,
.ih-cat-map-label.is-compact.is-selected .ih-cat-map-label__text {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 30;
  color: var(--ih-teal, #00B3B1);
  text-decoration: none;
}


/* Permanent labels: yellow only on direct title hover / selected */
.ih-cat-map-label:not(.is-compact) .ih-cat-map-label__link:hover,
.ih-cat-map-label:not(.is-compact) .ih-cat-map-label__link:focus,
.ih-cat-map-label:not(.is-compact) .ih-cat-map-label__btn:hover,
.ih-cat-map-label:not(.is-compact) .ih-cat-map-label__btn:focus {
  color: #fcce0a;
  text-decoration: underline;
}

.ih-cat-map-label:not(.is-compact).is-selected .ih-cat-map-label__btn,
.ih-cat-map-label:not(.is-compact).is-selected .ih-cat-map-label__link {
  color: #fcce0a;
  text-decoration: underline;
}

.ih-cat-map-label__btn {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ih-teal, #00B3B1);
}

.leaflet-tooltip.ih-cat-map-label {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  color: inherit;
  white-space: nowrap;
}

.leaflet-tooltip.ih-cat-map-label::before {
  display: none;
}

.leaflet-tooltip.ih-cat-map-label.is-selected .ih-cat-map-label__link,
.leaflet-tooltip.ih-cat-map-label.is-selected .ih-cat-map-label__btn {
  color: #fcce0a;
  text-decoration: underline;
}

.leaflet-tooltip.ih-cat-map-label.ih-cat-map-label--hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ih-cat-map-docs {
  /* legacy block styles kept for content inside popover */
}

.ih-map-page__heading {
  margin: 0 0 .85rem;
  padding: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #000;
}

.ih-map-page__intro {
  margin: 0 0 1.25rem;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
  color: #000;
}

.ih-cat-map-shell {
  position: relative;
}

.ih-cat-map-popover {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 900;
  box-sizing: border-box;
  width: min(640px, calc(100% - 40px));
  max-height: min(440px, calc(100% - 40px));
  overflow: auto;
  padding: 18px 20px 20px;
  background: #fff;
  border: 1px solid #cfd4dc;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .2);
  transform: translate(-50%, -50%);
}

.ih-cat-map-popover[hidden] {
  display: none !important;
}

.ih-cat-map-popover__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ih-cat-map-popover__close:hover,
.ih-cat-map-popover__close:focus {
  color: #000;
  background: #f3f4f6;
}

.ih-cat-map-popover__body {
  padding-right: 12px;
}

.ih-cat-map-popover .ih-cat-doc-list {
  gap: 1rem;
}

.ih-cat-map-popover .ih-cat-doc-card {
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-areas:
    ". title"
    "media body";
  column-gap: 1rem;
  row-gap: .35rem;
  width: 100%;
  padding: .85rem 0;
}

.ih-cat-map-popover .ih-cat-doc-list .ih-cat-doc-card:first-child {
  padding-top: 0;
}

.ih-cat-map-popover .ih-cat-doc-card__img {
  width: auto;
  max-width: 100px;
  max-height: 100px;
  height: auto;
  margin-top: 0;
}

.ih-cat-map-popover .ih-cat-doc-card__title {
  margin-bottom: .4rem;
}

.ih-cat-map-home.leaflet-bar {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.ih-cat-map-home__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(0, 0, 0, .25);
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}

.ih-cat-map-home__btn:hover,
.ih-cat-map-home__btn:focus {
  background: #f7f7f7;
  color: var(--ih-teal, #00B3B1);
}

.ih-cat-map-home__btn svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ih-cat-map-docs__header {
  margin: 0 0 1rem;
  padding-right: .5rem;
}

.ih-cat-map-docs__title {
  display: inline-block;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ih-teal, #00B3B1);
  margin: 0;
  text-decoration: none;
  cursor: pointer;
}

a.ih-cat-map-docs__title:hover,
a.ih-cat-map-docs__title:focus {
  color: var(--ih-teal-dark, #009a8d);
  text-decoration: underline;
}

.ih-cat-map-docs__hint,
.ih-cat-map-docs__status {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.ih-cat-map-docs__status--error {
  color: #b42318;
}

.ih-cat-map-popover.is-loading .ih-cat-map-docs__status {
  min-height: 1.5em;
}

.ih-cat-map--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-family: var(--ih-font-serif, Georgia, serif);
}

.ih-cat-meta {
  margin: 0;
}

/* Old Drupal field-label-inline: label + items float left.
   Short rows stay on one line; long values (Susa ancient name) wrap
   onto their own full-width line so the Greek string does not break. */
.ih-cat-meta__row {
  display: block;
  line-height: 19.5px;
  overflow: hidden;
}

.ih-cat-meta__row:last-child {
  margin-bottom: 0;
}

.ih-cat-meta__row dt {
  float: left;
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
  color: #000;
}

.ih-cat-meta__row dt::after {
  content: ':\00a0';
}

.ih-cat-meta__row dd {
  float: left;
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
  color: #000;
}

.ih-cat-meta__row dd p {
  display: block;
  margin: 0;
}

.ih-cat-meta__row dd p:last-child {
  margin-bottom: 0;
}

.ih-cat-meta__row dd a {
  color: #6b7280;
  text-decoration: none;
}

.ih-cat-meta__row dd a:hover,
.ih-cat-meta__row dd a:focus {
  color: #fcce0a;
  text-decoration: none;
}

.ih-cat-section-nav {
  margin-top: 1.75rem;
}

.ih-cat-section-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
}

.ih-cat-section-nav a {
  font-family: var(--ih-font-sans, sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ih-teal, #14818a);
}

.ih-cat-section-nav a:hover {
  color: var(--ih-teal, #0d5c63);
}

.ih-cat-block {
  margin-bottom: 2rem;
}

.ih-cat-block__title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #009a8d;
  margin: 0 0 .85rem;
  padding-bottom: .4rem;
}

.ih-cat-block__title--plain {
  border-bottom: 0;
  padding-bottom: 0;
  /* No extra top margin — content pad aligns with CATALOGUE */
  margin-top: 0;
}

.ih-cat-block__body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
  color: #000;
}

/*
 * Document body blocks — match old Drupal local.css metrics so line-wraps align:
 * - indent 15px (.comment / .credits / .bibliography / .group-inscription)
 * - legend: field-item 12px × .legend p 0.9em → 10.8px / 17px
 * - commentary: 13px / 20px
 * - credits: 0.8em → 10.4px
 * - bibliography: 11px / 20px hanging indent (override editor inline small/10pt)
 */
.ih-cat-document .ih-cat-block--legend,
.ih-cat-document .ih-cat-block--inscription,
.ih-cat-document .ih-cat-block--inscription_credits,
.ih-cat-document .ih-cat-block--commentary,
.ih-cat-document .ih-cat-block--bibliography {
  margin-left: 15px;
}

/* Old .comment: padding-right 15px → text ~15px narrower than legend/credits
   so wraps land on the same words (e.g. “…during the repair”). */
.ih-cat-document .ih-cat-block--commentary {
  padding-right: 15px;
}

/* Old .group-comment.legend → field-item 12px, then .legend p 0.9em = 10.8px */
.ih-cat-block--legend .ih-cat-block__body {
  padding-left: 0;
  text-align: left;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 17px;
  color: #000;
}

.ih-cat-block--legend .ih-cat-block__body p,
.ih-cat-block--legend p {
  padding-left: 0;
  text-align: left;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9em; /* 10.8px */
  line-height: 17px;
  color: #000;
  margin: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Old .comment — 13px / 20px */
.ih-cat-block--commentary .ih-cat-block__body,
.ih-cat-block--commentary .ih-cat-block__body p {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #000;
}

.ih-cat-block--commentary .ih-cat-block__body p {
  margin: 0 0 10px;
}

/* Old .credits — 0.8em of 13px = 10.4px (once, not stacked) */
.ih-cat-block--inscription_credits .ih-cat-block__body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  line-height: 1.5;
  color: #000;
}

.ih-cat-block--inscription_credits .ih-cat-block__body p,
.ih-cat-block--inscription_credits p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0 0 0.5em;
}

/* Old .group-inscription — Verdana + NBSP alignment (line nos / columns).
   Use normal white-space: NBSP stays, but <br>+\n does not double-space. */
.ih-cat-block--inscription .ih-cat-block__body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
  color: #000;
  white-space: normal;
}

.ih-cat-block--inscription .ih-cat-block__body p {
  white-space: normal;
  margin: 0 0 10px;
}

.ih-cat-block--inscription .ih-cat-block__body br {
  margin: 0;
}

/* Old .bibliography .field-item p — 11px wins over editor inline 10pt/small */
.ih-cat-block--bibliography .ih-cat-block__body,
.ih-cat-block--bibliography .ih-cat-block__body p,
.ih-cat-block--bibliography p,
.ih-cat-block--bibliography span {
  font-family: Verdana, Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  line-height: 20px !important;
  color: #000;
}

.ih-cat-block--bibliography .ih-cat-block__body p,
.ih-cat-block--bibliography p {
  margin-left: 0.7cm;
  text-indent: -0.7cm;
  margin-top: 0;
  margin-bottom: 0;
  orphans: 0;
  widows: 0;
}

/* Keep Arial when editor set it (old <font face="Arial">) */
.ih-cat-block--bibliography span[style*='font-family'] {
  font-family: Arial, sans-serif !important;
}

.ih-cat-block--cite {
  margin-top: 2.5rem;
}

/* Old .group-cite h3: teal ~14px uppercase */
.ih-cat-block--cite .ih-cat-block__title {
  border-bottom: 0;
  padding-bottom: 0;
  color: #009a8d;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

/* Old cite body ≈ bibliography size */
.ih-cat-block--cite .ih-cat-cite {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 20px;
  color: #000;
}

/* Old .group-photos / .img-capt — document + gallery thumbnails */
.ih-cat-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: 0 0 1.25rem;
  max-width: 100%;
  min-width: 0;
}

.ih-cat-photos__item {
  margin: 0;
  width: 220px;
  max-width: 100%;
  min-width: 0;
  vertical-align: top;
  overflow: hidden; /* keep long captions inside the card */
}

.ih-cat-photos__link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: #e5e5e5;
  border: 5px solid #fff;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  /* 10px vertical (image air) · 5px horizontal → caption/image ~200px like old */
  padding: 10px 5px;
  max-width: 220px;
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.ih-cat-photos__link:hover,
.ih-cat-photos__link:focus-visible {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2), 0 0 8px rgba(0, 0, 0, 0.12);
  outline: none;
}

.ih-cat-photos__img {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: cover;
  border: 2px solid #fff;
  background: #fff;
}

/* Old .img-capt — 10.4px Verdana; ~200px wide (matches img), wraps inside card */
.ih-cat-photos__caption {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 0.3em;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10.4px;
  line-height: 15.6px;
  color: #000;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

/* Old PhotoSwipe caption: 13px Verdana, max-width 500px, line-height 17px */
.ih-cat-pswp-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  max-height: 40vh;
  overflow: auto;
  padding: 10px 0;
  box-sizing: border-box;
  transform: none;
  background-color: rgba(0, 0, 0, 0.55);
  color: #ccc;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 17px;
  text-align: left;
  z-index: 10;
  -webkit-overflow-scrolling: touch;
}

.ih-cat-pswp-caption__inner {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-sizing: border-box;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 17px;
  color: #ccc;
}

.ih-cat-pswp-caption p {
  margin: 0 13px;
}

.ih-cat-pswp-caption p:last-child {
  margin-bottom: 0;
}

.ih-cat-pswp-caption__url {
  margin: 0 0 .55em !important;
  word-break: break-all;
}

.ih-cat-pswp-caption a {
  color: #ccc;
  text-decoration: underline;
}

.ih-cat-pswp-caption a:hover,
.ih-cat-pswp-caption a:focus-visible {
  color: #fff;
}

.ih-cat-pswp-caption strong {
  font-weight: 700;
}

/* Solid black lightbox like the original catalogue preview */
.pswp.pswp--open {
  --pswp-bg: #000;
}

.pswp__bg {
  background: #000 !important;
  opacity: 1 !important;
}

.ih-cat-doc-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ih-cat-doc-card {
  display: grid;
  grid-template-columns: var(--ih-cat-doc-media, 100px) minmax(0, 1fr);
  /* Title + description share the text column; image sits beside description only */
  grid-template-areas:
    ". title"
    "media body";
  column-gap: var(--ih-cat-doc-gap, 1rem);
  row-gap: .35rem;
  align-items: start;
  padding: .75rem 0;
  width: 100%;
}

.ih-cat-doc-card__title {
  grid-area: title;
}

.ih-cat-doc-card__media {
  grid-area: media;
}

.ih-cat-doc-card__body {
  grid-area: body;
  min-width: 0;
}

.ih-cat-doc-list .ih-cat-doc-card:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Old Drupal styles/thumbnail — fit within 100×100, keep aspect ratio */
.ih-cat-doc-card__img {
  display: block;
  width: auto;
  max-width: 100px;
  max-height: 100px;
  height: auto;
  margin-top: 0;
}

.ih-cat-doc-card__placeholder {
  width: 100px;
  height: 75px;
  max-width: 100%;
  background: #e8eef0;
  border: 1px solid var(--ih-border, #d7dde3);
}

.ih-cat-doc-card__title {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
}

.ih-cat-doc-card__title a {
  color: var(--ih-text, #1f2937);
  text-decoration: none;
}

.ih-cat-doc-card__title a::before {
  content: '\2022\00a0';
  color: var(--ih-text, #1f2937);
}

.ih-cat-doc-card__title a:hover {
  color: var(--ih-teal, #00B3B1);
}

.ih-cat-doc-card__legend {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
  color: #000;
}

.ih-cat-doc-card__legend p:last-child {
  margin-bottom: 0;
}

.ih-cat-doc-card__more-link {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #aaa;
  text-decoration: none;
  white-space: nowrap;
}

.ih-cat-doc-card__more-link:hover {
  color: #fcce0a;
  text-decoration: none;
}

.ih-cat-doc-card__more {
  margin: .75rem 0 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.ih-cat-doc-card__more a {
  color: #aaa;
  text-decoration: none;
  font-weight: 400;
}

.ih-cat-doc-card__more a:hover {
  color: #fcce0a;
  text-decoration: none;
}

.ih-cat-child-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ih-cat-child-list li {
  border-bottom: 1px solid var(--ih-border, #d7dde3);
}

.ih-cat-child-list a {
  display: block;
  padding: .75rem 0;
  font-family: var(--ih-font-sans, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ih-teal, #14818a);
}

/*
 * Archaeological reports — match old Drupal views-field metrics:
 * hanging indent 48px, first-line measure ~730px (not full catalogue 769px),
 * links #aaa without underline. Separate from document blocks / bibliography.
 */
.ih-cat-reports .ih-cat-block__title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #009a8d;
  border-bottom: 0;
  padding-bottom: 0;
}

.ih-cat-reports .ih-cat-block + .ih-cat-block {
  margin-top: 35px;
}

.ih-cat-reports .ih-cat-block__body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #000;
}

/* Old #content text measure ≈ 730px first line (vs catalogue pad 769px). */
.ih-cat-reports__fieldwork .ih-cat-block__body,
.ih-cat-reports__overviews .ih-cat-block__body {
  max-width: 730px;
}

/* Hanging indent only on bib lists (not preface prose). */
.ih-cat-reports__fieldwork .ih-cat-block__body p,
.ih-cat-reports__overviews .ih-cat-block__body p {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #000;
  text-indent: -48px;
  margin-left: 48px;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Old report / field-content links: #aaa, no underline */
.ih-section-layout__content .ih-cat-reports a {
  color: #aaa !important;
  text-decoration: none !important;
}
.ih-section-layout__content .ih-cat-reports a:hover {
  color: #fcce0a !important;
}

.ih-cat-video-page .ih-cat-block + .ih-cat-block {
  margin-top: 2.25rem;
}

.ih-cat-block--video .ih-cat-block__title,
.ih-cat-block--exhibitions .ih-cat-block__title {
  color: var(--ih-teal, #00a3a1);
  letter-spacing: .06em;
}

.ih-cat-exhibitions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ih-cat-exhibition {
  font-family: var(--ih-font-serif, Georgia, "Times New Roman", serif);
  font-size: 13px;
  line-height: 1.45;
  color: #1f2937;
}

.ih-cat-exhibition__title {
  margin: 0 0 .35em;
  font-style: italic;
  font-weight: 400;
}

.ih-cat-exhibition__description {
  margin: 0;
}

.ih-cat-exhibition__url {
  margin: .45em 0 0;
}

.ih-cat-exhibition__url a {
  color: #4b5563;
  word-break: break-word;
}

.ih-cat-exhibition__url a:hover {
  color: var(--ih-teal, #00a3a1);
}

.ih-cat-videos {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ih-cat-video {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 1.15rem;
  align-items: stretch;
}

.ih-cat-video--text {
  grid-template-columns: minmax(0, 1fr);
}

.ih-cat-video__media {
  background: #000;
}

.ih-cat-video__play {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.ih-cat-video__play img {
  display: block;
  width: 100%;
  height: auto;
}

.ih-cat-video-modal[hidden] {
  display: none;
}

.ih-cat-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 20px;
}

.ih-cat-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.ih-cat-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

.ih-cat-video-modal__close {
  position: absolute;
  top: -36px;
  right: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--ih-font-sans, sans-serif);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.ih-cat-video-modal__frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

.ih-cat-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.ih-cat-video-modal-open {
  overflow: hidden;
}

.ih-cat-video__body {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px dotted #c5cdd4;
  padding: .1rem 0 .1rem 1.15rem;
  font-family: var(--ih-font-serif, Georgia, "Times New Roman", serif);
  font-size: 13px;
  line-height: 1.45;
  color: #1f2937;
}

.ih-cat-video--text .ih-cat-video__body {
  border-left: 0;
  padding-left: 0;
}

.ih-cat-video__title {
  margin: 0 0 .35em;
  font-style: italic;
  font-weight: 400;
}

.ih-cat-video__description {
  margin: 0;
}

.ih-cat-video__url {
  margin: .45em 0 0;
}

.ih-cat-video__url a {
  color: #4b5563;
  word-break: break-word;
}

.ih-cat-video__url a:hover {
  color: var(--ih-teal, #00a3a1);
}

.ih-cat-gallery-page__credits {
  margin-top: 1.25rem;
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
}

.ih-cat-empty {
  color: #6b7280;
  font-family: var(--ih-font-serif, Georgia, serif);
}

@media (max-width: 991.98px) {
  .ih-map-page .ih-section-layout__content {
    border-left: 0;
    padding-left: 0;
    /* border-top: 1px solid var(--ih-border, #dde0e8); */
    padding-top: 20px;
  }

  .ih-cat-map-filters__form {
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .ih-catalogue-page .ih-section-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ih-catalogue-page .ih-section-layout__sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .ih-catalogue-page .ih-section-layout__content {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--ih-border, #dde0e8);
    padding-top: 20px;
  }

  .ih-cat-hub,
  .ih-cat-doc-card {
    grid-template-columns: 1fr;
  }

  .ih-cat-hub__map-col,
  .ih-cat-hub .ih-cat-map {
    width: 100%;
    height: 230px;
    min-height: 230px;
  }

  .ih-cat-hub__meta-col {
    min-height: 0;
    margin-left: 0;
  }

  .ih-cat-index {
    --ih-cat-doc-media: 0px;
    --ih-cat-doc-gap: 0px;
  }

  .ih-cat-index__gazetteer-title,
  .ih-cat-index__child-title {
    padding-left: 0;
  }

  .ih-cat-meta__row {
    margin-bottom: .45em;
  }

  .ih-cat-map {
    min-height: 260px;
  }

  .ih-cat-map--overview {
    min-height: 55vh;
    height: 55vh;
  }

  .ih-cat-map-label__link,
  .ih-cat-map-label__btn,
  .ih-cat-map-label__text {
    font-size: 11px;
  }

  .ih-cat-photos__item {
    width: calc(50% - .625rem);
  }

  .ih-cat-photos__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .ih-cat-video {
    grid-template-columns: minmax(0, 1fr);
    row-gap: .75rem;
    align-items: start;
  }

  .ih-cat-video__media {
    max-width: 280px;
  }

  .ih-cat-video__body {
    height: auto;
    justify-content: flex-start;
    border-left: 0;
    padding-left: 0;
  }
}


.ih-cat-block--inscription table{
  font-size: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  border-collapse: collapse;
  border: 0;
  border-spacing: 0;
}

.ih-cat-block--inscription table td:nth-child(2){
  padding-left: 2em;
}

/* all urls of the main content */
/* .ih-section-layout a, */
.ih-section-layout__content a {
  /* color: #aaa !important; */
  color: #333 !important;
  /*text-decoration: none !important;*/
  /* border-bottom-width: 1px;
  border-bottom-color: #00B3B1;
  border-bottom-style: dashed; */
}

.ih-section-layout a:hover {
  color: #fcce0a !important;
}

.ih-cat-index__gazetteer-title a,
.ih-cat-index__child-title a,
.ih-cat-doc-card__title a {
  color: #000 !important;
}

/*
 * Beat .ih-section-layout__content a { color:#333 !important }
 * so Read more stays faint grey like old Drupal.
 */
.ih-section-layout__content a.ih-cat-doc-card__more-link,
.ih-section-layout__content .ih-cat-doc-card__more a,
.ih-catalogue-page a.ih-cat-doc-card__more-link,
.ih-catalogue-page .ih-cat-doc-card__more a {
  color: #aaa !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.ih-section-layout__content a.ih-cat-doc-card__more-link:hover,
.ih-section-layout__content .ih-cat-doc-card__more a:hover,
.ih-catalogue-page a.ih-cat-doc-card__more-link:hover,
.ih-catalogue-page .ih-cat-doc-card__more a:hover {
  color: #fcce0a !important;
}


/*
.ih-nav-menu a{
  color: #fff !important;
}*/

.ih-cat-block--cite .ih-cat-cite em {
  font-style: italic;
}

body.tax-catalogue_gazetteer .ih-cat-meta__row a {
  /* color: #9aa0a8; */
  color: #AAAAAA !important;
  text-decoration: none !important;
}

body.tax-catalogue_gazetteer .ih-cat-meta__row a:hover {
  color: #fcce0a !important
}

/* Print as on screen — catalogue keeps nav/layout/colors */
@media print {
  .ih-catalogue-page,
  .ih-map-page,
  .ih-cat-nav,
  .ih-cat-hub,
  .ih-cat-map,
  .ih-section-layout__sidebar {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  .ih-cat-map-popover {
    display: none !important;
  }

  .ih-section-layout__sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
