/* 2021-04-15 JD: adapted from old event.css */

/* body */
.LP-links-page {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: black;
  /* match Bootstrap to keep topnav height consistent with other pages: */
  line-height: 1.5;
}

.LP__content, .LP__content * {
  box-sizing: border-box;
}

.LP__content {
  /* make room for position:fixed top nav: */
  padding: 80px 0 2rem 0;
  background-color: #282828; /*#112152 #333;*/
  text-align: center;
  font-family: Raleway;
}

.LP__heading {
  color: #e0972b;
  font-size: 3rem;
  margin: 2rem 0 0 0;
  font-weight: normal;
}

.LP__link-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  width: 62rem;
  max-width: 100%;
  justify-content: center;
  margin: 0 auto;
  padding: 1rem;
  /* temp: */
  background-color: #00f0;
}

.LP--store .LP__link-list {
  width: 42rem;
}

.LP__link-item {
  margin: 1rem;
  width: 18rem;
  font-size: 1.25rem;
  box-shadow: black 0 0.25rem 1rem;
  display: grid;
  grid-template-areas: "single";
  align-content: center;
  grid-template-rows: 1fr;
}

.LP__link {
  padding: 1rem;
  grid-area: single;
  align-content: center;
  justify-items: center;
  display: grid;
  grid-template-areas: "single";
  height: 100%;
  background-color: #ddd;
  border-radius: 0.25rem;
  text-decoration: none;
  border: solid 0.5rem transparent;
  transition: background-color 50ms, border-color 50ms, color 50ms;
}

.LP__link.-full {
  grid-template-areas: "img" "title" "description";
  align-content: start;
}

/* only want these for <a>, not unlinked <span> */
a.LP__link {
  color: #0836c1;
}

a.LP__link:hover,
a.LP__link:focus {
  background-color: white; /*#e0972b55;*/
}

a.LP__link:focus {
  outline: none;
  border-color: #e0972b;
}

a.LP__link:active {
  color: #e0972b; /*#4976ff;*/
}

.LP__link-text {
  grid-area: single;
}

.LP__link-title {
  grid-area: title;
  margin: 1.5rem 0 0.5rem 0;
}

/* progressive enhancement with :is() - doesn't matter too much if text-decoration stays `none`: */
a.LP__link:is(:hover, :focus) :is(.LP__link-text, .LP__link-title) {
  text-decoration: underline;
}

.LP__link-img {
  grid-area: img;
  display: block;
  /*text-align: center;*/
  height: 10rem;
  max-height: 10rem;
  max-width: 100%;
}

.LP__link-description {
  grid-area: description;
  font-size: 1rem;
  margin: 0.5rem 0 0 0;
}
