/* Sekcia Články: pohodlné čítanie v štýle ostatných podstránok. */
.ukp-article-head h1 { font-size: clamp(32px, 4.6vw, 62px); max-width: 18em; text-wrap: balance; }
.ukp-article-head > p:not(.eyebrow) { margin-bottom: 0; }

.ukp-draft { max-width: 760px; margin: 28px auto 0; padding: 13px 18px; border: 1px dashed #8a8f8a; border-radius: 12px; background: #f4f5f3; color: #3d4144; font-size: 14px; line-height: 1.5; width: calc(100% - 48px); box-sizing: border-box; }

.ukp-article { max-width: 760px; margin: 0 auto; padding: 36px 24px 56px; color: #26292b; font-size: 18px; line-height: 1.75; }
.ukp-article > :first-child { margin-top: 0; }
.ukp-article h2 { margin: 46px 0 14px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.02em; text-transform: none; color: #101112; }
.ukp-article p { margin: 0 0 18px; }
.ukp-article ul, .ukp-article ol { margin: 0 0 22px; padding-left: 24px; }
.ukp-article li { margin-bottom: 10px; padding-left: 6px; }
/* Čierne písmo: vysvetlenie, ako to súvisí s programom UKP. */
.ukp-article strong { color: #000; font-weight: 750; }
/* Odkazy na zdroje sú sivé, aby neprebili čierne vysvetlenia. */
.ukp-article a[href^="http"] { color: #5c6164; font-weight: 400; }
.ukp-quote { margin: 28px 0 32px; padding: 4px 0 4px 24px; border-left: 3px solid #101112; }
.ukp-quote blockquote { margin: 0; }
.ukp-article .ukp-quote p { margin: 0 0 10px; font-size: 1.22em; line-height: 1.5; letter-spacing: -.01em; color: #101112; }
.ukp-quote figcaption { font-size: 14px; line-height: 1.5; color: #5c6164; }
.ukp-article li::marker { font-weight: 700; color: #101112; }
.ukp-article a { color: #101112; font-weight: 700; text-underline-offset: 4px; }

.ukp-article table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ukp-article th, .ukp-article td { padding: 14px 12px; border-bottom: 1px solid #d9dcd7; text-align: left; vertical-align: top; }
.ukp-article thead th { border-bottom: 2px solid #101112; font-size: 16px; }

.ukp-article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; padding: 32px 24px 64px; list-style: none; box-sizing: border-box; }
.ukp-article-list li { display: flex; }
.ukp-article-list a { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 28px; border: 1px solid #d5d8d3; border-radius: 20px; background: #fff; color: #101112; text-decoration: none; transition: border-color .25s ease, translate .25s ease, box-shadow .25s ease; }
.ukp-article-list a:hover, .ukp-article-list a:focus-visible { border-color: #101112; translate: 0 -4px; box-shadow: 0 18px 40px #0000001a; }
.ukp-card-number { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #6b7073; }
.ukp-article-list h2 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.02em; text-transform: none; }
.ukp-article-list p { margin: 0; color: #4c5054; font-size: 15px; line-height: 1.65; }
.ukp-card-more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; }

.ukp-article-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 760px; margin: 0 auto 48px; padding: 24px 24px 0; border-top: 1px solid #d9dcd7; box-sizing: border-box; width: calc(100% - 0px); }
.ukp-article-nav a { color: #101112; font-size: 15px; text-underline-offset: 4px; }
.ukp-article-nav a:last-child { display: grid; gap: 4px; max-width: 28em; text-align: right; text-decoration: none; }
.ukp-article-nav a:last-child span { font-size: 13px; color: #6b7073; }

.ukp-article th.ukp-ours, .ukp-article td.ukp-ours { background: #101112; color: #fff; }
.ukp-article thead th.ukp-ours { border-radius: 10px 10px 0 0; }
.ukp-article td.ukp-ours { border-bottom-color: #3a3d3f; font-weight: 600; }

@media (max-width: 760px) {
  .ukp-article { padding: 28px 22px 40px; font-size: 17px; }
  .ukp-article thead { display: none; }
  .ukp-article table, .ukp-article tbody, .ukp-article tr, .ukp-article tbody th, .ukp-article td { display: block; }
  .ukp-article tr { margin-bottom: 14px; padding: 16px 18px; border: 1px solid #d9dcd7; border-radius: 14px; }
  .ukp-article tbody th { padding: 0 0 8px; border: 0; font-size: 16px; }
  .ukp-article td { padding: 6px 0; border: 0; }
  .ukp-article td::before { content: attr(data-label) ": "; font-weight: 700; }
  .ukp-article td.ukp-ours { margin-top: 8px; padding: 10px 12px; border-radius: 10px; }
  .ukp-article-nav a:last-child { text-align: left; }
}

/* Záver o programe pod každou stránkou v sekcii Články. */
.ukp-about p:not(.eyebrow) { max-width: 760px; margin: 0 0 14px; color: #3d4144; font-size: 16px; line-height: 1.7; }
.ukp-about .ukp-about-link { color: #000; font-weight: 750; font-size: 17px; }
.ukp-about nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 0 24px; }
.ukp-about nav a { color: #101112; font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.ukp-about .button { display: flex; width: 100%; box-sizing: border-box; }
.ukp-about .button + .button { margin-top: 12px; }

/* Odkaz na konzultáciu v čiernej vete musí byť na pohľad klikateľný. */
.ukp-article strong a { color: #000; font-weight: 750; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Blok „Z našich článkov“ na podstránkach. */
.ukp-related .ukp-article-list { max-width: none; margin: 0; padding: 4px 0 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ukp-article-list h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; text-transform: none; }
.ukp-related-all { color: #101112; font-size: 15px; font-weight: 700; text-underline-offset: 4px; }

/* Odkazy na články v kartách oblastí a pod odpoveďami. */
.goal-grid article a.ukp-more { display: block; width: fit-content; margin-top: 14px; color: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ukp-faq-answer p.ukp-more { margin-top: 14px; font-size: 15px; }
.ukp-faq-answer p.ukp-more a { color: #101112; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Autor a dátum pod úvodom článku. */
.ukp-article-head p.ukp-byline { margin-top: 18px; font-size: 13px; line-height: 1.5; letter-spacing: .02em; opacity: .72; }
