/* Your own styles go here (this file is not generated, edit freely). */

/* "Own a set of Lewis chessmen" products on the History page.
   Text uses the page's own styles (wb-stl-heading2 / heading3 / custom11); this only lays it out.
   It sits below the text and pictures and uses the page's full width (up to 1200px).
   Cards per row: 4 where there is room, 2 on tablets and small laptops, 1 on phones. */
#lewis-shop { display: block; width: 100%; max-width: 1200px; margin: 40px auto 10px auto; padding: 0 16px; flex: 0 0 auto; align-self: center; box-sizing: border-box; }
#lewis-shop .ls-title { margin: 0 0 10px; }
#lewis-shop .ls-intro { margin: 0 0 20px; }
#lewis-shop .ls-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 360px; margin: 0 auto; }
@media (min-width: 560px) { #lewis-shop .ls-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; max-width: 640px; } }
@media (min-width: 992px) { #lewis-shop .ls-grid { grid-template-columns: repeat(4, 1fr); max-width: none; } }
#lewis-shop .ls-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
#lewis-shop .ls-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: opacity .15s ease; }
#lewis-shop .ls-card:hover img { opacity: .85; }
#lewis-shop .ls-name { margin: 10px 0 4px; }
#lewis-shop .ls-text { margin: 0 0 6px; flex: 1 1 auto; }
#lewis-shop .ls-go { display: block; color: #000; }
#lewis-shop .ls-card:hover .ls-go { text-decoration: underline; }
@media (max-width: 767px) { #lewis-shop { margin-top: 30px; } }

/* iT Literate logo in the footer - not needed (delete these lines to show it again) */
#wb_element_instance1843_0 { display: none !important; }

/* Readable text on phones and tablets. Site.pro shrank body text to 8px (phones) and 11px
   (tablets); Google flags anything under about 12px as too small. Desktops are unchanged. */
@media (max-width: 991px) {
  .wb-stl-custom11 { font-size: 15px !important; line-height: 24px !important; }
  .wb-stl-footer { font-size: 13px !important; line-height: 18px !important; }
}

/* Short history line under the header tagline (all pages) */
.hf-history-line { margin: 4px 0 0 0; }
.hf-history-line a { color: rgba(255,164,8,1); font-weight: bold; white-space: nowrap; font-size: inherit !important; line-height: inherit !important; }
@media (max-width: 991px) { .hf-history-line.wb-stl-custom11 { font-size: 14px !important; line-height: 21px !important; } }
.hf-history-line a:hover { text-decoration: underline; }
