/* Optional B2 resources on the English exam chooser only. */
#main.px1 .px1-b2-books .px1-books-kicker {
  margin: 0 0 .35rem;
  color: #43576c;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#main.px1 .px1-books-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .75rem;
}
#main.px1 .px1-book {
  margin: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(5rem,10vw,7.25rem) minmax(0,1fr);
  align-items: start;
  gap: clamp(.6rem,2vw,1rem);
  padding: clamp(.7rem,2vw,1rem);
  border: 1px solid var(--border,#d4dfe7);
  border-radius: .65rem;
  background: #f7f9fb;
}
#main.px1 .px1-book-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
}
#main.px1 .px1-book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px #14243b23);
}
#main.px1 .px1-book-copy { min-width: 0; }
#main.px1 .px1-book h3 {
  margin: 0 0 .3rem;
  color: var(--ink,#14243b);
  font-size: clamp(1rem,2vw,1.22rem);
  line-height: 1.24;
  overflow-wrap: anywhere;
}
#main.px1 .px1-book p {
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
  color: var(--soft,#42566a);
}
#main.px1 .px1-book .px1-book-format {
  font-size: .76rem;
  font-weight: 750;
  margin-bottom: .35rem;
}
#main.px1 .px1-book-volume { font-weight: 600; }
#main.px1 a.px1-book-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  margin: .2rem 0 0;
  font-size: .9rem;
  font-weight: 750;
  color: #13575f;
  text-decoration: underline;
  text-underline-offset: .18em;
}
#main.px1 a.px1-book-link:hover { color: #092b30; }
#main.px1 a.px1-book-link:focus-visible { outline: 2px solid #155a66; outline-offset: 2px; }
@media (max-width: 720px) {
  #main.px1 .px1-books-grid { grid-template-columns: minmax(0,1fr); }
  #main.px1 .px1-book { grid-template-columns: clamp(3.8rem,20vw,5.4rem) minmax(0,1fr); }
}
