.apaReference {
    text-indent: -1.5em;
    padding-left: 1.5em;
    padding-bottom: 1em;
}
 

.apaReference em {
    font-style: italic;
}

.bibliographicTable  {
    border: 0;
    width: 100%;
}

.bibliolabel   {
    border: 0;
    width: 25%;
    text-align: right;
}


.bibliocontent  {
    border: 0;
    width: 75%;
}

.bibliographicYearTable  {
    border: 0;
}

.biblioyears  {
    border: 0;
}

.specialSection {
	margin-top: 2em;
	margin-bottom: 2em;
	border: solid 1px;
	padding: 1em;
	background: rgb(239,239,239);
}

/* Core gallery layout */
.hf-gallery {
  display: grid;
  grid-template-columns: max-content max-content;
  row-gap: 18px;
  column-gap: 10px;            /* tighter top spacing */
  justify-content: center;     /* center the pair as a unit */
  align-items: start;
  margin: 16px 0 24px;
}

/* Remove card-like styling entirely */
.hf-gallery a {
  display: block;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* Preserve natural image size */
.hf-gallery img {
  display: block;
  width: auto;
  height: auto;
  max-width: 320px;            /* landscape default */
}

/* Portraits slightly narrower */
.hf-gallery a:nth-child(1) img,
.hf-gallery a:nth-child(2) img {
  max-width: 260px;
}

/* Alignment tweaks for top row only */
.hf-gallery a:nth-child(1) {
  justify-self: end;           /* right-align left portrait */
}

.hf-gallery a:nth-child(2) {
  justify-self: start;         /* left-align right portrait */
}

/* Bottom row: keep centered but allow wider images */
.hf-gallery a:nth-child(3),
.hf-gallery a:nth-child(4) {
  justify-self: center;
}

