/* line 19, less/variables.less */
:root {
  --ast-title-layout-bg: #333333;
  --wp--preset--shadow--deep: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
/* line 41, less/variables.less */
.the-shadow {
  box-shadow: var(--wp--preset--shadow--deep);
}
/* line 1, less/heritageasset.less */
.heritageasset-meta,
.organisation-meta {
  padding: 10px;
  box-shadow: var(--wp--preset--shadow--deep);
  border-radius: 2px;
  margin-bottom: 10px;
  background-color: var(--ast-global-color-3);
}
/* line 8, less/heritageasset.less */
.heritageasset-meta p,
.organisation-meta p {
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) {
  /* line 17, less/heritageasset.less */
  .heritageasset-meta,
  .organisation-meta {
    width: 50%;
    float: right;
    margin-left: 10px !important;
    margin-bottom: 10px;
  }
}
/* === Force captions BELOW images instead of overlay === */
/* line 26, less/heritageasset.less */
.wp-block-gallery.has-nested-images figure.wp-block-image {
  position: relative;
}
/* line 30, less/heritageasset.less */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption.wp-element-caption {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  display: block;
  width: 100%;
  max-height: none !important;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  background: none !important;
  color: inherit;
  text-shadow: none !important;
  overflow: visible !important;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
  font-style: italic;
}
/* Accordion button */
/* line 59, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper {
  display: block;
  margin-bottom: 1em;
}
/* line 63, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper input.accordion-toggle {
  display: none;
}
/* line 67, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper label.accordion {
  display: block;
  cursor: pointer;
  padding: 1em 1.125em;
  background-color: #eee;
  color: #444;
  font-size: 1rem;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.2s ease;
}
/* line 80, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper label.accordion:after {
  content: '\002B';
  position: absolute;
  right: 1.125em;
  font-weight: bold;
}
/* line 87, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper label.accordion:hover,
.ha-taxonomy .accordion-wrapper label.accordion:focus {
  background-color: #ddd;
  outline: none;
}
/* line 93, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper label.accordion:focus-visible {
  outline: 2px solid #005fcc;
}
/* line 98, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper input.accordion-toggle:checked + label.accordion:after {
  content: '\2212';
}
/* line 102, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 0 0 4px 4px;
  padding: 0 1.125em;
}
/* line 114, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper input.accordion-toggle:checked ~ .panel {
  max-height: 1000px;
  padding: 0.75em 1.125em;
}
/* line 120, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper ul.accordion-term-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
/* line 125, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper ul.accordion-term-list li.parent-term {
  margin-bottom: 0.5em;
}
/* line 128, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper ul.accordion-term-list li.parent-term strong {
  display: block;
  margin-bottom: 0.25em;
  font-size: 1rem;
}
/* line 134, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper ul.accordion-term-list li.parent-term ul.child-terms {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 0.25em 0;
}
/* line 139, less/heritageasset.less */
.ha-taxonomy .accordion-wrapper ul.accordion-term-list li.parent-term ul.child-terms li strong {
  display: inline;
  font-weight: bold;
  margin-right: 0.25em;
}
/* === WP Gallery Responsive (Flex version) === */
/* line 151, less/heritageasset.less */
.wp-block-gallery.has-nested-images {
  display: flex !important;
  /* Ensure flex is forcing the layout */
  flex-wrap: wrap;
  gap: 0.5rem !important;
  /* Shrunk the gap to 0.5rem and overridden WP defaults */
}
/* line 158, less/heritageasset.less */
.wp-block-gallery.has-nested-images .wp-block-image {
  box-sizing: border-box;
}
/* line 165, less/heritageasset.less */
.single-heritageasset .wp-block-gallery img {
  box-shadow: var(--wp--preset--shadow--deep);
}
/* Mobile (default / safety fallback) */
@media (max-width: 599px) {
  /* line 173, less/heritageasset.less */
  .wp-block-gallery.is-layout-flex > figure.wp-block-image {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
/* Tablet: 2 columns (1 gap of 0.5rem total) */
@media (min-width: 600px) and (max-width: 921px) {
  /* line 181, less/heritageasset.less */
  .wp-block-gallery.is-layout-flex {
    justify-content: flex-start;
  }
  /* line 185, less/heritageasset.less */
  .wp-block-gallery.is-layout-flex > figure.wp-block-image {
    /* ~"..." tells LESS to leave this formula alone and pass it to the browser */
    flex: 0 0 calc((100% - 0.5rem) / 2) !important;
    max-width: calc((100% - 0.5rem) / 2) !important;
  }
}
/* Desktop: 3 columns (2 gaps of 0.5rem = 1rem total) */
@media (min-width: 922px) {
  /* line 194, less/heritageasset.less */
  .wp-block-gallery.is-layout-flex {
    justify-content: flex-start;
  }
  /* line 198, less/heritageasset.less */
  .wp-block-gallery.is-layout-flex > figure.wp-block-image {
    /* 3 items mean 2 gaps. 2 * 0.5rem = 1rem total gap space to subtract */
    flex: 0 0 calc((100% - 1rem) / 3) !important;
    max-width: calc((100% - 1rem) / 3) !important;
  }
}
/* line 205, less/heritageasset.less */
.heritageasset-table {
  border: 1px solid #000000;
  box-shadow: var(--wp--preset--shadow--deep);
  border-collapse: separate !important;
}
/* line 211, less/heritageasset.less */
.heritageasset-pagination {
  display: inline-block;
  width: 100%;
  text-align: center;
}
/* line 216, less/heritageasset.less */
.heritageasset-pagination .page-numbers {
  display: inline-block;
  width: 2.33333em;
  height: 2.33333em;
  font-size: 1.06666rem;
  line-height: calc(2.33333em - 3px);
  font-weight: 500;
}
/* line 226, less/heritageasset.less */
.heritageasset-pagination a {
  text-decoration: none !important;
}
/* line 230, less/heritageasset.less */
.heritageasset-pagination .current {
  color: #ffffff;
  border-color: #3a5e8c;
  background-color: #3a5e8c;
}
/* line 236, less/heritageasset.less */
.heritageasset-pagination .next {
  float: right;
}
/* line 240, less/heritageasset.less */
.heritageasset-pagination .prev {
  float: left;
}
/* line 244, less/heritageasset.less */
.heritageasset-pagination .next,
.heritageasset-pagination .prev {
  padding: 0 1.5em;
  height: 2.33333em;
  line-height: calc(2.33333em - 3px);
  width: auto;
}
/* line 4, ./less/editor.less */
.ast-pro-upgrade-cta-wrapper {
  display: none;
  visibility: hidden;
}
