/* Style bazy wiedzy - wspolne dla listy i wszystkich artykulow.
   Paleta zgodna ze style.css: #0097b2 akcent, #202124 tekst,
   #5f6368 tekst drugorzedny, #dadce0 ramki. */

.article-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- naglowek artykulu ------------------------------------------- */

.article-header {
    padding: 56px 0 32px;
    border-bottom: 1px solid #dadce0;
    margin-bottom: 40px;
}

.article-kicker {
    display: inline-block;
    background: rgba(0, 151, 178, 0.1);
    color: #0097b2;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    color: #202124;
    margin: 0 0 20px;
}

.article-lead {
    font-size: 19px;
    line-height: 1.65;
    color: #5f6368;
    margin: 0 0 24px;
}

.article-meta {
    font-size: 14px;
    color: #5f6368;
}

.article-meta time {
    font-variant-numeric: tabular-nums;
}

/* --- tresc -------------------------------------------------------- */

.article-body {
    color: #202124;
    font-size: 17px;
    line-height: 1.75;
}

.article-body h2 {
    font-size: 27px;
    font-weight: 600;
    margin: 48px 0 18px;
    color: #202124;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: #202124;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px 24px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body a {
    color: #0f766e;
}

.article-body strong {
    font-weight: 600;
}

/* Tabele musza sie przewijac w swoim kontenerze, nie rozpychac strony. */
.table-scroll {
    overflow-x: auto;
    margin: 0 0 24px;
}

.article-body table {
    border-collapse: collapse;
    width: 100%;
    min-width: 480px;
    font-size: 15px;
}

.article-body th,
.article-body td {
    border: 1px solid #dadce0;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: #f8f9fa;
    font-weight: 600;
}

/* --- elementy wyrozniajace ---------------------------------------- */

.callout {
    background: #f8f9fa;
    border-left: 4px solid #0097b2;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 0 0 28px;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout-deadline {
    border-left-color: #ea6c2d;
    background: #fff5f0;
}

.callout-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 14px;
    line-height: 1.65;
    color: #5f6368;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 40px 0 0;
}

/* --- FAQ ----------------------------------------------------------- */

.faq {
    margin-top: 48px;
    border-top: 1px solid #dadce0;
    padding-top: 32px;
}

.faq h2 {
    margin-top: 0;
}

.faq-item {
    border-bottom: 1px solid #dadce0;
    padding: 18px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-weight: 600;
    margin: 0 0 8px;
}

.faq-a {
    margin: 0;
    color: #5f6368;
}

/* --- zrodla i nawigacja ------------------------------------------- */

.sources {
    margin-top: 48px;
    border-top: 1px solid #dadce0;
    padding-top: 24px;
    font-size: 15px;
}

.sources h2 {
    font-size: 20px;
    margin-top: 0;
}

.sources ul {
    margin-left: 20px;
}

.back-to-index {
    display: inline-block;
    margin: 40px 0 0;
    color: #0f766e;
    text-decoration: none;
    font-weight: 500;
}

.back-to-index:hover {
    text-decoration: underline;
}

/* --- lista artykulow ---------------------------------------------- */

.kb-intro {
    padding: 56px 0 8px;
}

.kb-intro h1 {
    font-size: 40px;
    font-weight: 300;
    color: #202124;
    margin: 0 0 16px;
}

.kb-intro p {
    font-size: 18px;
    line-height: 1.65;
    color: #5f6368;
    margin: 0 0 12px;
}

.kb-list {
    list-style: none;
    margin: 32px 0 64px;
    padding: 0;
}

.kb-list li {
    border-top: 1px solid #dadce0;
    padding: 24px 0;
}

.kb-list li:last-child {
    border-bottom: 1px solid #dadce0;
}

.kb-list h2 {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 8px;
}

.kb-list h2 a {
    color: #202124;
    text-decoration: none;
}

.kb-list h2 a:hover {
    color: #0097b2;
}

.kb-list p {
    margin: 0 0 8px;
    color: #5f6368;
    line-height: 1.65;
}

.kb-date {
    font-size: 14px;
    color: #5f6368;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {

    .article-header h1,
    .kb-intro h1 {
        font-size: 30px;
    }

    .article-body h2 {
        font-size: 23px;
    }

    .article-lead {
        font-size: 17px;
    }
}
