/* Presentation is scoped to the wallpaper hub and collection pages. */
body.llw-page .inside-article { padding: clamp(20px, 3vw, 40px); }
body.llw-page .entry-content { margin-top: 0; }
.llw {
  --llw-pink: #b34768;
  --llw-dark: #963653;
  --llw-soft: #f3e8e5;
  --llw-paper: #fffaf8;
  --llw-ink: #2f2525;
  --llw-muted: #766161;
  --llw-border: #dbcbcb;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 40px;
  color: var(--llw-ink);
  line-height: 1.6;
}
.llw *, .llw *::before, .llw *::after { box-sizing: border-box; }
.llw a { color: var(--llw-dark); text-underline-offset: .2em; }
.llw a:hover { color: var(--llw-pink); }
.llw button, .llw input, .llw select { font: inherit; }
.llw button, .llw a.llw-download, .llw a.llw-modal-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--llw-pink);
  border-radius: 12px;
  padding: 10px 18px;
  background: var(--llw-pink);
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.llw button:hover, .llw a.llw-download:hover, .llw a.llw-modal-download:hover {
  border-color: var(--llw-dark);
  background: var(--llw-dark);
  color: #fff;
}
.llw :focus-visible { outline: 3px solid var(--llw-dark); outline-offset: 4px; }
.llw .llw-hero {
  margin: 0 0 28px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--llw-border);
  border-radius: 24px;
  background: linear-gradient(120deg, var(--llw-paper), var(--llw-soft));
}
.llw .llw-eyebrow {
  margin: 0 0 12px;
  color: var(--llw-pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.llw .llw-hero h1 {
  max-width: 24ch;
  margin: 0 0 16px;
  color: var(--llw-ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.14;
  overflow-wrap: anywhere;
}
.llw .llw-hero > p:not(.llw-eyebrow) {
  max-width: 65ch;
  margin: 0;
  color: var(--llw-muted);
  font-size: 17px;
}
.llw .llw-collection-hero .llw-badge { margin-top: 18px; }
.llw .llw-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--llw-border);
  border-radius: 18px;
  background: var(--llw-paper);
}
.llw .llw-filters label {
  display: flex;
  flex: 1 1 160px;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  color: var(--llw-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.llw-hub .llw-filters label:first-child { flex-grow: 2; flex-basis: 260px; }
.llw .llw-filters input[type="search"], .llw .llw-filters select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  border: 1px solid var(--llw-border);
  border-radius: 10px;
  padding: 10px 12px;
  background-color: #fff;
  color: var(--llw-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.llw .llw-filters input[type="search"]:focus, .llw .llw-filters select:focus {
  border-color: var(--llw-pink);
  background-color: #fff;
  color: var(--llw-ink);
}
.llw .llw-filters input::placeholder { color: var(--llw-muted); opacity: 1; }
.llw .llw-filters button { min-height: 46px; font-size: 15px; }
.llw .llw-clear { display: inline-flex; align-items: center; min-height: 46px; padding: 6px 4px; font-size: 14px; }
.llw .llw-count { margin: 0 0 18px; color: var(--llw-muted); font-size: 14px; }
.llw .llw-collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.llw .llw-collection {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--llw-border);
  border-radius: 20px;
  background: #fff;
}
.llw .llw-collection > a { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.llw .llw-cover { display: grid; aspect-ratio: 9 / 16; place-items: center; overflow: hidden; background: var(--llw-paper); }
.llw .llw-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.llw .llw-card-text { display: flex; flex: 1; align-items: start; flex-direction: column; padding: 20px; }
.llw .llw-card-text h2 { margin: 12px 0 8px; color: var(--llw-ink); font-size: 22px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.llw .llw-card-text p { margin: 0 0 16px; color: var(--llw-muted); font-size: 14px; line-height: 1.55; }
.llw .llw-card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; color: var(--llw-dark); font-size: 14px; font-weight: 600; }
.llw .llw-collection a:hover .llw-card-link { text-decoration: underline; text-underline-offset: .2em; }
.llw .llw-badge { display: inline-block; border: 1px solid var(--llw-border); border-radius: 999px; padding: 5px 11px; background: var(--llw-soft); color: var(--llw-dark); font-size: 12px; font-weight: 600; line-height: 1.5; }
.llw .llw-back { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.llw .llw-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 22px; }
.llw .llw-toolbar p { margin: 0; color: var(--llw-muted); font-size: 14px; }
.llw .llw-share-collection, .llw .llw-share-image { border-color: var(--llw-pink); background: #fff; color: var(--llw-dark); font-size: 14px; }
.llw .llw-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.llw .llw-wallpaper { display: flex; min-width: 0; align-items: stretch; flex-direction: column; }
.llw .llw-open, .llw .llw-open:hover { display: block; width: 100%; min-height: 0; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--llw-border); border-radius: 16px; padding: 0; background: var(--llw-paper); }
.llw .llw-open img { display: block; width: 100%; height: 100%; object-fit: contain; }
.llw .llw-wallpaper h2 { margin: 12px 0 14px; color: var(--llw-ink); font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.llw a.llw-download { width: 100%; margin-top: auto; font-size: 14px; }
.llw .llw-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 36px 0; }
.llw .llw-pages a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--llw-border); border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.llw .llw-pages a:hover { border-color: var(--llw-pink); background: var(--llw-paper); }
.llw .llw-pages span { color: var(--llw-muted); font-size: 13px; }
.llw .llw-empty { margin: 24px 0; border: 1px solid var(--llw-border); border-radius: 16px; padding: 30px 20px; background: var(--llw-paper); color: var(--llw-muted); text-align: center; }
.llw .llw-help { margin: 30px 0 0; color: var(--llw-muted); font-size: 13px; line-height: 1.6; }
.llw .llw-editorial { margin-top: 30px; }
.llw .llw-modal {
  width: 680px;
  max-width: 94vw;
  max-height: 94vh;
  max-height: 94dvh;
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--llw-border);
  border-radius: 20px;
  padding: 14px;
  background: #fff;
  color: var(--llw-ink);
}
.llw .llw-modal::backdrop { background: rgb(47 37 37 / .82); }
.llw .llw-modal-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; background: #fff; color: var(--llw-muted); font-size: 13px; }
.llw .llw-close { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid var(--llw-border); border-radius: 50%; padding: 0; background: var(--llw-paper); color: var(--llw-ink); font-size: 28px; font-weight: 400; line-height: 1; }
.llw .llw-modal-image { display: block; width: 100%; max-width: 100%; height: min(60vh, 800px); height: min(60dvh, 800px); border-radius: 12px; object-fit: contain; background: var(--llw-paper); }
.llw .llw-modal-info { padding: 18px 6px 4px; }
.llw .llw-modal-info h2 { margin: 0 0 8px; color: var(--llw-ink); font-size: 21px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.llw .llw-modal-detail { margin: 0 0 18px; color: var(--llw-muted); font-size: 13px; }
.llw .llw-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.llw .llw-status, .llw .llw-modal-status { margin: 16px 0 0; color: var(--llw-muted); font-size: 14px; overflow-wrap: anywhere; }
.llw .llw-status:empty, .llw .llw-modal-status:empty { display: none; }
@media (max-width: 1000px) {
  .llw .llw-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .llw .llw-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .llw { padding: 0 0 28px; }
  .llw .llw-hero { border-radius: 20px; padding: 24px 20px; }
  .llw .llw-hero h1 { font-size: 30px; }
  .llw .llw-hero > p:not(.llw-eyebrow) { font-size: 16px; }
  .llw .llw-filters { gap: 12px; padding: 16px; }
  .llw .llw-filters label { flex-basis: calc(50% - 6px); }
  .llw-hub .llw-filters label:first-child { flex-basis: 100%; }
  .llw .llw-filters button { flex: 1 1 auto; }
  .llw .llw-toolbar { align-items: start; flex-direction: column; }
  .llw .llw-gallery, .llw .llw-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .llw .llw-collection { border-radius: 16px; }
  .llw .llw-card-text { padding: 13px; }
  .llw .llw-card-text h2 { font-size: 18px; }
  .llw .llw-card-text p { font-size: 13px; }
  .llw .llw-card-link { font-size: 13px; }
  .llw .llw-badge { padding: 4px 8px; font-size: 11px; }
  .llw .llw-wallpaper h2 { font-size: 13px; }
  .llw a.llw-download { padding: 10px 6px; font-size: 13px; }
  .llw .llw-modal { border-radius: 16px; padding: 10px; }
  .llw .llw-modal-actions > * { flex: 1 1 100%; }
  .llw .llw-modal-info h2 { font-size: 19px; }
}
