/* Literatúra – page blocks on top of the shared .dr-* styles (p-preco-lekari-volia-nifty.css). */
.li-lead { font-weight: 300; line-height: 24px; }

/* Hero badges (two stars) instead of a photo. */
.li-badges { position: relative; min-height: 400px; }
.li-badge { position: absolute; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; }
.li-badge-blue { top: 8%; left: 20%; width: 192px; height: 192px; background: url("../uploads/2026/03/Star-6.svg") center / cover no-repeat; font-size: 23px; line-height: 23px; }
.li-badge-blue strong { font-size: 52px; font-weight: 700; line-height: 1.2; }
.li-badge-pink { top: 44%; left: 30%; width: 168px; height: 168px; background: url("../uploads/2026/03/Star-61.svg") center / contain no-repeat; font-size: 20px; line-height: 27px; }
.li-badge-pink strong { font-weight: 700; }

/* Publication cards: icon | heading + reference. */
.li-pubs { padding-bottom: 40px; }
.li-pub { display: grid; grid-template-columns: 133px 1fr; grid-template-areas: "icon title" "icon body"; align-content: start; }
.li-pub:last-child { margin-bottom: 72px; }
.li-pub-icon { grid-area: icon; justify-self: center; width: 70px; height: 70px; object-fit: contain; }
.li-pub h2 { grid-area: title; margin: 0 0 8px; font-size: 24px; font-weight: 700; line-height: 34px; color: var(--pink); }
.li-pub-body { grid-area: body; }
.li-pub-body p { margin: 0; font-size: 18px; font-weight: 300; line-height: 26px; color: var(--ink); }
.li-pub-body .li-pub-title { font-weight: 700; }
.li-pub-body .li-pub-authors { margin-bottom: 15px; }
.li-pub-btn { margin-top: 10px; }

/* Several references per group card (ported publication list). */
.li-pub-list { list-style: none; margin: 0; padding: 0; min-width: 0; }
.li-pub-list > li { overflow-wrap: anywhere; }
.li-pub-list > li + li { margin-top: 24px; padding-top: 24px; border-top: 1px solid #FCDCEC; }
.li-pub-list .li-pub-authors { margin-bottom: 0; }
.li-pub-list .li-pub-note { margin-top: 6px; }
.li-pub-list .li-pub-btn { padding: 6px 18px; font-size: 14px; line-height: 24px; }

/* Technical documents */
.li-docs { margin-bottom: 60px; }
.li-docs h2 { margin: 0 0 20px; padding: 10px 20px 0; text-align: center; font-size: 24px; font-weight: 700; line-height: 33px; color: var(--ink); }
.li-docs-box { padding: 60px; border: 3px solid #D9E0FD; border-radius: 60px; background: linear-gradient(180deg, #fff 0%, #D7DFFD 100%); }
.li-docs-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 0; padding: 24px max(24px, calc((100% - 1072px) / 2)); border-radius: 24px; background: #fff; }
.li-docs-list li > * { display: block; min-height: 52px; padding: 13px; border: 1px solid #D7DFFD; border-radius: 8px; background: #fff; font-size: 18px; font-weight: 700; line-height: 26px; color: var(--ink); }
.li-docs-list li:nth-child(odd) > * { margin-right: 10px; }
.li-docs-list li:nth-child(even) > * { margin-left: 10px; }
.li-docs-list .is-file { position: relative; padding-right: 50px; }
.li-docs-list .is-file::after { content: ""; position: absolute; top: 0; bottom: 0; right: 10px; width: 32px; margin: auto; height: 32px; background: url("../uploads/2026/06/pdf.svg") center / 32px no-repeat; }
.li-docs-list .is-file:hover { border-color: var(--blue); color: var(--ink); }
/* Page / external links in the same list: arrow instead of the PDF icon. */
.li-docs-list .is-link { position: relative; padding-right: 50px; text-decoration: none; }
.li-docs-list .is-link::after { content: "\2192"; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--blue); }
.li-docs-list .is-link:hover { border-color: var(--blue); color: var(--ink); }

.li-ctas .dr-cta { flex-basis: 100%; }

@media (max-width: 1024px) {
  .li-badge-blue, .li-badge-pink { width: 117px; height: 117px; background-size: contain; }
  .li-badge-blue { font-size: 12px; }
  .li-badge-blue strong { font-size: 26px; }
  .li-badge-pink { font-size: 16px; line-height: 24px; }
  .li-docs-list li > * { font-size: 16px; padding-right: 30px; }
}
@media (max-width: 767px) {
  .li-badges { min-height: 190px; }
  .li-badge-blue { top: 15%; left: 11%; width: 151px; height: 151px; background: url("../uploads/2026/03/Star-6.svg") center / contain no-repeat; font-size: 20px; line-height: 23px; }
  .li-badge-blue strong { font-size: 40px; }
  .li-badge-pink { top: 20%; left: 50%; width: 130px; height: 130px; font-size: 16px; line-height: 21px; }
  .li-pubs { padding: 40px 0 0; }
  .li-pub { grid-template-columns: 20% 1fr; grid-template-areas: "icon title" "body body"; padding: 0 20px 20px; }
  .li-pub-icon { justify-self: start; }
  .li-pub h2 { align-self: center; padding-top: 10px; margin-bottom: 20px; font-size: 20px; line-height: 27px; }
  .li-docs { margin-bottom: 60px; }
  .li-pub:last-child { margin-bottom: 60px; }
  .li-docs h2 { padding: 0 20px; }
  .li-docs-box { padding: 24px; border-width: 2px; border-radius: 24px; }
  .li-docs-list { grid-template-columns: 1fr; padding: 0; background: transparent; }
  .li-docs-list li > *, .li-docs-list li:nth-child(n) > * { margin: 0; font-size: 14px; line-height: 28px; }
  .li-ctas .dr-cta h2 { font-size: 20px; line-height: 27px; }
}
