/* Published Cards element: tabs, card grid and the details window. Colours come from the site palette (--lp-c-*),
   so the light and the dark theme of a site recolour it. Look of licensekleanthous.com "Learn Signs". */
.lp-cards { --lc-accent: var(--lp-c-accent, #4f46e5); --lc-card: var(--lp-c-card, #f5f7fc); --lc-surface: var(--lp-c-surface, #fff);
  --lc-text: var(--lp-c-text, #0e1626); --lc-muted: var(--lp-c-muted, #66738c); width: 100%; }
.lp-cards .lc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; }
.lp-cards .lc-tabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--lc-card); color: var(--lc-text); box-shadow: 0 2px 8px rgba(14, 22, 38, .06); transition: background .2s, color .2s, box-shadow .2s; }
.lp-cards .lc-tabs button:hover { color: var(--lc-accent); }
.lp-cards .lc-tabs button[aria-selected="true"] { background: var(--lc-accent); color: #fff; box-shadow: 0 12px 40px color-mix(in srgb, var(--lc-accent) 30%, transparent); }
.lp-cards .lc-items { display: grid; gap: 16px; grid-template-columns: repeat(var(--lc-cols, 4), minmax(0, 1fr)); }
.lp-cards.lc-cols-2 { --lc-cols: 2; } .lp-cards.lc-cols-3 { --lc-cols: 3; } .lp-cards.lc-cols-4 { --lc-cols: 4; }
.lp-cards.lc-cols-5 { --lc-cols: 5; } .lp-cards.lc-cols-6 { --lc-cols: 6; } .lp-cards.lc-cols-7 { --lc-cols: 7; } .lp-cards.lc-cols-8 { --lc-cols: 8; }
@media (max-width: 720px) {
  .lp-cards.lc-phone-1 .lc-items { grid-template-columns: 1fr; }
  .lp-cards.lc-phone-2 .lc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cards.lc-phone-3 .lc-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-cards .lc-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .lp-cards .lc-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .lp-cards .lc-tabs button { flex: none; }
}
.lp-cards .lc-item[hidden] { display: none; }
.lp-cards .lc-item > button, .lp-cards .lc-item > .lc-name { all: unset; box-sizing: border-box; }
.lp-cards .lc-item > button { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 14px; cursor: pointer;
  text-align: center; background: var(--lc-card); color: var(--lc-text); border-radius: 14px; box-shadow: 0 2px 8px rgba(14, 22, 38, .06);
  transition: transform .25s ease, box-shadow .25s ease; }
.lp-cards .lc-item > button:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(14, 22, 38, .14); }
.lp-cards .lc-item > button:focus-visible { outline: 2px solid var(--lc-accent); outline-offset: 2px; }
.lp-cards .lc-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; padding: 10px; box-sizing: border-box; }
.lp-cards .lc-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.lp-cards .lc-detail[hidden] { display: none !important; }
html.lc-lock { overflow: hidden; }
.lc-window { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 20px; }
.lc-window[hidden] { display: none; }
.lc-window .lc-back { position: absolute; inset: 0; background: rgba(5, 9, 20, .62); backdrop-filter: blur(4px); }
.lc-window .lc-panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: none;
  background: var(--lp-c-card, #fff); color: var(--lp-c-text, #0e1626); border-radius: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.lc-window .lc-panel::-webkit-scrollbar { display: none; width: 0; height: 0; }
.lc-window .lc-body > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #fff; }
.lc-window .lc-body h3 { margin: 22px 26px 8px; font-size: 26px; line-height: 1.2; }
.lc-window .lc-body section { margin: 12px 26px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--lp-c-accent, #4f46e5) 9%, transparent); }
.lc-window .lc-body section:last-child { margin-bottom: 26px; }
.lc-window .lc-body h4 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-c-accent, #4f46e5); }
.lc-window .lc-body p { margin: 0; font-size: 16px; line-height: 1.5; }
.lc-window .lc-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 26px; line-height: 1; background: rgba(5, 9, 20, .55); color: #fff; }
.lc-window .lc-step { position: absolute; top: 160px; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; font-size: 30px; line-height: 1;
  background: rgba(255, 255, 255, .92); color: var(--lp-c-accent, #4f46e5); box-shadow: 0 6px 18px rgba(14, 22, 38, .28); }
.lc-window .lc-step[hidden] { display: none; }
.lc-window .lc-prev { left: 14px; } .lc-window .lc-next { right: 14px; }
/* A right-to-left site: Previous stands on the right and Next on the left, their arrows point that way. */
.lc-window:dir(rtl) .lc-prev { left: auto; right: 14px; } .lc-window:dir(rtl) .lc-next { right: auto; left: 14px; }
.lc-window:dir(rtl) .lc-step { transform: scaleX(-1); }
.lc-window .lc-count { position: absolute; top: 22px; left: 22px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
/* Tile look: equal-height cards, a picture band on top, then badge, title, text and the details link at the bottom
   (licensekleanthous.com "Licenses"). */
.lp-cards.lc-look-tile .lc-items { gap: 20px; align-items: stretch; }
.lp-cards.lc-look-tile .lc-item > button { padding: 0; gap: 0; align-items: stretch; text-align: start; overflow: hidden; border-radius: 20px; }
.lp-cards.lc-look-tile .lc-pic { display: flex; align-items: center; justify-content: center; height: 240px; padding: 22px;
  background: color-mix(in srgb, var(--lc-accent) 14%, var(--lc-card)); box-sizing: border-box; }
.lp-cards.lc-look-tile .lc-pic img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: transparent; padding: 0; border-radius: 0; }
.lp-cards.lc-look-tile .lc-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 22px; }
.lp-cards.lc-look-tile .lc-badge { padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--lc-accent);
  background: color-mix(in srgb, var(--lc-accent) 16%, transparent); }
.lp-cards.lc-look-tile .lc-name { font-size: 22px; font-weight: 800; line-height: 1.2; }
.lp-cards.lc-look-tile .lc-text { font-size: 15px; line-height: 1.5; color: var(--lc-muted); }
.lp-cards.lc-look-tile .lc-more-link { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 700; color: var(--lc-accent); }
.lc-window .lc-body ul { margin: 0; padding-left: 20px; } .lc-window .lc-body li { margin: 4px 0; font-size: 16px; line-height: 1.45; }
